2026-02-01 21:53:26 +03:30
import { cQ as Te , C as f , b2 as Ct , aT as ae , a9 as de , k as m , d as Q , aB as p , bR as Ne , cR as ye , s as H , e as he , $ as X , bM as it , aI as B , bp as De , aU as at , co as xt , b0 as rt , aK as Ie , aQ as Ae , bu as Pe , b8 as Mt , aH as Se , r as j , T as wt , a5 as Kt , a6 as Ot , cS as Ve , a0 as ke , bw as ut , bl as Tt , cu as Pt , a_ as _t , a$ as We , ct as Ge , c0 as Bt , bK as Xe , b6 as kt , cT as Et , aD as Dt , o as At , bb as _e , J as be , cU as Rt } from "./CqMGdh3i.js" ; import { s as ve } from "./1med13IE.js" ; import { s as st , S as zt , c as Ht } from "./DLaLWwro.js" ; import { a as Ft } from "./Ck7xxMC2.js" ; import { O as fe } from "./hRWhkcZm.js" ; import { _ as jt , T as Lt } from "./DAm35wCk.js" ; import { g as Nt , c as Vt } from "./Dk3GGXWm.js" ; import { i as Ye } from "./CseG1518.js" ; function Wt (){} var Gt = 1 / 0 , Xt = Te && 1 / st ( new Te ([, - 0 ]))[ 1 ] == Gt ? function ( t ){ return new Te ( t )} : Wt , Yt = 200 ; function Ut ( t , n , e ){ var o =- 1 , l = Ft , u = t . length , d =! 0 , a = [], s = a ; if ( u >= Yt ){ var v = Xt ( t ); if ( v ) return st ( v ); d =! 1 , l = Ht , s = new zt } else s = a ; e : for (; ++ o < u ;){ var c = t [ o ], i = c ; if ( c = c !== 0 ? c : 0 , d && i === i ){ for ( var $ = s . length ; $ -- ;) if ( s [ $ ] === i ) continue e ; a . push ( c )} else l ( s , i , e ) || ( s !== a && s . push ( i ), a . push ( c ))} return a } function Be ( t ){ return t && t . length ? Ut ( t ) : []} var qt = { 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 Ue ( t ){ for ( var n = 1 ; n < arguments . length ; n ++ ){ var e = arguments [ n ] != null ? Object ( arguments [ n ]) : {}, o = Object . keys ( e ); typeof Object . getOwnPropertySymbols == "function" && ( o = o . concat ( Object . getOwnPropertySymbols ( e ). filter ( function ( l ){ return Object . getOwnPropertyDescriptor ( e , l ). enumerable }))), o . forEach ( function ( l ){ Qt ( t , l , e [ l ])})} return t } function Qt ( t , n , e ){ return n in t ? Object . defineProperty ( t , n ,{ value : e , enumerable :! 0 , configurable :! 0 , writable :! 0 }) : t [ n ] = e , t } var Re = function ( n , e ){ var o = Ue ({}, n , e . attrs ); return f ( Ct , Ue ({}, o ,{ icon : qt }), null )}; Re . displayName = "EllipsisOutlined" ; Re . inheritAttrs =! 1 ; const ct = Symbol ( "OverrideContextKey" ), dt = ()=> ae ( ct , void 0 ), On = t =>{ var n , e , o ; const { prefixCls : l , mode : u , selectable : d , validator : a , onClick : s , expandIcon : v } = dt () || {}; de ( ct ,{ prefixCls : m (()=>{ var c , i ; return ( i = ( c = t . prefixCls ) === null || c === void 0 ? void 0 : c . value ) !== null && i !== void 0 ? i : l ? . value }), mode : m (()=>{ var c , i ; return ( i = ( c = t . mode ) === null || c === void 0 ? void 0 : c . value ) !== null && i !== void 0 ? i : u ? . value }), selectable : m (()=>{ var c , i ; return ( i = ( c = t . selectable ) === null || c === void 0 ? void 0 : c . value ) !== null && i !== void 0 ? i : d ? . value }), validator : ( n = t . validator ) !== null && n !== void 0 ? n : a , onClick : ( e = t . onClick ) !== null && e !== void 0 ? e : s , expandIcon : ( o = t . expandIcon ) !== null && o !== void 0 ? o : v ? . value })}, mt = Symbol ( "menuContextKey" ), vt = t =>{ de ( mt , t )}, Z = ()=> ae ( mt ), ft = Symbol ( "ForceRenderKey" ), Zt = t =>{ de ( ft , t )}, pt = ()=> ae ( ft , ! 1 ), gt = Symbol ( "menuFirstLevelContextKey" ), bt = t =>{ de ( gt , t )}, Jt = ()=> ae ( gt , ! 0 ), Ce = Q ({ compatConfig : { MODE : 3 }, name : "MenuContextProvider" , inheritAttrs :! 1 , props : { mode : { type : String , default : void 0 }, overflowDisabled : { type : Boolean , default : void 0 }}, setup ( t , n ){ let { slots : e } = n ; const o = Z (), l = p ({}, o ); return t . mode !== void 0 && ( l . mode = Ne ( t , "mode" )), t . overflowDisabled !== void 0 && ( l . overflowDisabled = Ne ( t , "overflowDisabled" )), vt ( l ),()=>{ var u ; return ( u = e . default ) === null || u === void 0 ? void 0 : u . call ( e )}}}), en = Symbol ( "siderCollapsed" ), $e = "$$__vc-menu-more__key" , $t = Symbol ( "KeyPathContext" ), ze = ()=> ae ( $t ,{ parentEventKeys : m (()=>[]), parentKeys : m (()=>[]), parentInfo : {}}), tn = ( t , n , e )=>{ const { parentEventKeys : o , parentKeys : l } = ze (), u = m (()=>[... o . value , t ]), d = m (()=>[... l . value , n ]); return de ( $t ,{ parentEventKeys : u , parentKeys : d , parentInfo : e }), d }, yt = Symbol ( "measure" ), qe = Q ({ compatConfig : { MODE : 3 }, setup ( t , n ){ let { slots : e } = n ; return de ( yt , ! 0 ),()=>{ var o ; return ( o = e . default ) === null || o === void 0 ? void 0 : o . call ( e )}}}), He = ()=> ae ( yt , ! 1 ); function ht ( t ){ const { mode : n , rtl : e , inlineIndent : o } = Z (); return m (()=> n . value !== "inline" ? null : e . value ? { paddingRight : ` ${ t . value * o . value } px` } : { paddingLeft : ` ${ t . value * o . value } px` })} let nn = 0 ; const on = ()=>({ id : String , role : String , disabled : Boolean , danger : Boolean , title : { type : [ String , Boolean ], default : void 0 }, icon : Ie . any , onMouseenter : Function , onMouseleav
2026-01-27 16:02:45 +03:30
> $ { n } - item - active ,
> $ { n } - submenu $ { n } - submenu - title : hover `]:{backgroundColor:"transparent"},[` $ { n } - item , $ { n } - submenu - title `]:{transition:[` border - color $ { e } `,` background $ { e } `].join(",")},[` $ { n } - submenu - arrow `]:{display:"none"}}}},pn=t=>{let{componentCls:n,menuArrowOffset:e}=t;return{[` $ { n } - rtl `]:{direction:"rtl"},[` $ { n } - submenu - rtl `]:{transformOrigin:"100% 0"},[` $ { n } - rtl$ { n } - vertical ,
2026-02-01 17:38:39 +03:30
$ { n } - submenu - rtl $ { n } - vertical `]:{[` $ { n } - submenu - arrow `]:{"&::before":{transform:` rotate ( - 45 deg ) translateY ( - $ { e }) `},"&::after":{transform:` rotate ( 45 deg ) translateY ( $ { e }) `}}}}},Je=t=>p({},Tt(t)),et=(t,n)=>{const{componentCls:e,colorItemText:o,colorItemTextSelected:l,colorGroupTitle:u,colorItemBg:d,colorSubItemBg:a,colorItemBgSelected:s,colorActiveBarHeight:v,colorActiveBarWidth:c,colorActiveBarBorderSize:i,motionDurationSlow:$,motionEaseInOut:y,motionEaseOut:g,menuItemPaddingInline:x,motionDurationMid:M,colorItemTextHover:T,lineType:w,colorSplit:L,colorItemTextDisabled:U,colorDangerItemText:I,colorDangerItemTextHover:K,colorDangerItemTextSelected:R,colorDangerItemBgActive:A,colorDangerItemBgSelected:V,colorItemBgHover:O,menuSubMenuBg:W,colorItemTextSelectedHorizontal:G,colorItemBgSelectedHorizontal:Y}=t;return{[` $ { e } - $ { n } `]:{color:o,background:d,[` & $ { e } - root : focus - visible `]:p({},Je(t)),[` $ { e } - item - group - title `]:{color:u},[` $ { e } - submenu - selected `]:{[` > $ { e } - submenu - title `]:{color:l}},[` $ { e } - item - disabled , $ { e } - submenu - disabled `]:{color:` $ { U } ! important `},[` $ { e } - item : hover , $ { e } - submenu - title : hover `]:{[` &: not ( $ { e } - item - selected ) : not ( $ { e } - submenu - selected ) `]:{color:T}},[` &: not ( $ { e } - horizontal ) `]:{[` $ { e } - item : not ( $ { e } - item - selected ) `]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:s}},[` $ { e } - submenu - title `]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:s}}},[` $ { e } - item - danger `]:{color:I,[` & $ { e } - item : hover `]:{[` &: not ( $ { e } - item - selected ) : not ( $ { e } - submenu - selected ) `]:{color:K}},[` & $ { e } - item : active `]:{background:A}},[` $ { e } - item a `]:{"&, &:hover":{color:"inherit"}},[` $ { e } - item - selected `]:{color:l,[` & $ { e } - item - danger `]:{color:R},"a, a:hover":{color:"inherit"}},[` & $ { e } - item - selected `]:{backgroundColor:s,[` & $ { e } - item - danger `]:{backgroundColor:V}},[` $ { e } - item , $ { e } - submenu - title `]:{[` &: not ( $ { e } - item - disabled ) : focus - visible `]:p({},Je(t))},[` & $ { e } - submenu > $ { e } `]:{backgroundColor:W},[` & $ { e } - popup > $ { e } `]:{backgroundColor:d},[` & $ { e } - horizontal `]:p(p({},n==="dark"?{borderBottom:0}:{}),{[` > $ { e } - item , > $ { e } - submenu `]:{top:i,marginTop:-i,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:x,bottom:0,borderBottom:` $ { v } px solid transparent `,transition:` border - color $ { $ } $ { y } `,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:v,borderBottomColor:G}},"&-selected":{color:G,backgroundColor:Y,"&::after":{borderBottomWidth:v,borderBottomColor:G}}}}),[` & $ { e } - root `]:{[` & $ { e } - inline , & $ { e } - vertical `]:{borderInlineEnd:` $ { i } px $ { w } $ { L } `}},[` & $ { e } - inline `]:{[` $ { e } - sub$ { e } - inline `]:{background:a},[` $ { e } - item , $ { e } - submenu - title `]:i&&c?{width:` calc ( 100 % + $ { i } px ) `}:{},[` $ { e } - item `]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:` $ { c } px solid $ { l } `,transform:"scaleY(0.0001)",opacity:0,transition:[` transform $ { M } $ { g } `,` opacity $ { M } $ { g } `].join(","),content:'""'},[` & $ { e } - item - danger `]:{"&::after":{borderInlineEndColor:R}}},[` $ { e } - selected , $ { e } - item - selected `]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[` transform $ { M } $ { y } `,` opacity $ { M } $ { y } `].join(",")}}}}}},tt=t=>{const{componentCls:n,menuItemHeight:e,itemMarginInline:o,padding:l,menuArrowSize:u,marginXS:d,marginXXS:a}=t,s=l+u+d;return{[` $ { n } - item `]:{position:"relative"},[` $ { n } - item , $ { n } - submenu - title `]:{height:e,lineHeight:` $ { e } px `,paddingInline:l,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:a,width:` calc ( 100 % - $ { o * 2 } px ) `},[` $ { n } - submenu `]:{paddingBottom:.02},[` > $ { n } - item ,
2026-01-27 16:02:45 +03:30
> $ { n } - submenu > $ { n } - submenu - title `]:{height:e,lineHeight:` $ { e } px `},[` $ { n } - item - group - list $ { n } - submenu - title ,
$ { n } - submenu - title `]:{paddingInlineEnd:s}}},gn=t=>{const{componentCls:n,iconCls:e,menuItemHeight:o,colorTextLightSolid:l,dropdownWidth:u,controlHeightLG:d,motionDurationMid:a,motionEaseOut:s,paddingXL:v,fontSizeSM:c,fontSizeLG:i,motionDurationSlow:$,paddingXS:y,boxShadowSecondary:g}=t,x={height:o,lineHeight:` $ { o } px `,listStylePosition:"inside",listStyleType:"disc"};return[{[n]:{"&-inline, &-vertical":p({[` & $ { n } - root `]:{boxShadow:"none"}},tt(t))},[` $ { n } - submenu - popup `]:{[` $ { n } - vertical `]:p(p({},tt(t)),{boxShadow:g})}},{[` $ { n } - submenu - popup $ { n } - vertical$ { n } - sub `]:{minWidth:u,maxHeight:` calc ( 100 vh - $ { d * 2.5 } px ) `,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[` $ { n } - inline `]:{width:"100%",[` & $ { n } - root `]:{[` $ { n } - item , $ { n } - submenu - title `]:{display:"flex",alignItems:"center",transition:[` border - color $ { $ } `,` background $ { $ } `,` padding $ { a } $ { s } `].join(","),[` > $ { n } - title - content `]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[` $ { n } - sub$ { n } - inline `]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[` & > $ { n } - submenu > $ { n } - submenu - title `]:x,[` & $ { n } - item - group - title `]:{paddingInlineStart:v}},[` $ { n } - item `]:x}},{[` $ { n } - inline - collapsed `]:{width:o*2,[` & $ { n } - root `]:{[` $ { n } - item , $ { n } - submenu $ { n } - submenu - title `]:{[` > $ { n } - inline - collapsed - noicon `]:{fontSize:i,textAlign:"center"}}},[` > $ { n } - item ,
> $ { n } - item - group > $ { n } - item - group - list > $ { n } - item ,
> $ { n } - item - group > $ { n } - item - group - list > $ { n } - submenu > $ { n } - submenu - title ,
> $ { n } - submenu > $ { n } - submenu - title `]:{insetInlineStart:0,paddingInline:` calc ( 50 % - $ { c } px ) `,textOverflow:"clip",[`
$ { n } - submenu - arrow ,
$ { n } - submenu - expand - icon
2026-02-01 17:38:39 +03:30
`]:{opacity:0},[` $ { n } - item - icon , $ { e } `]:{margin:0,fontSize:i,lineHeight:` $ { o } px `,"+ span":{display:"inline-block",opacity:0}}},[` $ { n } - item - icon , $ { e } `]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[` $ { n } - item - icon , $ { e } `]:{display:"none"},"a, a:hover":{color:l}},[` $ { n } - item - group - title `]:p(p({},Pt),{paddingInline:y})}}]},nt=t=>{const{componentCls:n,fontSize:e,motionDurationSlow:o,motionDurationMid:l,motionEaseInOut:u,motionEaseOut:d,iconCls:a,controlHeightSM:s}=t;return{[` $ { n } - item , $ { n } - submenu - title `]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[` border - color $ { o } `,` background $ { o } `,` padding $ { o } $ { u } `].join(","),[` $ { n } - item - icon , $ { a } `]:{minWidth:e,fontSize:e,transition:[` font - size $ { l } $ { d } `,` margin $ { o } $ { u } `,` color $ { o } `].join(","),"+ span":{marginInlineStart:s-e,opacity:1,transition:[` opacity $ { o } $ { u } `,` margin $ { o } `,` color $ { o } `].join(",")}},[` $ { n } - item - icon `]:p({},Et()),[` & $ { n } - item - only - child `]:{[` > $ { a }, > $ { n } - item - icon `]:{marginInlineEnd:0}}},[` $ { n } - item - disabled , $ { n } - submenu - disabled `]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[` > $ { n } - submenu - title `]:{color:"inherit !important",cursor:"not-allowed"}}}},ot=t=>{const{componentCls:n,motionDurationSlow:e,motionEaseInOut:o,borderRadius:l,menuArrowSize:u,menuArrowOffset:d}=t;return{[` $ { n } - submenu `]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:t.margin,width:u,color:"currentcolor",transform:"translateY(-50%)",transition:` transform $ { e } $ { o }, opacity $ { e } `},"&-arrow":{"&::before, &::after":{position:"absolute",width:u*.6,height:u*.15,backgroundColor:"currentcolor",borderRadius:l,transition:[` background $ { e } $ { o } `,` transform $ { e } $ { o } `,` top $ { e } $ { o } `,` color $ { e } $ { o } `].join(","),content:'""'},"&::before":{transform:` rotate ( 45 deg ) translateY ( - $ { d }) `},"&::after":{transform:` rotate ( - 45 deg ) translateY ( $ { d }) `}}}}},bn=t=>{const{antCls:n,componentCls:e,fontSize:o,motionDurationSlow:l,motionDurationMid:u,motionEaseInOut:d,lineHeight:a,paddingXS:s,padding:v,colorSplit:c,lineWidth:i,zIndexPopup:$,borderRadiusLG:y,radiusSubMenuItem:g,menuArrowSize:x,menuArrowOffset:M,lineType:T,menuPanelMaskInset:w}=t;return[{"":{[` $ { e } `]:p(p({},Xe()),{"&-hidden":{display:"none"}})},[` $ { e } - submenu - hidden `]:{display:"none"}},{[e]:p(p(p(p(p(p(p({},kt(t)),Xe()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:` width $ { l } cubic - bezier ( 0.2 , 0 , 0 , 1 ) 0 s `,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[` $ { e } - item `]:{flex:"none"}},[` $ { e } - item , $ { e } - submenu , $ { e } - submenu - title `]:{borderRadius:t.radiusItem},[` $ { e } - item - group - title `]:{padding:` $ { s } px $ { v } px `,fontSize:o,lineHeight:a,transition:` all $ { l } `},[` &- horizontal $ { e } - submenu `]:{transition:[` border - color $ { l } $ { d } `,` background $ { l } $ { d } `].join(",")},[` $ { e } - submenu , $ { e } - submenu - inline `]:{transition:[` border - color $ { l } $ { d } `,` background $ { l } $ { d } `,` padding $ { u } $ { d } `].join(",")},[` $ { e } - submenu $ { e } - sub `]:{cursor:"initial",transition:[` background $ { l } $ { d } `,` padding $ { l } $ { d } `].join(",")},[` $ { e } - title - content `]:{transition:` color $ { l } `},[` $ { e } - item a `]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[` $ { e } - item - divider `]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:T,borderWidth:0,borderTopWidth:i,marginBlock:i,padding:0,"&-dashed":{borderStyle:"dashed"}}}),nt(t)),{[` $ { e } - item - group `]:{[` $ { e } - item - group - list `]:{margin:0,padding:0,[` $ { e } - item , $ { e } - submenu - title `]:{paddingInline:` $ { o * 2 } px $ { v } px `}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$,background:"transparent",borderRadius:y,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},[` > $ { e } `]:p(p(p({borderRadius:y},nt(t)),ot(t)),{[` $ { e } - item , $ { e } - submenu > $ { e } - submenu - title `]:{borderRadius:g},[` $ { e } - submenu - t
&- inline $ { e } - submenu - arrow `]:{"&::before":{transform:` rotate ( - 45 deg ) translateX ( $ { M }) `},"&::after":{transform:` rotate ( 45 deg ) translateX ( - $ { M }) `}},[` $ { e } - submenu - open$ { e } - submenu - inline > $ { e } - submenu - title > $ { e } - submenu - arrow `]:{transform:` translateY ( - $ { x * . 2 } px ) `,"&::after":{transform:` rotate ( - 45 deg ) translateX ( - $ { M }) `},"&::before":{transform:` rotate ( 45 deg ) translateX ( $ { M }) `}}})},{[` $ { n } - layout - header `]:{[e]:{lineHeight:"inherit"}}}]},$n=((t,n)=>_t("Menu",(o,l)=>{let{overrideComponentToken:u}=l;if(n?.value===!1)return[];const{colorBgElevated:d,colorPrimary:a,colorError:s,colorErrorHover:v,colorTextLightSolid:c}=o,{controlHeightLG:i,fontSize:$}=o,y=$/7*5,g=We(o,{menuItemHeight:i,menuItemPaddingInline:o.margin,menuArrowSize:y,menuHorizontalHeight:i*1.15,menuArrowOffset:` $ { y * . 25 } px `,menuPanelMaskInset:-7,menuSubMenuBg:d}),x=new Ge(c).setAlpha(.65).toRgbString(),M=We(g,{colorItemText:x,colorItemTextHover:c,colorGroupTitle:x,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:a,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Ge(c).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:v,colorDangerItemTextSelected:c,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:a},p({},u));return[bn(g),fn(g),gn(g),et(g,"light"),et(M,"dark"),pn(g),Nt(g),Ye(g,"slide-up"),Ye(g,"slide-down"),Bt(g,"zoom-big")]},o=>{const{colorPrimary:l,colorError:u,colorTextDisabled:d,colorErrorBg:a,colorText:s,colorTextDescription:v,colorBgContainer:c,colorFillAlter:i,colorFillContent:$,lineWidth:y,lineWidthBold:g,controlItemBgActive:x,colorBgTextHover:M}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:l,colorGroupTitle:v,colorItemTextSelected:l,colorItemTextSelectedHorizontal:l,colorItemBg:c,colorItemBgHover:M,colorItemBgActive:$,colorSubItemBg:i,colorItemBgSelected:x,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:g,colorActiveBarBorderSize:y,colorItemTextDisabled:d,colorDangerItemText:u,colorDangerItemTextHover:u,colorDangerItemTextSelected:u,colorDangerItemBgActive:a,colorDangerItemBgSelected:a,itemMarginInline:o.marginXXS}})(t)),yn=()=>({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}),lt=[],ie=Q({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:yn(),slots:Object,setup(t,n){let{slots:e,emit:o,attrs:l}=n;const{direction:u,getPrefixCls:d}=Dt("menu",t),a=dt(),s=m(()=>{var r;return d("menu",t.prefixCls||((r=a?.prefixCls)===null||r===void 0?void 0:r.value))}),[v,c]=$n(s,m(()=>!a)),i=H(new Map),$=ae(en,j(void 0)),y=m(()=>$.value!==void 0?$.value:t.inlineCollapsed),{itemsNodes:g}=vn(t),x=H(!1);At(()=>{x.value=!0}),_e(()=>{ye(!(t.inlineCollapsed===!0&&t.mode!=="inline"),"Menu","` inlineCollapsed ` should only be used when ` mode ` is inline."),ye(!($.value!==void 0&&t.inlineCollapsed===!0),"Menu","` inlineCollapsed ` not control Menu under Sider. Should set ` collapsed ` on Sider instead.")});const M=j([]),T=j([]),w=j({});X(i,()=>{const r=