(function(L,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-types"),require("lodash-es")):typeof define=="function"&&define.amd?define(["exports","vue","@ant-design/icons-vue","ant-design-vue","vue-types","lodash-es"],i):(L=typeof globalThis<"u"?globalThis:L||self,i(L.AntdvProLayout={},L.Vue,L.AntdIconsVue,L.Antdv,L.vueTypes,L.Lodash))})(this,function(L,i,Ee,se,zc,li){"use strict";var Wb=Object.defineProperty;var kb=(L,i,Ee)=>i in L?Wb(L,i,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):L[i]=Ee;var yn=(L,i,Ee)=>kb(L,typeof i!="symbol"?i+"":i,Ee);const si=(e=Symbol(),t="Context.Provider")=>i.defineComponent({name:t,props:{value:{type:Object,required:!0}},setup(o,{slots:r}){return i.provide(e,i.readonly(o.value)),()=>{var a;return(a=r.default)==null?void 0:a.call(r)}}}),ci=(e=Symbol(),t)=>i.inject(e,t||{}),xo=i.reactive({menuData:[],flatMenuData:[],selectedKeys:[],openKeys:[]}),bn=Symbol("route-context"),ui=()=>si(bn,"RouteContext.Provider"),bt=()=>ci(bn,xo);ui();const zt={xs:{minWidth:375,maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,maxWidth:1999,matchMedia:"(min-width: 1600px) and (max-width: 1999px)"},xxxl:{minWidth:2e3,matchMedia:"(min-width: 2000px)"}},di=()=>{let e="md";if(typeof window>"u")return e;const t=Object.keys(zt).find(n=>{const{matchMedia:o}=zt[n];return!!window.matchMedia(o).matches});return t||e},fi=()=>{const e=i.ref(di());return Object.keys(zt).forEach(t=>{const{matchMedia:n}=zt[t],o=window.matchMedia(n);o.matches&&(e.value=t),o.onchange=r=>{r.matches&&(e.value=t)}}),e},jt={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},pi=()=>{let e="light";if(typeof window>"u")return e;const t=Object.keys(jt).find(n=>{const o=jt[n];return!!window.matchMedia(o).matches});return t||e},jc=()=>{const e=i.ref(pi());return Object.keys(jt).forEach(t=>{const n=jt[t],o=window.matchMedia(n);o.matches&&(e.value=t),o.onchange=r=>{r.matches&&(e.value=t)}}),e};function Lc(e,t){const n=document.documentElement,o=n.getAttribute("data-theme")==="dark";if(!document.startViewTransition){n.setAttribute("data-theme",o?"light":"dark"),e(o);return}const r=(t==null?void 0:t.clientX)??0,a=(t==null?void 0:t.clientY)??0,l=Math.hypot(Math.max(r,innerWidth-r),Math.max(a,innerHeight-a));document.startViewTransition(()=>{n.setAttribute("data-theme",o?"light":"dark"),e(o)}).ready.then(()=>{const c=[`circle(0% at ${r}px ${a}px)`,`circle(${l}px at ${r}px ${a}px)`];document.documentElement.animate({clipPath:o?c.reverse():c},{duration:500,easing:"ease-in",pseudoElement:o?"::view-transition-old(root)":"::view-transition-new(root)"})})}const Fc=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/,Sn=e=>Fc.test(e);function Lt(e,t,n="default"){var o;return t[n]===!1?!1:t[n]||((o=e[n])==null?void 0:o.call(e))}function ye(e,t,n="default"){return t[n]===!1?!1:t[n]||e[n]}function Wc(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}function kc(e){return e.map(t=>{var o;const n={...t};return!n.name||(o=n.meta)!=null&&o.hideInMenu?null:(n.children&&delete n.children,n)}).filter(t=>t)}function mi(e,t){return t===void 0?[]:(e[e.findIndex(n=>n.path===t)]||{}).children||[]}function Kc(e,t){return{...t.reduce((n,o)=>({...n,[o]:e[o]}),{})}}function wn(e){return e.map(t=>{var o,r;const n={...t};if(!n.name||(o=n.meta)!=null&&o.hideInMenu)return null;if(n&&(n!=null&&n.children)){if(!((r=n.meta)!=null&&r.hideChildInMenu)&&n.children.some(a=>{var l;return a&&a.name&&!((l=a.meta)!=null&&l.hideInMenu)}))return{...t,children:wn(n.children)};delete n.children}return n}).filter(t=>t)}const gi=(e,t,n)=>e.map(o=>(Sn(o.path)||(o.path.startsWith("/")||(n?o.path=`${n.path||""}/${o.path}`:o.path=`/${o.path}`),o.path=o.path.replace("//","/"),o.children&&o.children.length>0&&(o.children=gi(o.children,t,o)),t[`${o.path}`]=o),o)),Uc=e=>{const t=e.find(o=>o.path==="/"),n={};return{menuData:gi((t==null?void 0:t.children)||[],n),breadcrumb:n}},He={theme:"light",menuTheme:"light",layout:"side",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,title:"Ant Design Vue Pro",iconfontUrl:""},Cn={theme:{type:String,default:He.theme},menuTheme:{type:String,default:He.menuTheme},layout:{type:String,default:He.layout},fixedHeader:{type:Boolean,default:He.fixedHeader},fixSiderbar:{type:Boolean,default:He.fixSiderbar},headerHeight:{type:Number,default:He.headerHeight},title:{type:String,default:()=>He.title},iconfontUrl:{type:String,default:()=>He.iconfontUrl},splitMenus:{type:Boolean,default:!1}};function Oo(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}let hi=Ee.createFromIconfontCN({scriptUrl:He.iconfontUrl});const To=({icon:e})=>{if(!e)return null;if(typeof e=="string"&&e!==""){if(Sn(e)||Wc(e))return i.createVNode("img",{src:e,alt:"icon",role:"img",class:"ant-pro-menu-item-icon"},null);if(e.startsWith("icon-"))return i.createVNode(hi,{type:e},null)}if(i.isVNode(e))return e;const t=i.resolveComponent(e);return typeof To=="function"&&i.createVNode(t,null,null)||null};class Xc{constructor(t,n){yn(this,"getNavMenuItems",(t=[])=>t.map(n=>this.getSubMenuOrItem(n)).filter(n=>n));yn(this,"getSubMenuOrItem",t=>{var r,a,l,s,c,u,d,f;if(console.error("getSubMenuOrItem ",JSON.stringify(t.name)),Array.isArray(t.children)&&t.children.length>0&&!((r=t==null?void 0:t.meta)!=null&&r.hideInMenu)&&!((a=t==null?void 0:t.meta)!=null&&a.hideChildrenInMenu)){let m;if(this.props.menuSubItemRender)return i.withCtx(this.props.menuSubItemRender,this.ctx)(t);const p=this.props.locale,h=p&&p(t)||((l=t.meta)==null?void 0:l.title),y=(s=t.meta)!=null&&s.icon?i.createVNode("span",{class:"ant-pro-menu-item"},[i.createVNode("span",{class:"ant-pro-menu-item-title"},[h])]):i.createVNode("span",{class:"ant-pro-menu-item-title-no-icon"},[h]),v=((c=t.meta)==null?void 0:c.type)==="group",b=v?se.MenuItemGroup:se.SubMenu;return i.createVNode(b,{title:y,key:t.path,popupClassName:v?void 0:"ant-pro-menu-popup",icon:v?null:i.createVNode(To,{icon:(u=t.meta)==null?void 0:u.icon},null)},Oo(m=this.getNavMenuItems(t.children))?m:{default:()=>[m]})}const n=this.props.menuItemRender&&i.withCtx(this.props.menuItemRender,this.ctx),o=this.getMenuItem(t);return n&&n(t)||i.createVNode(se.MenuItem,{disabled:(d=t.meta)==null?void 0:d.disabled,danger:(f=t.meta)==null?void 0:f.danger,key:t.path},Oo(o)?o:{default:()=>[o]})});yn(this,"getMenuItem",t=>{var f,m;const n={...t.meta},o=n.target||null,r=Sn(t.path);let a={};(r||o)&&(a={...t.meta,href:t.path,target:o});let l=o&&"a"||this.RouterLink,s={to:{name:t.name,...t.meta}};n.disabled&&(l="span",s=null);const c=this.props.locale,u=c&&c(t)||((f=t.meta)==null?void 0:f.title);return(m=t.meta)!=null&&m.icon?i.createVNode(l,i.mergeProps(a,s,{class:"ant-pro-menu-item"}),{default:()=>{var p;return[((p=t.meta)==null?void 0:p.icon)&&i.createVNode(To,{icon:t.meta.icon},null),i.createVNode("span",{class:"ant-pro-menu-item-title"},[u])]}}):i.createVNode(l,i.mergeProps(a,s,{class:"ant-pro-menu-item"}),{default:()=>[i.createVNode("span",{class:"ant-pro-menu-item-title-no-icon"},[u])]})});yn(this,"conversionPath",t=>t&&t.indexOf("http")===0?t:`/${t||""}`.replace(/\/+/g,"/"));this.props=t,this.ctx=n,this.RouterLink=i.resolveComponent("router-link")}}const vi={...Cn,locale:{type:[Function,Boolean],default:!1},menuData:{type:Array,default:()=>[]},mode:{type:String,default:"inline"},layout:{type:String,default:"side"},collapsed:{type:Boolean,default:!1},openKeys:{type:Array,default:()=>{}},selectedKeys:{type:Array,default:()=>{}},menuItemRender:{type:[Function,Boolean],default:()=>{}},menuSubItemRender:{type:[Function,Boolean],default:()=>{}},onClick:[Function,Object]},Po=i.defineComponent({inheritAttrs:!0,name:"BaseMenu",props:vi,emits:["update:openKeys","update:selectedKeys","click"],setup(e,{emit:t}){const n=i.getCurrentInstance(),o=new Xc(e,n);i.watchEffect(()=>{e.iconfontUrl&&(hi=Ee.createFromIconfontCN({scriptUrl:e.iconfontUrl}))});const r=s=>{t("update:openKeys",s)},a=s=>{Sn(s.key)||t("update:selectedKeys",s.selectedKeys)},l=s=>{t("click",s)};return()=>{let s;return i.createVNode(se.Menu,{key:"Menu",inlineIndent:16,mode:e.mode,theme:e.theme,openKeys:e.openKeys||[],selectedKeys:e.selectedKeys||[],onOpenChange:r,onSelect:a,onClick:l},Oo(s=o.getNavMenuItems(e.menuData))?s:{default:()=>[s]})}}}),E=zc.createTypes({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});E.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}]);const Gc=(e,t)=>e?typeof e=="string"?i.createVNode("img",{src:e,alt:"logo",style:t},null):typeof e=="function"?e():e:null,Mo=(e,t="menuHeaderRender")=>{const{logo:n,logoStyle:o,title:r,layout:a,isMobile:l}=e,s=e[t||""];if(s===!1)return null;const c=Gc(n,o),u=i.createVNode("h1",null,[r]);return a==="mix"&&!l&&t==="menuHeaderRender"?null:typeof s=="function"?s(e):Array.isArray(s)?i.createVNode(i.Fragment,null,[s]):i.createVNode("a",null,[c,e.collapsed?null:u])},Ce={...Cn,...vi,logo:{type:[Object,String,Function],default:()=>{}},logoStyle:{type:Object,default:()=>{}},siderWidth:{type:Number,default:200},headerHeight:{type:Number,default:48},collapsedWidth:{type:Number,default:48},menuHeaderRender:{type:[Function,Boolean],default:()=>{}},menuFooterRender:{type:[Function,Object,Boolean],default:()=>{}},menuContentRender:{type:[Function,Object,Boolean],default:()=>{}},menuHeaderExtraRender:{type:[Function,Object,Boolean],default:()=>{}},collapsedButtonRender:{type:[Function,Object,Boolean],default:()=>{}},breakpoint:{type:[String,Object],default:()=>"md"},isMobile:E.looseBool,splitMenus:E.looseBool,fixed:E.looseBool,hide:E.looseBool,matchMenuKeys:{type:Array,default:()=>[]},onMenuHeaderClick:E.func,onMenuClick:E.func,onCollapse:{type:Function},onOpenKeys:{type:Function},onSelect:{type:Function}},$n=(e,{attrs:t})=>{const{menuHeaderExtraRender:n=!1,menuContentRender:o=!1,menuFooterRender:r=!1,collapsedButtonRender:a}=e,l=bt(),s="ant-pro-sider",c=i.computed(()=>e.layout==="mix"&&e.splitMenus),u=i.computed(()=>e.collapsed?e.collapsedWidth:e.siderWidth),d=i.computed(()=>{if(e.layout==="mix"){if(Reflect.get(e,"headerRender")===!1)return;if(!e.isMobile)return`${e.headerHeight}px`}}),f=i.computed(()=>({[s]:!0,[`${s}-fixed`]:l.fixSiderbar,[`layout-${e.layout}`]:!0,[`theme-${e.theme}`]:!0,[`theme-menu-${e.menuTheme}`]:!0})),m=y=>{if(e.onSelect){if(i.unref(c)){e.onSelect([l.selectedKeys[0],...y]);return}e.onSelect(y)}},p=Mo(e);if(c.value&&i.unref(l.flatMenuData).length===0)return null;const h=i.createVNode(Po,i.mergeProps({locale:e.locale||l.locale,theme:e.menuTheme,mode:"inline",menuData:c.value?l.flatMenuData:l.menuData,collapsed:e.collapsed,openKeys:l.openKeys,selectedKeys:l.selectedKeys,menuItemRender:e.menuItemRender,menuSubItemRender:e.menuSubItemRender,iconfontUrl:e.iconfontUrl,onClick:e.onMenuClick,class:`${s}-content-menu`},{"onUpdate:openKeys":y=>e.onOpenKeys&&e.onOpenKeys(y),"onUpdate:selectedKeys":m}),null);return i.createVNode(i.Fragment,null,[l.fixSiderbar&&i.createVNode("div",{style:{width:`${u.value}px`,overflow:"hidden",flex:`0 0 ${u.value}px`,maxWidth:`${u.value}px`,minWidth:`${u.value}px`,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}},null),i.createVNode(se.LayoutSider,{collapsible:!0,trigger:null,collapsed:e.collapsed,breakpoint:e.breakpoint||void 0,onCollapse:y=>{var v;e.isMobile||(v=e.onCollapse)==null||v.call(e,y)},collapsedWidth:e.collapsedWidth||48,style:{overflow:"hidden",paddingTop:d.value},width:u.value,theme:e.menuTheme,class:f.value},{default:()=>[p&&i.createVNode("div",{class:`${s}-header`,onClick:e.layout!=="mix"?e.onMenuHeaderClick:void 0},[p]),n&&typeof n=="function"&&i.createVNode("div",{class:{[`${s}-header-extra`]:!0,[`${s}-header-extra-no-header`]:!p}},[n(e)]),i.createVNode("div",{class:`${s}-content`},[o&&o(e,i.unref(h))||i.unref(h)]),a&&a(e.collapsed)||i.createVNode("div",{class:`${s}-collapsed`},[i.createVNode(se.Menu,{class:`${s}-collapsed-menu`,inlineIndent:16,theme:e.menuTheme,selectedKeys:[],openKeys:[],mode:"inline",onClick:()=>{e.onCollapse&&e.onCollapse(!e.collapsed)}},{default:()=>[i.createVNode(se.MenuItem,{key:"collapsed-button",title:!1},{default:()=>[e.collapsed?i.createVNode(Ee.MenuUnfoldOutlined,null,null):i.createVNode(Ee.MenuFoldOutlined,null,null)]})]})]),r&&i.createVNode("div",{class:`${s}-footer`},[r(e)])]})])};$n.displayName="SiderMenu",$n.inheritAttrs=!1;const Eo=e=>{const{onMenuHeaderClick:t,onOpenKeys:n,onSelect:o,headerContentRightRender:r,layout:a,menuData:l}=e,s=bt(),c="ant-pro-top-nav-header",u=Mo({...e,collapsed:!1},a!=="side"?"headerTitleRender":void 0);return i.createVNode("div",{class:c},[i.createVNode("div",{class:`${c}-main`},[u&&i.createVNode("div",{class:`${c}-main-left`,onClick:t},[i.createVNode("div",{class:`${c}-logo`,key:"logo",id:"logo"},[u])]),i.createVNode("div",{class:`${c}-main-menu`},[i.createVNode(Po,i.mergeProps({locale:e.locale||s.locale,theme:e.menuTheme,mode:e.mode,collapsed:e.collapsed,iconfontUrl:e.iconfontUrl,menuData:l,menuItemRender:e.menuItemRender,menuSubItemRender:e.menuSubItemRender,openKeys:s.openKeys,selectedKeys:s.selectedKeys,class:`${c}-menu`},{"onUpdate:openKeys":d=>n&&n(d),"onUpdate:selectedKeys":d=>o&&o(d)}),null)]),r&&typeof r=="function"&&r(e)])])};Eo.inheritAttrs=!1;const yi={...Cn,collapsed:{type:Boolean,default:!1},isMobile:{type:Boolean,default:!1},logo:Ce.logo,logoStyle:Ce.logoStyle,menuData:{type:Array,default:()=>[]},splitMenus:Ce.splitMenus,menuRender:{type:[Object,Function],default:()=>{}},menuHeaderRender:Ce.menuHeaderRender,menuItemRender:Ce.menuItemRender,menuSubItemRender:Ce.menuSubItemRender,headerContentRightRender:{type:[Object,Function],default:()=>{}},collapsedButtonRender:Ce.collapsedButtonRender,matchMenuKeys:Ce.matchMenuKeys,onMenuHeaderClick:E.func,onCollapse:Ce.onCollapse,onOpenKeys:Ce.onOpenKeys,onSelect:Ce.onSelect},xn=(e,{slots:t,emit:n})=>{var f;const{isMobile:o,headerContentRightRender:r,onMenuHeaderClick:a,layout:l,splitMenus:s,menuData:c}=e,u="ant-pro-global-header";if(l==="mix"&&!o&&s){const m=(c||[]).map(h=>({...h,children:void 0})),p=wn(m);return i.createVNode(Eo,i.mergeProps(e,{mode:"horizontal",splitMenus:!1,menuData:p}),null)}const d=()=>{n("collapse",!e.collapsed)};return i.createVNode("div",{class:u},[o&&i.createVNode("span",{onClick:d},[e.collapsed?i.createVNode(Ee.MenuUnfoldOutlined,null,null):i.createVNode(Ee.MenuFoldOutlined,null,null)]),l==="mix"&&!o&&i.createVNode(i.Fragment,null,[i.createVNode("div",{class:`${u}-logo`,onClick:a},[Mo({...e,collapsed:!1},"headerTitleRender")])]),i.createVNode("div",{class:`${u}-flex`},[(f=t.default)==null?void 0:f.call(t)]),r&&typeof r=="function"?r(e):r])};xn.inheritAttrs=!1,xn.emits=["menuHeaderClick","collapse","openKeys","select"];const Yc={links:{type:Array,required:!0},copyright:{type:[Object,Function,String,Boolean],default:()=>{}}},qc=i.defineComponent({name:"GlobalFooter",props:Yc,setup(e,{slots:t}){const n="ant-pro-global-footer",o=e.copyright||t.copyright&&t.copyright();return Array.isArray(e.links)&&e.links.length===0&&(e.copyright==null||e.copyright===!1)?null:()=>i.createVNode("footer",{class:n},[e.links&&i.createVNode("div",{class:`${n}-links`},[e.links.map(r=>i.createVNode("a",{key:r.key,title:r.title,target:r.blankTarget?"_blank":"_self",href:r.href},[r.title]))]),e.copyright&&i.createVNode("div",{class:`${n}-copyright`},[o])])}});function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function Qc(e,t){if(Ft(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(Ft(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zc(e){var t=Qc(e,"string");return Ft(t)=="symbol"?t:t+""}function Jc(e,t,n){return(t=Zc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(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 _(e){for(var t=1;ttypeof e=="function",tu=Array.isArray,nu=e=>typeof e=="string",ou=e=>e!==null&&typeof e=="object",ru=/^on[^a-z]/,iu=e=>ru.test(e),Si=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},au=/-(\w)/g,wi=Si(e=>e.replace(au,(t,n)=>n?n.toUpperCase():"")),lu=/\B([A-Z])/g,su=Si(e=>e.replace(lu,"-$1").toLowerCase()),cu=Object.prototype.hasOwnProperty,Ci=(e,t)=>cu.call(e,t);function uu(e,t,n,o){const r=e[n];if(r!=null){const a=Ci(r,"default");if(a&&o===void 0){const l=r.default;o=r.type!==Function&&eu(l)?l():l}r.type===Boolean&&(!Ci(t,n)&&!a?o=!1:o===""&&(o=!0))}return o}function ee(){const e=[];for(let t=0;te!=null&&e!=="",St=(e,t)=>{const n=g({},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},du=e=>{const t=Object.keys(e),n={},o={},r={};for(let a=0,l=t.length;a0&&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(a){if(a){const l=a.split(r);if(l.length>1){const s=t?wi(l[0].trim()):l[0].trim();n[s]=l[1].trim()}}}),n)},pu=(e,t)=>e[t]!==void 0,$i=Symbol("skipFlatten"),ue=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(...ue(r,t)):r&&r.type===i.Fragment?r.key===$i?o.push(r):o.push(...ue(r.children,t)):r&&i.isVNode(r)?t&&!Oi(r)?o.push(r):t||o.push(r):_o(r)&&o.push(r)}),o},mu=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(i.isVNode(e))return e.type===i.Fragment?t==="default"?ue(e.children):[]:e.children&&e.children[t]?ue(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return ue(o)}},Ke=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},gu=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],a=su(o);(r!==void 0||a in n)&&(t[o]=r)})}else if(i.isVNode(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(a=>{o[wi(a)]=n[a]});const r=e.type.props||{};Object.keys(r).forEach(a=>{const l=uu(r,o,a,o[a]);(l!==void 0||a in o)&&(t[a]=l)})}return t},hu=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 a=e[t];if(a!==void 0)return typeof a=="function"&&o?a(n):a;r=e.$slots[t],r=o&&r?r(n):r}else if(i.isVNode(e)){const a=e.props&&e.props[t];if(a!==void 0&&e.props!==null)return typeof a=="function"&&o?a(n):a;e.type===i.Fragment?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=ue(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function xi(){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=g(g({},n),e.$attrs):n=g(g({},n),e.props),du(n)[t?"onEvents":"events"]}function vu(e,t){let o=((i.isVNode(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=fu(o,t)),o}function yu(e){return e.length===1&&e[0].type===i.Fragment}function bu(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function Oi(e){return e&&(e.type===i.Comment||e.type===i.Fragment&&e.children.length===0||e.type===i.Text&&e.children.trim()==="")}function Re(){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)===i.Fragment?t.push(...Re(n.children)):t.push(n)}),t.filter(n=>!Oi(n))}function Wt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function _e(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)}var Su={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"};function de(e,t){wu(e)&&(e="100%");var n=Cu(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 On(e){return Math.min(1,Math.max(0,e))}function wu(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Cu(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ti(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Tn(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ot(e){return e.length===1?"0"+e:String(e)}function $u(e,t,n){return{r:de(e,255)*255,g:de(t,255)*255,b:de(n,255)*255}}function Pi(e,t,n){e=de(e,255),t=de(t,255),n=de(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=0,s=(o+r)/2;if(o===r)l=0,a=0;else{var c=o-r;switch(l=s>.5?c/(2-o-r):c/(o+r),o){case e:a=(t-n)/c+(t1&&(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 xu(e,t,n){var o,r,a;if(e=de(e,360),t=de(t,100),n=de(n,100),t===0)r=n,a=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=No(s,l,e+1/3),r=No(s,l,e),a=No(s,l,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function Io(e,t,n){e=de(e,255),t=de(t,255),n=de(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=o,s=o-r,c=o===0?0:s/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Ro={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 wt(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,l=!1,s=!1;return typeof e=="string"&&(e=Nu(e)),typeof e=="object"&&(Ve(e.r)&&Ve(e.g)&&Ve(e.b)?(t=$u(e.r,e.g,e.b),l=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ve(e.h)&&Ve(e.s)&&Ve(e.v)?(o=Tn(e.s),r=Tn(e.v),t=Ou(e.h,o,r),l=!0,s="hsv"):Ve(e.h)&&Ve(e.s)&&Ve(e.l)&&(o=Tn(e.s),a=Tn(e.l),t=xu(e.h,o,a),l=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Ti(n),{ok:l,format:e.format||s,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 Eu="[-\\+]?\\d+%?",_u="[-\\+]?\\d*\\.\\d+%?",Ue="(?:".concat(_u,")|(?:").concat(Eu,")"),Do="[\\s|\\(]+(".concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")\\s*\\)?"),Bo="[\\s|\\(]+(".concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")[,|\\s]+(").concat(Ue,")\\s*\\)?"),Ne={CSS_UNIT:new RegExp(Ue),rgb:new RegExp("rgb"+Do),rgba:new RegExp("rgba"+Bo),hsl:new RegExp("hsl"+Do),hsla:new RegExp("hsla"+Bo),hsv:new RegExp("hsv"+Do),hsva:new RegExp("hsva"+Bo),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 Nu(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Ro[e])e=Ro[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ne.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ne.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ne.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ne.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ne.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ne.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ne.hex8.exec(e),n?{r:be(n[1]),g:be(n[2]),b:be(n[3]),a:Mi(n[4]),format:t?"name":"hex8"}:(n=Ne.hex6.exec(e),n?{r:be(n[1]),g:be(n[2]),b:be(n[3]),format:t?"name":"hex"}:(n=Ne.hex4.exec(e),n?{r:be(n[1]+n[1]),g:be(n[2]+n[2]),b:be(n[3]+n[3]),a:Mi(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ne.hex3.exec(e),n?{r:be(n[1]+n[1]),g:be(n[2]+n[2]),b:be(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ve(e){return!!Ne.CSS_UNIT.exec(String(e))}var pe=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=Mu(t)),this.originalInput=t;var r=wt(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,a=t.r/255,l=t.g/255,s=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),s<=.03928?r=s/12.92:r=Math.pow((s+.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=Ti(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=Io(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=Io(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=Pi(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=Pi(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),Ao(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),Tu(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(de(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(de(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="#"+Ao(this.r,this.g,this.b,!1),n=0,o=Object.entries(Ro);n=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?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=On(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=On(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=On(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=On(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(),a=n/100,l={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},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,a=n.v,l=[],s=1/t;t--;)l.push(new e({h:o,s:r,v:a})),a=(a+s)%1;return l},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],a=360/t,l=1;l=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-Pn*t:Math.round(e.h)+Pn*t:o=n?Math.round(e.h)+Pn*t:Math.round(e.h)-Pn*t,o<0?o+=360:o>=360&&(o-=360),o}function Ri(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-Ei*t:t===Ni?o=e.s+Ei:o=e.s+Iu*t,o>1&&(o=1),n&&t===_i&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Di(e,t,n){var o;return n?o=e.v+Au*t:o=e.v-Ru*t,o>1&&(o=1),Number(o.toFixed(2))}function kt(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=wt(e),r=_i;r>0;r-=1){var a=Ii(o),l=Mn(wt({h:Ai(a,r,!0),s:Ri(a,r,!0),v:Di(a,r,!0)}));n.push(l)}n.push(Mn(o));for(var s=1;s<=Ni;s+=1){var c=Ii(o),u=Mn(wt({h:Ai(c,s),s:Ri(c,s),v:Di(c,s)}));n.push(u)}return t.theme==="dark"?Du.map(function(d){var f=d.index,m=d.opacity,p=Mn(Bu(wt(t.backgroundColor||"#141414"),wt(n[f]),m*100));return p}):n}var Ho={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"},En={},Vo={};Object.keys(Ho).forEach(function(e){En[e]=kt(Ho[e]),En[e].primary=En[e][5],Vo[e]=kt(Ho[e],{theme:"dark",backgroundColor:"#141414"}),Vo[e].primary=Vo[e][5]});var Hu=En.blue,Vu=Symbol("iconContext"),Bi=function(){return i.inject(Vu,{prefixCls:i.ref("anticon"),rootClassName:i.ref(""),csp:i.ref()})};function zo(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function zu(e,t){return e&&e.contains?e.contains(t):!1}var Hi="data-vc-order",ju="vc-icon-key",jo=new Map;function Vi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):ju}function Lo(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Lu(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function zi(e){return Array.from((jo.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!zo())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(Hi,Lu(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var a=Lo(t),l=a.firstChild;if(o){if(o==="queue"){var s=zi(a).filter(function(c){return["prepend","prependQueue"].includes(c.getAttribute(Hi))});if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function Fu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Lo(t);return zi(n).find(function(o){return o.getAttribute(Vi(t))===e})}function Wu(e,t){var n=jo.get(e);if(!n||!zu(document,n)){var o=ji("",t),r=o.parentNode;jo.set(e,r),e.removeChild(o)}}function ku(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Lo(n);Wu(o,n);var r=Fu(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 a=ji(e,n);return a.setAttribute(Vi(n),t),a}function Li(e){for(var t=1;t * { 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 Ki(e){return e&&e.getRootNode&&e.getRootNode()}function Yu(e){return zo()?Ki(e)instanceof ShadowRoot:!1}function qu(e){return Yu(e)?Ki(e):null}var Qu=function(){var t=Bi(),n=t.prefixCls,o=t.csp,r=i.getCurrentInstance(),a=Gu;n&&(a=a.replace(/anticon/g,n.value)),i.nextTick(function(){if(zo()){var l=r.vnode.el,s=qu(l);ku(a,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:s})}})},Zu=["icon","primaryColor","secondaryColor"];function Ju(e,t){if(e==null)return{};var n=ed(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function ed(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}function _n(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function yd(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a=0)&&(n[r]=e[r]);return n}Xi(Hu.primary);var Ie=function(t,n){var o,r=Yi({},t,n.attrs),a=r.class,l=r.icon,s=r.spin,c=r.rotate,u=r.tabindex,d=r.twoToneColor,f=r.onClick,m=vd(r,dd),p=Bi(),h=p.prefixCls,y=p.rootClassName,v=(o={},Ut(o,y.value,!!y.value),Ut(o,h.value,!0),Ut(o,"".concat(h.value,"-").concat(l.name),!!l.name),Ut(o,"".concat(h.value,"-spin"),!!s||l.name==="loading"),o),b=u;b===void 0&&f&&(b=-1);var w=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,$=ki(d),x=fd($,2),C=x[0],O=x[1];return i.createVNode("span",Yi({role:"img","aria-label":l.name},m,{onClick:f,class:[v,a],tabindex:b}),[i.createVNode(Xe,{icon:l,primaryColor:C,secondaryColor:O,style:w},null),i.createVNode(ud,null,null)])};Ie.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},Ie.displayName="AntdIcon",Ie.inheritAttrs=!1,Ie.getTwoToneColor=cd,Ie.setTwoToneColor=Xi;function qi(e){for(var t=1;t{Uo(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&$d()});function Td(){return""}function Pd(e){return e?e.ownerDocument:window.document}function Zi(){}const Md=()=>({action:E.oneOfType([E.string,E.arrayOf(E.string)]).def([]),showAction:E.any.def([]),hideAction:E.any.def([]),getPopupClassNameFromAlign:E.any.def(Td),onPopupVisibleChange:Function,afterPopupVisibleChange:E.func.def(Zi),popup:E.any,arrow:E.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:E.string.def("rc-trigger-popup"),popupClassName:E.string.def(""),popupPlacement:String,builtinPlacements:E.object,popupTransitionName:String,popupAnimation:E.any,mouseEnterDelay:E.number.def(0),mouseLeaveDelay:E.number.def(.1),zIndex:Number,focusDelay:E.number.def(0),blurDelay:E.number.def(.15),getPopupContainer:Function,getDocument:E.func.def(Pd),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:E.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});function rt(e,t){return e&&e.contains?e.contains(t):!1}let Ji=e=>setTimeout(e,16),ea=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(Ji=e=>window.requestAnimationFrame(e),ea=e=>window.cancelAnimationFrame(e));let ta=0;const Xo=new Map;function na(e){Xo.delete(e)}function me(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ta+=1;const n=ta;function o(r){if(r===0)na(n),e();else{const a=Ji(()=>{o(r-1)});Xo.set(n,a)}}return o(t),n}me.cancel=e=>{const t=Xo.get(e);return na(t),ea(t)};let it=!1;try{const e=Object.defineProperty({},"passive",{get(){it=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Xt(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&it&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const Go={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},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}},Ed=g(g({},Go),{mobile:{type:Object}}),_d=g(g({},Go),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function oa(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function ra(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:a,maskTransitionName:l}=e;if(!r)return null;let s={};return(l||a)&&(s=oa({prefixCls:t,transitionName:l,animation:a})),i.createVNode(i.Transition,_({appear:!0},s),{default:()=>[i.withDirectives(i.createVNode("div",{style:{zIndex:o},class:`${t}-mask`},null),[[i.resolveDirective("if"),n]])]})}ra.displayName="Mask";const Nd=i.defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Ed,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var a;const{zIndex:l,visible:s,prefixCls:c,mobile:{popupClassName:u,popupStyle:d,popupMotion:f={},popupRender:m}={}}=e,p=g({zIndex:l},d);let h=ue((a=o.default)===null||a===void 0?void 0:a.call(o));h.length>1&&(h=i.createVNode("div",{class:`${c}-content`},[h])),m&&(h=m(h));const y=ee(c,u);return i.createVNode(i.Transition,_({ref:r},f),{default:()=>[s?i.createVNode("div",{class:y,style:p},[h]):null]})}}});var Id=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{u(o.next(d))}catch(f){l(f)}}function c(d){try{u(o.throw(d))}catch(f){l(f)}}function u(d){d.done?a(d.value):r(d.value).then(s,c)}u((o=o.apply(e,t||[])).next())})};const ia=["measure","align",null,"motion"],Ad=(e,t)=>{const n=i.shallowRef(null),o=i.shallowRef(),r=i.shallowRef(!1);function a(c){r.value||(n.value=c)}function l(){me.cancel(o.value)}function s(c){l(),o.value=me(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}a(u),c==null||c()})}return i.watch(e,()=>{a("measure")},{immediate:!0,flush:"post"}),i.onMounted(()=>{i.watch(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=me(()=>Id(void 0,void 0,void 0,function*(){const c=ia.indexOf(n.value),u=ia[c+1];u&&c!==-1&&a(u)})))},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{r.value=!0,l()}),[n,s]},Rd=e=>{const t=i.shallowRef({width:0,height:0});function n(r){t.value={width:r.offsetWidth,height:r.offsetHeight}}return[i.computed(()=>{const r={};if(e.value){const{width:a,height:l}=t.value;e.value.indexOf("height")!==-1&&l?r.height=`${l}px`:e.value.indexOf("minHeight")!==-1&&l&&(r.minHeight=`${l}px`),e.value.indexOf("width")!==-1&&a?r.width=`${a}px`:e.value.indexOf("minWidth")!==-1&&a&&(r.minWidth=`${a}px`)}return r}),n]};function aa(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 la(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function of(e,t,n,o){var r=F.clone(e),a={width:t.width,height:t.height};return o.adjustX&&r.left=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),o.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),o.adjustY&&r.top=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),o.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),F.mix(r,a)}function ar(e){var t,n,o;if(!F.isWindow(e)&&e.nodeType!==9)t=F.offset(e),n=F.outerWidth(e),o=F.outerHeight(e);else{var r=F.getWindow(e);t={left:F.getWindowScrollLeft(r),top:F.getWindowScrollTop(r)},n=F.viewportWidth(r),o=F.viewportHeight(r)}return t.width=n,t.height=o,t}function Ca(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,a=e.height,l=e.left,s=e.top;return n==="c"?s+=a/2:n==="b"&&(s+=a),o==="c"?l+=r/2:o==="r"&&(l+=r),{left:l,top:s}}function Rn(e,t,n,o,r){var a=Ca(t,n[1]),l=Ca(e,n[0]),s=[l.left-a.left,l.top-a.top];return{left:Math.round(e.left-s[0]+o[0]-r[0]),top:Math.round(e.top-s[1]+o[1]-r[1])}}function $a(e,t,n){return e.leftn.right}function xa(e,t,n){return e.topn.bottom}function rf(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||o.top>=n.bottom}function lr(e,t,n){var o=n.target||t,r=ar(o),a=!lf(o,n.overflow&&n.overflow.alwaysByViewport);return Pa(e,r,n,a)}lr.__getOffsetParent=rr,lr.__getVisibleRectForElement=ir;function sf(e,t,n){var o,r,a=F.getDocument(e),l=a.defaultView||a.parentWindow,s=F.getWindowScrollLeft(l),c=F.getWindowScrollTop(l),u=F.viewportWidth(l),d=F.viewportHeight(l);"pageX"in t?o=t.pageX:o=s+t.clientX,"pageY"in t?r=t.pageY:r=c+t.clientY;var f={left:o,top:r,width:0,height:0},m=o>=0&&o<=s+u&&r>=0&&r<=c+d,p=[n.points[0],"cc"];return Pa(e,f,la(la({},n),{},{points:p}),m)}function $e(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=Re(e)[0]),!r)return null;const a=i.cloneVNode(r,t,o);return a.props=n?g(g({},a.props),t):a.props,Ge(typeof a.props.class!="object","class must be string"),a}const Ma=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};var Ea=function(){if(typeof Map<"u")return Map;function e(t,n){var o=-1;return t.some(function(r,a){return r[0]===n?(o=a,!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,a=this.__entries__;r0},e.prototype.connect_=function(){!sr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mf?(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(){!sr||!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=pf.some(function(a){return!!~o.indexOf(a)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),_a=function(e,t){for(var n=0,o=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof $t(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new $f(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 $t(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 xf(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}(),Aa=typeof WeakMap<"u"?new WeakMap:new Ea,Ra=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=gf.getInstance(),o=new Of(t,n,this);Aa.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Ra.prototype[e]=function(){var t;return(t=Aa.get(this))[e].apply(t,arguments)}});var Da=function(){return typeof Hn.ResizeObserver<"u"?Hn.ResizeObserver:Ra}();function Tf(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 Pf(e,t){e!==document.activeElement&&rt(t,e)&&typeof e.focus=="function"&&e.focus()}function Ba(e,t){let n=null,o=null;function r(l){let[{target:s}]=l;if(!document.documentElement.contains(s))return;const{width:c,height:u}=s.getBoundingClientRect(),d=Math.floor(c),f=Math.floor(u);(n!==d||o!==f)&&Promise.resolve().then(()=>{t({width:d,height:f})}),n=d,o=f}const a=new Da(r);return e&&a.observe(e),()=>{a.disconnect()}}const Mf=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function a(l){if(!n||l===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,a()},t.value)}return[a,()=>{n=!1,r()}]};function Ef(){this.__data__=[],this.size=0}function Ha(e,t){return e===t||e!==e&&t!==t}function jn(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}var _f=Array.prototype,Nf=_f.splice;function If(e){var t=this.__data__,n=jn(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Nf.call(t,n,1),--this.size,!0}function Af(e){var t=this.__data__,n=jn(t,e);return n<0?void 0:t[n][1]}function Rf(e){return jn(this.__data__,e)>-1}function Df(e,t){var n=this.__data__,o=jn(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function ze(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ts))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,m=!0,p=n&Dp?new nn:void 0;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=gm}var hm="[object Arguments]",vm="[object Array]",ym="[object Boolean]",bm="[object Date]",Sm="[object Error]",wm="[object Function]",Cm="[object Map]",$m="[object Number]",xm="[object Object]",Om="[object RegExp]",Tm="[object Set]",Pm="[object String]",Mm="[object WeakMap]",Em="[object ArrayBuffer]",_m="[object DataView]",Nm="[object Float32Array]",Im="[object Float64Array]",Am="[object Int8Array]",Rm="[object Int16Array]",Dm="[object Int32Array]",Bm="[object Uint8Array]",Hm="[object Uint8ClampedArray]",Vm="[object Uint16Array]",zm="[object Uint32Array]",te={};te[Nm]=te[Im]=te[Am]=te[Rm]=te[Dm]=te[Bm]=te[Hm]=te[Vm]=te[zm]=!0,te[hm]=te[vm]=te[Em]=te[ym]=te[_m]=te[bm]=te[Sm]=te[wm]=te[Cm]=te[$m]=te[xm]=te[Om]=te[Tm]=te[Pm]=te[Mm]=!1;function jm(e){return on(e)&&el(e.length)&&!!te[Jt(e)]}function Lm(e){return function(t){return e(t)}}var tl=typeof L=="object"&&L&&!L.nodeType&&L,rn=tl&&typeof module=="object"&&module&&!module.nodeType&&module,Fm=rn&&rn.exports===tl,pr=Fm&&Va.process,nl=function(){try{var e=rn&&rn.require&&rn.require("util").types;return e||pr&&pr.binding&&pr.binding("util")}catch{}}(),ol=nl&&nl.isTypedArray,rl=ol?Lm(ol):jm,Wm=Object.prototype,km=Wm.hasOwnProperty;function Km(e,t){var n=Fn(e),o=!n&&sm(e),r=!n&&!o&&fr(e),a=!n&&!o&&!r&&rl(e),l=n||o||r||a,s=l?rm(e.length,String):[],c=s.length;for(var u in e)km.call(e,u)&&!(l&&(u=="length"||r&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mm(u,c)))&&s.push(u);return s}var Um=Object.prototype;function Xm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Um;return e===n}function Gm(e,t){return function(n){return e(t(n))}}var Ym=Gm(Object.keys,Object),qm=Object.prototype,Qm=qm.hasOwnProperty;function Zm(e){if(!Xm(e))return Ym(e);var t=[];for(var n in Object(e))Qm.call(e,n)&&n!="constructor"&&t.push(n);return t}function Jm(e){return e!=null&&el(e.length)&&!Fa(e)}function eg(e){return Jm(e)?Km(e):Zm(e)}function il(e){return Zp(e,eg,om)}var tg=1,ng=Object.prototype,og=ng.hasOwnProperty;function rg(e,t,n,o,r,a){var l=n&tg,s=il(e),c=s.length,u=il(t),d=u.length;if(c!=d&&!l)return!1;for(var f=c;f--;){var m=s[f];if(!(l?m in t:og.call(t,m)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var y=!0;a.set(e,t),a.set(t,e);for(var v=l;++f{const{disabled:m,target:p,align:h,onAlign:y}=e;if(!m&&p&&a.value){const v=a.value;let b;const w=gl(p),$=hl(p);r.value.element=w,r.value.point=$,r.value.align=h;const{activeElement:x}=document;return w&&Ma(w)?b=lr(v,w,h):$&&(b=sf(v,$,h)),Pf(x,v),y&&b&&y(v,b),!0}return!1},i.computed(()=>e.monitorBufferTime)),c=i.ref({cancel:()=>{}}),u=i.ref({cancel:()=>{}}),d=()=>{const m=e.target,p=gl(m),h=hl(m);a.value!==u.value.element&&(u.value.cancel(),u.value.element=a.value,u.value.cancel=Ba(a.value,l)),(r.value.element!==p||!Tf(r.value.point,h)||!mg(r.value.align,e.align))&&(l(),c.value.element!==p&&(c.value.cancel(),c.value.element=p,c.value.cancel=Ba(p,l)))};i.onMounted(()=>{i.nextTick(()=>{d()})}),i.onUpdated(()=>{i.nextTick(()=>{d()})}),i.watch(()=>e.disabled,m=>{m?s():l()},{immediate:!0,flush:"post"});const f=i.ref(null);return i.watch(()=>e.monitorWindowResize,m=>{m?f.value||(f.value=Xt(window,"resize",l)):f.value&&(f.value.remove(),f.value=null)},{flush:"post"}),i.onUnmounted(()=>{c.value.cancel(),u.value.cancel(),f.value&&f.value.remove(),s()}),n({forceAlign:()=>l(!0)}),()=>{const m=o==null?void 0:o.default();return m?$e(m[0],{ref:a},!0,!0):null}}}),Pt=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function kn(){return{type:[Function,Array]}}function ge(e){return{type:Object,default:e}}function he(e){return{type:Boolean,default:e}}function an(e,t){const n={validator:()=>!0,default:e};return n}function Mt(){return{validator:()=>!0}}function vl(e){return{type:Array,default:e}}function yl(e){return{type:String,default:e}}function bl(e,t){return e?{type:e,default:t}:an(t)}Pt("bottomLeft","bottomRight","topLeft","topRight");const Sl=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(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)},wl=(e,t,n)=>n!==void 0?n:`${e}-${t}`,vg=i.defineComponent({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Go,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=i.shallowRef(),l=i.shallowRef(),s=i.shallowRef(),[c,u]=Rd(i.toRef(e,"stretch")),d=()=>{e.stretch&&u(e.getRootDomNode())},f=i.shallowRef(!1);let m;i.watch(()=>e.visible,O=>{clearTimeout(m),O?m=setTimeout(()=>{f.value=e.visible}):f.value=!1},{immediate:!0});const[p,h]=Ad(f,d),y=i.shallowRef(),v=()=>e.point?e.point:e.getRootDomNode,b=()=>{var O;(O=a.value)===null||O===void 0||O.forceAlign()},w=(O,S)=>{var T;const N=e.getClassNameFromAlign(S),M=s.value;s.value!==N&&(s.value=N),p.value==="align"&&(M!==N?Promise.resolve().then(()=>{b()}):h(()=>{var I;(I=y.value)===null||I===void 0||I.call(y)}),(T=e.onAlign)===null||T===void 0||T.call(e,O,S))},$=i.computed(()=>{const O=typeof e.animation=="object"?e.animation:oa(e);return["onAfterEnter","onAfterLeave"].forEach(S=>{const T=O[S];O[S]=N=>{h(),p.value="stable",T==null||T(N)}}),O}),x=()=>new Promise(O=>{y.value=O});i.watch([$,p],()=>{!$.value&&p.value==="motion"&&h()},{immediate:!0}),n({forceAlign:b,getElement:()=>l.value.$el||l.value});const C=i.computed(()=>{var O;return!(!((O=e.align)===null||O===void 0)&&O.points&&(p.value==="align"||p.value==="stable"))});return()=>{var O;const{zIndex:S,align:T,prefixCls:N,destroyPopupOnHide:M,onMouseenter:I,onMouseleave:H,onTouchstart:D=()=>{},onMousedown:W}=e,P=p.value,R=[g(g({},c.value),{zIndex:S,opacity:P==="motion"||P==="stable"||!f.value?null:0,pointerEvents:!f.value&&P!=="stable"?"none":null}),o.style];let B=ue((O=r.default)===null||O===void 0?void 0:O.call(r,{visible:e.visible}));B.length>1&&(B=i.createVNode("div",{class:`${N}-content`},[B]));const V=ee(N,o.class,s.value,!e.arrow&&`${N}-arrow-hidden`),G=f.value||!e.visible?Sl($.value.name,$.value):{};return i.createVNode(i.Transition,_(_({ref:l},G),{},{onBeforeEnter:x}),{default:()=>!M||e.visible?i.withDirectives(i.createVNode(hg,{target:v(),key:"popup",ref:a,monitorWindowResize:!0,disabled:C.value,align:T,onAlign:w},{default:()=>i.createVNode("div",{class:V,onMouseenter:I,onMouseleave:H,onMousedown:i.withModifiers(W,["capture"]),[it?"onTouchstartPassive":"onTouchstart"]:i.withModifiers(D,["capture"]),style:R},[B])}),[[i.vShow,f.value]]):null})}}}),yg=i.defineComponent({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:_d,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=i.shallowRef(!1),l=i.shallowRef(!1),s=i.shallowRef(),c=i.shallowRef();return i.watch([()=>e.visible,()=>e.mobile],()=>{a.value=e.visible,e.visible&&e.mobile&&(l.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var u;(u=s.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=s.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=g(g(g({},e),n),{visible:a.value}),d=l.value?i.createVNode(Nd,_(_({},u),{},{mobile:e.mobile,ref:s}),{default:o.default}):i.createVNode(vg,_(_({},u),{},{ref:s}),{default:o.default});return i.createVNode("div",{ref:c},[i.createVNode(ra,u,null),d])}}});function bg(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Cl(e,t,n){const o=e[t]||{};return g(g({},o),n)}function Sg(e,t,n,o){const{points:r}=n,a=Object.keys(e);for(let l=0;l0&&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(gu(this),g(g({},this.$data),n));if(o===null)return;n=g(g({},n),o||{})}g(this.$data,n),this._.isMounted&&this.$forceUpdate(),i.nextTick(()=>{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;o1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};i.provide($l,{inTriggerContext:t.inTriggerContext,shouldRender:i.computed(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:a}=e||{};let l=!1;return(n||o||r)&&(l=!0),!n&&a&&(l=!1),l})})},Cg=()=>{xl({},{inTriggerContext:!1});const e=i.inject($l,{shouldRender:i.computed(()=>!1),inTriggerContext:!1});return{shouldRender:i.computed(()=>e.shouldRender.value||e.inTriggerContext===!1)}},$g=i.defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:E.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:a}=Cg();function l(){a.value&&(r=e.getContainer())}i.onBeforeMount(()=>{o=!1,l()}),i.onMounted(()=>{r||l()});const s=i.watch(a,()=>{a.value&&!r&&(r=e.getContainer()),r&&s()});return i.onUpdated(()=>{i.nextTick(()=>{var c;a.value&&((c=e.didUpdate)===null||c===void 0||c.call(e,e))})}),()=>{var c;return a.value?o?(c=n.default)===null||c===void 0?void 0:c.call(n):r?i.createVNode(i.Teleport,{to:r},n):null:null}}});function Be(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const Ol="data-vc-order",xg="vc-util-key",vr=new Map;function Tl(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:xg}function Kn(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Og(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Pl(e){return Array.from((vr.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Ml(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Be())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(Ol,Og(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const a=Kn(t),{firstChild:l}=a;if(o){if(o==="queue"){const s=Pl(a).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(Ol)));if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function El(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Kn(t);return Pl(n).find(o=>o.getAttribute(Tl(t))===e)}function Un(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=El(e,t);n&&Kn(t).removeChild(n)}function Tg(e,t){const n=vr.get(e);if(!n||!rt(document,n)){const o=Ml("",t),{parentNode:r}=o;vr.set(e,r),e.removeChild(o)}}function Xn(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,a;const l=Kn(n);Tg(l,n);const s=El(t,n);if(s)return!((o=n.csp)===null||o===void 0)&&o.nonce&&s.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(s.nonce=(a=n.csp)===null||a===void 0?void 0:a.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const c=Ml(e,n);return c.setAttribute(Tl(n),t),c}let yr;function Pg(e){if(typeof document>"u")return 0;if(yr===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 a=t.offsetWidth;r===a&&(a=n.clientWidth),document.body.removeChild(n),yr=r-a}return yr}const Mg=`vc-util-locker-${Date.now()}`;let _l=0;function Eg(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function _g(e){const t=i.computed(()=>!!e&&!!e.value);_l+=1;const n=`${Mg}_${_l}`;i.watchEffect(o=>{if(Be()){if(t.value){const r=Pg(),a=Eg();Xn(` html body { overflow-y: hidden; ${a?`width: calc(100% - ${r}px);`:""} }`,n)}else Un(n);o(()=>{Un(n)})}},{flush:"post"})}let dt=0;const Gn=Be(),Nl=e=>{if(!Gn)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},Ng=i.defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:E.any,visible:{type:Boolean,default:void 0},autoLock:he(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=i.shallowRef(),r=i.shallowRef(),a=i.shallowRef(),l=i.shallowRef(1),s=Be()&&document.createElement("div"),c=()=>{var p,h;o.value===s&&((h=(p=o.value)===null||p===void 0?void 0:p.parentNode)===null||h===void 0||h.removeChild(o.value)),o.value=null};let u=null;const d=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||o.value&&!o.value.parentNode?(u=Nl(e.getContainer),u?(u.appendChild(o.value),!0):!1):!0},f=()=>Gn?(o.value||(o.value=s,d(!0)),m(),o.value):null,m=()=>{const{wrapperClassName:p}=e;o.value&&p&&p!==o.value.className&&(o.value.className=p)};return i.onUpdated(()=>{m(),d()}),_g(i.computed(()=>e.autoLock&&e.visible&&Be()&&(o.value===document.body||o.value===s))),i.onMounted(()=>{let p=!1;i.watch([()=>e.visible,()=>e.getContainer],(h,y)=>{let[v,b]=h,[w,$]=y;Gn&&(u=Nl(e.getContainer),u===document.body&&(v&&!w?dt+=1:p&&(dt-=1))),p&&(typeof b=="function"&&typeof $=="function"?b.toString()!==$.toString():b!==$)&&c(),p=!0},{immediate:!0,flush:"post"}),i.nextTick(()=>{d()||(a.value=me(()=>{l.value+=1}))})}),i.onBeforeUnmount(()=>{const{visible:p}=e;Gn&&u===document.body&&(dt=p&&dt?dt-1:dt),c(),me.cancel(a.value)}),()=>{const{forceRender:p,visible:h}=e;let y=null;const v={getOpenCount:()=>dt,getContainer:f};return l.value&&(p||h||r.value)&&(y=i.createVNode($g,{getContainer:f,ref:r,didUpdate:e.didUpdate},{default:()=>{var b;return(b=n.default)===null||b===void 0?void 0:b.call(n,v)}})),y}}}),Ig=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],br=i.defineComponent({compatConfig:{MODE:3},name:"Trigger",mixins:[wg],inheritAttrs:!1,props:Md(),setup(e){const t=i.computed(()=>{const{popupPlacement:r,popupAlign:a,builtinPlacements:l}=e;return r&&l?Cl(l,r,a):a}),n=i.shallowRef(null),o=r=>{n.value=r};return{vcTriggerContext:i.inject("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:i.shallowRef(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,Ig.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(){i.provide("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),xl(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),me.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=Xt(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Xt(n,"touchstart",this.onDocumentClick,it?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=Xt(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=Xt(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&&rt((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){rt(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();(!rt(n,t)||this.isContextMenuOnly())&&!rt(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 a=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Ke(this.triggerRef);return Ke(r(a))}try{const a=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Ke(this.triggerRef);if(a)return a}catch{}return Ke(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:a,alignPoint:l,getPopupClassNameFromAlign:s}=n;return o&&r&&t.push(Sg(r,a,e,l)),s&&t.push(s(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?Cl(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[it?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:a,popupClassName:l,popupAnimation:s,popupTransitionName:c,popupStyle:u,mask:d,maskAnimation:f,maskTransitionName:m,zIndex:p,stretch:h,alignPoint:y,mobile:v,arrow:b,forceRender:w}=this.$props,{sPopupVisible:$,point:x}=this.$data,C=g(g({prefixCls:r,arrow:b,destroyPopupOnHide:a,visible:$,point:y?x:null,align:this.align,animation:s,getClassNameFromAlign:t,stretch:h,getRootDomNode:n,mask:d,zIndex:p,transitionName:c,maskAnimation:f,maskTransitionName:m,class:l,style:u,onAlign:o.onPopupAlign||Zi},e),{ref:this.setPopupRef,mobile:v,forceRender:w});return i.createVNode(yg,C,{default:this.$slots.popup||(()=>hu(this,"popup"))})},attachParent(e){me.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=me(()=>{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&&(pu(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=xi(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=Re(mu(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=xi(r);const a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[it?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[it?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,n&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=u=>{u&&(!u.relatedTarget||!rt(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const l=ee(r&&r.props&&r.props.class,e.class);l&&(a.class=l);const s=$e(r,g(g({},a),{ref:"triggerRef"}),!0,!0),c=i.createVNode(Ng,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return i.createVNode(i.Fragment,null,[s,c])}}),Et={adjustX:1,adjustY:1},_t=[0,0],Ag={topLeft:{points:["bl","tl"],overflow:Et,offset:[0,-4],targetOffset:_t},topCenter:{points:["bc","tc"],overflow:Et,offset:[0,-4],targetOffset:_t},topRight:{points:["br","tr"],overflow:Et,offset:[0,-4],targetOffset:_t},bottomLeft:{points:["tl","bl"],overflow:Et,offset:[0,4],targetOffset:_t},bottomCenter:{points:["tc","bc"],overflow:Et,offset:[0,4],targetOffset:_t},bottomRight:{points:["tr","br"],overflow:Et,offset:[0,4],targetOffset:_t}};var Rg=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);re.visible,p=>{p!==void 0&&(a.value=p)});const l=i.ref();r({triggerRef:l});const s=p=>{e.visible===void 0&&(a.value=!1),o("overlayClick",p)},c=p=>{e.visible===void 0&&(a.value=p),o("visibleChange",p)},u=()=>{var p;const h=(p=n.overlay)===null||p===void 0?void 0:p.call(n),y={prefixCls:`${e.prefixCls}-menu`,onClick:s};return i.createVNode(i.Fragment,{key:$i},[e.arrow&&i.createVNode("div",{class:`${e.prefixCls}-arrow`},null),$e(h,y,!1)])},d=i.computed(()=>{const{minOverlayWidthMatchTrigger:p=!e.alignPoint}=e;return p}),f=()=>{var p;const h=(p=n.default)===null||p===void 0?void 0:p.call(n);return a.value&&h?$e(h[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):h},m=i.computed(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:p,arrow:h,showAction:y,overlayStyle:v,trigger:b,placement:w,align:$,getPopupContainer:x,transitionName:C,animation:O,overlayClassName:S}=e,T=Rg(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return i.createVNode(br,_(_({},T),{},{prefixCls:p,ref:l,popupClassName:ee(S,{[`${p}-show-arrow`]:h}),popupStyle:v,builtinPlacements:Ag,action:b,showAction:y,hideAction:m.value||[],popupPlacement:w,popupAlign:$,popupTransitionName:C,popupAnimation:O,popupVisible:a.value,stretch:d.value?"minWidth":"",onPopupVisibleChange:c,getPopupContainer:x}),{popup:u,default:f})}}}),Bg="anticon",Il=Symbol("configProvider"),Al={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:i.computed(()=>Bg),getPopupContainer:i.computed(()=>()=>document.body),direction:i.computed(()=>"ltr")},Hg=()=>i.inject(Il,Al),Vg=Symbol("DisabledContextKey"),Rl=()=>i.inject(Vg,i.ref(void 0)),zg={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"},jg={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"},Dl={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Bl={lang:g({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"]},jg),timePickerLocale:g({},Dl)},Se="${label} is not a valid ${type}",Hl={locale:"en",Pagination:zg,DatePicker:Bl,TimePicker:Dl,Calendar:Bl,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:Se,method:Se,array:Se,object:Se,number:Se,date:Se,boolean:Se,integer:Se,float:Se,regexp:Se,email:Se,url:Se,hex:Se},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"}},Vl=i.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=i.inject("localeData",{}),r=i.computed(()=>{const{componentName:l="global",defaultLocale:s}=e,c=s||Hl[l||"global"],{antLocale:u}=o,d=l&&u?u[l]:{};return g(g({},typeof c=="function"?c():c),d||{})}),a=i.computed(()=>{const{antLocale:l}=o,s=l&&l.locale;return l&&l.exist&&!s?Hl.locale:s});return()=>{const l=e.children||n.default,{antLocale:s}=o;return l==null?void 0:l(r.value,a.value,s)}}});function Sr(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 zl="%";class Lg{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(zl):t)||null}update(t,n){const o=Array.isArray(t)?t.join(zl):t,r=this.cache.get(o),a=n(r);a===null?this.cache.delete(o):this.cache.set(o,a)}}const jl="data-token-hash",ft="data-css-hash",Fg="data-cache-path",Nt="__cssinjs_instance__";function ln(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${ft}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[Nt]=r[Nt]||e,r[Nt]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${ft}]`)).forEach(r=>{var a;const l=r.getAttribute(ft);o[l]?r[Nt]===e&&((a=r.parentNode)===null||a===void 0||a.removeChild(r)):o[l]=!0})}return new Lg(e)}const Ll=Symbol("StyleContextKey"),Wg=()=>{var e,t,n;const o=i.getCurrentInstance();let r;if(o&&o.appContext){const a=(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__;a?r=a:(r=ln(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=ln();return r},Fl={cache:ln(),defaultCache:!0,hashPriority:"low"},Yn=()=>{const e=Wg();return i.inject(Ll,i.shallowRef(g(g({},Fl),{cache:e})))},kg=e=>{const t=Yn(),n=i.shallowRef(g(g({},Fl),{cache:ln()}));return i.watch([()=>i.unref(e),t],()=>{const o=g({},t.value),r=i.unref(e);Object.keys(r).forEach(l=>{const s=r[l];r[l]!==void 0&&(o[l]=s)});const{cache:a}=r;o.cache=o.cache||ln(),o.defaultCache=!a&&t.value.defaultCache,n.value=o},{immediate:!0}),i.provide(Ll,n),n},Kg=()=>({autoClear:he(),mock:yl(),cache:ge(),defaultCache:he(),hashPriority:yl(),container:bl(),ssrInline:he(),transformers:vl(),linters:vl()});ut(i.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Kg(),setup(e,t){let{slots:n}=t;return kg(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function Ug(){return!1}let wr=!1;function Xg(){return wr}const Gg=process.env.NODE_ENV==="production"?Ug:Xg;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=window;if(typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=function(){return wr=!0,setTimeout(()=>{wr=!1},0),t(...arguments)}}}function Wl(e,t,n,o){const r=Yn(),a=i.shallowRef(""),l=i.shallowRef();i.watchEffect(()=>{a.value=[e,...t.value].join("%")});const s=Gg(),c=u=>{r.value.cache.update(u,d=>{const[f=0,m]=d||[];return f-1===0?(o==null||o(m,!1),null):[f-1,m]})};return i.watch(a,(u,d)=>{d&&c(d),r.value.cache.update(u,f=>{const[m=0,p]=f||[];let h=p;process.env.NODE_ENV!=="production"&&p&&s&&(o==null||o(h,s),h=null);const y=h||n();return[m+1,y]}),l.value=r.value.cache.get(a.value)[1]},{immediate:!0}),i.onBeforeUnmount(()=>{c(a.value)}),l}function Yg(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var a;o?o=(a=o==null?void 0:o.map)===null||a===void 0?void 0:a.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>It.MAX_CACHE_SIZE+It.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((a,l)=>{const[,s]=a;return this.internalGet(l)[1]{if(a===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const l=o.get(r);l?l.map||(l.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 a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!Yg(n,t)),this.deleteByPath(this.cache,t)}}It.MAX_CACHE_SIZE=20,It.MAX_CACHE_OFFSET=5;let kl=0;class Kl{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=kl,t.length===0&&Ge(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),kl+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const Cr=new It;function qg(e){const t=Array.isArray(e)?e:[e];return Cr.has(t)||Cr.set(t,new Kl(t)),Cr.get(t)}const Ul=new WeakMap;function qn(e){let t=Ul.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof Kl?t+=o.id:o&&typeof o=="object"?t+=qn(o):t+=o}),Ul.set(e,t)),t}function Qg(e,t){return Sr(`${t}_${qn(e)}`)}const sn=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),Xl="_bAmBoO_";function Zg(e,t,n){var o,r;if(Be()){Xn(e,sn);const a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a),process.env.NODE_ENV!=="production"&&(a.innerHTML="Test",a.style.zIndex="9999999");const l=n?n(a):(o=getComputedStyle(a).content)===null||o===void 0?void 0:o.includes(Xl);return(r=a.parentNode)===null||r===void 0||r.removeChild(a),Un(sn),l}return!1}let $r;function Jg(){return $r===void 0&&($r=Zg(`@layer ${sn} { .${sn} { content: "${Xl}"!important; } }`,e=>{e.className=sn})),$r}const Gl={},eh=process.env.NODE_ENV==="production",th=process.env.NODE_ENV==="prerender",nh=!eh&&!th?"css-dev-only-do-not-override":"css",pt=new Map;function oh(e){pt.set(e,(pt.get(e)||0)+1)}function rh(e,t){typeof document<"u"&&document.querySelectorAll(`style[${jl}="${e}"]`).forEach(o=>{var r;o[Nt]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const ih=0;function ah(e,t){pt.set(e,(pt.get(e)||0)-1);const n=Array.from(pt.keys()),o=n.filter(r=>(pt.get(r)||0)<=0);n.length-o.length>ih&&o.forEach(r=>{rh(r,t),pt.delete(r)})}const lh=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let a=g(g({},r),t);return o&&(a=o(a)),a};function sh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i.ref({});const o=Yn(),r=i.computed(()=>g({},...t.value)),a=i.computed(()=>qn(r.value)),l=i.computed(()=>qn(n.value.override||Gl));return Wl("token",i.computed(()=>[n.value.salt||"",e.value.id,a.value,l.value]),()=>{const{salt:c="",override:u=Gl,formatToken:d,getComputedToken:f}=n.value,m=f?f(r.value,u,e.value):lh(r.value,u,e.value,d),p=Qg(m,c);m._tokenKey=p,oh(p);const h=`${nh}-${Sr(p)}`;return m._hashId=h,[m,h]},c=>{var u;ah(c[0]._tokenKey,(u=o.value)===null||u===void 0?void 0:u.cache.instanceId)})}var ch={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},Yl="comm",ql="rule",Ql="decl",uh="@import",dh="@keyframes",fh="@layer",Zl=Math.abs,xr=String.fromCharCode;function Jl(e){return e.trim()}function Qn(e,t,n){return e.replace(t,n)}function ph(e,t,n){return e.indexOf(t,n)}function cn(e,t){return e.charCodeAt(t)|0}function un(e,t,n){return e.slice(t,n)}function Le(e){return e.length}function mh(e){return e.length}function Zn(e,t){return t.push(e),e}var Jn=1,At=1,es=0,xe=0,ie=0,Rt="";function Or(e,t,n,o,r,a,l,s){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:Jn,column:At,length:l,return:"",siblings:s}}function gh(){return ie}function hh(){return ie=xe>0?cn(Rt,--xe):0,At--,ie===10&&(At=1,Jn--),ie}function Ae(){return ie=xe2||Tr(ie)>3?"":" "}function Sh(e,t){for(;--t&&Ae()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return to(e,eo()+(t<6&&mt()==32&&Ae()==32))}function Mr(e){for(;Ae();)switch(ie){case e:return xe;case 34:case 39:e!==34&&e!==39&&Mr(ie);break;case 40:e===41&&Mr(e);break;case 92:Ae();break}return xe}function wh(e,t){for(;Ae()&&e+ie!==57;)if(e+ie===84&&mt()===47)break;return"/*"+to(t,xe-1)+"*"+xr(e===47?e:Ae())}function Ch(e){for(;!Tr(mt());)Ae();return to(e,xe)}function $h(e){return yh(no("",null,null,null,[""],e=vh(e),0,[0],e))}function no(e,t,n,o,r,a,l,s,c){for(var u=0,d=0,f=l,m=0,p=0,h=0,y=1,v=1,b=1,w=0,$="",x=r,C=a,O=o,S=$;v;)switch(h=w,w=Ae()){case 40:if(h!=108&&cn(S,f-1)==58){ph(S+=Qn(Pr(w),"&","&\f"),"&\f",Zl(u?s[u-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:S+=Pr(w);break;case 9:case 10:case 13:case 32:S+=bh(h);break;case 92:S+=Sh(eo()-1,7);continue;case 47:switch(mt()){case 42:case 47:Zn(xh(wh(Ae(),eo()),t,n,c),c);break;default:S+="/"}break;case 123*y:s[u++]=Le(S)*b;case 125*y:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+d:b==-1&&(S=Qn(S,/\f/g,"")),p>0&&Le(S)-f&&Zn(p>32?ns(S+";",o,n,f-1,c):ns(Qn(S," ","")+";",o,n,f-2,c),c);break;case 59:S+=";";default:if(Zn(O=ts(S,t,n,u,d,r,s,$,x=[],C=[],f,a),a),w===123)if(d===0)no(S,t,O,O,x,a,f,s,C);else switch(m===99&&cn(S,3)===110?100:m){case 100:case 108:case 109:case 115:no(e,O,O,o&&Zn(ts(e,O,O,0,0,r,s,$,r,x=[],f,C),C),r,C,f,s,o?x:C);break;default:no(S,O,O,O,[""],C,0,s,C)}}u=d=p=0,y=b=1,$=S="",f=l;break;case 58:f=1+Le(S),p=h;default:if(y<1){if(w==123)--y;else if(w==125&&y++==0&&hh()==125)continue}switch(S+=xr(w),w*y){case 38:b=d>0?1:(S+="\f",-1);break;case 44:s[u++]=(Le(S)-1)*b,b=1;break;case 64:mt()===45&&(S+=Pr(Ae())),m=mt(),d=f=Le($=S+=Ch(eo())),w++;break;case 45:h===45&&Le(S)==2&&(y=0)}}return a}function ts(e,t,n,o,r,a,l,s,c,u,d,f){for(var m=r-1,p=r===0?a:[""],h=mh(p),y=0,v=0,b=0;y0?p[w]+" "+$:Qn($,/&\f/g,p[w])))&&(c[b++]=x);return Or(e,t,n,r===0?ql:s,c,u,d,f)}function xh(e,t,n,o){return Or(e,t,n,Yl,xr(gh()),un(e,2,-2),0,o)}function ns(e,t,n,o,r){return Or(e,t,n,Ql,un(e,0,o),un(e,o+1,-1),o,r)}function Er(e,t){for(var n="",o=0;o ")}`:""}`)}const Th=(e,t,n)=>{if(e==="content"){const o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!o.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&os(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},Ph=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&os(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},rs="data-ant-cssinjs-cache-path",Mh="_FILE_STYLE__";let gt,is=!0;function Eh(){var e;if(!gt&&(gt={},Be())){const t=document.createElement("div");t.className=rs,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[a,l]=r.split(":");gt[a]=l});const o=document.querySelector(`style[${rs}]`);o&&(is=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function _h(e){return Eh(),!!gt[e]}function Nh(e){const t=gt[e];let n=null;if(t&&Be())if(is)n=Mh;else{const o=document.querySelector(`style[${ft}="${gt[e]}"]`);o?n=o.innerHTML:delete gt[e]}return[n,t]}const as=Be(),ls="_skip_check_",ss="_multi_value_";function cs(e){return Er($h(e),Oh).replace(/\{%%%\:[^;];}/g,";")}function Ih(e){return typeof e=="object"&&e&&(ls in e||ss in e)}function Ah(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(l=>{var s;const c=l.trim().split(/\s+/);let u=c[0]||"";const d=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u=`${d}${r}${u.slice(d.length)}`,[u,...c.slice(1)].join(" ")}).join(",")}const _r=new Set;process.env.NODE_ENV;const Nr=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:a,layer:l,path:s,hashPriority:c,transformers:u=[],linters:d=[]}=t;let f="",m={};function p(v){const b=v.getName(a);if(!m[b]){const[w]=Nr(v.style,t,{root:!1,parentSelectors:r});m[b]=`@keyframes ${v.getName(a)}${w}`}}function h(v){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(w=>{Array.isArray(w)?h(w,b):w&&b.push(w)}),b}if(h(Array.isArray(e)?e:[e]).forEach(v=>{const b=typeof v=="string"&&!n?{}:v;if(typeof b=="string")f+=`${b} `;else if(b._keyframe)p(b);else{const w=u.reduce(($,x)=>{var C;return((C=x==null?void 0:x.visit)===null||C===void 0?void 0:C.call(x,$))||$},b);Object.keys(w).forEach($=>{var x;const C=w[$];if(typeof C=="object"&&C&&($!=="animationName"||!C._keyframe)&&!Ih(C)){let O=!1,S=$.trim(),T=!1;(n||o)&&a?S.startsWith("@")?O=!0:S=Ah($,a,c):n&&!a&&(S==="&"||S==="")&&(S="",T=!0);const[N,M]=Nr(C,t,{root:T,injectHash:O,parentSelectors:[...r,S]});m=g(g({},m),M),f+=`${S}${N}`}else{let O=function(T,N){process.env.NODE_ENV!=="production"&&(typeof C!="object"||!(C!=null&&C[ls]))&&[Th,Ph,...d].forEach(H=>H(T,N,{path:s,hashId:a,parentSelectors:r}));const M=T.replace(/[A-Z]/g,H=>`-${H.toLowerCase()}`);let I=N;!ch[T]&&typeof I=="number"&&I!==0&&(I=`${I}px`),T==="animationName"&&(N!=null&&N._keyframe)&&(p(N),I=N.getName(a)),f+=`${M}:${I};`};const S=(x=C==null?void 0:C.value)!==null&&x!==void 0?x:C;typeof C=="object"&&(C!=null&&C[ss])&&Array.isArray(S)?S.forEach(T=>{O($,T)}):O($,S)}})}}),!n)f=`{${f}}`;else if(l&&Jg()){const v=l.split(",");f=`@layer ${v[v.length-1].trim()} {${f}}`,v.length>1&&(f=`@layer ${l}{%%%:%}${f}`)}return[f,m]};function Rh(e,t){return Sr(`${e.join("%")}${t}`)}function us(e,t){const n=Yn(),o=i.computed(()=>e.value.token._tokenKey),r=i.computed(()=>[o.value,...e.value.path]);let a=as;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(a=n.value.mock==="client"),Wl("style",r,()=>{const{path:l,hashId:s,layer:c,nonce:u,clientOnly:d,order:f=0}=e.value,m=r.value.join("|");if(_h(m)){const[S,T]=Nh(m);if(S)return[S,o.value,T,{},d,f]}const p=t(),{hashPriority:h,container:y,transformers:v,linters:b,cache:w}=n.value,[$,x]=Nr(p,{hashId:s,hashPriority:h,layer:c,path:l.join("-"),transformers:v,linters:b}),C=cs($),O=Rh(r.value,C);if(a){const S={mark:ft,prepend:"queue",attachTo:y,priority:f},T=typeof u=="function"?u():u;T&&(S.csp={nonce:T});const N=Xn(C,O,S);N[Nt]=w.instanceId,N.setAttribute(jl,o.value),process.env.NODE_ENV!=="production"&&N.setAttribute(Fg,r.value.join("|")),Object.keys(x).forEach(M=>{_r.has(M)||(_r.add(M),Xn(cs(x[M]),`_effect-${M}`,{mark:ft,prepend:"queue",attachTo:y}))})}return[C,o.value,O,x,d,f]},(l,s)=>{let[,,c]=l;(s||n.value.autoClear)&&as&&Un(c,{mark:ft})}),l=>l}class Y{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 Dh="4.2.3",dn=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Bh=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Hh(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 ds={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"},Ir=g(g({},ds),{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});function Vh(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),m=n(r),p=n(a),h=n(l),y=n(s),v=o(u,d);return g(g({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorBgMask:new pe("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const zh=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 jh(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return g({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},zh(o))}const Fe=(e,t)=>new pe(e).setAlpha(t).toRgbString(),fn=(e,t)=>new pe(e).darken(t).toHexString(),Lh=e=>{const t=kt(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]}},Fh=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:Fe(o,.88),colorTextSecondary:Fe(o,.65),colorTextTertiary:Fe(o,.45),colorTextQuaternary:Fe(o,.25),colorFill:Fe(o,.15),colorFillSecondary:Fe(o,.06),colorFillTertiary:Fe(o,.04),colorFillQuaternary:Fe(o,.02),colorBgLayout:fn(n,4),colorBgContainer:fn(n,0),colorBgElevated:fn(n,0),colorBgSpotlight:Fe(o,.85),colorBorder:fn(n,15),colorBorderSecondary:fn(n,6)}};function Wh(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,a=e*Math.pow(2.71828,r/5),l=o>1?Math.floor(a):Math.ceil(a);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const kh=e=>{const t=Wh(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 Kh(e){const t=Object.keys(ds).map(n=>{const o=kt(e[n]);return new Array(10).fill(1).reduce((r,a,l)=>(r[`${n}-${l+1}`]=o[l],r),{})}).reduce((n,o)=>(n=g(g({},n),o),n),{});return g(g(g(g(g(g(g({},e),t),Vh(e,{generateColorPalettes:Lh,generateNeutralColorPalettes:Fh})),kh(e.fontSize)),Hh(e)),Bh(e)),jh(e))}function Ar(e){return e>=0&&e<=255}function oo(e,t){const{r:n,g:o,b:r,a}=new pe(e).toRgb();if(a<1)return e;const{r:l,g:s,b:c}=new pe(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-l*(1-u))/u),f=Math.round((o-s*(1-u))/u),m=Math.round((r-c*(1-u))/u);if(Ar(d)&&Ar(f)&&Ar(m))return new pe({r:d,g:f,b:m,a:Math.round(u*100)/100}).toRgbString()}return new pe({r:n,g:o,b:r,a:1}).toRgbString()}var Uh=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{delete o[p]});const r=g(g({},n),o),a=480,l=576,s=768,c=992,u=1200,d=1600,f=2e3;return g(g(g({},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:oo(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:oo(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:oo(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:oo(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:a,screenXSMin:a,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,screenXXLMax:f-1,screenXXXL:f,screenXXXLMin:f,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` 0 1px 2px -2px ${new pe("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new pe("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new pe("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 Gh=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),fs=(e,t,n,o,r)=>{const a=e/2,l=0,s=a,c=n*1/Math.sqrt(2),u=a-n*(1-1/Math.sqrt(2)),d=a-t*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),m=2*a-d,p=f,h=2*a-c,y=u,v=2*a-l,b=s,w=a*Math.sqrt(2)+n*(Math.sqrt(2)-2),$=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:w,height:w,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(${$}px 100%, 50% ${$}px, ${2*a-$}px 100%, ${$}px 100%)`,`path('M ${l} ${s} A ${n} ${n} 0 0 0 ${c} ${u} L ${d} ${f} A ${t} ${t} 0 0 1 ${m} ${p} L ${h} ${y} A ${n} ${n} 0 0 0 ${v} ${b} Z')`]},content:'""'}}};function Yh(e,t){return dn.reduce((n,o)=>{const r=e[`${o}-1`],a=e[`${o}-3`],l=e[`${o}-6`],s=e[`${o}-7`];return g(g({},n),t(o,{lightColor:r,lightBorderColor:a,darkColor:l,textColor:s}))},{})}const Rr={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Qe=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),qh=()=>({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"}}),ps=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Qh=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"}}}),Zh=(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"}}}}},ms=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ro=e=>({"&:focus-visible":g({},ms(e))});function Oe(e,t,n){return o=>{const r=i.computed(()=>o==null?void 0:o.value),[a,l,s]=pn(),{getPrefixCls:c,iconPrefixCls:u}=Hg(),d=i.computed(()=>c()),f=i.computed(()=>({theme:a.value,token:l.value,hashId:s.value,path:["Shared",d.value]}));us(f,()=>[{"&":Qh(l.value)}]);const m=i.computed(()=>({theme:a.value,token:l.value,hashId:s.value,path:[e,r.value,u.value]}));return[us(m,()=>{const{token:p,flush:h}=ev(l.value),y=typeof n=="function"?n(p):n,v=g(g({},y),l.value[e]),b=`.${r.value}`,w=ve(p,{componentCls:b,prefixCls:r.value,iconCls:`.${u.value}`,antCls:`.${d.value}`},v),$=t(w,{hashId:s.value,prefixCls:r.value,rootPrefixCls:d.value,iconPrefixCls:u.value,overrideComponentToken:l.value[e]});return h(e,v),[Zh(l.value,r.value),$]}),s]}}const gs=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let Dr=!0;function ve(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(r).forEach(l=>{Object.defineProperty(o,l,{configurable:!0,enumerable:!0,get:()=>r[l]})})}),Dr=!0,o}function Jh(){}function ev(e){let t,n=e,o=Jh;return gs&&(t=new Set,n=new Proxy(e,{get(r,a){return Dr&&t.add(a),r[a]}}),o=(r,a)=>{Array.from(t)}),{token:n,keys:t,flush:o}}const tv=qg(Kh),nv={token:Ir,hashed:!0},hs=Symbol("DesignTokenContext"),Br=i.shallowRef(),ov=e=>{i.provide(hs,e),i.watch(e,()=>{Br.value=i.unref(e),i.triggerRef(Br)},{immediate:!0,deep:!0})};i.defineComponent({props:{value:ge()},setup(e,t){let{slots:n}=t;return ov(i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function pn(){const e=i.inject(hs,i.computed(()=>Br.value||nv)),t=i.computed(()=>`${Dh}-${e.value.hashed||""}`),n=i.computed(()=>e.value.theme||tv),o=sh(n,i.computed(()=>[Ir,e.value.token]),i.computed(()=>({salt:t.value,override:g({override:e.value.token},e.value.components),formatToken:Xh})));return[n,i.computed(()=>o.value[0]),i.computed(()=>e.value.hashed?o.value[1]:"")]}const vs=i.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=pn(),t=i.computed(()=>new pe(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>i.createVNode("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[i.createVNode("g",{fill:"none","fill-rule":"evenodd"},[i.createVNode("g",{transform:"translate(24 31.67)"},[i.createVNode("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),i.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),i.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),i.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),i.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)]),i.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),i.createVNode("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[i.createVNode("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),i.createVNode("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});vs.PRESENTED_IMAGE_DEFAULT=!0;const ys=i.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=pn(),t=i.computed(()=>{const{colorFill:n,colorFillTertiary:o,colorFillQuaternary:r,colorBgContainer:a}=e.value;return{borderColor:new pe(n).onBackground(a).toHexString(),shadowColor:new pe(o).onBackground(a).toHexString(),contentColor:new pe(r).onBackground(a).toHexString()}});return()=>i.createVNode("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[i.createVNode("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[i.createVNode("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),i.createVNode("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[i.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),i.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:t.value.contentColor},null)])])])}});ys.PRESENTED_IMAGE_SIMPLE=!0;const rv=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:a,lineHeight:l}=e;return{[t]:{marginInline:o,fontSize:a,lineHeight:l,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}}}}},iv=Oe("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,o=ve(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[rv(o)]});var av=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({prefixCls:String,imageStyle:ge(),image:an(),description:an()}),Hr=i.defineComponent({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:lv(),setup(e,t){let{slots:n={},attrs:o}=t;const{direction:r,prefixCls:a}=ae("empty",e),[l,s]=iv(a);return()=>{var c,u;const d=a.value,f=g(g({},e),o),{image:m=((c=n.image)===null||c===void 0?void 0:c.call(n))||bs,description:p=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:h,class:y=""}=f,v=av(f,["image","description","imageStyle","class"]);return l(i.createVNode(Vl,{componentName:"Empty",children:b=>{const w=typeof p<"u"?p:b.description,$=typeof w=="string"?w:"empty";let x=null;return typeof m=="string"?x=i.createVNode("img",{alt:$,src:m},null):x=m,i.createVNode("div",_({class:ee(d,y,s.value,{[`${d}-normal`]:m===Ss,[`${d}-rtl`]:r.value==="rtl"})},v),[i.createVNode("div",{class:`${d}-image`,style:h},[x]),w&&i.createVNode("p",{class:`${d}-description`},[w]),n.default&&i.createVNode("div",{class:`${d}-footer`},[Re(n.default())])])}},null))}}});Hr.PRESENTED_IMAGE_DEFAULT=bs,Hr.PRESENTED_IMAGE_SIMPLE=Ss;const mn=ut(Hr),sv=e=>{const{prefixCls:t}=ae("empty",e);return(o=>{switch(o){case"Table":case"List":return i.createVNode(mn,{image:mn.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return i.createVNode(mn,{image:mn.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return i.createVNode(mn,null,null)}})(e.componentName)},cv=Symbol("SizeContextKey"),uv=()=>i.inject(cv,i.ref(void 0)),ae=(e,t)=>{const n=uv(),o=Rl(),r=i.inject(Il,g(g({},Al),{renderEmpty:S=>i.h(sv,{componentName:S})})),a=i.computed(()=>r.getPrefixCls(e,t.prefixCls)),l=i.computed(()=>{var S,T;return(S=t.direction)!==null&&S!==void 0?S:(T=r.direction)===null||T===void 0?void 0:T.value}),s=i.computed(()=>{var S;return(S=t.iconPrefixCls)!==null&&S!==void 0?S:r.iconPrefixCls.value}),c=i.computed(()=>r.getPrefixCls()),u=i.computed(()=>{var S;return(S=r.autoInsertSpaceInButton)===null||S===void 0?void 0:S.value}),d=r.renderEmpty,f=r.space,m=r.pageHeader,p=r.form,h=i.computed(()=>{var S,T;return(S=t.getTargetContainer)!==null&&S!==void 0?S:(T=r.getTargetContainer)===null||T===void 0?void 0:T.value}),y=i.computed(()=>{var S,T,N;return(T=(S=t.getContainer)!==null&&S!==void 0?S:t.getPopupContainer)!==null&&T!==void 0?T:(N=r.getPopupContainer)===null||N===void 0?void 0:N.value}),v=i.computed(()=>{var S,T;return(S=t.dropdownMatchSelectWidth)!==null&&S!==void 0?S:(T=r.dropdownMatchSelectWidth)===null||T===void 0?void 0:T.value}),b=i.computed(()=>{var S;return(t.virtual===void 0?((S=r.virtual)===null||S===void 0?void 0:S.value)!==!1:t.virtual!==!1)&&v.value!==!1}),w=i.computed(()=>t.size||n.value),$=i.computed(()=>{var S,T,N;return(S=t.autocomplete)!==null&&S!==void 0?S:(N=(T=r.input)===null||T===void 0?void 0:T.value)===null||N===void 0?void 0:N.autocomplete}),x=i.computed(()=>{var S;return(S=t.disabled)!==null&&S!==void 0?S:o.value}),C=i.computed(()=>{var S;return(S=t.csp)!==null&&S!==void 0?S:r.csp}),O=i.computed(()=>{var S,T;return(S=t.wave)!==null&&S!==void 0?S:(T=r.wave)===null||T===void 0?void 0:T.value});return{configProvider:r,prefixCls:a,direction:l,size:w,getTargetContainer:h,getPopupContainer:y,space:f,pageHeader:m,form:p,autoInsertSpaceInButton:u,renderEmpty:d,virtual:b,dropdownMatchSelectWidth:v,rootPrefixCls:c,getPrefixCls:r.getPrefixCls,autocomplete:$,csp:C,iconPrefixCls:s,disabled:x,select:r.select,wave:O}},dv=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}}}}},fv=Oe("Wave",e=>[dv(e)]);function ht(e){const t=typeof e=="function"?e():e,n=i.ref(t);function o(r){n.value=r}return[n,o]}function pv(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 Vr(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&pv(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function mv(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return Vr(t)?t:Vr(n)?n:Vr(o)?o:null}function zr(e){return Number.isNaN(e)?0:e}const gv=i.defineComponent({props:{target:ge(),className:String},setup(e){const t=i.shallowRef(null),[n,o]=ht(null),[r,a]=ht([]),[l,s]=ht(0),[c,u]=ht(0),[d,f]=ht(0),[m,p]=ht(0),[h,y]=ht(!1);function v(){const{target:S}=e,T=getComputedStyle(S);o(mv(S));const N=T.position==="static",{borderLeftWidth:M,borderTopWidth:I}=T;s(N?S.offsetLeft:zr(-parseFloat(M))),u(N?S.offsetTop:zr(-parseFloat(I))),f(S.offsetWidth),p(S.offsetHeight);const{borderTopLeftRadius:H,borderTopRightRadius:D,borderBottomLeftRadius:W,borderBottomRightRadius:P}=T;a([H,D,P,W].map(R=>zr(parseFloat(R))))}let b,w,$;const x=()=>{clearTimeout($),me.cancel(w),b==null||b.disconnect()},C=()=>{var S;const T=(S=t.value)===null||S===void 0?void 0:S.parentElement;T&&(i.render(null,T),T.parentElement&&T.parentElement.removeChild(T))};i.onMounted(()=>{x(),$=setTimeout(()=>{C()},5e3);const{target:S}=e;S&&(w=me(()=>{v(),y(!0)}),typeof ResizeObserver<"u"&&(b=new ResizeObserver(v),b.observe(S)))}),i.onBeforeUnmount(()=>{x()});const O=S=>{S.propertyName==="opacity"&&C()};return()=>{if(!h.value)return null;const S={left:`${l.value}px`,top:`${c.value}px`,width:`${d.value}px`,height:`${m.value}px`,borderRadius:r.value.map(T=>`${T}px`).join(" ")};return n&&(S["--wave-color"]=n.value),i.createVNode(i.Transition,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[i.createVNode("div",{ref:t,class:e.className,style:S,onTransitionend:O},null)]})}}});function hv(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),i.render(i.createVNode(gv,{target:e,className:t},null),n)}function vv(e,t,n){function o(){var r;const a=Ke(e);!((r=n==null?void 0:n.value)===null||r===void 0)&&r.disabled||!a||hv(a,t.value)}return o}const yv=i.defineComponent({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const o=i.getCurrentInstance(),{prefixCls:r,wave:a}=ae("wave",e),[,l]=fv(r),s=vv(o,i.computed(()=>ee(r.value,l.value)),a);let c;const u=()=>{Ke(o).removeEventListener("click",c,!0)};return i.onMounted(()=>{i.watch(()=>e.disabled,()=>{u(),i.nextTick(()=>{const d=Ke(o);d==null||d.removeEventListener("click",c,!0),!(!d||d.nodeType!==1||e.disabled)&&(c=f=>{f.target.tagName==="INPUT"||!Ma(f.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||s()},d.addEventListener("click",c,!0))})},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{u()}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}}),ws=()=>({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:E.any,href:String,target:String,title:String,onClick:kn(),onMousedown:kn()}),Ze=(e,t,n)=>{Uo(e,`[ant-design-vue: ${t}] ${n}`)};var bv={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"};function Cs(e){for(var t=1;t{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},xs=e=>{i.nextTick(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},Os=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},wv=i.defineComponent({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 i.createVNode("span",{class:`${n}-loading-icon`},[i.createVNode(io,null,null)]);const r=!!o;return i.createVNode(i.Transition,{name:`${n}-loading-icon-motion`,onBeforeEnter:$s,onEnter:xs,onAfterEnter:Os,onBeforeLeave:xs,onLeave:a=>{setTimeout(()=>{$s(a)})},onAfterLeave:Os},{default:()=>[r?i.createVNode("span",{class:`${n}-loading-icon`},[i.createVNode(io,null,null)]):null]})}}}),Ts=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Cv=e=>{const{componentCls:t,fontSize:n,lineWidth:o,colorPrimaryHover:r,colorErrorHover:a}=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}},Ts(`${t}-primary`,r),Ts(`${t}-danger`,a)]}};function $v(e,t,n){const{focusElCls:o,focus:r,borderElCls:a}=n,l=a?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${l}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":g(g({[s]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${l}`]:{zIndex:0}})}}function xv(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 Ov(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:g(g({},$v(e,o,t)),xv(n,o,t))}}function Tv(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Pv(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 Mv(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:g(g({},Tv(e,t)),Pv(e.componentCls,t))}}const Ev=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)":g({},ro(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:'""'}}}}}}},We=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),_v=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Nv=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),jr=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),ao=(e,t,n,o,r,a,l)=>({[`&${e}-background-ghost`]:g(g({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},We(g({backgroundColor:"transparent"},a),g({backgroundColor:"transparent"},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:r||void 0}})}),Lr=e=>({"&:disabled":g({},jr(e))}),Ps=e=>g({},Lr(e)),lo=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),Ms=e=>g(g(g(g(g({},Ps(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),We({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),ao(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:g(g(g({color:e.colorError,borderColor:e.colorError},We({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ao(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Lr(e))}),Iv=e=>g(g(g(g(g({},Ps(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),We({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),ao(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`]:g(g(g({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},We({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),ao(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Lr(e))}),Av=e=>g(g({},Ms(e)),{borderStyle:"dashed"}),Rv=e=>g(g(g({color:e.colorLink},We({color:e.colorLinkHover},{color:e.colorLinkActive})),lo(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},We({color:e.colorErrorHover},{color:e.colorErrorActive})),lo(e))}),Dv=e=>g(g(g({},We({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),lo(e)),{[`&${e.componentCls}-dangerous`]:g(g({color:e.colorError},lo(e)),We({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),Bv=e=>g(g({},jr(e)),{[`&${e.componentCls}:hover`]:g({},jr(e))}),Hv=e=>{const{componentCls:t}=e;return{[`${t}-default`]:Ms(e),[`${t}-primary`]:Iv(e),[`${t}-dashed`]:Av(e),[`${t}-link`]:Rv(e),[`${t}-text`]:Dv(e),[`${t}-disabled`]:Bv(e)}},Fr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:o,controlHeight:r,fontSize:a,lineHeight:l,lineWidth:s,borderRadius:c,buttonPaddingHorizontal:u}=e,d=Math.max(0,(r-a*l)/2-s),f=u-s,m=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:a,height:r,padding:`${d}px ${f}px`,borderRadius:c,[`&${m}`]:{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(${m}) ${n}-loading-icon > ${o}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:_v(e)},{[`${n}${n}-round${t}`]:Nv(e)}]},Vv=e=>Fr(e),zv=e=>{const t=ve(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return Fr(t,`${e.componentCls}-sm`)},jv=e=>{const t=ve(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return Fr(t,`${e.componentCls}-lg`)},Lv=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Fv=Oe("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,o=ve(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[Ev(o),zv(o),Vv(o),jv(o),Lv(o),Hv(o),Cv(o),Ov(e,{focus:!1}),Mv(e)]});function Es(e){const t=Symbol("contextKey");return{useProvide:(r,a)=>{const l=i.reactive({});return i.provide(t,l),i.watchEffect(()=>{g(l,r,a||{})}),l},useInject:()=>i.inject(t,e)||{}}}const Wv=()=>({prefixCls:String,size:{type:String}}),_s=Es(),Wr=i.defineComponent({compatConfig:{MODE:3},name:"AButtonGroup",props:Wv(),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=ae("btn-group",e),[,,a]=pn();_s.useProvide(i.reactive({size:i.computed(()=>e.size)}));const l=i.computed(()=>{const{size:s}=e;let c="";switch(s){case"large":c="lg";break;case"small":c="sm";break;case"middle":case void 0:break;default:Ze(!s,"Button.Group","Invalid prop `size`.")}return{[`${o.value}`]:!0,[`${o.value}-${c}`]:c,[`${o.value}-rtl`]:r.value==="rtl",[a.value]:!0}});return()=>{var s;return i.createVNode("div",{class:l.value},[ue((s=n.default)===null||s===void 0?void 0:s.call(n))])}}}),kv=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Kv=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}-item`]:{"&:empty":{display:"none"}}}}},Ns=Oe("Space",e=>[Kv(e),kv(e)]),Uv=()=>({compactSize:String,compactDirection:E.oneOf(Pt("horizontal","vertical")).def("horizontal"),isFirstItem:he(),isLastItem:he()}),so=Es(null),Xv=(e,t)=>{const n=so.useInject(),o=i.computed(()=>{if(!n||li.isEmpty(n))return"";const{compactDirection:r,isFirstItem:a,isLastItem:l}=n,s=r==="vertical"?"-vertical-":"-";return ee({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:a,[`${e.value}-compact${s}last-item`]:l,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:i.computed(()=>n==null?void 0:n.compactSize),compactDirection:i.computed(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}};i.defineComponent({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return so.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});const Gv=()=>({prefixCls:String,size:{type:String},direction:E.oneOf(Pt("horizontal","vertical")).def("horizontal"),align:E.oneOf(Pt("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),Yv=i.defineComponent({name:"CompactItem",props:Uv(),setup(e,t){let{slots:n}=t;return so.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),kr=i.defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:Gv(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=ae("space-compact",e),l=so.useInject(),[s,c]=Ns(r),u=i.computed(()=>ee(r.value,c.value,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var d;const f=ue(((d=o.default)===null||d===void 0?void 0:d.call(o))||[]);return f.length===0?null:s(i.createVNode("div",_(_({},n),{},{class:[u.value,n.class]}),[f.map((m,p)=>{var h;const y=m&&m.key||`${r.value}-item-${p}`,v=!l||li.isEmpty(l);return i.createVNode(Yv,{key:y,compactSize:(h=e.size)!==null&&h!==void 0?h:"middle",compactDirection:e.direction,isFirstItem:p===0&&(v||(l==null?void 0:l.isFirstItem)),isLastItem:p===f.length-1&&(v||(l==null?void 0:l.isLastItem))},{default:()=>[m]})})]))}}}),Is=/^[\u4e00-\u9fa5]{2}$/,As=Is.test.bind(Is);function co(e){return e==="text"||e==="link"}const vt=i.defineComponent({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:St(ws(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r,expose:a}=t;const{prefixCls:l,autoInsertSpaceInButton:s,direction:c,size:u}=ae("btn",e),[d,f]=Fv(l),m=_s.useInject(),p=Rl(),h=i.computed(()=>{var P;return(P=e.disabled)!==null&&P!==void 0?P:p.value}),y=i.shallowRef(null),v=i.shallowRef(void 0);let b=!1;const w=i.shallowRef(!1),$=i.shallowRef(!1),x=i.computed(()=>s.value!==!1),{compactSize:C,compactItemClassnames:O}=Xv(l,c),S=i.computed(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);i.watch(S,P=>{clearTimeout(v.value),typeof S.value=="number"?v.value=setTimeout(()=>{w.value=P},S.value):w.value=P},{immediate:!0});const T=i.computed(()=>{const{type:P,shape:R="default",ghost:B,block:V,danger:U}=e,G=l.value,j={large:"lg",small:"sm",middle:void 0},X=C.value||(m==null?void 0:m.size)||u.value,J=X&&j[X]||"";return[O.value,{[f.value]:!0,[`${G}`]:!0,[`${G}-${R}`]:R!=="default"&&R,[`${G}-${P}`]:P,[`${G}-${J}`]:J,[`${G}-loading`]:w.value,[`${G}-background-ghost`]:B&&!co(P),[`${G}-two-chinese-chars`]:$.value&&x.value,[`${G}-block`]:V,[`${G}-dangerous`]:!!U,[`${G}-rtl`]:c.value==="rtl"}]}),N=()=>{const P=y.value;if(!P||s.value===!1)return;const R=P.textContent;b&&As(R)?$.value||($.value=!0):$.value&&($.value=!1)},M=P=>{if(w.value||h.value){P.preventDefault();return}r("click",P)},I=P=>{r("mousedown",P)},H=(P,R)=>{const B=R?" ":"";if(P.type===i.Text){let V=P.children.trim();return As(V)&&(V=V.split("").join(B)),i.createVNode("span",null,[V])}return P};return i.watchEffect(()=>{Ze(!(e.ghost&&co(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),i.onMounted(N),i.onUpdated(N),i.onBeforeUnmount(()=>{v.value&&clearTimeout(v.value)}),a({focus:()=>{var P;(P=y.value)===null||P===void 0||P.focus()},blur:()=>{var P;(P=y.value)===null||P===void 0||P.blur()}}),()=>{var P,R;const{icon:B=(P=n.icon)===null||P===void 0?void 0:P.call(n)}=e,V=ue((R=n.default)===null||R===void 0?void 0:R.call(n));b=V.length===1&&!B&&!co(e.type);const{type:U,htmlType:G,href:j,title:X,target:J}=e,le=w.value?"loading":B,oe=g(g({},o),{title:X,disabled:h.value,class:[T.value,o.class,{[`${l.value}-icon-only`]:V.length===0&&!!le}],onClick:M,onMousedown:I});h.value||delete oe.disabled;const fe=B&&!w.value?B:i.createVNode(wv,{existIcon:!!B,prefixCls:l.value,loading:!!w.value},null),A=V.map(K=>H(K,b&&x.value));if(j!==void 0)return d(i.createVNode("a",_(_({},oe),{},{href:j,target:J,ref:y}),[fe,A]));let k=i.createVNode("button",_(_({},oe),{},{ref:y,type:G}),[fe,A]);if(!co(U)){const K=function(){return k}();k=i.createVNode(yv,{ref:"wave",disabled:!!w.value},{default:()=>[K]})}return d(k)}}});vt.Group=Wr,vt.install=function(e){return e.component(vt.name,vt),e.component(Wr.name,Wr),e};const Rs=()=>({arrow:bl([Boolean,Object]),trigger:{type:[Array,String]},menu:ge(),overlay:E.any,visible:he(),open:he(),disabled:he(),danger:he(),autofocus:he(),align:ge(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:ge(),forceRender:he(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:he(),destroyPopupOnHide:he(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),Kr=ws(),qv=()=>g(g({},Rs()),{type:Kr.type,size:String,htmlType:Kr.htmlType,href:String,disabled:he(),prefixCls:String,icon:E.any,title:String,loading:Kr.loading,onClick:kn()});var Qv={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"};function Ds(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const Bs=8;function Hs(e){const t=Bs,{sizePopupArrow:n,contentRadius:o,borderRadiusOuter:r,limitVerticalRadius:a}=e,l=n/2-Math.ceil(r*(Math.sqrt(2)-1)),s=(o>12?o+2:12)-l,c=a?t-l:s;return{dropdownArrowOffset:s,dropdownArrowOffsetVertical:c}}function Vs(e,t){const{componentCls:n,sizePopupArrow:o,marginXXS:r,borderRadiusXS:a,borderRadiusOuter:l,boxShadowPopoverArrow:s}=e,{colorBg:c,showArrowCls:u,contentRadius:d=e.borderRadiusLG,limitVerticalRadius:f}=t,{dropdownArrowOffsetVertical:m,dropdownArrowOffset:p}=Hs({sizePopupArrow:o,contentRadius:d,borderRadiusOuter:l,limitVerticalRadius:f}),h=o/2+r;return{[n]:{[`${n}-arrow`]:[g(g({position:"absolute",zIndex:1,display:"block"},fs(o,a,l,c,s)),{"&:before":{background:c}})],[[`&-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:p}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-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:p}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-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:m},[`&-placement-leftBottom ${n}-arrow`]:{bottom:m},[[`&-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:m},[`&-placement-rightBottom ${n}-arrow`]:{bottom:m},[fo(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(y=>y+=":not(&-arrow-hidden)"),u)]:{paddingBottom:h},[fo(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(y=>y+=":not(&-arrow-hidden)"),u)]:{paddingTop:h},[fo(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(y=>y+=":not(&-arrow-hidden)"),u)]:{paddingRight:{_skip_check_:!0,value:h}},[fo(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(y=>y+=":not(&-arrow-hidden)"),u)]:{paddingLeft:{_skip_check_:!0,value:h}}}}}const Jv=e=>({animationDuration:e,animationFillMode:"both"}),e0=e=>({animationDuration:e,animationFillMode:"both"}),Ur=function(e,t,n,o){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${a}${e}-enter, ${a}${e}-appear `]:g(g({},Jv(o)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:g(g({},e0(o)),{animationPlayState:"paused"}),[` ${a}${e}-enter${e}-enter-active, ${a}${e}-appear${e}-appear-active `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},t0=new Y("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),n0=new Y("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),o0=new Y("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r0=new Y("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),i0=new Y("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a0=new Y("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l0=new Y("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s0=new Y("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),c0={"move-up":{inKeyframes:l0,outKeyframes:s0},"move-down":{inKeyframes:t0,outKeyframes:n0},"move-left":{inKeyframes:o0,outKeyframes:r0},"move-right":{inKeyframes:i0,outKeyframes:a0}},zs=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=c0[t];return[Ur(o,r,a,e.motionDurationMid),{[` ${o}-enter, ${o}-appear `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},js=new Y("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ls=new Y("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Fs=new Y("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ws=new Y("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u0=new Y("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d0=new Y("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f0=new Y("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),p0=new Y("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),m0={"slide-up":{inKeyframes:js,outKeyframes:Ls},"slide-down":{inKeyframes:Fs,outKeyframes:Ws},"slide-left":{inKeyframes:u0,outKeyframes:d0},"slide-right":{inKeyframes:f0,outKeyframes:p0}},po=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=m0[t];return[Ur(o,r,a,e.motionDurationMid),{[` ${o}-enter, ${o}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},g0=new Y("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),h0=new Y("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ks=new Y("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ks=new Y("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),v0=new Y("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),y0=new Y("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),b0=new Y("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),S0=new Y("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),w0=new Y("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),C0=new Y("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),$0=new Y("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),x0=new Y("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),O0={zoom:{inKeyframes:g0,outKeyframes:h0},"zoom-big":{inKeyframes:ks,outKeyframes:Ks},"zoom-big-fast":{inKeyframes:ks,outKeyframes:Ks},"zoom-left":{inKeyframes:b0,outKeyframes:S0},"zoom-right":{inKeyframes:w0,outKeyframes:C0},"zoom-up":{inKeyframes:v0,outKeyframes:y0},"zoom-down":{inKeyframes:$0,outKeyframes:x0}},mo=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:a}=O0[t];return[Ur(o,r,a,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}}]},T0=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`}}}),P0=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}}}}},M0=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},E0=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,dropdownArrowOffset:a,sizePopupArrow:l,antCls:s,iconCls:c,motionDurationMid:u,dropdownPaddingVertical:d,fontSize:f,dropdownEdgeChildPadding:m,colorTextDisabled:p,fontSizeIcon:h,controlPaddingHorizontal:y,colorBgElevated:v,boxShadowPopoverArrow:b}=e;return[{[t]:g(g({},Qe(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:-r+l/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${s}-btn > ${c}-down`]:{fontSize:h},[`${c}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${c}-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`]:g({position:"absolute",zIndex:1,display:"block"},fs(l,e.borderRadiusXS,e.borderRadiusOuter,v,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:a}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[` &-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:a}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:a}},[`&${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottomLeft, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottomLeft, &${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottom, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottom, &${s}-slide-down-enter${s}-slide-down-enter-active${t}-placement-bottomRight, &${s}-slide-down-appear${s}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:js},[`&${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-topLeft, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-topLeft, &${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-top, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-top, &${s}-slide-up-enter${s}-slide-up-enter-active${t}-placement-topRight, &${s}-slide-up-appear${s}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Fs},[`&${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottomLeft, &${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottom, &${s}-slide-down-leave${s}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Ls},[`&${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-topLeft, &${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-top, &${s}-slide-up-leave${s}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Ws}})},{[`${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]:g(g({padding:m,listStyleType:"none",backgroundColor:v,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},ro(e)),{[`${n}-item-group-title`]:{padding:`${d}px ${y}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:f,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:g(g({clear:"both",margin:0,padding:`${d}px ${y}px`,color:e.colorText,fontWeight:"normal",fontSize:f,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},ro(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:v,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:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:y+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:v,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[po(e,"slide-up"),po(e,"slide-down"),zs(e,"move-up"),zs(e,"move-down"),mo(e,"zoom-big")]]},Us=Oe("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:o,sizePopupArrow:r,controlHeight:a,fontSize:l,lineHeight:s,paddingXXS:c,componentCls:u,borderRadiusOuter:d,borderRadiusLG:f}=e,m=(a-l*s)/2,{dropdownArrowOffset:p}=Hs({sizePopupArrow:r,contentRadius:f,borderRadiusOuter:d}),h=ve(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:r/2+o,dropdownArrowOffset:p,dropdownPaddingVertical:m,dropdownEdgeChildPadding:c});return[E0(h),P0(h),M0(h)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var _0=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{r("update:visible",m),r("visibleChange",m),r("update:open",m),r("openChange",m)},{prefixCls:l,direction:s,getPopupContainer:c}=ae("dropdown",e),u=i.computed(()=>`${l.value}-button`),[d,f]=Us(l);return()=>{var m,p;const h=g(g({},e),o),{type:y="default",disabled:v,danger:b,loading:w,htmlType:$,class:x="",overlay:C=(m=n.overlay)===null||m===void 0?void 0:m.call(n),trigger:O,align:S,open:T,visible:N,onVisibleChange:M,placement:I=s.value==="rtl"?"bottomLeft":"bottomRight",href:H,title:D,icon:W=((p=n.icon)===null||p===void 0?void 0:p.call(n))||i.createVNode(uo,null,null),mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:B,overlayStyle:V,destroyPopupOnHide:U,onClick:G,"onUpdate:open":j}=h,X=_0(h,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),J={align:S,disabled:v,trigger:v?[]:O,placement:I,getPopupContainer:c==null?void 0:c.value,onOpenChange:a,mouseEnterDelay:P,mouseLeaveDelay:R,open:T??N,overlayClassName:B,overlayStyle:V,destroyPopupOnHide:U},le=i.createVNode(vt,{danger:b,type:y,disabled:v,loading:w,onClick:G,htmlType:$,href:H,title:D},{default:n.default}),oe=i.createVNode(vt,{danger:b,type:y,icon:W},null);return d(i.createVNode(N0,_(_({},X),{},{class:ee(u.value,x,f.value)}),{default:()=>[n.leftButton?n.leftButton({button:le}):le,i.createVNode(Xr,J,{default:()=>[n.rightButton?n.rightButton({button:oe}):oe],overlay:()=>C})]}))}}});var A0={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"};function Xs(e){for(var t=1;t{l[s]=a?g(g({},l[s]),{overflow:Qs(r),targetOffset:B0}):g(g({},Ys[s]),{overflow:Qs(r)}),l[s].ignoreShake=!0}),l}const Js=Symbol("OverrideContextKey"),ec=()=>i.inject(Js,void 0),H0=e=>{var t,n,o;const{prefixCls:r,mode:a,selectable:l,validator:s,onClick:c,expandIcon:u}=ec()||{};i.provide(Js,{prefixCls:i.computed(()=>{var d,f;return(f=(d=e.prefixCls)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:r==null?void 0:r.value}),mode:i.computed(()=>{var d,f;return(f=(d=e.mode)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:a==null?void 0:a.value}),selectable:i.computed(()=>{var d,f;return(f=(d=e.selectable)===null||d===void 0?void 0:d.value)!==null&&f!==void 0?f:l==null?void 0:l.value}),validator:(t=e.validator)!==null&&t!==void 0?t:s,onClick:(n=e.onClick)!==null&&n!==void 0?n:c,expandIcon:(o=e.expandIcon)!==null&&o!==void 0?o:u==null?void 0:u.value})},Xr=i.defineComponent({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:St(Rs(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:c}=ae("dropdown",e),[u,d]=Us(a);process.env.NODE_ENV!=="production"&&[["visible","open"],["onVisibleChange","onOpenChange"],["onUpdate:visible","onUpdate:open"]].forEach(v=>{let[b,w]=v;Ge(e[b]===void 0,"Dropdown",`\`${b}\` is deprecated which will be removed in next major version, please use \`${w}\` instead.`)});const f=i.computed(()=>{const{placement:v="",transitionName:b}=e;return b!==void 0?b:v.includes("top")?`${l.value}-slide-down`:`${l.value}-slide-up`});H0({prefixCls:i.computed(()=>`${a.value}-menu`),expandIcon:i.computed(()=>i.createVNode("span",{class:`${a.value}-menu-submenu-arrow`},[i.createVNode(go,{class:`${a.value}-menu-submenu-arrow-icon`},null)])),mode:i.computed(()=>"vertical"),selectable:i.computed(()=>!1),onClick:()=>{},validator:v=>{let{mode:b}=v;Ge(!b||b==="vertical","Dropdown",`mode="${b}" is not supported for Dropdown's Menu.`)}});const m=()=>{var v,b,w;const $=e.overlay||((v=n.overlay)===null||v===void 0?void 0:v.call(n)),x=Array.isArray($)?$[0]:$;if(!x)return null;const C=x.props||{};Ze(!C.mode||C.mode==="vertical","Dropdown",`mode="${C.mode}" is not supported for Dropdown's Menu.`);const{selectable:O=!1,expandIcon:S=(w=(b=x.children)===null||b===void 0?void 0:b.expandIcon)===null||w===void 0?void 0:w.call(b)}=C,T=typeof S<"u"&&Wt(S)?S:i.createVNode("span",{class:`${a.value}-menu-submenu-arrow`},[i.createVNode(go,{class:`${a.value}-menu-submenu-arrow-icon`},null)]);return Wt(x)?$e(x,{mode:"vertical",selectable:O,expandIcon:()=>T}):x},p=i.computed(()=>{const v=e.placement;if(!v)return s.value==="rtl"?"bottomRight":"bottomLeft";if(v.includes("Center")){const b=v.slice(0,v.indexOf("Center"));return Ze(!v.includes("Center"),"Dropdown",`You are using '${v}' placement in Dropdown, which is deprecated. Try to use '${b}' instead.`),b}return v}),h=i.computed(()=>typeof e.visible=="boolean"?e.visible:e.open),y=v=>{r("update:visible",v),r("visibleChange",v),r("update:open",v),r("openChange",v)};return()=>{var v,b;const{arrow:w,trigger:$,disabled:x,overlayClassName:C}=e,O=(v=n.default)===null||v===void 0?void 0:v.call(n)[0],S=$e(O,g({class:ee((b=O==null?void 0:O.props)===null||b===void 0?void 0:b.class,{[`${a.value}-rtl`]:s.value==="rtl"},`${a.value}-trigger`)},x?{disabled:x}:{})),T=ee(C,d.value,{[`${a.value}-rtl`]:s.value==="rtl"}),N=x?[]:$;let M;N&&N.includes("contextmenu")&&(M=!0);const I=Zs({arrowPointAtCenter:typeof w=="object"&&w.pointAtCenter,autoAdjustOverflow:!0}),H=Gs(g(g(g({},e),o),{visible:h.value,builtinPlacements:I,overlayClassName:T,arrow:!!w,alignPoint:M,prefixCls:a.value,getPopupContainer:c==null?void 0:c.value,transitionName:f.value,trigger:N,onVisibleChange:y,placement:p.value}),["overlay","onUpdate:visible"]);return u(i.createVNode(Dg,H,{default:()=>[S],overlay:m}))}}});Xr.Button=I0;var V0={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"};function tc(e){for(var t=1;t({prefixCls:String,href:String,separator:E.any,dropdownProps:ge(),overlay:E.any,onClick:kn()}),ho=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:L0(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a}=ae("breadcrumb",e),l=(c,u)=>{const d=_e(n,e,"overlay");return d?i.createVNode(Xr,_(_({},e.dropdownProps),{},{overlay:d,placement:"bottom"}),{default:()=>[i.createVNode("span",{class:`${u}-overlay-link`},[c,i.createVNode(Gr,null,null)])]}):c},s=c=>{r("click",c)};return()=>{var c;const u=(c=_e(n,e,"separator"))!==null&&c!==void 0?c:"/",d=_e(n,e),{class:f,style:m}=o,p=j0(o,["class","style"]);let h;return e.href!==void 0?h=i.createVNode("a",_({class:`${a.value}-link`,onClick:s},p),[d]):h=i.createVNode("span",_({class:`${a.value}-link`,onClick:s},p),[d]),h=l(h,a.value),d!=null?i.createVNode("li",{class:f,style:m},[h,u&&i.createVNode("span",{class:`${a.value}-separator`},[u])]):null}}});function F0(e,t,n,o){let r;if(r!==void 0)return!!r;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c{i.provide(nc,e)},ke=()=>i.inject(nc),rc=Symbol("ForceRenderKey"),W0=e=>{i.provide(rc,e)},ic=()=>i.inject(rc,!1),ac=Symbol("menuFirstLevelContextKey"),lc=e=>{i.provide(ac,e)},k0=()=>i.inject(ac,!0),vo=i.defineComponent({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=ke(),r=g({},o);return e.mode!==void 0&&(r.mode=i.toRef(e,"mode")),e.overflowDisabled!==void 0&&(r.overflowDisabled=i.toRef(e,"overflowDisabled")),oc(r),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}}),K0=oc;function U0(e,t,n,o){for(var r=e.length,a=n+-1;++a-1}function Q0(){}var Z0=1/0,J0=Tt&&1/ur(new Tt([,-0]))[1]==Z0?function(e){return new Tt(e)}:Q0,ey=200;function ty(e,t,n){var o=-1,r=q0,a=e.length,l=!0,s=[],c=s;if(a>=ey){var u=J0(e);if(u)return ur(u);l=!1,r=ka,c=new nn}else c=s;e:for(;++o{a&&(a.disconnect(),a=null)},s=d=>{const{onResize:f}=e,m=d[0].target,{width:p,height:h}=m.getBoundingClientRect(),{offsetWidth:y,offsetHeight:v}=m,b=Math.floor(p),w=Math.floor(h);if(o.width!==b||o.height!==w||o.offsetWidth!==y||o.offsetHeight!==v){const $={width:b,height:w,offsetWidth:y,offsetHeight:v};g(o,$),f&&Promise.resolve().then(()=>{f(g(g({},$),{offsetWidth:y,offsetHeight:v}),m)})}},c=i.getCurrentInstance(),u=()=>{const{disabled:d}=e;if(d){l();return}const f=Ke(c);f!==r&&(l(),r=f),!a&&f&&(a=new Da(s),a.observe(f))};return i.onMounted(()=>{u()}),i.onUpdated(()=>{u()}),i.onUnmounted(()=>{l()}),i.watch(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}}),sc=Symbol("OverflowContextProviderKey"),qr=i.defineComponent({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return i.provide(sc,i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),oy=()=>i.inject(sc,i.computed(()=>null));var ry=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);re.responsive&&!e.display),a=i.ref();o({itemNodeRef:a});function l(s){e.registerSize(e.itemKey,s)}return i.onUnmounted(()=>{l(null)}),()=>{var s;const{prefixCls:c,invalidate:u,item:d,renderItem:f,responsive:m,registerSize:p,itemKey:h,display:y,order:v,component:b="div"}=e,w=ry(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),$=(s=n.default)===null||s===void 0?void 0:s.call(n),x=f&&d!==Dt?f(d):$;let C;u||(C={opacity:r.value?0:1,height:r.value?0:Dt,overflowY:r.value?"hidden":Dt,order:m?v:Dt,pointerEvents:r.value?"none":Dt,position:r.value?"absolute":Dt});const O={};return r.value&&(O["aria-hidden"]=!0),i.createVNode(yo,{disabled:!m,onResize:S=>{let{offsetWidth:T}=S;l(T)}},{default:()=>i.createVNode(b,_(_(_({class:ee(!u&&c),style:C},O),w),{},{ref:a}),{default:()=>[x]})})}}});var Qr=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{var a;if(!r.value){const{component:f="div"}=e,m=Qr(e,["component"]);return i.createVNode(f,_(_({},m),o),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}const l=r.value,{className:s}=l,c=Qr(l,["className"]),{class:u}=o,d=Qr(o,["class"]);return i.createVNode(qr,{value:null},{default:()=>[i.createVNode(bo,_(_(_({class:ee(s,u)},c),d),e),n)]})}}});var ay=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({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:E.any,component:String,itemComponent:E.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),Je=i.defineComponent({name:"Overflow",inheritAttrs:!1,props:sy(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const a=i.computed(()=>e.ssr==="full"),l=i.shallowRef(null),s=i.computed(()=>l.value||0),c=i.shallowRef(new Map),u=i.shallowRef(0),d=i.shallowRef(0),f=i.shallowRef(0),m=i.shallowRef(null),p=i.shallowRef(null),h=i.computed(()=>p.value===null&&a.value?Number.MAX_SAFE_INTEGER:p.value||0),y=i.shallowRef(!1),v=i.computed(()=>`${e.prefixCls}-item`),b=i.computed(()=>Math.max(u.value,d.value)),w=i.computed(()=>!!(e.data.length&&e.maxCount===cc)),$=i.computed(()=>e.maxCount===uc),x=i.computed(()=>w.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),C=i.computed(()=>{let P=e.data;return w.value?l.value===null&&a.value?P=e.data:P=e.data.slice(0,Math.min(e.data.length,s.value/e.itemWidth)):typeof e.maxCount=="number"&&(P=e.data.slice(0,e.maxCount)),P}),O=i.computed(()=>w.value?e.data.slice(h.value+1):e.data.slice(C.value.length)),S=(P,R)=>{var B;return typeof e.itemKey=="function"?e.itemKey(P):(B=e.itemKey&&(P==null?void 0:P[e.itemKey]))!==null&&B!==void 0?B:R},T=i.computed(()=>e.renderItem||(P=>P)),N=(P,R)=>{p.value=P,R||(y.value=P{l.value=R.clientWidth},I=(P,R)=>{const B=new Map(c.value);R===null?B.delete(P):B.set(P,R),c.value=B},H=(P,R)=>{u.value=d.value,d.value=R},D=(P,R)=>{f.value=R},W=P=>c.value.get(S(C.value[P],P));return i.watch([s,c,d,f,()=>e.itemKey,C],()=>{if(s.value&&b.value&&C.value){let P=f.value;const R=C.value.length,B=R-1;if(!R){N(0),m.value=null;return}for(let V=0;Vs.value){N(V-1),m.value=P-U-f.value+d.value;break}}e.suffix&&W(0)+f.value>s.value&&(m.value=null)}}),()=>{const P=y.value&&!!O.value.length,{itemComponent:R,renderRawItem:B,renderRawRest:V,renderRest:U,prefixCls:G="rc-overflow",suffix:j,component:X="div",id:J,onMousedown:le}=e,{class:oe,style:fe}=n,A=ay(n,["class","style"]);let k={};m.value!==null&&w.value&&(k={position:"absolute",left:`${m.value}px`,top:0});const K={prefixCls:v.value,responsive:w.value,component:R,invalidate:$.value},ne=B?(re,Me)=>{const yt=S(re,Me);return i.createVNode(qr,{key:yt,value:g(g({},K),{order:Me,item:re,itemKey:yt,registerSize:I,display:Me<=h.value})},{default:()=>[B(re,Me)]})}:(re,Me)=>{const yt=S(re,Me);return i.createVNode(bo,_(_({},K),{},{order:Me,key:yt,item:re,renderItem:T.value,itemKey:yt,registerSize:I,display:Me<=h.value}),null)};let Q=()=>null;const Z={order:P?h.value:Number.MAX_SAFE_INTEGER,className:`${v.value} ${v.value}-rest`,registerSize:H,display:P};if(V)V&&(Q=()=>i.createVNode(qr,{value:g(g({},K),Z)},{default:()=>[V(O.value)]}));else{const re=U||ly;Q=()=>i.createVNode(bo,_(_({},K),Z),{default:()=>typeof re=="function"?re(O.value):re})}const we=()=>{var re;return i.createVNode(X,_({id:J,class:ee(!$.value&&G,oe),style:fe,onMousedown:le},A),{default:()=>[C.value.map(ne),x.value?Q():null,j&&i.createVNode(bo,_(_({},K),{},{order:h.value,class:`${v.value}-suffix`,registerSize:D,display:!0,style:k}),{default:()=>j}),(re=r.default)===null||re===void 0?void 0:re.call(r)]})};return i.createVNode(yo,{disabled:!w.value,onResize:M},{default:we})}}});Je.Item=iy,Je.RESPONSIVE=cc,Je.INVALIDATE=uc;const So="$$__vc-menu-more__key",dc=Symbol("KeyPathContext"),Zr=()=>i.inject(dc,{parentEventKeys:i.computed(()=>[]),parentKeys:i.computed(()=>[]),parentInfo:{}}),cy=(e,t,n)=>{const{parentEventKeys:o,parentKeys:r}=Zr(),a=i.computed(()=>[...o.value,e]),l=i.computed(()=>[...r.value,t]);return i.provide(dc,{parentEventKeys:a,parentKeys:l,parentInfo:n}),l},fc=Symbol("measure"),pc=i.defineComponent({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return i.provide(fc,!0),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),Jr=()=>i.inject(fc,!1),uy=cy,dy={prefixCls:String,id:String,overlayInnerStyle:E.any},fy=i.defineComponent({compatConfig:{MODE:3},name:"TooltipContent",props:dy,setup(e,t){let{slots:n}=t;return()=>{var o;return i.createVNode("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 py=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{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:E.string.def("rc-tooltip"),mouseEnterDelay:E.number.def(.1),mouseLeaveDelay:E.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:E.object.def(()=>({})),arrowContent:E.any.def(null),tipId:String,builtinPlacements:E.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.shallowRef(),l=()=>{const{prefixCls:d,tipId:f,overlayInnerStyle:m}=e;return[e.arrow?i.createVNode("div",{class:`${d}-arrow`,key:"arrow"},[_e(n,e,"arrowContent")]):null,i.createVNode(fy,{key:"content",prefixCls:d,id:f,overlayInnerStyle:m},{overlay:n.overlay})]};r({getPopupDomNode:()=>a.value.getPopupDomNode(),triggerDOM:a,forcePopupAlign:()=>{var d;return(d=a.value)===null||d===void 0?void 0:d.forcePopupAlign()}});const c=i.shallowRef(!1),u=i.shallowRef(!1);return i.watchEffect(()=>{const{destroyTooltipOnHide:d}=e;if(typeof d=="boolean")c.value=d;else if(d&&typeof d=="object"){const{keepParent:f}=d;c.value=f===!0,u.value=f===!1}}),()=>{const{overlayClassName:d,trigger:f,mouseEnterDelay:m,mouseLeaveDelay:p,overlayStyle:h,prefixCls:y,afterVisibleChange:v,transitionName:b,animation:w,placement:$,align:x,destroyTooltipOnHide:C,defaultVisible:O}=e,S=py(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),T=g({},S);e.visible!==void 0&&(T.popupVisible=e.visible);const N=g(g(g({popupClassName:d,prefixCls:y,action:f,builtinPlacements:Ys,popupPlacement:$,popupAlign:x,afterPopupVisibleChange:v,popupTransitionName:b,popupAnimation:w,defaultPopupVisible:O,destroyPopupOnHide:c.value,autoDestroy:u.value,mouseLeaveDelay:p,popupStyle:h,mouseEnterDelay:m},T),o),{onPopupVisibleChange:e.onVisibleChange||mc,onPopupAlign:e.onPopupAlign||mc,ref:a,arrow:!!e.arrow,popup:l()});return i.createVNode(br,N,{default:n.default})}}}),gc=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:ge(),overlayInnerStyle:ge(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:ge(),builtinPlacements:ge(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function});function gy(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`);function vy(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...hy,...dn].includes(e):dn.includes(e)}function yy(e,t){const n=vy(t),o=ee({[`${e}-${t}`]:t&&n}),r={},a={};return t&&!n&&(r.background=t,a["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:a}}const by=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d,tooltipRadiusOuter:f}=e;return[{[t]:g(g(g(g({},Qe(e)),{position:"absolute",zIndex:l,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${d}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:a,boxShadow:c},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(a,Bs)}},[`${t}-content`]:{position:"relative"}}),Yh(e,(m,p)=>{let{darkColor:h}=p;return{[`&${t}-${m}`]:{[`${t}-inner`]:{backgroundColor:h},[`${t}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},Vs(ve(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:a,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},Sy=(e,t)=>Oe("Tooltip",o=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:r,colorTextLightSolid:a,colorBgDefault:l,borderRadiusOuter:s}=o,c=ve(o,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:r,tooltipBg:l,tooltipRadiusOuter:s>4?4:s});return[by(c),mo(o,"zoom-big-fast")]},o=>{let{zIndexPopupBase:r,colorBgSpotlight:a}=o;return{zIndexPopup:r+70,colorBgDefault:a}})(e),wy=(e,t)=>{const n={},o=g({},e);return t.forEach(r=>{e&&r in e&&(n[r]=e[r],delete o[r])}),{picked:n,omitted:o}},Cy=()=>g(g({},gc()),{title:E.any}),$y=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),xy=i.defineComponent({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:St(Cy(),{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:a}=t;process.env.NODE_ENV!=="production"&&[["visible","open"],["onVisibleChange","onOpenChange"]].forEach(M=>{let[I,H]=M;Ge(e[I]===void 0,"Tooltip",`\`${I}\` is deprecated, please use \`${H}\` instead.`)});const{prefixCls:l,getPopupContainer:s,direction:c,rootPrefixCls:u}=ae("tooltip",e),d=i.computed(()=>{var M;return(M=e.open)!==null&&M!==void 0?M:e.visible}),f=i.ref(gy([e.open,e.visible])),m=i.ref();let p;i.watch(d,M=>{me.cancel(p),p=me(()=>{f.value=!!M})});const h=()=>{var M;const I=(M=e.title)!==null&&M!==void 0?M:n.title;return!I&&I!==0},y=M=>{const I=h();d.value===void 0&&(f.value=I?!1:M),I||(o("update:visible",M),o("visibleChange",M),o("update:open",M),o("openChange",M))};a({getPopupDomNode:()=>m.value.getPopupDomNode(),open:f,forcePopupAlign:()=>{var M;return(M=m.value)===null||M===void 0?void 0:M.forcePopupAlign()}});const b=i.computed(()=>{var M;const{builtinPlacements:I,autoAdjustOverflow:H,arrow:D,arrowPointAtCenter:W}=e;let P=W;return typeof D=="object"&&(P=(M=D.pointAtCenter)!==null&&M!==void 0?M:W),I||Zs({arrowPointAtCenter:P,autoAdjustOverflow:H})}),w=M=>M||M==="",$=M=>{const I=M.type;if(typeof I=="object"&&M.props&&((I.__ANT_BUTTON===!0||I==="button")&&w(M.props.disabled)||I.__ANT_SWITCH===!0&&(w(M.props.disabled)||w(M.props.loading))||I.__ANT_RADIO===!0&&w(M.props.disabled))){const{picked:H,omitted:D}=wy(vu(M),["position","left","right","top","bottom","float","display","zIndex"]),W=g(g({display:"inline-block"},H),{cursor:"not-allowed",lineHeight:1,width:M.props&&M.props.block?"100%":void 0}),P=g(g({},D),{pointerEvents:"none"}),R=$e(M,{style:P},!0);return i.createVNode("span",{style:W,class:`${l.value}-disabled-compatible-wrapper`},[R])}return M},x=()=>{var M,I;return(M=e.title)!==null&&M!==void 0?M:(I=n.title)===null||I===void 0?void 0:I.call(n)},C=(M,I)=>{const H=b.value,D=Object.keys(H).find(W=>{var P,R;return H[W].points[0]===((P=I.points)===null||P===void 0?void 0:P[0])&&H[W].points[1]===((R=I.points)===null||R===void 0?void 0:R[1])});if(D){const W=M.getBoundingClientRect(),P={top:"50%",left:"50%"};D.indexOf("top")>=0||D.indexOf("Bottom")>=0?P.top=`${W.height-I.offset[1]}px`:(D.indexOf("Top")>=0||D.indexOf("bottom")>=0)&&(P.top=`${-I.offset[1]}px`),D.indexOf("left")>=0||D.indexOf("Right")>=0?P.left=`${W.width-I.offset[0]}px`:(D.indexOf("right")>=0||D.indexOf("Left")>=0)&&(P.left=`${-I.offset[0]}px`),M.style.transformOrigin=`${P.left} ${P.top}`}},O=i.computed(()=>yy(l.value,e.color)),S=i.computed(()=>r["data-popover-inject"]),[T,N]=Sy(l,i.computed(()=>!S.value));return()=>{var M,I;const{openClassName:H,overlayClassName:D,overlayStyle:W,overlayInnerStyle:P}=e;let R=(I=Re((M=n.default)===null||M===void 0?void 0:M.call(n)))!==null&&I!==void 0?I:null;R=R.length===1?R[0]:R;let B=f.value;if(d.value===void 0&&h()&&(B=!1),!R)return null;const V=$(Wt(R)&&!yu(R)?R:i.createVNode("span",null,[R])),U=ee({[H||`${l.value}-open`]:!0,[V.props&&V.props.class]:V.props&&V.props.class}),G=ee(D,{[`${l.value}-rtl`]:c.value==="rtl"},O.value.className,N.value),j=g(g({},O.value.overlayStyle),P),X=O.value.arrowStyle,J=g(g(g({},r),e),{prefixCls:l.value,arrow:!!e.arrow,getPopupContainer:s==null?void 0:s.value,builtinPlacements:b.value,visible:B,ref:m,overlayClassName:G,overlayStyle:g(g({},X),W),overlayInnerStyle:j,onVisibleChange:y,onPopupAlign:C,transitionName:wl(u.value,"zoom-big-fast",e.transitionName)});return T(i.createVNode(my,J,{default:()=>[f.value?$e(V,{class:U}):V],arrowContent:()=>i.createVNode("span",{class:`${l.value}-arrow-content`},null),overlay:x}))}}}),hc=ut(xy),z={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>=z.F1&&n<=z.F12)return!1;switch(n){case z.ALT:case z.CAPS_LOCK:case z.CONTEXT_MENU:case z.CTRL:case z.DOWN:case z.END:case z.ESC:case z.HOME:case z.INSERT:case z.LEFT:case z.MAC_FF_META:case z.META:case z.NUMLOCK:case z.NUM_CENTER:case z.PAGE_DOWN:case z.PAGE_UP:case z.PAUSE:case z.PRINT_SCREEN:case z.RIGHT:case z.SHIFT:case z.UP:case z.WIN_KEY:case z.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=z.ZERO&&t<=z.NINE||t>=z.NUM_ZERO&&t<=z.NUM_MULTIPLY||t>=z.A&&t<=z.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case z.SPACE:case z.QUESTION_MARK:case z.NUM_PLUS:case z.NUM_MINUS:case z.NUM_PERIOD:case z.NUM_DIVISION:case z.SEMICOLON:case z.DASH:case z.EQUALS:case z.COMMA:case z.PERIOD:case z.SLASH:case z.APOSTROPHE:case z.SINGLE_QUOTE:case z.OPEN_SQUARE_BRACKET:case z.BACKSLASH:case z.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function vc(e){const{mode:t,rtl:n,inlineIndent:o}=ke();return i.computed(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*o.value}px`}:{paddingLeft:`${e.value*o.value}px`})}let Oy=0;const Ty=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:E.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:ge()}),hn=i.defineComponent({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:Ty(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const a=i.getCurrentInstance(),l=Jr(),s=typeof a.vnode.key=="symbol"?String(a.vnode.key):a.vnode.key;Ze(typeof a.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(s)}"\` not support Symbol type`);const c=`menu_item_${++Oy}_$$_${s}`,{parentEventKeys:u,parentKeys:d}=Zr(),{prefixCls:f,activeKeys:m,disabled:p,changeActiveKeys:h,rtl:y,inlineCollapsed:v,siderCollapsed:b,onItemClick:w,selectedKeys:$,registerMenuInfo:x,unRegisterMenuInfo:C}=ke(),O=k0(),S=i.shallowRef(!1),T=i.computed(()=>[...d.value,s]);x(c,{eventKey:c,key:s,parentEventKeys:u,parentKeys:d,isLeaf:!0}),i.onBeforeUnmount(()=>{C(c)}),i.watch(m,()=>{S.value=!!m.value.find(j=>j===s)},{immediate:!0});const M=i.computed(()=>p.value||e.disabled),I=i.computed(()=>$.value.includes(s)),H=i.computed(()=>{const j=`${f.value}-item`;return{[`${j}`]:!0,[`${j}-danger`]:e.danger,[`${j}-active`]:S.value,[`${j}-selected`]:I.value,[`${j}-disabled`]:M.value}}),D=j=>({key:s,eventKey:c,keyPath:T.value,eventKeyPath:[...u.value,c],domEvent:j,item:g(g({},e),r)}),W=j=>{if(M.value)return;const X=D(j);o("click",j),w(X)},P=j=>{M.value||(h(T.value),o("mouseenter",j))},R=j=>{M.value||(h([]),o("mouseleave",j))},B=j=>{if(o("keydown",j),j.which===z.ENTER){const X=D(j);o("click",j),w(X)}},V=j=>{h(T.value),o("focus",j)},U=(j,X)=>{const J=i.createVNode("span",{class:`${f.value}-title-content`},[X]);return(!j||Wt(X)&&X.type==="span")&&X&&v.value&&O&&typeof X=="string"?i.createVNode("div",{class:`${f.value}-inline-collapsed-noicon`},[X.charAt(0)]):J},G=vc(i.computed(()=>T.value.length));return()=>{var j,X,J,le,oe;if(l)return null;const fe=(j=e.title)!==null&&j!==void 0?j:(X=n.title)===null||X===void 0?void 0:X.call(n),A=ue((J=n.default)===null||J===void 0?void 0:J.call(n)),k=A.length;let K=fe;typeof fe>"u"?K=O&&k?A:"":fe===!1&&(K="");const ne={title:K};!b.value&&!v.value&&(ne.title=null,ne.open=!1);const Q={};e.role==="option"&&(Q["aria-selected"]=I.value);const Z=(le=e.icon)!==null&&le!==void 0?le:(oe=n.icon)===null||oe===void 0?void 0:oe.call(n,e);return i.createVNode(hc,_(_({},ne),{},{placement:y.value?"left":"right",overlayClassName:`${f.value}-inline-collapsed-tooltip`}),{default:()=>[i.createVNode(Je.Item,_(_(_({component:"li"},r),{},{id:e.id,style:g(g({},r.style||{}),G.value),class:[H.value,{[`${r.class}`]:!!r.class,[`${f.value}-item-only-child`]:(Z?k+1:k)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":s,"aria-disabled":e.disabled},Q),{},{onMouseenter:P,onMouseleave:R,onClick:W,onKeydown:B,onFocus:V,title:typeof fe=="string"?fe:void 0}),{default:()=>[$e(typeof Z=="function"?Z(e.originItemValue):Z,{class:`${f.value}-item-icon`},!1),U(Z,A)]})]})}}}),et={adjustX:1,adjustY:1},Py={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:et,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:et,offset:[4,0]}},My={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:et,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:et,offset:[4,0]}},Ey={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},yc=i.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(e,t){let{slots:n,emit:o}=t;const r=i.shallowRef(!1),{getPopupContainer:a,rtl:l,subMenuOpenDelay:s,subMenuCloseDelay:c,builtinPlacements:u,triggerSubMenuAction:d,forceSubMenuRender:f,motion:m,defaultMotions:p,rootClassName:h}=ke(),y=ic(),v=i.computed(()=>l.value?g(g({},My),u.value):g(g({},Py),u.value)),b=i.computed(()=>Ey[e.mode]),w=i.shallowRef();i.watch(()=>e.visible,C=>{me.cancel(w.value),w.value=me(()=>{r.value=C})},{immediate:!0}),i.onBeforeUnmount(()=>{me.cancel(w.value)});const $=C=>{o("visibleChange",C)},x=i.computed(()=>{var C,O;const S=m.value||((C=p.value)===null||C===void 0?void 0:C[e.mode])||((O=p.value)===null||O===void 0?void 0:O.other),T=typeof S=="function"?S():S;return T?Sl(T.name,{css:!0}):void 0});return()=>{const{prefixCls:C,popupClassName:O,mode:S,popupOffset:T,disabled:N}=e;return i.createVNode(br,{prefixCls:C,popupClassName:ee(`${C}-popup`,{[`${C}-rtl`]:l.value},O,h.value),stretch:S==="horizontal"?"minWidth":null,getPopupContainer:a.value,builtinPlacements:v.value,popupPlacement:b.value,popupVisible:r.value,popupAlign:T&&{offset:T},action:N?[]:[d.value],mouseEnterDelay:s.value,mouseLeaveDelay:c.value,onPopupVisibleChange:$,forceRender:y||f.value,popupAnimation:x.value},{popup:n.popup,default:n.default})}}}),ei=(e,t)=>{let{slots:n,attrs:o}=t;var r;const{prefixCls:a,mode:l}=ke();return i.createVNode("ul",_(_({},o),{},{class:ee(a.value,`${a.value}-sub`,`${a.value}-${l.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(r=n.default)===null||r===void 0?void 0:r.call(n)])};ei.displayName="SubMenuList";const _y=i.defineComponent({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const o=i.computed(()=>"inline"),{motion:r,mode:a,defaultMotions:l}=ke(),s=i.computed(()=>a.value===o.value),c=i.ref(!s.value),u=i.computed(()=>s.value?e.open:!1);i.watch(a,()=>{s.value&&(c.value=!1)},{flush:"post"});const d=i.computed(()=>{var f,m;const p=r.value||((f=l.value)===null||f===void 0?void 0:f[o.value])||((m=l.value)===null||m===void 0?void 0:m.other),h=typeof p=="function"?p():p;return g(g({},h),{appear:e.keyPath.length<=1})});return()=>{var f;return c.value?null:i.createVNode(vo,{mode:o.value},{default:()=>[i.createVNode(i.Transition,d.value,{default:()=>[i.withDirectives(i.createVNode(ei,{id:e.id},{default:()=>[(f=n.default)===null||f===void 0?void 0:f.call(n)]}),[[i.vShow,u.value]])]})]})}}});let bc=0;const Ny=()=>({icon:E.any,title:E.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:ge()}),Bt=i.defineComponent({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:Ny(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;var a,l;lc(!1);const s=Jr(),c=i.getCurrentInstance(),u=typeof c.vnode.key=="symbol"?String(c.vnode.key):c.vnode.key;Ze(typeof c.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const d=_o(u)?u:`sub_menu_${++bc}_$$_not_set_key`,f=(a=e.eventKey)!==null&&a!==void 0?a:_o(u)?`sub_menu_${++bc}_$$_${u}`:d,{parentEventKeys:m,parentInfo:p,parentKeys:h}=Zr(),y=i.computed(()=>[...h.value,d]),v=i.shallowRef([]),b={eventKey:f,key:d,parentEventKeys:m,childrenEventKeys:v,parentKeys:h};(l=p.childrenEventKeys)===null||l===void 0||l.value.push(f),i.onBeforeUnmount(()=>{var q;p.childrenEventKeys&&(p.childrenEventKeys.value=(q=p.childrenEventKeys)===null||q===void 0?void 0:q.value.filter(ce=>ce!=f))}),uy(f,d,b);const{prefixCls:w,activeKeys:$,disabled:x,changeActiveKeys:C,mode:O,inlineCollapsed:S,openKeys:T,overflowDisabled:N,onOpenChange:M,registerMenuInfo:I,unRegisterMenuInfo:H,selectedSubMenuKeys:D,expandIcon:W,theme:P}=ke(),R=u!=null,B=!s&&(ic()||!R);W0(B),(s&&R||!s&&!R||B)&&(I(f,b),i.onBeforeUnmount(()=>{H(f)}));const V=i.computed(()=>`${w.value}-submenu`),U=i.computed(()=>x.value||e.disabled),G=i.shallowRef(),j=i.shallowRef(),X=i.computed(()=>T.value.includes(d)),J=i.computed(()=>!N.value&&X.value),le=i.computed(()=>D.value.includes(d)),oe=i.shallowRef(!1);i.watch($,()=>{oe.value=!!$.value.find(q=>q===d)},{immediate:!0});const fe=q=>{U.value||(r("titleClick",q,d),O.value==="inline"&&M(d,!X.value))},A=q=>{U.value||(C(y.value),r("mouseenter",q))},k=q=>{U.value||(C([]),r("mouseleave",q))},K=vc(i.computed(()=>y.value.length)),ne=q=>{O.value!=="inline"&&M(d,q)},Q=()=>{C(y.value)},Z=f&&`${f}-popup`,we=i.computed(()=>ee(w.value,`${w.value}-${e.theme||P.value}`,e.popupClassName)),re=(q,ce)=>{if(!ce)return S.value&&!h.value.length&&q&&typeof q=="string"?i.createVNode("div",{class:`${w.value}-inline-collapsed-noicon`},[q.charAt(0)]):i.createVNode("span",{class:`${w.value}-title-content`},[q]);const nt=Wt(q)&&q.type==="span";return i.createVNode(i.Fragment,null,[$e(typeof ce=="function"?ce(e.originItemValue):ce,{class:`${w.value}-item-icon`},!1),nt?q:i.createVNode("span",{class:`${w.value}-title-content`},[q])])},Me=i.computed(()=>O.value!=="inline"&&y.value.length>1?"vertical":O.value),yt=i.computed(()=>O.value==="horizontal"?"vertical":O.value),Fb=i.computed(()=>Me.value==="horizontal"?"vertical":Me.value),Hc=()=>{var q,ce;const nt=V.value,ii=(q=e.icon)!==null&&q!==void 0?q:(ce=n.icon)===null||ce===void 0?void 0:ce.call(n,e),Vc=e.expandIcon||n.expandIcon||W.value,ai=re(_e(n,e,"title"),ii);return i.createVNode("div",{style:K.value,class:`${nt}-title`,tabindex:U.value?null:-1,ref:G,title:typeof ai=="string"?ai:null,"data-menu-id":d,"aria-expanded":J.value,"aria-haspopup":!0,"aria-controls":Z,"aria-disabled":U.value,onClick:fe,onFocus:Q},[ai,O.value!=="horizontal"&&Vc?Vc(g(g({},e),{isOpen:J.value})):i.createVNode("i",{class:`${nt}-arrow`},null)])};return()=>{var q;if(s)return R?(q=n.default)===null||q===void 0?void 0:q.call(n):null;const ce=V.value;let nt=()=>null;if(!N.value&&O.value!=="inline"){const ii=O.value==="horizontal"?[0,8]:[10,0];nt=()=>i.createVNode(yc,{mode:Me.value,prefixCls:ce,visible:!e.internalPopupClose&&J.value,popupClassName:we.value,popupOffset:e.popupOffset||ii,disabled:U.value,onVisibleChange:ne},{default:()=>[Hc()],popup:()=>i.createVNode(vo,{mode:Fb.value},{default:()=>[i.createVNode(ei,{id:Z,ref:j},{default:n.default})]})})}else nt=()=>i.createVNode(yc,null,{default:Hc});return i.createVNode(vo,{mode:yt.value},{default:()=>[i.createVNode(Je.Item,_(_({component:"li"},o),{},{role:"none",class:ee(ce,`${ce}-${O.value}`,o.class,{[`${ce}-open`]:J.value,[`${ce}-active`]:oe.value,[`${ce}-selected`]:le.value,[`${ce}-disabled`]:U.value}),onMouseenter:A,onMouseleave:k,"data-submenu-id":d}),{default:()=>i.createVNode(i.Fragment,null,[nt(),!N.value&&i.createVNode(_y,{id:Z,open:J.value,keyPath:y.value},{default:n.default})])})]})}}});function Sc(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function wc(e,t){e.classList?e.classList.add(t):Sc(e,t)||(e.className=`${e.className} ${t}`)}function Cc(e,t){if(e.classList)e.classList.remove(t);else if(Sc(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const Iy=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",wc(n,e)},onEnter:n=>{i.nextTick(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(Cc(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{wc(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&&(Cc(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},Ay=()=>({title:E.any,originItemValue:ge()}),wo=i.defineComponent({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:Ay(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=ke(),a=i.computed(()=>`${r.value}-item-group`),l=Jr();return()=>{var s,c;return l?(s=n.default)===null||s===void 0?void 0:s.call(n):i.createVNode("li",_(_({},o),{},{onClick:u=>u.stopPropagation(),class:a.value}),[i.createVNode("div",{title:typeof e.title=="string"?e.title:void 0,class:`${a.value}-title`},[_e(n,e,"title")]),i.createVNode("ul",{class:`${a.value}-list`},[(c=n.default)===null||c===void 0?void 0:c.call(n)])])}}}),Ry=()=>({prefixCls:String,dashed:Boolean}),Co=i.defineComponent({compatConfig:{MODE:3},name:"AMenuDivider",props:Ry(),setup(e){const{prefixCls:t}=ke(),n=i.computed(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>i.createVNode("li",{class:n.value},null)}});var Dy=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{if(o&&typeof o=="object"){const a=o,{label:l,children:s,key:c,type:u}=a,d=Dy(a,["label","children","key","type"]),f=c??`tmp-${r}`,m=n?n.parentKeys.slice():[],p=[],h={eventKey:f,key:f,parentEventKeys:i.ref(m),parentKeys:i.ref(m),childrenEventKeys:i.ref(p),isLeaf:!1};if(s||u==="group"){if(u==="group"){const v=ti(s,t,n);return i.createVNode(wo,_(_({key:f},d),{},{title:l,originItemValue:o}),{default:()=>[v]})}t.set(f,h),n&&n.childrenEventKeys.push(f);const y=ti(s,t,{childrenEventKeys:p,parentKeys:[].concat(m,f)});return i.createVNode(Bt,_(_({key:f},d),{},{title:l,originItemValue:o}),{default:()=>[y]})}return u==="divider"?i.createVNode(Co,_({key:f},d),null):(h.isLeaf=!0,t.set(f,h),i.createVNode(hn,_(_({key:f},d),{},{originItemValue:o}),{default:()=>[l]}))}return null}).filter(o=>o)}function By(e){const t=i.shallowRef([]),n=i.shallowRef(!1),o=i.shallowRef(new Map);return i.watch(()=>e.items,()=>{const r=new Map;n.value=!1,e.items?(n.value=!0,t.value=ti(e.items,r)):t.value=void 0,o.value=r},{immediate:!0,deep:!0}),{itemsNodes:t,store:o,hasItmes:n}}const Hy=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:o,colorSplit:r,lineWidth:a,lineType:l,menuItemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:`${o}px`,border:0,borderBottom:`${a}px ${l} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${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"}}}},Vy=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})`}}}}},$c=e=>g({},ms(e)),xc=(e,t)=>{const{componentCls:n,colorItemText:o,colorItemTextSelected:r,colorGroupTitle:a,colorItemBg:l,colorSubItemBg:s,colorItemBgSelected:c,colorActiveBarHeight:u,colorActiveBarWidth:d,colorActiveBarBorderSize:f,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:h,menuItemPaddingInline:y,motionDurationMid:v,colorItemTextHover:b,lineType:w,colorSplit:$,colorItemTextDisabled:x,colorDangerItemText:C,colorDangerItemTextHover:O,colorDangerItemTextSelected:S,colorDangerItemBgActive:T,colorDangerItemBgSelected:N,colorItemBgHover:M,menuSubMenuBg:I,colorItemTextSelectedHorizontal:H,colorItemBgSelectedHorizontal:D}=e;return{[`${n}-${t}`]:{color:o,background:l,[`&${n}-root:focus-visible`]:g({},$c(e)),[`${n}-item-group-title`]:{color:a},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !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:M},"&:active":{backgroundColor:c}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:c}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:O}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:S},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:N}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:g({},$c(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:I},[`&${n}-popup > ${n}`]:{backgroundColor:l},[`&${n}-horizontal`]:g(g({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:y,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:H}},"&-selected":{color:H,backgroundColor:D,"&::after":{borderBottomWidth:u,borderBottomColor:H}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${w} ${$}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:f&&d?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${h}`,`opacity ${v} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:S}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${p}`,`opacity ${v} ${p}`].join(",")}}}}}},Oc=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:a,marginXS:l,marginXXS:s}=e,c=r+a+l;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:s,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:c}}},zy=e=>{const{componentCls:t,iconCls:n,menuItemHeight:o,colorTextLightSolid:r,dropdownWidth:a,controlHeightLG:l,motionDurationMid:s,motionEaseOut:c,paddingXL:u,fontSizeSM:d,fontSizeLG:f,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:h}=e,y={height:o,lineHeight:`${o}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":g({[`&${t}-root`]:{boxShadow:"none"}},Oc(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:g(g({},Oc(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${l*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 ${m}`,`background ${m}`,`padding ${s} ${c}`].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`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:o*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,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% - ${d}px)`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:f,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`]:g(g({},Rr),{paddingInline:p})}}]},Tc=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:l,iconCls:s,controlHeightSM:c}=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} ${a}`].join(","),[`${t}-item-icon, ${s}`]:{minWidth:n,fontSize:n,transition:[`font-size ${r} ${l}`,`margin ${o} ${a}`,`color ${o}`].join(","),"+ span":{marginInlineStart:c-n,opacity:1,transition:[`opacity ${o} ${a}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:g({},qh()),[`&${t}-item-only-child`]:{[`> ${s}, > ${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"}}}},Pc=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:a,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:a*.6,height:a*.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(-${l})`},"&::after":{transform:`rotate(-45deg) translateY(${l})`}}}}},jy=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:l,lineHeight:s,paddingXS:c,padding:u,colorSplit:d,lineWidth:f,zIndexPopup:m,borderRadiusLG:p,radiusSubMenuItem:h,menuArrowSize:y,menuArrowOffset:v,lineType:b,menuPanelMaskInset:w}=e;return[{"":{[`${n}`]:g(g({},ps()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:g(g(g(g(g(g(g({},Qe(e)),ps()),{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:`${c}px ${u}px`,fontSize:o,lineHeight:s,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${l}`,`background ${r} ${l}`,`padding ${a} ${l}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${l}`,`padding ${r} ${l}`].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:d,borderStyle:b,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Tc(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${o*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,background:"transparent",borderRadius:p,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${w}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:w},[`> ${n}`]:g(g(g({borderRadius:p},Tc(e)),Pc(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${l}`}})}}),Pc(e)),{[`&-inline-collapsed ${n}-submenu-arrow, &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${v})`},"&::after":{transform:`rotate(45deg) translateX(-${v})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${y*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${v})`},"&::before":{transform:`rotate(45deg) translateX(${v})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Ly=(e,t)=>Oe("Menu",(o,r)=>{let{overrideComponentToken:a}=r;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:l,colorPrimary:s,colorError:c,colorErrorHover:u,colorTextLightSolid:d}=o,{controlHeightLG:f,fontSize:m}=o,p=m/7*5,h=ve(o,{menuItemHeight:f,menuItemPaddingInline:o.margin,menuArrowSize:p,menuHorizontalHeight:f*1.15,menuArrowOffset:`${p*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:l}),y=new pe(d).setAlpha(.65).toRgbString(),v=ve(h,{colorItemText:y,colorItemTextHover:d,colorGroupTitle:y,colorItemTextSelected:d,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:s,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new pe(d).setAlpha(.25).toRgbString(),colorDangerItemText:c,colorDangerItemTextHover:u,colorDangerItemTextSelected:d,colorDangerItemBgActive:c,colorDangerItemBgSelected:c,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:d,colorItemBgSelectedHorizontal:s},g({},a));return[jy(h),Hy(h),zy(h),xc(h,"light"),xc(v,"dark"),Vy(h),T0(h),po(h,"slide-up"),po(h,"slide-down"),mo(h,"zoom-big")]},o=>{const{colorPrimary:r,colorError:a,colorTextDisabled:l,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:m,lineWidth:p,lineWidthBold:h,controlItemBgActive:y,colorBgTextHover:v}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:c,colorItemTextHover:c,colorItemTextHoverHorizontal:r,colorGroupTitle:u,colorItemTextSelected:r,colorItemTextSelectedHorizontal:r,colorItemBg:d,colorItemBgHover:v,colorItemBgActive:m,colorSubItemBg:f,colorItemBgSelected:y,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:h,colorActiveBarBorderSize:p,colorItemTextDisabled:l,colorDangerItemText:a,colorDangerItemTextHover:a,colorDangerItemTextSelected:a,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,itemMarginInline:o.marginXXS}})(e),Fy=()=>({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}),Mc=[],tt=i.defineComponent({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:Fy(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{direction:a,getPrefixCls:l}=ae("menu",e),s=ec(),c=i.computed(()=>{var A;return l("menu",e.prefixCls||((A=s==null?void 0:s.prefixCls)===null||A===void 0?void 0:A.value))}),[u,d]=Ly(c,i.computed(()=>!s)),f=i.shallowRef(new Map),m=i.inject(ny,i.ref(void 0)),p=i.computed(()=>m.value!==void 0?m.value:e.inlineCollapsed),{itemsNodes:h}=By(e),y=i.shallowRef(!1);i.onMounted(()=>{y.value=!0}),i.watchEffect(()=>{Ze(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Ze(!(m.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const v=i.ref([]),b=i.ref([]),w=i.ref({});i.watch(f,()=>{const A={};for(const k of f.value.values())A[k.key]=k;w.value=A},{flush:"post"}),i.watchEffect(()=>{if(e.activeKey!==void 0){let A=[];const k=e.activeKey?w.value[e.activeKey]:void 0;k&&e.activeKey!==void 0?A=Yr([].concat(i.unref(k.parentKeys),e.activeKey)):A=[],gn(v.value,A)||(v.value=A)}}),i.watch(()=>e.selectedKeys,A=>{A&&(b.value=A.slice())},{immediate:!0,deep:!0});const $=i.ref([]);i.watch([w,b],()=>{let A=[];b.value.forEach(k=>{const K=w.value[k];K&&(A=A.concat(i.unref(K.parentKeys)))}),A=Yr(A),gn($.value,A)||($.value=A)},{immediate:!0});const x=A=>{if(e.selectable){const{key:k}=A,K=b.value.includes(k);let ne;e.multiple?K?ne=b.value.filter(Z=>Z!==k):ne=[...b.value,k]:ne=[k];const Q=g(g({},A),{selectedKeys:ne});gn(ne,b.value)||(e.selectedKeys===void 0&&(b.value=ne),o("update:selectedKeys",ne),K&&e.multiple?o("deselect",Q):o("select",Q))}M.value!=="inline"&&!e.multiple&&C.value.length&&D(Mc)},C=i.ref([]);i.watch(()=>e.openKeys,function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C.value;gn(C.value,A)||(C.value=A.slice())},{immediate:!0,deep:!0});let O;const S=A=>{clearTimeout(O),O=setTimeout(()=>{e.activeKey===void 0&&(v.value=A),o("update:activeKey",A[A.length-1])})},T=i.computed(()=>!!e.disabled),N=i.computed(()=>a.value==="rtl"),M=i.ref("vertical"),I=i.shallowRef(!1);i.watchEffect(()=>{var A;(e.mode==="inline"||e.mode==="vertical")&&p.value?(M.value="vertical",I.value=p.value):(M.value=e.mode,I.value=!1),!((A=s==null?void 0:s.mode)===null||A===void 0)&&A.value&&(M.value=s.mode.value)});const H=i.computed(()=>M.value==="inline"),D=A=>{C.value=A,o("update:openKeys",A),o("openChange",A)},W=i.ref(C.value),P=i.shallowRef(!1);i.watch(C,()=>{H.value&&(W.value=C.value)},{immediate:!0}),i.watch(H,()=>{if(!P.value){P.value=!0;return}H.value?C.value=W.value:D(Mc)},{immediate:!0});const R=i.computed(()=>({[`${c.value}`]:!0,[`${c.value}-root`]:!0,[`${c.value}-${M.value}`]:!0,[`${c.value}-inline-collapsed`]:I.value,[`${c.value}-rtl`]:N.value,[`${c.value}-${e.theme}`]:!0})),B=i.computed(()=>l()),V=i.computed(()=>({horizontal:{name:`${B.value}-slide-up`},inline:Iy(`${B.value}-motion-collapse`),other:{name:`${B.value}-zoom-big`}}));lc(!0);const U=function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const k=[],K=f.value;return A.forEach(ne=>{const{key:Q,childrenEventKeys:Z}=K.get(ne);k.push(Q,...U(i.unref(Z)))}),k},G=A=>{var k;o("click",A),x(A),(k=s==null?void 0:s.onClick)===null||k===void 0||k.call(s)},j=(A,k)=>{var K;const ne=((K=w.value[A])===null||K===void 0?void 0:K.childrenEventKeys)||[];let Q=C.value.filter(Z=>Z!==A);if(k)Q.push(A);else if(M.value!=="inline"){const Z=U(i.unref(ne));Q=Yr(Q.filter(we=>!Z.includes(we)))}gn(C,Q)||D(Q)},X=(A,k)=>{f.value.set(A,k),f.value=new Map(f.value)},J=A=>{f.value.delete(A),f.value=new Map(f.value)},le=i.ref(0),oe=i.computed(()=>{var A;return e.expandIcon||n.expandIcon||!((A=s==null?void 0:s.expandIcon)===null||A===void 0)&&A.value?k=>{let K=e.expandIcon||n.expandIcon;return K=typeof K=="function"?K(k):K,$e(K,{class:`${c.value}-submenu-expand-icon`},!1)}:null});K0({prefixCls:c,activeKeys:v,openKeys:C,selectedKeys:b,changeActiveKeys:S,disabled:T,rtl:N,mode:M,inlineIndent:i.computed(()=>e.inlineIndent),subMenuCloseDelay:i.computed(()=>e.subMenuCloseDelay),subMenuOpenDelay:i.computed(()=>e.subMenuOpenDelay),builtinPlacements:i.computed(()=>e.builtinPlacements),triggerSubMenuAction:i.computed(()=>e.triggerSubMenuAction),getPopupContainer:i.computed(()=>e.getPopupContainer),inlineCollapsed:I,theme:i.computed(()=>e.theme),siderCollapsed:m,defaultMotions:i.computed(()=>y.value?V.value:null),motion:i.computed(()=>y.value?e.motion:null),overflowDisabled:i.shallowRef(void 0),onOpenChange:j,onItemClick:G,registerMenuInfo:X,unRegisterMenuInfo:J,selectedSubMenuKeys:$,expandIcon:oe,forceSubMenuRender:i.computed(()=>e.forceSubMenuRender),rootClassName:d});const fe=()=>{var A;return h.value||ue((A=n.default)===null||A===void 0?void 0:A.call(n))};return()=>{var A;const k=fe(),K=le.value>=k.length-1||M.value!=="horizontal"||e.disabledOverflow,ne=Z=>M.value!=="horizontal"||e.disabledOverflow?Z:Z.map((we,re)=>i.createVNode(vo,{key:we.key,overflowDisabled:re>le.value},{default:()=>we})),Q=((A=n.overflowedIndicator)===null||A===void 0?void 0:A.call(n))||i.createVNode(uo,null,null);return u(i.createVNode(Je,_(_({},r),{},{onMousedown:e.onMousedown,prefixCls:`${c.value}-overflow`,component:"ul",itemComponent:hn,class:[R.value,r.class,d.value],role:"menu",id:e.id,data:ne(k),renderRawItem:Z=>Z,renderRawRest:Z=>{const we=Z.length,re=we?k.slice(-we):null;return i.createVNode(i.Fragment,null,[i.createVNode(Bt,{eventKey:So,key:So,title:Q,disabled:K,internalPopupClose:we===0},{default:()=>re}),i.createVNode(pc,null,{default:()=>[i.createVNode(Bt,{eventKey:So,key:So,title:Q,disabled:K,internalPopupClose:we===0},{default:()=>re})]})])},maxCount:M.value!=="horizontal"||e.disabledOverflow?Je.INVALIDATE:Je.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:Z=>{le.value=Z}}),{default:()=>[i.createVNode(i.Teleport,{to:"body"},{default:()=>[i.createVNode("div",{style:{display:"none"},"aria-hidden":!0},[i.createVNode(pc,null,{default:()=>[ne(fe())]})])]})]}))}}});tt.install=function(e){return e.component(tt.name,tt),e.component(hn.name,hn),e.component(Bt.name,Bt),e.component(Co.name,Co),e.component(wo.name,wo),e},tt.Item=hn,tt.Divider=Co,tt.SubMenu=Bt,tt.ItemGroup=wo;const Wy=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:g(g({},Qe(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:g({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}},ro(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"}})}},ky=Oe("Breadcrumb",e=>{const t=ve(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[Wy(t)]}),Ky=()=>({prefixCls:String,routes:{type:Array},params:E.any,separator:E.any,itemRender:{type:Function}});function Uy(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(r,a)=>t[a]||r)}function Ec(e){const{route:t,params:n,routes:o,paths:r}=e,a=o.indexOf(t)===o.length-1,l=Uy(t,n);return a?i.createVNode("span",null,[l]):i.createVNode("a",{href:`#/${r.join("/")}`},[l])}const Ht=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:Ky(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=ae("breadcrumb",e),[l,s]=ky(r),c=(f,m)=>(f=(f||"").replace(/^\//,""),Object.keys(m).forEach(p=>{f=f.replace(`:${p}`,m[p])}),f),u=(f,m,p)=>{const h=[...f],y=c(m||"",p);return y&&h.push(y),h},d=f=>{let{routes:m=[],params:p={},separator:h,itemRender:y=Ec}=f;const v=[];return m.map(b=>{const w=c(b.path,p);w&&v.push(w);const $=[...v];let x=null;b.children&&b.children.length&&(x=i.createVNode(tt,{items:b.children.map(O=>({key:O.path||O.breadcrumbName,label:y({route:O,params:p,routes:m,paths:u($,O.path,p)})}))},null));const C={separator:h};return x&&(C.overlay=x),i.createVNode(ho,_(_({},C),{},{key:w||b.breadcrumbName}),{default:()=>[y({route:b,params:p,routes:m,paths:$})]})})};return()=>{var f;let m;const{routes:p,params:h={}}=e,y=ue(_e(n,e)),v=(f=_e(n,e,"separator"))!==null&&f!==void 0?f:"/",b=e.itemRender||n.itemRender||Ec;p&&p.length>0?m=d({routes:p,params:h,separator:v,itemRender:b}):y.length&&(m=y.map(($,x)=>(Ge(typeof $.type=="object"&&($.type.__ANT_BREADCRUMB_ITEM||$.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),i.cloneVNode($,{separator:v,key:x}))));const w={[r.value]:!0,[`${r.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[s.value]:!0};return l(i.createVNode("nav",_(_({},o),{},{class:w}),[i.createVNode("ol",null,[m])]))}}});var Xy=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({prefixCls:String}),ni=i.defineComponent({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:Gy(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=ae("breadcrumb",e);return()=>{var a;const{separator:l,class:s}=o,c=Xy(o,["separator","class"]),u=ue((a=n.default)===null||a===void 0?void 0:a.call(n));return i.createVNode("span",_({class:[`${r.value}-separator`,s]},c),[u.length>0?u:"/"])}}});Ht.Item=ho,Ht.Separator=ni,Ht.install=function(e){return e.component(Ht.name,Ht),e.component(ho.name,ho),e.component(ni.name,ni),e};const Yy=["xxxl","xxl","xl","lg","md","sm","xs"],qy=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 Qy(){const[,e]=pn();return i.computed(()=>{const t=qy(e.value),n=new Map;let o=-1,r={};return{matchHandlers:{},dispatch(a){return r=a,n.forEach(l=>l(r)),n.size>=1},subscribe(a){return n.size||this.register(),o+=1,n.set(o,a),a(r),o},unsubscribe(a){n.delete(a),n.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const l=t[a],s=this.matchHandlers[l];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(a=>{const l=t[a],s=u=>{let{matches:d}=u;this.dispatch(g(g({},r),{[a]:d}))},c=window.matchMedia(l);c.addListener(s),this.matchHandlers[l]={mql:c,listener:s},s(c)})},responsiveMap:t}})}function Zy(){const e=i.shallowRef({});let t=null;const n=Qy();return i.onMounted(()=>{t=n.value.subscribe(o=>{e.value=o})}),i.onUnmounted(()=>{n.value.unsubscribe(t)}),e}function Jy(e){const t=i.shallowRef();return i.watchEffect(()=>{t.value=e()},{flush:"sync"}),t}const eb=e=>{const{antCls:t,componentCls:n,iconCls:o,avatarBg:r,avatarColor:a,containerSize:l,containerSizeLG:s,containerSizeSM:c,textFontSize:u,textFontSizeLG:d,textFontSizeSM:f,borderRadius:m,borderRadiusLG:p,borderRadiusSM:h,lineWidth:y,lineType:v}=e,b=(w,$,x)=>({width:w,height:w,lineHeight:`${w-y*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:x},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:$,[`> ${o}`]:{margin:0}}});return{[n]:g(g(g(g({},Qe(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${y}px ${v} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),b(l,u,m)),{"&-lg":g({},b(s,d,p)),"&-sm":g({},b(c,f,h)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},tb=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}}}},_c=Oe("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,o=ve(e,{avatarBg:n,avatarColor:t});return[eb(o),tb(o)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:o,fontSize:r,fontSizeLG:a,fontSizeXL:l,fontSizeHeading3:s,marginXS:c,marginXXS:u,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:o,textFontSize:Math.round((a+l)/2),textFontSizeLG:s,textFontSizeSM:r,groupSpace:u,groupOverlapping:-c,groupBorderColor:d}}),Nc=Symbol("AvatarContextKey"),nb=()=>i.inject(Nc,{}),ob=e=>i.provide(Nc,e),rb=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:E.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),Vt=i.defineComponent({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:rb(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const r=i.shallowRef(!0),a=i.shallowRef(!1),l=i.shallowRef(1),s=i.shallowRef(null),c=i.shallowRef(null),{prefixCls:u}=ae("avatar",e),[d,f]=_c(u),m=nb(),p=i.computed(()=>e.size==="default"?m.size:e.size),h=Zy(),y=Jy(()=>{if(typeof e.size!="object")return;const $=Yy.find(C=>h.value[C]);return e.size[$]}),v=$=>y.value?{width:`${y.value}px`,height:`${y.value}px`,lineHeight:`${y.value}px`,fontSize:`${$?y.value/2:18}px`}:{},b=()=>{if(!s.value||!c.value)return;const $=s.value.offsetWidth,x=c.value.offsetWidth;if($!==0&&x!==0){const{gap:C=4}=e;C*2{const{loadError:$}=e;($==null?void 0:$())!==!1&&(r.value=!1)};return i.watch(()=>e.src,()=>{i.nextTick(()=>{r.value=!0,l.value=1})}),i.watch(()=>e.gap,()=>{i.nextTick(()=>{b()})}),i.onMounted(()=>{i.nextTick(()=>{b(),a.value=!0})}),()=>{var $,x;const{shape:C,src:O,alt:S,srcset:T,draggable:N,crossOrigin:M}=e,I=($=m.shape)!==null&&$!==void 0?$:C,H=_e(n,e,"icon"),D=u.value,W={[`${o.class}`]:!!o.class,[D]:!0,[`${D}-lg`]:p.value==="large",[`${D}-sm`]:p.value==="small",[`${D}-${I}`]:!0,[`${D}-image`]:O&&r.value,[`${D}-icon`]:H,[f.value]:!0},P=typeof p.value=="number"?{width:`${p.value}px`,height:`${p.value}px`,lineHeight:`${p.value}px`,fontSize:H?`${p.value/2}px`:"18px"}:{},R=(x=n.default)===null||x===void 0?void 0:x.call(n);let B;if(O&&r.value)B=i.createVNode("img",{draggable:N,src:O,srcset:T,onError:w,alt:S,crossorigin:M},null);else if(H)B=H;else if(a.value||l.value!==1){const V=`scale(${l.value}) translateX(-50%)`,U={msTransform:V,WebkitTransform:V,transform:V},G=typeof p.value=="number"?{lineHeight:`${p.value}px`}:{};B=i.createVNode(yo,{onResize:b},{default:()=>[i.createVNode("span",{class:`${D}-string`,ref:s,style:g(g({},G),U)},[R])]})}else B=i.createVNode("span",{class:`${D}-string`,ref:s,style:{opacity:0}},[R]);return d(i.createVNode("span",_(_({},o),{},{ref:c,class:W,style:[P,v(!!H),o.style]}),[B]))}}}),ib=e=>{const{componentCls:t,popoverBg:n,popoverColor:o,width:r,fontWeightStrong:a,popoverPadding:l,boxShadowSecondary:s,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,marginXS:f,colorBgElevated:m}=e;return[{[t]:g(g({},Qe(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:s,padding:l},[`${t}-title`]:{minWidth:r,marginBottom:f,color:c,fontWeight:a},[`${t}-inner-content`]:{color:o}})},Vs(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},ab=e=>{const{componentCls:t}=e;return{[t]:dn.map(n=>{const o=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}})}},lb=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:a,controlHeight:l,fontSize:s,lineHeight:c,padding:u}=e,d=l-Math.round(s*c),f=d/2,m=d/2-n,p=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${f}px ${p}px ${m}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${a}px ${p}px`}}}},sb=Oe("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,r=ve(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[ib(r),ab(r),o&&lb(r),mo(r,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),cb=()=>g(g({},gc()),{content:an(),title:an()}),ub=i.defineComponent({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:St(cb(),g(g({},$y()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const a=i.ref();Ge(e.visible===void 0,"popover","`visible` will be removed in next major version, please use `open` instead."),n({getPopupDomNode:()=>{var m,p;return(p=(m=a.value)===null||m===void 0?void 0:m.getPopupDomNode)===null||p===void 0?void 0:p.call(m)}});const{prefixCls:l,configProvider:s}=ae("popover",e),[c,u]=sb(l),d=i.computed(()=>s.getPrefixCls()),f=()=>{var m,p;const{title:h=Re((m=o.title)===null||m===void 0?void 0:m.call(o)),content:y=Re((p=o.content)===null||p===void 0?void 0:p.call(o))}=e,v=!!(Array.isArray(h)?h.length:h),b=!!(Array.isArray(y)?y.length:h);return!v&&!b?null:i.createVNode(i.Fragment,null,[v&&i.createVNode("div",{class:`${l.value}-title`},[h]),i.createVNode("div",{class:`${l.value}-inner-content`},[y])])};return()=>{const m=ee(e.overlayClassName,u.value);return c(i.createVNode(hc,_(_(_({},Gs(e,["title","content"])),r),{},{prefixCls:l.value,ref:a,overlayClassName:m,transitionName:wl(d.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:f,default:o.default}))}}}),db=ut(ub),fb=()=>({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"}}),oi=i.defineComponent({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:fb(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=ae("avatar",e),l=i.computed(()=>`${r.value}-group`),[s,c]=_c(r);return i.watchEffect(()=>{const u={size:e.size,shape:e.shape};ob(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:d,maxStyle:f,maxPopoverTrigger:m="hover",shape:p}=e,h={[l.value]:!0,[`${l.value}-rtl`]:a.value==="rtl",[`${o.class}`]:!!o.class,[c.value]:!0},y=_e(n,e),v=ue(y).map((w,$)=>$e(w,{key:`avatar-key-${$}`})),b=v.length;if(d&&d[i.createVNode(Vt,{style:f,shape:p},{default:()=>[`+${b-d}`]})]})),s(i.createVNode("div",_(_({},o),{},{class:h,style:o.style}),[w]))}return s(i.createVNode("div",_(_({},o),{},{class:h,style:o.style}),[v]))}}});Vt.Group=oi,Vt.install=function(e){return e.component(Vt.name,Vt),e.component(oi.name,oi),e};var pb=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{const{keyCode:p}=m;p===z.ENTER&&m.preventDefault()},c=m=>{const{keyCode:p}=m;p===z.ENTER&&o("click",m)},u=m=>{o("click",m)},d=()=>{l.value&&l.value.focus()},f=()=>{l.value&&l.value.blur()};return i.onMounted(()=>{e.autofocus&&d()}),a({focus:d,blur:f}),()=>{var m;const{noStyle:p,disabled:h}=e,y=pb(e,["noStyle","disabled"]);let v={};return p||(v=g({},mb)),h&&(v.pointerEvents="none"),i.createVNode("div",_(_(_({role:"button",tabindex:0,ref:l},y),r),{},{onClick:u,onKeydown:s,onKeyup:c,style:g(g({},v),r.style||{})}),[(m=n.default)===null||m===void 0?void 0:m.call(n)])}}}),hb=()=>{const e=i.shallowRef(!1);return i.onBeforeUnmount(()=>{e.value=!0}),e},vb=()=>Be()&&window.document.documentElement;let $o;const yb=()=>{if(!vb())return!1;if($o!==void 0)return $o;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),$o=e.scrollHeight===1,document.body.removeChild(e),$o},bb=()=>{const e=i.shallowRef(!1);return i.onMounted(()=>{e.value=yb()}),e},Sb={small:8,middle:16,large:24},wb=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:E.oneOf(Pt("horizontal","vertical")).def("horizontal"),align:E.oneOf(Pt("start","end","center","baseline")),wrap:he()});function Cb(e){return typeof e=="string"?Sb[e]:e||0}const vn=i.defineComponent({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:wb(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,space:a,direction:l}=ae("space",e),[s,c]=Ns(r),u=bb(),d=i.computed(()=>{var b,w,$;return($=(b=e.size)!==null&&b!==void 0?b:(w=a==null?void 0:a.value)===null||w===void 0?void 0:w.size)!==null&&$!==void 0?$:"small"}),f=i.ref(),m=i.ref();i.watch(d,()=>{[f.value,m.value]=(Array.isArray(d.value)?d.value:[d.value,d.value]).map(b=>Cb(b))},{immediate:!0});const p=i.computed(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),h=i.computed(()=>ee(r.value,c.value,`${r.value}-${e.direction}`,{[`${r.value}-rtl`]:l.value==="rtl",[`${r.value}-align-${p.value}`]:p.value})),y=i.computed(()=>l.value==="rtl"?"marginLeft":"marginRight"),v=i.computed(()=>{const b={};return u.value&&(b.columnGap=`${f.value}px`,b.rowGap=`${m.value}px`),g(g({},b),e.wrap&&{flexWrap:"wrap",marginBottom:`${-m.value}px`})});return()=>{var b,w;const{wrap:$,direction:x="horizontal"}=e,C=(b=n.default)===null||b===void 0?void 0:b.call(n),O=Re(C),S=O.length;if(S===0)return null;const T=(w=n.split)===null||w===void 0?void 0:w.call(n),N=`${r.value}-item`,M=f.value,I=S-1;return i.createVNode("div",_(_({},o),{},{class:[h.value,o.class],style:[v.value,o.style]}),[O.map((H,D)=>{let W=C.indexOf(H);W===-1&&(W=`$$space-${D}`);let P={};return u.value||(x==="vertical"?D{const{componentCls:t,antCls:n}=e;return{[t]:g(g({},Qe(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":g(g({},Gh(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":g({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},Rr),[`${n}-avatar`]:{marginRight:e.marginSM},"&-sub-title":g({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},Rr),"&-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"}})}},xb=Oe("PageHeader",e=>{const t=ve(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[$b(t)]}),Ic=()=>({backIcon:Mt(),prefixCls:String,title:Mt(),subTitle:Mt(),breadcrumb:E.object,tags:Mt(),footer:Mt(),extra:Mt(),avatar:ge(),ghost:{type:Boolean,default:void 0},onBack:Function}),Ob=i.defineComponent({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:Ic(),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:a,direction:l,pageHeader:s}=ae("page-header",e),[c,u]=xb(a),d=i.shallowRef(!1),f=hb(),m=x=>{let{width:C}=x;f.value||(d.value=C<768)},p=i.computed(()=>{var x,C,O;return(O=(x=e.ghost)!==null&&x!==void 0?x:(C=s==null?void 0:s.value)===null||C===void 0?void 0:C.ghost)!==null&&O!==void 0?O:!0}),h=()=>{var x,C,O;return(O=(x=e.backIcon)!==null&&x!==void 0?x:(C=o.backIcon)===null||C===void 0?void 0:C.call(o))!==null&&O!==void 0?O:l.value==="rtl"?i.createVNode(ko,null,null):i.createVNode(Wo,null,null)},y=x=>!x||!e.onBack?null:i.createVNode(Vl,{componentName:"PageHeader",children:C=>{let{back:O}=C;return i.createVNode("div",{class:`${a.value}-back`},[i.createVNode(gb,{onClick:S=>{n("back",S)},class:`${a.value}-back-button`,"aria-label":O},{default:()=>[x]})])}},null),v=()=>{var x;return e.breadcrumb?i.createVNode(Ht,e.breadcrumb,null):(x=o.breadcrumb)===null||x===void 0?void 0:x.call(o)},b=()=>{var x,C,O,S,T,N,M,I,H;const{avatar:D}=e,W=(x=e.title)!==null&&x!==void 0?x:(C=o.title)===null||C===void 0?void 0:C.call(o),P=(O=e.subTitle)!==null&&O!==void 0?O:(S=o.subTitle)===null||S===void 0?void 0:S.call(o),R=(T=e.tags)!==null&&T!==void 0?T:(N=o.tags)===null||N===void 0?void 0:N.call(o),B=(M=e.extra)!==null&&M!==void 0?M:(I=o.extra)===null||I===void 0?void 0:I.call(o),V=`${a.value}-heading`,U=W||P||R||B;if(!U)return null;const G=h(),j=y(G),X=j||D||U;return i.createVNode("div",{class:V},[X&&i.createVNode("div",{class:`${V}-left`},[j,D?i.createVNode(Vt,D,null):(H=o.avatar)===null||H===void 0?void 0:H.call(o),W&&i.createVNode("span",{class:`${V}-title`,title:typeof W=="string"?W:void 0},[W]),P&&i.createVNode("span",{class:`${V}-sub-title`,title:typeof P=="string"?P:void 0},[P]),R&&i.createVNode("span",{class:`${V}-tags`},[R])]),B&&i.createVNode("span",{class:`${V}-extra`},[i.createVNode(vn,null,{default:()=>[B]})])])},w=()=>{var x,C;const O=(x=e.footer)!==null&&x!==void 0?x:Re((C=o.footer)===null||C===void 0?void 0:C.call(o));return bu(O)?null:i.createVNode("div",{class:`${a.value}-footer`},[O])},$=x=>i.createVNode("div",{class:`${a.value}-content`},[x]);return()=>{var x,C;const O=((x=e.breadcrumb)===null||x===void 0?void 0:x.routes)||o.breadcrumb,S=e.footer||o.footer,T=ue((C=o.default)===null||C===void 0?void 0:C.call(o)),N=ee(a.value,{"has-breadcrumb":O,"has-footer":S,[`${a.value}-ghost`]:p.value,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-compact`]:d.value},r.class,u.value);return c(i.createVNode(yo,{onResize:m},{default:()=>[i.createVNode("div",_(_({},r),{},{class:N}),[v(),b(),T.length?$(T):null,w()])]}))}}});ut(Ob);function Tb(e,t,n){var o=n||{},r=o.noTrailing,a=r===void 0?!1:r,l=o.noLeading,s=l===void 0?!1:l,c=o.debounceMode,u=c===void 0?void 0:c,d,f=!1,m=0;function p(){d&&clearTimeout(d)}function h(v){var b=v||{},w=b.upcomingOnly,$=w===void 0?!1:w;p(),f=!$}function y(){for(var v=arguments.length,b=new Array(v),w=0;we?s?(m=Date.now(),a||(d=setTimeout(u?O:C,e))):C():a!==!0&&(d=setTimeout(u?O:C,u===void 0?e-x:e))}return y.cancel=h,y}function Pb(e,t,n){var o={},r=o.atBegin,a=r===void 0?!1:r;return Tb(e,t,{debounceMode:a!==!1})}const Mb=new Y("antSpinMove",{to:{opacity:1}}),Eb=new Y("antRotate",{to:{transform:"rotate(405deg)"}}),_b=e=>({[`${e.componentCls}`]:g(g({},Qe(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:Mb,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:Eb,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"}})}),Nb=Oe("Spin",e=>{const t=ve(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[_b(t)]},{contentHeight:400});var Ib=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({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:E.any,delay:Number,indicator:E.any});function Ab(e,t){return!!e&&!!t&&!isNaN(Number(t))}i.defineComponent({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:St(Ac(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,size:a,direction:l}=ae("spin",e),[s,c]=Nb(r),u=i.shallowRef(e.spinning&&!Ab(e.spinning,e.delay));let d;return i.watch([()=>e.spinning,()=>e.delay],()=>{d==null||d.cancel(),d=Pb(e.delay,()=>{u.value=e.spinning}),d==null||d()},{immediate:!0,flush:"post"}),i.onBeforeUnmount(()=>{d==null||d.cancel()}),()=>{var f,m;const{class:p}=n,h=Ib(n,["class"]),{tip:y=(f=o.tip)===null||f===void 0?void 0:f.call(o)}=e,v=(m=o.default)===null||m===void 0?void 0:m.call(o),b={[c.value]:!0,[r.value]:!0,[`${r.value}-sm`]:a.value==="small",[`${r.value}-lg`]:a.value==="large",[`${r.value}-spinning`]:u.value,[`${r.value}-show-text`]:!!y,[`${r.value}-rtl`]:l.value==="rtl",[p]:!!p};function w(x){const C=`${x}-dot`;let O=_e(o,e,"indicator");return O===null?null:(Array.isArray(O)&&(O=O.length===1?O[0]:O),i.isVNode(O)?i.cloneVNode(O,{class:C}):i.createVNode("span",{class:`${C} ${x}-dot-spin`},[i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null),i.createVNode("i",{class:`${x}-dot-item`},null)]))}const $=i.createVNode("div",_(_({},h),{},{class:b,"aria-live":"polite","aria-busy":u.value}),[w(r.value),y?i.createVNode("div",{class:`${r.value}-text`},[y]):null]);if(v&&Re(v).length){const x={[`${r.value}-container`]:!0,[`${r.value}-blur`]:u.value};return s(i.createVNode("div",{class:[`${r.value}-nested-loading`,e.wrapperClassName,c.value]},[u.value&&i.createVNode("div",{key:"loading"},[$]),i.createVNode("div",{class:x,key:"container"},[v])]))}return s($)}}});const Rc=i.defineComponent({inheritAttrs:!1,name:"PageLoading",props:Ac(),setup(e){return()=>i.createVNode("div",{style:{paddingTop:"100px",textAlign:"center"}},[i.createVNode(se.Spin,e,null)])}});function Rb(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}const Db={...{tabList:{type:[Object,Function,Array],default:()=>{}},tabActiveKey:String,tabProps:{type:Object,default:()=>{}},onTabChange:Function},...Ic(),content:{type:[Object,String,Boolean,Function],default:()=>null},contentExtra:{type:[Object,String,Boolean,Function],default:()=>null},affixProps:{type:[Object,Function]},flex:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},disableMargin:{type:Boolean,default:!1},fixedHeader:{type:Boolean,default:!1}},Bb=e=>{let t;const{tabList:n,tabActiveKey:o,onTabChange:r,tabProps:a}=e;return!Array.isArray(n)||n.length<=0?null:i.createVNode(se.Tabs,i.mergeProps({activeKey:o,onChange:l=>{r&&r(l)}},a),Rb(t=n.map(l=>i.createVNode(se.TabPane,i.mergeProps(l,{tab:l.tab,key:l.key}),null)))?t:{default:()=>[t]})},Hb=e=>{const{baseClassName:t,title:n,tabList:o,tabActiveKey:r,breadcrumb:a,content:l,tags:s,extra:c,contentExtra:u,fixedHeader:d,footer:f,...m}=e,p=n!==!1?n:void 0;let h=a;if(a===void 0){const y=bt(),v=i.unref(y.breadcrumb||{});h={...v,routes:v.routes,itemRender:v.itemRender}}return i.createVNode(se.PageHeader,i.mergeProps(m,{title:p,breadcrumb:h,footer:f||Bb({...m,tabList:o,tabActiveKey:r}),tags:s,extra:c}),{default:()=>[(l||u)&&i.createVNode("div",{class:`${t}-header`},[l&&i.createVNode("div",{class:"content"},[typeof l=="function"&&l()||l]),u&&i.createVNode("div",{class:"content-extra"},[typeof u=="function"&&u()||u])])]})},Vb=ut(i.defineComponent({name:"PageContainer",inheritAttrs:!1,props:Db,setup(e,{slots:t}){const n=bt(),o="ant-pro-page-container",r=i.computed(()=>{if(t.pageHeader)return t.pageHeader({...e});const a=Lt(t,e,"tags"),l=Lt(t,e,"extra"),s=Lt(t,e,"footer"),c=Lt(t,e,"content"),u=Lt(t,e,"contentExtra");return i.createVNode(Hb,i.mergeProps(e,{baseClassName:o,ghost:!!e.ghost,content:c,tags:a,footer:s,extra:l,contentExtra:u}),null)});return()=>i.createVNode("div",{class:o},[e.fixedHeader&&r.value?i.createVNode(se.Affix,i.mergeProps({offsetTop:n.hasHeader&&n.fixedHeader?n.headerHeight:0},e.affixProps),{default:()=>[r.value]}):r.value,i.createVNode("div",{class:{[`${o}-content`]:!0,[`${o}-flex`]:e.flex}},[e.loading?i.createVNode(Rc,null,null):t.default&&i.createVNode("div",{class:{[`${o}-main`]:!e.disableMargin}},[t.default()])]),t.pageFooter&&t.pageFooter({...e})])}})),ri=(e,{attrs:t})=>e.isMobile?i.createVNode(se.Drawer,{open:!e.collapsed,closable:!1,placement:"left",style:{padding:0,height:"100vh"},onClose:()=>e.onCollapse&&e.onCollapse(!0),width:e.siderWidth,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"}},{default:()=>[i.createVNode($n,i.mergeProps(t,e,{collapsed:e.isMobile?!1:e.collapsed,splitMenus:!1}),null)]}):i.createVNode($n,i.mergeProps(t,e),null);ri.inheritAttrs=!1,ri.displayName="SiderMenuWrapper";function zb(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}const Dc={...yi,headerRender:{type:[Object,Function,Boolean],default:()=>{}},headerTitleRender:{type:[Object,Function,Boolean],default:()=>{}},headerContentRender:{type:[Object,Function,Boolean],default:()=>{}},hasSiderMenu:E.looseBool,siderWidth:E.number.def(208)},jb=i.defineComponent({name:"HeaderView",inheritAttrs:!1,props:Dc,setup(e){const{isMobile:t,fixedHeader:n,hasSiderMenu:o,headerHeight:r,layout:a}=i.toRefs(e),l=bt(),s="ant-pro-header",c=i.computed(()=>n.value||l.fixedHeader||a.value==="mix"),u=i.computed(()=>a.value==="mix"),d=i.computed(()=>a.value==="top"),f=i.computed(()=>c.value&&o.value&&!d.value&&!t.value),m=i.computed(()=>l.menuData&&wn(l.menuData)||[]),p=()=>{let v=i.createVNode(xn,i.mergeProps(e,{onCollapse:e.onCollapse,menuData:m.value}),{default:()=>[u.value?null:e.headerContentRender&&typeof e.headerContentRender=="function"?e.headerContentRender(e):e.headerContentRender]});return d.value&&!t.value&&(v=i.createVNode(Eo,i.mergeProps(e,{mode:"horizontal",onCollapse:e.onCollapse,menuData:m.value}),null)),e.headerRender?e.headerRender(e):v},h=i.computed(()=>a.value!=="mix"&&f.value?`calc(100% - ${e.collapsed?48:e.siderWidth}px)`:"100%"),y=i.computed(()=>c.value?0:void 0);return()=>{let v;return i.createVNode(i.Fragment,null,[c.value&&i.createVNode(se.LayoutHeader,{style:{height:`${r.value}px`,lineHeight:`${r.value}px`,background:"transparent"}},null),i.createVNode(se.LayoutHeader,{style:{padding:0,height:`${r.value}px`,lineHeight:`${r.value}px`,width:h.value,zIndex:a.value==="mix"?100:19,right:y.value},class:{[`${s}`]:!0,[`${s}-${a.value}`]:!0,[`${s}-fixed`]:c.value}},zb(v=p())?v:{default:()=>[v]})])}}}),Lb={...Cn,...Ce,...yi,...Dc,pure:Boolean,loading:Boolean,locale:{type:[Function,Boolean],default:!1},isChildrenLayout:{type:Boolean,required:!1},colSize:{type:Number,required:!1},contentStyle:{type:[String,Object],default:()=>null},breadcrumb:{type:[Object,Function],default:()=>null},collapsedButtonRender:{type:[Function,Object,Boolean],default:()=>{}},breadcrumbRender:{type:[Object,Function,Boolean],default:()=>null},headerContentRender:{type:[Function,Object,Boolean],default:()=>{}},headerRender:{type:[Object,Function,Boolean],default:()=>{}},footerRender:{type:[Object,Function,Boolean],default:()=>{}},tabRender:{type:[Object,Function,Boolean],default:()=>{}}},Bc=ut(i.defineComponent({name:"ProLayout",inheritAttrs:!1,props:Lb,emits:["update:collapsed","update:open-keys","update:selected-keys","collapse","openKeys","select","menuHeaderClick","menuClick"],setup(e,{emit:t,attrs:n,slots:o}){const r=i.computed(()=>e.layout==="top"),a=i.computed(()=>e.layout==="mix"||e.layout==="side"||!1),l=i.computed(()=>e.layout==="mix"&&e.splitMenus),s=i.computed(()=>a.value&&l.value),c=i.computed(()=>e.collapsed?e.collapsedWidth:e.siderWidth),u=S=>{t("update:collapsed",S),t("collapse",S)},d=S=>{t("update:open-keys",S),t("openKeys",S)},f=S=>{t("update:selected-keys",S),t("select",S)},m=S=>{t("menuHeaderClick",S)},p=S=>{t("menuClick",S)},h=fi(),y=i.computed(()=>h.value==="sm"||h.value==="xs"),v="ant-pro-basicLayout",b=i.computed(()=>({[v]:!0,[`${v}-top-menu`]:r.value,[`${v}-is-children`]:e.isChildrenLayout,[`${v}-fix-siderbar`]:e.fixSiderbar,[`screen-${h.value}`]:!0,[`layout-${e.layout}`]:!0,[`theme-${e.theme}`]:!0,[`theme-menu-${e.menuTheme}`]:!0})),w=i.reactive({position:"relative"});i.watchEffect(()=>{(e.isChildrenLayout||e.contentStyle&&e.contentStyle.minHeight)&&(w.minHeight=0)});const $=(S,T)=>S.headerRender===!1||S.pure?null:i.createVNode(jb,i.mergeProps(S,{matchMenuKeys:T||[]}),null),x=i.computed(()=>({...e.breadcrumb,itemRender:ye(o,e,"breadcrumbRender")})),C=i.computed(()=>s.value&&e.selectedKeys&&mi(e.menuData,e.selectedKeys[0])||[]),O=i.reactive({...xo,...Kc(i.toRefs(e),["locale","menuData","openKeys","selectedKeys","fixSiderbar","fixedHeader","headerHeight"]),isMobile:y,siderWidth:c,breadcrumb:x,flatMenuData:C,hasSide:a,hasHeader:!0,flatMenu:s});return i.provide(bn,O),document.documentElement.setAttribute("data-theme",e.theme),()=>{var ne;const{pure:S,onCollapse:T,onOpenKeys:N,onSelect:M,onMenuClick:I,...H}=e,D=ye(o,e,"collapsedButtonRender"),W=ye(o,e,"headerContentRender"),P=ye(o,e,"headerContentRightRender"),R=ye(o,e,"headerRender"),B=ye(o,e,"footerRender"),V=ye(o,e,"tabRender"),U=ye(o,e,"menuHeaderRender"),G=ye(o,e,"menuHeaderExtraRender"),j=ye(o,e,"menuContentRender"),X=ye(o,e,"menuFooterRender"),J=ye(o,e,"menuItemRender"),le=ye(o,e,"menuSubItemRender"),oe=i.computed(()=>$({...e,menuItemRender:J,menuSubItemRender:le,hasSiderMenu:!r.value,menuData:e.menuData,isMobile:i.unref(y),onCollapse:u,onOpenKeys:d,onSelect:f,onMenuHeaderClick:m,headerContentRightRender:P,collapsedButtonRender:D,headerTitleRender:U,menuHeaderExtraRender:G,menuContentRender:j,headerContentRender:W,headerRender:R},e.matchMenuKeys));O.hasHeader=!!oe.value;const fe=i.computed(()=>({[`${v}-content`]:!0,[`${v}-has-header`]:oe,[`${v}-children-layout`]:e.isChildrenLayout})),A=i.computed(()=>{let Q="100%";return e.layout==="mix"&&l.value&&C.value.length===0?Q="100%":!r.value&&!y.value&&(Q=`calc(100% - ${c.value}px)`),Q}),k=i.computed(()=>e.tabRender===!1||!V?null:V({width:A.value,...e})),K=i.computed(()=>e.footerRender===!1||!B?null:B({width:A.value,...e}));return i.createVNode(i.Fragment,null,[S?(ne=o.default)==null?void 0:ne.call(o):i.createVNode("div",{class:b.value},[i.createVNode(se.Layout,{style:{minHeight:"100%",...n.style||{}}},{default:()=>[(!r.value||y.value)&&i.createVNode(ri,i.mergeProps(H,{isMobile:y.value,menuHeaderRender:U,menuHeaderExtraRender:G,menuContentRender:j,menuFooterRender:X,menuItemRender:J,menuSubItemRender:le,collapsedButtonRender:D,onCollapse:u,onSelect:f,onOpenKeys:d,onMenuClick:p}),null),i.createVNode(se.Layout,{style:w},{default:()=>[oe.value,k.value,i.createVNode(se.LayoutContent,{class:fe.value,style:e.contentStyle},{default:()=>{var Q;return[e.loading?i.createVNode(Rc,null,null):(Q=o.default)==null?void 0:Q.call(o)]}}),K.value]})]})])])}}}));L.BaseMenu=Po,L.GlobalFooter=qc,L.GlobalHeader=xn,L.MediaQueryEnum=zt,L.PageContainer=Vb,L.PrefersColorSchemeEnum=jt,L.ProLayout=Bc,L.clearMenuItem=wn,L.createContext=si,L.createRouteContext=ui,L.default=Bc,L.defaultRouteContext=xo,L.flatMap=kc,L.getMediaScreen=di,L.getMenuData=Uc,L.getMenuFirstChildren=mi,L.getPrefersColorScheme=pi,L.routeContextInjectKey=bn,L.useContext=ci,L.useMediaScreen=fi,L.usePrefersColorScheme=jc,L.useRouteContext=bt,L.viewTransitionTheme=Lc,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});