(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,827934,e=>{"use strict";var t=e.i(714304);let n={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"};var r=e.i(707929);function a(){return(a=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.f,a({},e,{ref:i,icon:n})));e.s(["f",0,i],827934)},951263,e=>{"use strict";var t=e.i(714304);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var r=e.i(707929);function a(){return(a=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.f,a({},e,{ref:i,icon:n})));e.s(["f",0,i],951263)},612388,420338,824541,446963,12921,792157,859136,534682,e=>{"use strict";var t=e.i(7284),n=e.i(443577);e.i(48813);var r=e.i(90862),a=e.i(282411),i=e.i(767637),o=e.i(714304),l=e.i(867018);let s=o.createContext(null);function d(e){var t;return t=o.useContext(s),`${t}-${e}`}var c=e.i(756887);e.s(["f",()=>c.f],420338);var c=c;let u=o.createContext(null);function f({children:e,locked:t,...n}){let r=o.useContext(u),a=(0,c.f)(()=>{let e;return e={...r},Object.keys(n).forEach(t=>{let r=n[t];void 0!==r&&(e[t]=r)}),e},[r,n],(e,n)=>!t&&(e[0]!==n[0]||!(0,i.f)(e[1],n[1],!0)));return o.createElement(u.Provider,{value:a},e)}let p=o.createContext(null);function m(){return o.useContext(p)}let b=o.createContext([]);function v(e){let t=o.useContext(b);return o.useMemo(()=>void 0!==e?[...t,e]:t,[t,e])}let h=o.createContext(null);e.s(["T",0,p,"q",0,b,"h",0,h,"f",0,v,"o",0,m],824541);let $=o.createContext({});var g=e.i(299524),y=e.i(215285),S=e.i(308376);let{LEFT:w,RIGHT:E,UP:k,DOWN:x,ENTER:R,ESC:C,HOME:_,END:M}=g.f,I=[k,x,w,E];function N(e,t){return(0,y.K)(e,!0).filter(e=>t.has(e))}function L(e,t,n,r=1){if(!e)return null;let a=N(e,t),i=a.length,o=a.findIndex(e=>n===e);return r<0?-1===o?o=i-1:o-=1:r>0&&(o+=1),a[o=(o+i)%i]}let P=(e,t)=>{let n=new Set,r=new Map,a=new Map;return e.forEach(e=>{let i=document.querySelector(`[data-menu-id='${t}-${e}']`);i&&(n.add(i),a.set(i,e),r.set(e,i))}),{elements:n,key2element:r,element2key:a}},z="__RC_UTIL_PATH_SPLIT__",T="rc-menu-more";function q(e){let t=o.useRef(e);t.current=e;let n=o.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function O(e,t){let n=Object.assign({},e);return Array.isArray(t)&&t.forEach(e=>{delete n[e]}),n}e.s(["f",0,O],446963);var D=e.i(741731),B=e.i(300976),A=o;function H(e,t,n,r){let{activeKey:a,onActive:i,onInactive:l}=o.useContext(u),s={active:a===e};return t||(s.onMouseEnter=t=>{n?.({key:e,domEvent:t}),i(e)},s.onMouseLeave=t=>{r?.({key:e,domEvent:t}),l(e)}),s}function G(e){let{mode:t,rtl:n,inlineIndent:r}=o.useContext(u);return"inline"!==t?null:n?{paddingRight:e*r}:{paddingLeft:e*r}}function W({icon:e,props:t,children:n}){let r;return null===e||!1===e?null:("function"==typeof e?r=o.createElement(e,{...t}):"boolean"!=typeof e&&(r=e),r||n||null)}function j({item:e,...t}){return Object.defineProperty(t,"item",{get:()=>((0,D.f)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}function X(){return(X=Object.assign.bind()).apply(this,arguments)}class K extends A.Component{render(){let{title:e,attribute:t,elementRef:r,...a}=this.props,i=O(a,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,D.f)(!t,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),A.createElement(n.f.Item,X({},t,{title:"string"==typeof e?e:void 0},i,{ref:r}))}}let V=A.forwardRef((e,n)=>{let{style:r,className:a,eventKey:i,warnKey:o,disabled:l,itemIcon:s,children:c,itemData:f,role:p,onMouseEnter:m,onMouseLeave:b,onClick:h,onKeyDown:y,onFocus:S,...w}=e,E=d(i),{prefixCls:k,onItemClick:x,disabled:R,overflowDisabled:C,itemIcon:_,selectedKeys:M,onActive:I}=A.useContext(u),{_internalRenderMenuItem:N}=A.useContext($),L=`${k}-item`,P=A.useRef(null),z=A.useRef(null),T=R||l,q=(0,B.Y)(n,z),D=v(i),V=t=>{let n=f||{key:i||"",label:c,itemIcon:s,extra:e.extra,title:e.title};return{key:i,keyPath:[...D].reverse(),item:P.current,domEvent:t,itemData:f||n}},{active:F,...Y}=H(i,T,m,b),U=M.includes(i),Q=G(D.length),Z={};"option"===e.role&&(Z["aria-selected"]=U);let J=A.createElement(K,X({ref:P,elementRef:q,role:null===p?"none":p||"menuitem",tabIndex:l?null:-1,"data-menu-id":C&&E?null:E},O(w,["extra"]),Y,Z,{component:"li","aria-disabled":l,style:{...Q,...r},className:(0,t.q)(L,{[`${L}-active`]:F,[`${L}-selected`]:U,[`${L}-disabled`]:T},a),onClick:e=>{if(T)return;let t=V(e);h?.(j(t)),x(t)},onKeyDown:e=>{if(y?.(e),e.which===g.f.ENTER){let t=V(e);h?.(j(t)),x(t)}},onFocus:e=>{I(i),S?.(e)}}),c,A.createElement(W,{props:{...e,isSelected:U},icon:s||_}));return N&&(J=N(J,e,{selected:U})),J}),F=A.forwardRef(function(e,t){let{eventKey:n}=e,r=m(),a=v(n);return(A.useEffect(()=>{if(r)return r.registerPath(n,a),()=>{r.unregisterPath(n,a)}},[a]),r)?null:A.createElement(V,X({},e,{ref:t}))});function Y(){return(Y=Object.assign.bind()).apply(this,arguments)}e.s(["f",0,F],12921);let U=o.forwardRef(({className:e,children:n,...r},a)=>{let{prefixCls:i,mode:l,rtl:s}=o.useContext(u);return o.createElement("ul",Y({className:(0,t.q)(i,s&&`${i}-rtl`,`${i}-sub`,`${i}-${"inline"===l?"inline":"vertical"}`,e),role:"menu"},r,{"data-menu-list":!0,ref:a}),n)});var Q=e.i(69864);function Z(e,t){return(0,Q.f)(e).map((e,n)=>{if(o.isValidElement(e)){let{key:r}=e,a=e.props?.eventKey??r;null==a&&(a=`tmp_key-${[...t,n].join("-")}`);let i={key:a,eventKey:a};return o.cloneElement(e,i)}return e})}var J=e.i(261397);let ee={adjustX:1,adjustY:1},et={topLeft:{points:["bl","tl"],overflow:ee},topRight:{points:["br","tr"],overflow:ee},bottomLeft:{points:["tl","bl"],overflow:ee},bottomRight:{points:["tr","br"],overflow:ee},leftTop:{points:["tr","tl"],overflow:ee},leftBottom:{points:["br","bl"],overflow:ee},rightTop:{points:["tl","tr"],overflow:ee},rightBottom:{points:["bl","br"],overflow:ee}},en={topLeft:{points:["bl","tl"],overflow:ee},topRight:{points:["br","tr"],overflow:ee},bottomLeft:{points:["tl","bl"],overflow:ee},bottomRight:{points:["tr","br"],overflow:ee},rightTop:{points:["tr","tl"],overflow:ee},rightBottom:{points:["br","bl"],overflow:ee},leftTop:{points:["tl","tr"],overflow:ee},leftBottom:{points:["bl","br"],overflow:ee}};function er(e,t,n){return t||(n?n[e]||n.other:void 0)}let ea={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function ei({prefixCls:e,visible:n,children:r,popup:a,popupStyle:i,popupClassName:l,popupOffset:s,disabled:d,mode:c,onVisibleChange:f}){let{getPopupContainer:p,rtl:m,subMenuOpenDelay:b,subMenuCloseDelay:v,builtinPlacements:h,triggerSubMenuAction:$,forceSubMenuRender:g,rootClassName:y,motion:w,defaultMotions:E}=o.useContext(u),[k,x]=o.useState(!1),R=m?{...en,...h}:{...et,...h},C=ea[c],_=er(c,w,E),M=o.useRef(_);"inline"!==c&&(M.current=_);let I={...M.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},N=o.useRef(void 0);return o.useEffect(()=>(N.current=(0,S.f)(()=>{x(n)}),()=>{S.f.cancel(N.current)}),[n]),o.createElement(J.f,{prefixCls:e,popupClassName:(0,t.q)(`${e}-popup`,{[`${e}-rtl`]:m},l,y),stretch:"horizontal"===c?"minWidth":null,getPopupContainer:p,builtinPlacements:R,popupPlacement:C,popupVisible:k,popup:a,popupStyle:i,popupAlign:s&&{offset:s},action:d?[]:[$],mouseEnterDelay:b,mouseLeaveDelay:v,onPopupVisibleChange:f,forceRender:g,popupMotion:I,fresh:!0},r)}var eo=e.i(251843);function el(){return(el=Object.assign.bind()).apply(this,arguments)}function es({id:e,open:t,keyPath:n,children:r}){let a="inline",{prefixCls:i,forceSubMenuRender:l,motion:s,defaultMotions:d,mode:c}=o.useContext(u),p=o.useRef(!1);p.current=c===a;let[m,b]=o.useState(!p.current),v=!!p.current&&t;o.useEffect(()=>{p.current&&b(!1)},[c]);let h={...er(a,s,d)};n.length>1&&(h.motionAppear=!1);let $=h.onVisibleChanged;return(h.onVisibleChanged=e=>(p.current||e||b(!0),$?.(e)),m)?null:o.createElement(f,{mode:a,locked:!p.current},o.createElement(eo.f,el({visible:v},h,{forceRender:l,removeOnLeave:!1,leavedClassName:`${i}-hidden`}),({className:t,style:n})=>o.createElement(U,{id:e,className:t,style:n},r)))}function ed(){return(ed=Object.assign.bind()).apply(this,arguments)}let ec=o.forwardRef((e,r)=>{let{style:a,className:i,styles:l,classNames:s,title:c,itemTitle:p,eventKey:m,warnKey:b,disabled:g,internalPopupClose:y,children:S,itemIcon:w,expandIcon:E,popupClassName:k,popupOffset:x,popupStyle:R,onClick:C,onMouseEnter:_,onMouseLeave:M,onTitleClick:I,onTitleMouseEnter:N,onTitleMouseLeave:L,popupRender:P,...z}=e,T=d(m),{prefixCls:O,mode:D,openKeys:B,disabled:A,overflowDisabled:X,activeKey:K,selectedKeys:V,itemIcon:F,expandIcon:Y,onItemClick:Q,onOpenChange:Z,onActive:J,popupRender:ee}=o.useContext(u),{_internalRenderSubMenuItem:et}=o.useContext($),{isSubPathKey:en}=o.useContext(h),er=v(),ea=`${O}-submenu`,eo=A||g,el=o.useRef(null),ec=o.useRef(null),eu=E??Y,ef=B.includes(m),ep=!X&&ef,em=en(V,m),{active:eb,...ev}=H(m,eo,N,L),[eh,e$]=o.useState(!1),eg=e=>{eo||e$(e)},ey=o.useMemo(()=>eb||"inline"!==D&&(eh||en([K],m)),[D,eb,K,eh,m,en]),eS=G(er.length),ew=q(e=>{C?.(j(e)),Q(e)}),eE=T&&`${T}-popup`,ek=o.useMemo(()=>o.createElement(W,{icon:"horizontal"!==D?eu:void 0,props:{...e,isOpen:ep,isSubMenu:!0}},o.createElement("i",{className:`${ea}-arrow`})),[D,eu,e,ep,ea]),ex=o.createElement("div",ed({role:"menuitem",style:{...eS,...l?.subItemTitle},className:(0,t.q)(`${ea}-title`,s?.subItemTitle),tabIndex:eo?null:-1,ref:el,title:p??("string"==typeof c?c:null),"data-menu-id":X&&T?null:T,"aria-expanded":ep,"aria-haspopup":!0,"aria-controls":eE,"aria-disabled":eo,onClick:e=>{eo||(I?.({key:m,domEvent:e}),"inline"===D&&Z(m,!ef))},onFocus:()=>{J(m)}},ev),c,ek),eR=o.useRef(D);"inline"!==D&&er.length>1?eR.current="vertical":eR.current=D;let eC=eR.current,e_=o.useMemo(()=>{let t=o.createElement(f,{classNames:s,styles:l,mode:"horizontal"===eC?"vertical":eC},o.createElement(U,{id:eE,ref:ec},S)),n=P||ee;return n?n(t,{item:e,keys:er}):t},[P,ee,er,eE,S,e,eC]);if(!X){let e=eR.current;ex=o.createElement(ei,{mode:e,prefixCls:ea,visible:!y&&ep&&"inline"!==D,popupClassName:k,popupOffset:x,popupStyle:R,popup:e_,disabled:eo,onVisibleChange:e=>{"inline"!==D&&Z(m,e)}},ex)}let eM=o.createElement(n.f.Item,ed({ref:r,role:"none"},z,{component:"li",style:{...l?.subItem,...a},className:(0,t.q)(ea,`${ea}-${D}`,s?.subItem,i,{[`${ea}-open`]:ep,[`${ea}-active`]:ey,[`${ea}-selected`]:em,[`${ea}-disabled`]:eo}),onMouseEnter:e=>{eg(!0),_?.({key:m,domEvent:e})},onMouseLeave:e=>{eg(!1),M?.({key:m,domEvent:e})}}),ex,!X&&o.createElement(es,{id:eE,open:ep,keyPath:er},S));return et&&(eM=et(eM,e,{selected:em,active:ey,open:ep,disabled:eo})),o.createElement(f,{classNames:s,styles:l,onItemClick:ew,mode:"horizontal"===D?"vertical":D,itemIcon:w??F,expandIcon:eu},eM)}),eu=o.forwardRef((e,t)=>{let n,{eventKey:r,children:a}=e,i=v(r),l=Z(a,i),s=m();return o.useEffect(()=>{if(s)return s.registerPath(r,i),()=>{s.unregisterPath(r,i)}},[i]),n=s?l:o.createElement(ec,ed({ref:t},e),l),o.createElement(b.Provider,{value:i},n)});e.s(["f",0,eu],792157);var ef=e.i(863680);function ep({className:e,style:n}){let{prefixCls:r}=o.useContext(u);return m()?null:o.createElement("li",{role:"separator",className:(0,t.q)(`${r}-item-divider`,e),style:n})}function em(){return(em=Object.assign.bind()).apply(this,arguments)}e.s(["f",0,ep],859136);let eb=o.forwardRef((e,n)=>{let{className:r,title:a,eventKey:i,children:l,...s}=e,{prefixCls:d,classNames:c,styles:f}=o.useContext(u),p=`${d}-item-group`;return o.createElement("li",em({ref:n,role:"presentation"},s,{onClick:e=>e.stopPropagation(),className:(0,t.q)(p,r)}),o.createElement("div",{role:"presentation",className:(0,t.q)(`${p}-title`,c?.listTitle),style:f?.listTitle,title:"string"==typeof a?a:void 0},a),o.createElement("ul",{role:"group",className:(0,t.q)(`${p}-list`,c?.list),style:f?.list},l))}),ev=o.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,a=Z(r,v(n));return m()?a:o.createElement(eb,em({ref:t},O(e,["warnKey"])),a)});function eh(){return(eh=Object.assign.bind()).apply(this,arguments)}function e$(e,t,n,r,a){let i=e,l={divider:ep,item:F,group:ev,submenu:eu,...r};return t&&(i=function e(t,n,r){let{item:a,group:i,submenu:l,divider:s}=n;return(t||[]).map((t,d)=>{if(t&&"object"==typeof t){let{label:c,children:u,key:f,type:p,extra:m,...b}=t,v=f??`tmp-${d}`;if(u||"group"===p){if("group"===p)return o.createElement(i,eh({key:v},b,{title:c}),e(u,n,r));let{title:t,...a}=b;return o.createElement(l,eh({key:v},a,{title:c,itemTitle:"string"==typeof t?t:void 0}),e(u,n,r))}if("divider"===p)return o.createElement(s,eh({key:v},b));let h=(0,ef.q)(m);return o.createElement(a,eh({key:v},b,{extra:m,itemData:{...t,key:v}}),h?o.createElement(o.Fragment,null,o.createElement("span",{className:`${r}-item-label`},c),o.createElement("span",{className:`${r}-item-extra`},m)):c)}return null}).filter(e=>e)}(t,l,a)),Z(i,n)}function eg(){return(eg=Object.assign.bind()).apply(this,arguments)}e.s(["f",0,ev],534682);let ey=[],eS=o.forwardRef((e,d)=>{var c;let u,m,b,{prefixCls:v="rc-menu",rootClassName:g,style:y,className:O,styles:D,classNames:B,tabIndex:A=0,items:H,children:G,direction:W,id:X,mode:K="vertical",inlineCollapsed:V,disabled:Y,disabledOverflow:U,subMenuOpenDelay:Q=.1,subMenuCloseDelay:Z=.1,forceSubMenuRender:J,defaultOpenKeys:ee,openKeys:et,activeKey:en,defaultActiveFirst:er,selectable:ea=!0,multiple:ei=!1,defaultSelectedKeys:eo,selectedKeys:el,onSelect:es,onDeselect:ed,inlineIndent:ec=24,motion:ef,defaultMotions:ep,triggerSubMenuAction:em="hover",builtinPlacements:eb,itemIcon:ev,expandIcon:eh,overflowedIndicator:eS="...",overflowedIndicatorPopupClassName:ew,getPopupContainer:eE,onClick:ek,onOpenChange:ex,onKeyDown:eR,openAnimation:eC,openTransitionName:e_,_internalRenderMenuItem:eM,_internalRenderSubMenuItem:eI,_internalComponents:eN,popupRender:eL,...eP}=e,[ez,eT]=o.useMemo(()=>[e$(G,H,ey,eN,v),e$(G,H,ey,{},v)],[G,H,eN]),[eq,eO]=o.useState(!1),eD=o.useRef(null),eB=(0,a.f)(),eA=X??`rc-menu-uuid-${eB}`,eH="rtl"===W,[eG,eW]=(0,r.f)(ee,et),ej=eG||ey,eX=(e,t=!1)=>{function n(){eW(e),ex?.(e)}t?(0,l.flushSync)(n):n()},[eK,eV]=o.useState(ej),eF=o.useRef(!1),[eY,eU]=o.useMemo(()=>("inline"===K||"vertical"===K)&&V?["vertical",V]:[K,!1],[K,V]),eQ="inline"===eY,[eZ,eJ]=o.useState(eY),[e0,e1]=o.useState(eU);o.useEffect(()=>{eJ(eY),e1(eU),eF.current&&(eQ?eW(eK):eX(ey))},[eY,eU]);let[e8,e2]=o.useState(0),e4=e8>=ez.length-1||"horizontal"!==eZ||U;o.useEffect(()=>{eQ&&eV(ej)},[ej]),o.useEffect(()=>(eF.current=!0,()=>{eF.current=!1}),[]);let{registerPath:e3,unregisterPath:e7,refreshOverflowKeys:e6,isSubPathKey:e9,getKeyPath:e5,getKeys:te,getSubPathKeys:tt}=function(){let[e,t]=o.useState({}),n=(0,o.useRef)(new Map),r=(0,o.useRef)(new Map),[a,i]=o.useState([]),l=(0,o.useRef)(0),s=(0,o.useRef)(!1),d=(0,o.useCallback)((e,a)=>{let i=a.join(z);r.current.set(i,e),n.current.set(e,i),l.current+=1;let o=l.current;Promise.resolve().then(()=>{o===l.current&&(s.current||t({}))})},[]),c=(0,o.useCallback)((e,t)=>{let a=t.join(z);r.current.delete(a),n.current.delete(e)},[]),u=(0,o.useCallback)(e=>{i(e)},[]),f=(0,o.useCallback)((e,t)=>{let r=(n.current.get(e)||"").split(z);return t&&a.includes(r[0])&&r.unshift(T),r},[a]),p=(0,o.useCallback)((e,t)=>e.filter(e=>void 0!==e).some(e=>f(e,!0).includes(t)),[f,e]),m=(0,o.useCallback)(e=>{let t=`${n.current.get(e)}${z}`,a=new Set;return[...r.current.keys()].forEach(e=>{e.startsWith(t)&&a.add(r.current.get(e))}),a},[]);return o.useEffect(()=>(s.current=!1,()=>{s.current=!0}),[]),{registerPath:d,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:p,getKeyPath:f,getKeys:()=>{let e=[...n.current.keys()];return a.length&&e.push(T),e},getSubPathKeys:m}}(),tn=o.useMemo(()=>({registerPath:e3,unregisterPath:e7}),[e3,e7]),tr=o.useMemo(()=>({isSubPathKey:e9}),[e9]);o.useEffect(()=>{e6(e4?ey:ez.slice(e8+1).map(e=>e.key))},[e8,e4]);let[ta,ti]=(0,r.f)(en||er&&ez[0]?.key,en),to=q(e=>{ti(e)}),tl=q(()=>{ti(void 0)});(0,o.useImperativeHandle)(d,()=>({list:eD.current,focus:e=>{let t,n=te(),{elements:r,key2element:a,element2key:i}=P(n,eA),o=N(eD.current,r);t=ta&&n.includes(ta)?ta:o[0]?i.get(o[0]):ez.find(e=>!e.props.disabled)?.key;let l=a.get(t);t&&l&&l?.focus?.(e)},findItem:({key:e})=>{let{key2element:t}=P(te(),eA);return t.get(e)||null}}));let[ts,td]=(0,r.f)(eo||[],el),tc=o.useMemo(()=>Array.isArray(ts)?ts:null==ts?ey:[ts],[ts]),tu=q(e=>{ek?.(j(e)),(e=>{if(ea){let t,{key:n}=e,r=tc.includes(n);td(t=ei?r?tc.filter(e=>e!==n):[...tc,n]:[n]);let a={...e,selectedKeys:t};r?ed?.(a):es?.(a)}!ei&&ej.length&&"inline"!==eZ&&eX(ey)})(e)}),tf=q((e,t)=>{let n=ej.filter(t=>t!==e);if(t)n.push(e);else if("inline"!==eZ){let t=tt(e);n=n.filter(e=>!t.has(e))}(0,i.f)(ej,n,!0)||eX(n,!0)}),tp=(c=(e,t)=>{let n=t??!ej.includes(e);tf(e,n)},u=o.useRef(void 0),(m=o.useRef(void 0)).current=ta,b=()=>{S.f.cancel(u.current)},o.useEffect(()=>()=>{b()},[]),e=>{let{which:t}=e;if([...I,R,C,_,M].includes(t)){let n=te(),r=P(n,eA),{elements:a,key2element:i,element2key:o}=r,l=function(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}(i.get(ta),a),s=o.get(l),d=function(e,t,n,r){let a="prev",i="next",o="children",l="parent";if("inline"===e&&r===R)return{inlineTrigger:!0};let s={[k]:a,[x]:i},d={[k]:a,[x]:i,[R]:o,[C]:l,[w]:n?o:l,[E]:n?l:o};switch(({inline:s,horizontal:{[w]:n?i:a,[E]:n?a:i,[x]:o,[R]:o},vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d})[`${e}${t?"":"Sub"}`]?.[r]){case a:return{offset:-1,sibling:!0};case i:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case o:return{offset:1,sibling:!1};default:return null}}(eZ,1===e5(s,!0).length,eH,t);if(!d&&t!==_&&t!==M)return;(I.includes(t)||[_,M].includes(t))&&e.preventDefault();let f=e=>{if(e){let t=e,n=e.querySelector("a");n?.getAttribute("href")&&(t=n);let r=o.get(e);ti(r),b(),u.current=(0,S.f)(()=>{m.current===r&&t.focus()})}};if([_,M].includes(t)||d.sibling||!l){let e,n=N(e=l&&"inline"!==eZ?function(e){let t=e;for(;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(l):eD.current,a);f(t===_?n[0]:t===M?n[n.length-1]:L(e,a,l,d.offset))}else if(d.inlineTrigger)c(s);else if(d.offset>0)c(s,!0),b(),u.current=(0,S.f)(()=>{r=P(n,eA);let e=l.getAttribute("aria-controls");f(L(document.getElementById(e),r.elements))},5);else if(d.offset<0){let n=e5(s,!0),r=n[n.length-2],a=i.get(r);t===C&&a&&e.stopPropagation(),c(r,!1),f(a)}}eR?.(e)});o.useEffect(()=>{eO(!0)},[]);let tm=o.useMemo(()=>({_internalRenderMenuItem:eM,_internalRenderSubMenuItem:eI}),[eM,eI]),tb="horizontal"!==eZ||U?ez:ez.map((e,t)=>o.createElement(f,{key:e.key,overflowDisabled:t>e8,classNames:B,styles:D},e)),tv=o.createElement(n.f,eg({id:X,ref:eD,prefixCls:`${v}-overflow`,component:"ul",itemComponent:F,className:(0,t.q)(v,`${v}-root`,`${v}-${eZ}`,O,{[`${v}-inline-collapsed`]:e0,[`${v}-rtl`]:eH},g),dir:W,style:y,role:"menu",tabIndex:A,data:tb,renderRawItem:e=>e,renderRawRest:e=>{let t=e.length,n=t?ez.slice(-t):null;return o.createElement(eu,{eventKey:T,title:eS,disabled:e4,internalPopupClose:0===t,popupClassName:ew},n)},maxCount:"horizontal"!==eZ||U?n.f.INVALIDATE:n.f.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:e=>{e2(e)},onKeyDown:tp},eP));return o.createElement($.Provider,{value:tm},o.createElement(s.Provider,{value:eA},o.createElement(f,{prefixCls:v,rootClassName:g,classNames:B,styles:D,mode:eZ,openKeys:ej,rtl:eH,disabled:Y,motion:eq?ef:null,defaultMotions:eq?ep:null,activeKey:ta,onActive:to,onInactive:tl,selectedKeys:tc,inlineIndent:ec,subMenuOpenDelay:Q,subMenuCloseDelay:Z,forceSubMenuRender:J,builtinPlacements:eb,triggerSubMenuAction:em,getPopupContainer:eE,itemIcon:ev,expandIcon:eh,onItemClick:tu,onOpenChange:tf,popupRender:eL},o.createElement(h.Provider,{value:tr},tv),o.createElement("div",{style:{display:"none"},"aria-hidden":!0},o.createElement(p.Provider,{value:tn},eT)))))});eS.Item=F,eS.SubMenu=eu,eS.ItemGroup=ev,eS.Divider=ep,e.s(["f",0,eS],612388)},443577,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}var n=e.i(714304),r=e.i(7284),a=e.i(124265),i=e.i(633494);let o,l=n.forwardRef(function(e,i){let l,{prefixCls:s,invalidate:d,item:c,renderItem:u,responsive:f,responsiveDisabled:p,registerSize:m,itemKey:b,className:v,style:h,children:$,display:g,order:y,component:S="div",...w}=e,E=f&&!g;n.useEffect(()=>()=>{m(b,null)},[]);let k=u&&c!==o?u(c,{index:y}):$;d||(l={opacity:+!E,height:E?0:o,overflowY:E?"hidden":o,order:f?y:o,pointerEvents:E?"none":o,position:E?"absolute":o});let x={};E&&(x["aria-hidden"]=!0);let R=n.createElement(S,t({className:(0,r.q)(!d&&s,v),style:{...l,...h}},x,w,{ref:i}),k);return f&&(R=n.createElement(a.f,{onResize:({offsetWidth:e})=>{m(b,e)},disabled:p},R)),R});var s=e.i(208396),d=e.i(867018),c=e.i(579388);function u(e,t){let[r,a]=n.useState(t);return[r,(0,s.f)(t=>{e(()=>{a(t)})})]}let f=n.default.createContext(null),p=n.forwardRef((e,a)=>{let i=n.useContext(f);if(!i){let{component:r="div",...i}=e;return n.createElement(r,t({},i,{ref:a}))}let{className:o,...s}=i,{className:d,...c}=e;return n.createElement(f.Provider,{value:null},n.createElement(l,t({ref:a,className:(0,r.q)(o,d)},s,c)))}),m="responsive",b="invalidate";function v(e){return`+ ${e.length} ...`}let h=n.forwardRef(function(e,o){let s,{prefixCls:p="rc-overflow",data:h=[],renderItem:$,renderRawItem:g,itemKey:y,itemWidth:S=10,ssr:w,style:E,className:k,maxCount:x,renderRest:R,renderRawRest:C,prefix:_,suffix:M,component:I="div",itemComponent:N,onVisibleChange:L,...P}=e,z="full"===w,T=(s=n.useRef(null),e=>{if(!s.current){s.current=[];var t=()=>{(0,d.unstable_batchedUpdates)(()=>{s.current.forEach(e=>{e()}),s.current=null})};if("u"t(),e.port2.postMessage(void 0)}}s.current.push(e)}),[q,O]=u(T,null),D=q||0,[B,A]=u(T,new Map),[H,G]=u(T,0),[W,j]=u(T,0),[X,K]=u(T,0),[V,F]=u(T,0),[Y,U]=(0,n.useState)(null),[Q,Z]=(0,n.useState)(null),J=n.useMemo(()=>null===Q&&z?Number.MAX_SAFE_INTEGER:Q||0,[Q,q]),[ee,et]=(0,n.useState)(!1),en=`${p}-item`,er=Math.max(H,W),ea=x===m,ei=h.length&&ea,eo=x===b,el=ei||"number"==typeof x&&h.length>x,es=(0,n.useMemo)(()=>{let e=h;return ei?e=null===q&&z?h:h.slice(0,Math.min(h.length,D/S)):"number"==typeof x&&(e=h.slice(0,x)),e},[h,S,q,x,ei]),ed=(0,n.useMemo)(()=>ei?h.slice(J+1):h.slice(es.length),[h,es,ei,J]),ec=(0,n.useCallback)((e,t)=>"function"==typeof y?y(e):(y&&e?.[y])??t,[y]),eu=(0,n.useCallback)($||(e=>e),[$]);function ef(e,t,n){(Q!==e||void 0!==t&&t!==Y)&&(Z(e),n||(et(e{let r=new Map(n);return null===t?r.delete(e):r.set(e,t),r})}function em(e){return B.get(ec(es[e],e))}(0,i.U)(()=>{if(D&&"number"==typeof er&&es){let e=X+V,t=es.length,n=t-1;if(!t)return void ef(0,null);for(let r=0;rD){ef(r-1,e-t-V+W);break}}M&&em(0)+V>D&&U(null)}},[D,B,W,X,V,ec,es]);let eb=ee&&!!ed.length,ev={};null!==Y&&ei&&(ev={position:"absolute",top:0,insetInlineStart:Y});let eh={prefixCls:en,responsive:ei,component:N,invalidate:eo},e$=g?(e,t)=>{let r=ec(e,t);return n.createElement(f.Provider,{key:r,value:{...eh,order:t,item:e,itemKey:r,registerSize:ep,display:t<=J}},g(e,t))}:(e,r)=>{let a=ec(e,r);return n.createElement(l,t({},eh,{order:r,key:a,item:e,renderItem:eu,itemKey:a,registerSize:ep,display:r<=J}))},eg={order:eb?J:Number.MAX_SAFE_INTEGER,className:`${en}-rest`,registerSize:function(e,t){j(t),G(W)},display:eb},ey=R||v,eS=C?n.createElement(f.Provider,{value:{...eh,...eg}},C(ed)):n.createElement(l,t({},eh,eg),"function"==typeof ey?ey(ed):ey),ew=n.createElement(I,t({className:(0,r.q)(!eo&&p,k),style:E,ref:o},P),_&&n.createElement(l,t({},eh,{responsive:ea,responsiveDisabled:!ei,order:-1,className:`${en}-prefix`,registerSize:function(e,t){K(t)},display:!0}),_),es.map(e$),el?eS:null,M&&n.createElement(l,t({},eh,{responsive:ea,responsiveDisabled:!ei,order:J,className:`${en}-suffix`,registerSize:function(e,t){F(t)},display:!0,style:ev}),M));return ea?n.createElement(a.f,{onResize:function(e,t){O(t.clientWidth)},disabled:!ei},ew):ew});h.Item=p,h.RESPONSIVE=m,h.INVALIDATE=b,e.s(["f",0,h],443577)},337597,972828,382554,e=>{"use strict";var t=e.i(7284);e.i(48813);var n=e.i(198138),r=e.i(90862),a=e.i(714304),i=e.i(247013),o=e.i(124265),l=e.i(300976),s=e.i(456761),d=e.i(372902),c=e.i(602537),u=e.i(693107),f=e.i(146287),p=e.i(489375),m=e.i(444009),b=e.i(132898),v=e.i(97559),h=e.i(770319),$=e.i(720315),g=e.i(612388),y=e.i(12921),y=y,S=e.i(863680),w=e.i(299524);function E(){return(E=Object.assign.bind()).apply(this,arguments)}let k=a.forwardRef((e,n)=>{let{prefixCls:r,id:i,tabs:o,locale:l,mobile:s,more:d={},style:c,className:u,editable:f,tabBarGutter:p,rtl:m,removeAriaLabel:h,onTabClick:k,getPopupContainer:x,popupClassName:R,popupStyle:C,classNames:_,styles:M}=e,[I,N]=(0,a.useState)(!1),[L,P]=(0,a.useState)(null),{icon:z="More",popupRender:T}=d,q=`${i}-more-popup`,O=`${r}-dropdown`,D=null!==L?`${q}-${L}`:null,B=l?.dropdownAriaLabel,A=a.createElement(g.f,{onClick:({key:e,domEvent:t})=>{k(e,t),N(!1)},prefixCls:`${O}-menu`,id:q,tabIndex:-1,role:"listbox","aria-activedescendant":D,selectedKeys:[L],"aria-label":void 0!==B?B:"expanded dropdown"},o.map(e=>{let{closable:n,disabled:r,closeIcon:o,key:l,label:s}=e,d=(0,b.v)(n,o,f,r);return a.createElement(y.f,{key:l,id:`${q}-${l}`,role:"option","aria-controls":i&&`${i}-panel-${l}`,disabled:r},a.createElement("span",null,s),d&&a.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:(0,t.q)(`${O}-menu-item-remove`,_?.remove),style:M?.remove,onClick:e=>{e.stopPropagation(),e.preventDefault(),e.stopPropagation(),f.onEdit("remove",{key:l,event:e})}},(0,S.q)(o)?o:(0,S.q)(f.removeIcon)?f.removeIcon:"×"))})),H=T?T(A,{restTabs:o,onClose:()=>N(!1)}):A;function G(e){let t=o.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===L)||0,r=t.length;for(let a=0;a{let e=document.getElementById(D);e?.scrollIntoView&&e.scrollIntoView(!1)},[D,L]),(0,a.useEffect)(()=>{I||P(null)},[I]);let W={marginInlineStart:p};o.length||(W.visibility="hidden",W.order=1);let j=(0,t.q)(R,{[`${O}-rtl`]:m}),X=s?null:a.createElement($.f,E({prefixCls:O,overlay:H,open:!!o.length&&I,onOpenChange:N,overlayClassName:j,overlayStyle:C,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:x},d),a.createElement("button",{type:"button",className:`${r}-nav-more`,style:W,"aria-haspopup":"listbox","aria-controls":q,id:`${i}-more`,"aria-expanded":I,onKeyDown:function(e){let{which:t}=e;if(!I){[w.f.DOWN,w.f.SPACE,w.f.ENTER].includes(t)&&(N(!0),e.preventDefault());return}switch(t){case w.f.UP:G(-1),e.preventDefault();break;case w.f.DOWN:G(1),e.preventDefault();break;case w.f.ESC:N(!1);break;case w.f.SPACE:case w.f.ENTER:null!==L&&k(L,e)}}},z));return a.createElement("div",{className:(0,t.q)(`${r}-nav-operations`,u),style:c,ref:n},X,a.createElement(v.f,{prefixCls:r,locale:l,editable:f}))}),x=a.memo(k,(e,t)=>t.tabMoving),R=e=>{let{prefixCls:n,id:r,active:i,focus:o,tab:{key:l,label:s,disabled:d,closeIcon:c,icon:u},closable:f,renderWrapper:p,removeAriaLabel:m,editable:v,onClick:h,onFocus:$,onBlur:g,onKeyDown:y,onMouseDown:w,onMouseUp:E,styles:k,classNames:x,tabCount:R,currentPosition:C}=e,_=`${n}-tab`,M=(0,b.v)(f,c,v,d);function I(e){d||h(e)}let N=a.useMemo(()=>(0,S.q)(u)&&"string"==typeof s?a.createElement("span",null,s):s,[s,u]),L=a.useRef(null);a.useEffect(()=>{o&&L.current&&L.current.focus()},[o]);let P=a.createElement("div",{key:l,"data-node-key":(0,b.C)(l),className:(0,t.q)(_,x?.item,{[`${_}-with-remove`]:M,[`${_}-active`]:i,[`${_}-disabled`]:d,[`${_}-focus`]:o}),style:k?.item,onClick:I},a.createElement("div",{ref:L,role:"tab","aria-selected":i,id:r&&`${r}-tab-${l}`,className:`${_}-btn`,"aria-controls":r&&`${r}-panel-${l}`,"aria-disabled":d,tabIndex:d?null:i?0:-1,onClick:e=>{e.stopPropagation(),I(e)},onKeyDown:y,onMouseDown:w,onMouseUp:E,onFocus:$,onBlur:g},o&&a.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`Tab ${C} of ${R}`),(0,S.q)(u)&&a.createElement("span",{className:`${_}-icon`},u),(0,S.q)(s)&&N),M&&a.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:i?0:-1,className:(0,t.q)(`${_}-remove`,x?.remove),style:k?.remove,onClick:e=>{e.stopPropagation(),e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:l,event:e})}},(0,S.q)(c)?c:(0,S.q)(v.removeIcon)?v.removeIcon:"×"));return p?p(P):P};function C(){return(C=Object.assign.bind()).apply(this,arguments)}let _=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:r}=e.current.getBoundingClientRect();if(1>Math.abs(n-t))return[n,r]}return[t,n]},M=(e,t)=>e[+!t],I=a.forwardRef((e,n)=>{let r,$,g,y,{className:S,style:w,id:E,animated:k,activeKey:I,rtl:N,extra:L,editable:P,locale:z,tabPosition:T,tabBarGutter:q,children:O,onTabClick:D,onTabScroll:B,indicator:A,classNames:H,styles:G}=e,{prefixCls:W,tabs:j}=a.useContext(i.f),X=(0,a.useRef)(null),K=(0,a.useRef)(null),V=(0,a.useRef)(null),F=(0,a.useRef)(null),Y=(0,a.useRef)(null),U=(0,a.useRef)(null),Q=(0,a.useRef)(null),Z="top"===T||"bottom"===T,[J,ee]=(0,u.f)(0,(e,t)=>{Z&&B&&B({direction:e>t?"left":"right"})}),[et,en]=(0,u.f)(0,(e,t)=>{!Z&&B&&B({direction:e>t?"top":"bottom"})}),[er,ea]=(0,a.useState)([0,0]),[ei,eo]=(0,a.useState)([0,0]),[el,es]=(0,a.useState)([0,0]),[ed,ec]=(0,a.useState)([0,0]),[eu,ef]=(0,p.X)(new Map),ep=(0,c.f)(j,eu,ei[0]),em=M(er,Z),eb=M(ei,Z),ev=M(el,Z),eh=M(ed,Z),e$=Math.floor(em)ew?ew:e}Z&&N?(eS=0,ew=Math.max(0,eb-eg)):(eS=Math.min(0,eg-eb),ew=0);let ek=(0,a.useRef)(null),[ex,eR]=(0,a.useState)();function eC(){eR(Date.now())}function e_(){ek.current&&clearTimeout(ek.current)}(0,f.f)(F,(e,t)=>{var n,r,a,i;return!!e$&&(Z?(n=ee,r=e,n(e=>eE(e+r))):(a=en,i=t,a(e=>eE(e+i))),e_(),eC(),!0)}),(0,a.useEffect)(()=>(e_(),ex&&(ek.current=setTimeout(()=>{eR(0)},100)),e_),[ex]);let[eM,eI]=(0,m.f)(ep,eg,Z?J:et,eb,ev,eh,{...e,tabs:j}),eN=(0,s.f)((e=I)=>{let t=ep.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Z){let e=J;N?t.rightJ+eg&&(e=t.right+t.width-eg):t.left<-J?e=-t.left:t.left+t.width>-J+eg&&(e=-(t.left+t.width-eg)),en(0),ee(eE(e))}else{let e=et;t.top<-et?e=-t.top:t.top+t.height>-et+eg&&(e=-(t.top+t.height-eg)),ee(0),en(eE(e))}}),[eL,eP]=(0,a.useState)(),[ez,eT]=(0,a.useState)(!1),eq=j.filter(e=>!e.disabled).map(e=>e.key),eO=e=>{let t=eq.indexOf(eL||I),n=eq.length;eP(eq[(t+e+n)%n])},eD=(e,t)=>{let n=eq.indexOf(e),r=j.find(t=>t.key===e);(0,b.v)(r?.closable,r?.closeIcon,P,r?.disabled)&&(t.preventDefault(),t.stopPropagation(),P.onEdit("remove",{key:e,event:t}),n===eq.length-1?eO(-1):eO(1))},eB=e=>{let{code:t}=e,n=N&&Z,r=eq[0],a=eq[eq.length-1];switch(t){case"ArrowLeft":Z&&eO(n?1:-1);break;case"ArrowRight":Z&&eO(n?-1:1);break;case"ArrowUp":e.preventDefault(),Z||eO(-1);break;case"ArrowDown":e.preventDefault(),Z||eO(1);break;case"Home":e.preventDefault(),eP(r);break;case"End":e.preventDefault(),eP(a);break;case"Enter":case"Space":e.preventDefault(),D(eL??I,e);break;case"Backspace":case"Delete":eD(eL,e)}},eA={};Z?eA.marginInlineStart=q:eA.marginTop=q;let eH=j.map((e,t)=>{let{key:n}=e;return a.createElement(R,{id:E,prefixCls:W,key:n,tab:e,classNames:{item:H?.item,remove:H?.remove},styles:{item:0===t?G?.item:{...eA,...G?.item},remove:G?.remove},closable:e.closable,editable:P,active:n===I,focus:n===eL,renderWrapper:O,removeAriaLabel:z?.removeAriaLabel,tabCount:eq.length,currentPosition:t+1,onClick:e=>{D(n,e)},onKeyDown:eB,onFocus:()=>{ez||eP(n),eN(n),eC(),F.current&&(N||(F.current.scrollLeft=0),F.current.scrollTop=0)},onBlur:()=>{eP(void 0)},onMouseDown:e=>{eT(!0),1===e.button&&eD(n,e)},onMouseUp:()=>{eT(!1)}})}),eG=()=>ef(()=>{let e=new Map,t=Y.current?.getBoundingClientRect();return j.forEach(({key:n})=>{let r=Y.current?.querySelector(`[data-node-key="${(0,b.C)(n)}"]`);if(r){let[a,i,o,l]=((e,t)=>{let{offsetWidth:n,offsetHeight:r,offsetTop:a,offsetLeft:i}=e,{width:o,height:l,left:s,top:d}=e.getBoundingClientRect();return 1>Math.abs(o-n)?[o,l,s-t.left,d-t.top]:[n,r,i,a]})(r,t);e.set(n,{width:a,height:i,left:o,top:l})}}),e});(0,a.useEffect)(()=>{eG()},[j.map(e=>e.key).join("_")]);let eW=(0,p.U)(()=>{let e=_(X),t=_(K),n=_(V);ea([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let r=_(Q);es(r),ec(_(U));let a=_(Y);eo([a[0]-r[0],a[1]-r[1]]),eG()}),ej=[...j.slice(0,eM),...j.slice(eI+1)],eX=ep.get(I),{style:eK}=(0,d.f)({activeTabOffset:eX,horizontal:Z,indicator:A,rtl:N});(0,a.useEffect)(()=>{eN()},[I,eS,ew,(0,b.b)(eX),(0,b.b)(ep),Z]),(0,a.useEffect)(()=>{eW()},[N]);let eV=!!ej.length,eF=`${W}-nav-wrap`;return Z?N?($=J>0,r=J!==ew):(r=J<0,$=J!==eS):(g=et<0,y=et!==eS),a.createElement(o.f,{onResize:eW},a.createElement("div",{ref:(0,l.Y)(n,X),role:"tablist","aria-orientation":Z?"horizontal":"vertical",className:(0,t.q)(`${W}-nav`,S,H?.header),style:{...G?.header,...w},onKeyDown:()=>{eC()}},a.createElement(h.f,{ref:K,position:"left",extra:L,prefixCls:W}),a.createElement(o.f,{onResize:eW},a.createElement("div",{className:(0,t.q)(eF,{[`${eF}-ping-left`]:r,[`${eF}-ping-right`]:$,[`${eF}-ping-top`]:g,[`${eF}-ping-bottom`]:y}),ref:F},a.createElement(o.f,{onResize:eW},a.createElement("div",{ref:Y,className:`${W}-nav-list`,style:{transform:`translate(${J}px, ${et}px)`,transition:ex?"none":void 0}},eH,a.createElement(v.f,{ref:Q,prefixCls:W,locale:z,editable:P,style:{...0===eH.length?void 0:eA,visibility:eV?"hidden":null}}),a.createElement("div",{className:(0,t.q)(`${W}-ink-bar`,H?.indicator,{[`${W}-ink-bar-animated`]:k.inkBar}),style:{...eK,...G?.indicator}}))))),a.createElement(x,C({},e,{removeAriaLabel:z?.removeAriaLabel,ref:U,prefixCls:W,tabs:ej,className:!eV&&ey,popupStyle:G?.popup,tabMoving:!!ex})),a.createElement(h.f,{ref:V,position:"right",extra:L,prefixCls:W})))}),N=({renderTabBar:e,...t})=>e?e(t,I):a.createElement(I,t);var L=e.i(251843);let P=a.forwardRef((e,n)=>{let{prefixCls:r,className:i,style:o,id:l,active:s,tabKey:d,children:c}=e,u=a.Children.count(c)>0;return a.createElement("div",{id:l&&`${l}-panel-${d}`,role:"tabpanel",tabIndex:s&&u?0:-1,"aria-labelledby":l&&`${l}-tab-${d}`,"aria-hidden":!s,style:o,className:(0,t.q)(r,s&&`${r}-active`,i),ref:n},c)});function z(){return(z=Object.assign.bind()).apply(this,arguments)}let T=e=>{let{id:n,activeKey:r,animated:o,tabPosition:l,destroyOnHidden:s,bodyStyle:d,bodyClassName:c,contentStyle:u,contentClassName:f}=e,{prefixCls:p,tabs:m}=a.useContext(i.f),b=o.tabPane,v=`${p}-body`,h=`${p}-content`;return a.createElement("div",{className:(0,t.q)(`${v}-holder`)},a.createElement("div",{className:(0,t.q)(v,`${v}-${l}`,{[`${v}-animated`]:b},c),style:d},m.map(e=>{let{key:i,forceRender:l,style:d,className:c,destroyOnHidden:p,...m}=e,v=i===r;return a.createElement(L.f,z({key:i,visible:v,forceRender:l,removeOnLeave:!!(s??p),leavedClassName:`${h}-hidden`},o.tabPaneMotion),({style:e,className:r},o)=>a.createElement(P,z({},m,{prefixCls:h,id:n,tabKey:i,animated:b,active:v,style:{...u,...d,...e},className:(0,t.q)(f,c,r),ref:o})))})))};function q(){return(q=Object.assign.bind()).apply(this,arguments)}let O=0,D=a.forwardRef((e,o)=>{let{id:l,prefixCls:s="rc-tabs",className:d,items:c,direction:u,activeKey:f,defaultActiveKey:p,editable:m,animated:b,tabPosition:v="top",tabBarGutter:h,tabBarStyle:$,tabBarExtraContent:g,locale:y,more:S,destroyOnHidden:w,renderTabBar:E,onChange:k,onTabClick:x,onTabScroll:R,getPopupContainer:C,popupClassName:_,indicator:M,classNames:I,styles:L,...P}=e,z=a.useMemo(()=>(c||[]).filter(e=>e&&"object"==typeof e&&"key"in e),[c]),D="rtl"===u,B=function(e={inkBar:!0,tabPane:!1}){let t;return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:{inkBar:!0,..."object"==typeof e?e:{}}).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(b),[A,H]=(0,a.useState)(!1);(0,a.useEffect)(()=>{H((0,n.f)())},[]);let[G,W]=(0,r.f)(p??z[0]?.key,f),[j,X]=(0,a.useState)(()=>z.findIndex(e=>e.key===G));(0,a.useEffect)(()=>{let e=z.findIndex(e=>e.key===G);-1===e&&(e=Math.max(0,Math.min(j,z.length-1)),W(z[e]?.key)),X(e)},[z.map(e=>e.key).join("_"),G,j]);let[K,V]=(0,r.f)(null,l);(0,a.useEffect)(()=>{l||(V(`rc-tabs-${O}`),O+=1)},[]);let F={id:K,activeKey:G,animated:B,tabPosition:v,rtl:D,mobile:A},Y={...F,editable:m,locale:y,more:S,tabBarGutter:h,onTabClick:function(e,t){x?.(e,t);let n=e!==G;W(e),n&&k?.(e)},onTabScroll:R,extra:g,style:$,getPopupContainer:C,popupClassName:(0,t.q)(_,I?.popup),indicator:M,styles:L,classNames:I},U=a.useMemo(()=>({tabs:z,prefixCls:s}),[z,s]);return a.createElement(i.f.Provider,{value:U},a.createElement("div",q({ref:o,id:l,className:(0,t.q)(s,`${s}-${v}`,{[`${s}-mobile`]:A,[`${s}-editable`]:m,[`${s}-rtl`]:D},d)},P),a.createElement(N,q({},Y,{renderTabBar:E})),a.createElement(T,q({destroyOnHidden:w},F,{bodyStyle:L?.body,bodyClassName:I?.body,contentStyle:L?.content,contentClassName:I?.content,animated:B}))))});e.s(["f",0,D],337597);var B=e.i(495739),A=e.i(876110);let H={motionAppear:!1,motionEnter:!0,motionLeave:!0};e.s(["f",0,function(e,t={inkBar:!0,tabPane:!1}){let n;return(n=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:{inkBar:!0,...(0,B.d)(t)?t:{}}).tabPane&&(n.tabPaneMotion={...H,motionName:(0,A.r)(e,"switch")}),n}],972828),e.i(333400);var G=e.i(78680);e.s(["f",0,function(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):(0,G.f)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,{tab:r,...a}=n||{};return{key:String(t),...a,label:r}}return null}).filter(e=>e)}],382554)},198138,247013,372902,602537,693107,146287,489375,444009,132898,97559,770319,720315,e=>{"use strict";var t=e.i(978115);e.s(["f",()=>t.f],198138);var n=e.i(714304);let r=(0,n.createContext)(null);e.s(["f",0,r],247013),e.i(48813);var a=e.i(308376);e.s(["f",0,e=>{let{activeTabOffset:t,horizontal:r,rtl:i,indicator:o={}}=e,{size:l,align:s="center"}=o,[d,c]=(0,n.useState)(),u=(0,n.useRef)(void 0),f=n.default.useCallback(e=>"function"==typeof l?l(e):"number"==typeof l?l:e,[l]);function p(){a.f.cancel(u.current)}return(0,n.useEffect)(()=>{let e={};if(t)if(r){e.width=f(t.width);let n=i?"right":"left";"start"===s&&(e[n]=t[n]),"center"===s&&(e[n]=t[n]+t.width/2,e.transform=i?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[n]=t[n]+t.width,e.transform="translateX(-100%)")}else e.height=f(t.height),"start"===s&&(e.top=t.top),"center"===s&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return p(),u.current=(0,a.f)(()=>{d&&e&&Object.keys(e).every(t=>{let n=e[t],r=d[t];return"number"==typeof n&&"number"==typeof r?Math.round(n)===Math.round(r):n===r})||c(e)}),p},[JSON.stringify(t),r,i,s,f]),{style:d}}],372902);let i={width:0,height:0,left:0,top:0};e.s(["f",0,function(e,t,r){return(0,n.useMemo)(()=>{let n=new Map,r=t.get(e[0]?.key)||i,a=r.left+r.width;for(let r=0;re.key).join("_"),t,r])}],602537),e.s(["f",0,function(e,t){let r=n.useRef(e),[,a]=n.useState({});return[r.current,function(e){let n="function"==typeof e?e(r.current):e;n!==r.current&&t(n,r.current),r.current=n,a({})}]}],693107),e.s(["f",0,function(e,t){let[r,a]=(0,n.useState)(),[i,o]=(0,n.useState)(0),[l,s]=(0,n.useState)(0),[d,c]=(0,n.useState)(),u=(0,n.useRef)(void 0),f=(0,n.useRef)(void 0),p=(0,n.useRef)(null);p.current={onTouchStart:function(e){let{screenX:t,screenY:n}=e.touches[0];a({x:t,y:n}),window.clearInterval(u.current)},onTouchMove:function(e){if(!r)return;let{screenX:n,screenY:l}=e.touches[0];a({x:n,y:l});let d=n-r.x,u=l-r.y;t(d,u);let f=Date.now();o(f),s(f-i),c({x:d,y:u})},onTouchEnd:function(){if(r&&(a(null),c(null),d)){let e=d.x/l,n=d.y/l;if(.1>Math.max(Math.abs(e),Math.abs(n)))return;let r=e,a=n;u.current=window.setInterval(()=>{.01>Math.abs(r)&&.01>Math.abs(a)?window.clearInterval(u.current):(r*=.9046104802746175,a*=.9046104802746175,t(20*r,20*a))},20)}},onWheel:function(e){let n,{deltaX:r,deltaY:a}=e,i=Math.abs(r),o=Math.abs(a);i===o?n="x"===f.current?r:a:i>o?(n=r,f.current="x"):(n=a,f.current="y"),t(-n,-n)&&e.preventDefault()}},n.useEffect(()=>{function t(e){p.current.onTouchMove(e)}function n(e){p.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!0}),e.current.addEventListener("touchstart",function(e){p.current.onTouchStart(e)},{passive:!0}),e.current.addEventListener("wheel",function(e){p.current.onWheel(e)},{passive:!1}),()=>{document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}},[])}],146287);var o=e.i(633494);function l(e){let[t,r]=(0,n.useState)(0),a=(0,n.useRef)(0),i=(0,n.useRef)(void 0);return i.current=e,(0,o.q)(()=>{i.current?.()},[t]),()=>{a.current===t&&(a.current+=1,r(a.current))}}e.s(["U",0,l,"X",0,function(e){let t=(0,n.useRef)([]),[,r]=(0,n.useState)({}),a=(0,n.useRef)("function"==typeof e?e():e),i=l(()=>{let e=a.current;t.current.forEach(t=>{e=t(e)}),t.current=[],a.current=e,r({})});return[a.current,function(e){t.current.push(e),i()}]}],489375);let s={width:0,height:0,left:0,top:0,right:0};e.s(["f",0,function(e,t,r,a,i,o,{tabs:l,tabPosition:d,rtl:c}){let u,f,p;return["top","bottom"].includes(d)?(u="width",f=c?"right":"left",p=Math.abs(r)):(u="height",f="top",p=-r),(0,n.useMemo)(()=>{if(!l.length)return[0,0];let n=l.length,r=n;for(let a=0;aMath.floor(p+t)){r=a-1;break}}let a=0;for(let t=n-1;t>=0;t-=1)if((e.get(l[t].key)||s)[f]r?[0,-1]:[a,r]},[e,t,a,i,o,p,d,l.map(e=>e.key).join("_"),c])}],444009),e.s(["C",0,function(e){return String(e).replace(/"/g,"TABS_DQ")},"v",0,function(e,t,n,r){return!!n&&!r&&!1!==e&&(void 0!==e||!1!==t&&null!==t)},"b",0,function(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}],132898);var d=e.i(863680);let c=n.forwardRef((e,t)=>{let{prefixCls:r,editable:a,locale:i,style:o}=e;return a&&!1!==a.showAdd?n.createElement("button",{ref:t,type:"button",className:`${r}-nav-add`,style:o,"aria-label":i?.addAriaLabel||"Add tab",onClick:e=>{a.onEdit("add",{event:e})}},(0,d.q)(a.addIcon)?a.addIcon:"+"):null});e.s(["f",0,c],97559);let u=n.forwardRef((e,t)=>{let r,{position:a,prefixCls:i,extra:o}=e;if(!(0,d.q)(o))return null;let l={};return"object"!=typeof o||n.isValidElement(o)?l.right=o:l=o,"right"===a&&(r=l.right),"left"===a&&(r=l.left),(0,d.q)(r)?n.createElement("div",{className:`${i}-extra-content`,ref:t},r):null});e.s(["f",0,u],770319);var f=e.i(261397),p=e.i(300976),m=e.i(7284);let{ESC:b,TAB:v}=e.i(299524).f,h=(0,n.forwardRef)((e,t)=>{let{overlay:r,arrow:a,prefixCls:i}=e,o=(0,n.useMemo)(()=>"function"==typeof r?r():r,[r]),l=(0,p.U)(t,(0,p.Z)(o));return n.default.createElement(n.default.Fragment,null,a&&n.default.createElement("div",{className:`${i}-arrow`}),n.default.cloneElement(o,{ref:(0,p.X)(o)?l:void 0}))}),$={adjustX:1,adjustY:1},g=[0,0],y={topLeft:{points:["bl","tl"],overflow:$,offset:[0,-4],targetOffset:g},top:{points:["bc","tc"],overflow:$,offset:[0,-4],targetOffset:g},topRight:{points:["br","tr"],overflow:$,offset:[0,-4],targetOffset:g},bottomLeft:{points:["tl","bl"],overflow:$,offset:[0,4],targetOffset:g},bottom:{points:["tc","bc"],overflow:$,offset:[0,4],targetOffset:g},bottomRight:{points:["tr","br"],overflow:$,offset:[0,4],targetOffset:g}};function S(){return(S=Object.assign.bind()).apply(this,arguments)}let w=n.default.forwardRef((e,t)=>{let{arrow:r=!1,prefixCls:i="rc-dropdown",transitionName:o,animation:l,align:s,placement:d="bottomLeft",placements:c=y,getPopupContainer:u,showAction:$,hideAction:g,overlayClassName:w,overlayStyle:E,open:k,trigger:x=["hover"],autoFocus:R,overlay:C,children:_,onOpenChange:M,disabled:I,...N}=e,[L,P]=n.default.useState(),z="open"in e?k:L,T=l?`${i}-${l}`:o,q=n.default.useRef(null),O=n.default.useRef(null),D=n.default.useRef(null);n.default.useImperativeHandle(t,()=>q.current);let B=e=>{P(e),M?.(e)};!function({open:e,triggerRef:t,onOpenChange:r,autoFocus:i,overlayRef:o}){let l=n.useRef(!1),s=()=>{e&&(t.current?.focus?.(),r?.(!1))},d=e=>!!o.current?.focus&&(o.current.focus(e),l.current=!0,!0),c=e=>{switch(e.keyCode){case b:s();break;case v:{let t=!1;l.current||(t=d()),t?e.preventDefault():s()}}};n.useEffect(()=>e?(window.addEventListener("keydown",c),i&&(0,a.f)(()=>d({preventScroll:!0}),3),()=>{window.removeEventListener("keydown",c),l.current=!1}):()=>{l.current=!1},[e])}({open:z,triggerRef:D,onOpenChange:B,autoFocus:R,overlayRef:O});let A=()=>n.default.createElement(h,{ref:O,overlay:C,prefixCls:i,arrow:r}),H=(0,m.q)(_.props?.className,z&&(()=>{let{openClassName:t}=e;return void 0!==t?t:`${i}-open`})()),G={className:H,ref:(0,p.U)(D,(0,p.Z)(_))},W=(0,p.X)(_)?n.default.cloneElement(_,G):n.default.createElement("span",{className:H,ref:D},n.default.cloneElement(_,{className:H})),j=g;return j||-1===x.indexOf("contextMenu")||(j=["click"]),n.default.createElement(f.f,S({builtinPlacements:c},N,{prefixCls:i,ref:q,popupClassName:(0,m.q)(w,{[`${i}-show-arrow`]:r}),popupStyle:E,action:x,showAction:$,hideAction:j,popupPlacement:d,popupAlign:s,popupMotion:{motionName:T},popupVisible:z,stretch:(()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return"minOverlayWidthMatchTrigger"in e?t:!n})()?"minWidth":"",popup:"function"==typeof C?A:A(),onOpenChange:B,onPopupClick:t=>{let{onOverlayClick:n}=e;P(!1),n&&n(t)},getPopupContainer:u}),W)});e.s(["f",0,w],720315)},390277,655368,e=>{"use strict";var t=e.i(714304);e.i(333400);var n=e.i(160764),r=e.i(90212),a=e.i(78680),i=e.i(7284),o=e.i(408051),l=e.i(366269),s=e.i(478420),d=e.i(857609),c=e.i(771646),u=e.i(196441),f=e.i(827934),p=e.i(951263),m=e.i(337597),b=e.i(741308),v=e.i(972828),h=e.i(382554);e.i(96743);var $=e.i(559143),g=e.i(30832),y=e.i(377752),S=e.i(299761),w=e.i(644439);let E=(0,S.A)("Tabs",e=>{let t=(0,w.f)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,$.S)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,$.S)(e.horizontalItemGutter)}`});return[(e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,cardHeightSM:a,cardHeightLG:i,horizontalItemPaddingSM:o,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:a,minHeight:a}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,$.S)(e.borderRadius)} ${(0,$.S)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,$.S)(e.borderRadius)} ${(0,$.S)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,$.S)(e.borderRadius)} ${(0,$.S)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,$.S)(e.borderRadius)} 0 0 ${(0,$.S)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r},[`${t}-nav-add`]:{minWidth:i,minHeight:i}}}}}})(t),(e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:i(e.marginXXS).mul(-1).equal()},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-body-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-body-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:i,verticalItemMargin:o,motionDurationSlow:l,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:["width","left","right"].map(e=>`${e} ${l}`).join(", ")}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:["height","top"].map(e=>`${e} ${l}`).join(", ")}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{marginLeft:{_skip_check_:!0,value:(0,$.S)(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}})(t),(e=>{let{antCls:t,componentCls:n,itemHoverColor:r,dropdownEdgeChildVerticalPadding:a}=e;return{[`${n}-dropdown`]:{...(0,g.n)(e),position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`&${t}-slide-down-enter${t}-slide-down-enter-active${n}-dropdown-placement-bottomLeft, &${t}-slide-down-appear${t}-slide-down-appear-active${n}-dropdown-placement-bottomLeft, &${t}-slide-down-enter${t}-slide-down-enter-active${n}-dropdown-placement-bottom, &${t}-slide-down-appear${t}-slide-down-appear-active${n}-dropdown-placement-bottom, &${t}-slide-down-enter${t}-slide-down-enter-active${n}-dropdown-placement-bottomRight, &${t}-slide-down-appear${t}-slide-down-appear-active${n}-dropdown-placement-bottomRight`]:{animationName:y.O},[`&${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft, &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-top, &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-top, &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topRight, &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topRight`]:{animationName:y._},[`&${t}-slide-down-leave${t}-slide-down-leave-active${n}-dropdown-placement-bottomLeft, &${t}-slide-down-leave${t}-slide-down-leave-active${n}-dropdown-placement-bottom, &${t}-slide-down-leave${t}-slide-down-leave-active${n}-dropdown-placement-bottomRight`]:{animationName:y.L},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft, &${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-top, &${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topRight`]:{animationName:y.v},[`${n}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,$.S)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":{...g.j,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,$.S)(e.paddingXXS)} ${(0,$.S)(e.paddingSM)}`,color:e.colorText,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:r}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}}}}}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:i,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,g.C)(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:"none"},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,$.S)(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,$.S)(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,$.S)(e.borderRadiusLG)} 0 0 ${(0,$.S)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:i,itemActiveColor:o,colorBorderSecondary:l}=e;return{[t]:{...(0,g.n)(e),display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:{minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},background:"transparent",border:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:o},...(0,g.I)(e,-3)}},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"},...(e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:i,horizontalItemPadding:o,itemSelectedColor:l,itemColor:s}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM},[`${d}-icon > svg`]:{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"}},"&-remove":{flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...(0,g.I)(e)},"&:hover":{color:r},[`&${d}-active ${d}-btn`]:{color:l},[`&${d}-focus ${d}-btn:focus-visible`]:(0,g.C)(e),[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${a}`]:{margin:0,verticalAlign:"middle"},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:i}}}})(e),[`${t}-body`]:{position:"relative",width:"100%"},[`${t}-body-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-content`]:{...(0,g.I)(e),"&-hidden":{display:"none"}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,y.E)(e,"slide-up"),(0,y.E)(e,"slide-down")]]})(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:r,controlHeight:a,controlHeightLG:i}=e,o=t||i,l=n||a,s=r||i+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:l,cardHeightLG:s,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(l-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(s-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),k=t.forwardRef((e,n)=>{let r,{type:a,className:d,rootClassName:c,size:$,onEdit:g,hideAdd:y,centered:S,addIcon:w,removeIcon:k,moreIcon:x,more:R,popupClassName:C,children:_,items:M,animated:I,style:N,indicatorSize:L,indicator:P,classNames:z,styles:T,destroyInactiveTabPane:q,destroyOnHidden:O,tabPlacement:D,tabPosition:B,...A}=e,{prefixCls:H}=A,{getPrefixCls:G,direction:W,getPopupContainer:j,className:X,style:K,classNames:V,styles:F}=(0,l.Y)("tabs"),{tabs:Y}=t.useContext(l.V),U=G("tabs",H),Q=(0,b.f)(U),[Z,J]=E(U,Q),ee=t.useRef(null);t.useImperativeHandle(n,()=>({nativeElement:ee.current})),"editable-card"===a&&(r={onEdit:(e,{key:t,event:n})=>{g?.("add"===e?n:t,e)},removeIcon:k??Y?.removeIcon??t.createElement(u.f,null),addIcon:(w??Y?.addIcon)||t.createElement(p.f,null),showAdd:!0!==y});let et=G(),en=(0,s.f)($),er=(0,h.f)(M,_),ea=(0,v.f)(U,I),ei={align:P?.align??Y?.indicator?.align,size:P?.size??L??Y?.indicator?.size??Y?.indicatorSize},{visible:eo,onVisibleChange:el,...es}=R??{},ed={icon:x??Y?.more?.icon??Y?.moreIcon??t.createElement(f.f,null),transitionName:`${et}-slide-up`,...es,...R&&!("open"in R)&&"visible"in R?{open:eo}:{},...R&&!("onOpenChange"in R)&&"onVisibleChange"in R?{onOpenChange:el}:{}},ec=t.useMemo(()=>{let e=D??B??void 0,t="rtl"===W;switch(e){case"start":return t?"right":"left";case"end":return t?"left":"right";default:return e}},[D,B,W]),eu={...e,size:en,tabPlacement:ec,items:er},ef=(0,o.G)(K),ep=(0,o.G)(N),[em,eb]=(0,o.o)([V,z],[F,ef,T,ep],{props:eu},{popup:{_default:"root"}});return t.createElement(m.f,{ref:ee,direction:W,getPopupContainer:j,...A,items:er,className:(0,i.q)({[`${U}-large`]:"large"===en,[`${U}-small`]:"small"===en,[`${U}-card`]:["card","editable-card"].includes(a),[`${U}-editable-card`]:"editable-card"===a,[`${U}-centered`]:S},X,d,c,em.root,Z,J,Q),classNames:{...em,popup:(0,i.q)(C,Z,J,Q,em.popup?.root)},styles:{...eb,popup:eb.popup?.root},style:eb.root,editable:r,more:ed,prefixCls:U,animated:ea,indicator:ei,destroyOnHidden:O??q,tabPosition:ec})});k.TabPane=()=>null,e.s(["f",0,k],655368);let x=t.forwardRef((e,n)=>{let{prefixCls:r,className:a,hoverable:o=!0,...s}=e,{getPrefixCls:d}=t.useContext(l.V),c=d("card",r),u=(0,i.q)(`${c}-grid`,a,{[`${c}-grid-hoverable`]:o}),f=t.useRef(null);return t.useImperativeHandle(n,()=>({nativeElement:f.current})),t.createElement("div",{ref:f,...s,className:u})}),R=(0,S.A)("Card",e=>{let t=(0,w.f)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[(e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,bodyPadding:o,extraColor:l,motionDurationMid:s}=e;return{[t]:{...(0,g.n)(e),position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:(e=>{let{antCls:t,headerHeight:n,headerPadding:r,tabsMarginBottom:a}=e;return{display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${(0,$.S)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0 0`,...(0,g.A)(),"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":{display:"inline-block",flex:1,...g.j,[`> ${t}-typography`]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:400,fontSize:e.fontSize}}})(e),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:400,fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:(e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` ${(0,$.S)(a)} 0 0 0 ${n}, 0 ${(0,$.S)(a)} 0 0 ${n}, ${(0,$.S)(a)} ${(0,$.S)(a)} 0 0 ${n}, ${(0,$.S)(a)} 0 0 0 ${n} inset, 0 ${(0,$.S)(a)} 0 0 ${n} inset; `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}})(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:(e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return{margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)}`,...(0,g.A)(),"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:(0,$.S)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:(0,$.S)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${i}`}}}})(e),[`${t}-meta`]:{margin:`${(0,$.S)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex",...(0,g.A)(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...g.j},"&-description":{color:e.colorTextDescription}}},[`${t}-bordered`]:{border:`${(0,$.S)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:["box-shadow","border-color"].map(e=>`${e} ${s}`).join(", "),"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,$.S)(e.borderRadiusLG)} ${(0,$.S)(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:(e=>{let{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:a}=e;return{[`${t}-head`]:{padding:`0 ${(0,$.S)(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,$.S)(e.padding)} ${(0,$.S)(a)}`}}})(e),[`${t}-loading`]:(e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}})(e),[`${t}-rtl`]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:a,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${(0,$.S)(r)}`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),C=e=>{let{actionClasses:n,actions:r=[],actionStyle:a}=e;return t.createElement("ul",{className:n,style:a},r.map((e,n)=>{let a=`action-${n}`;return t.createElement("li",{style:{width:`${100/r.length}%`},key:a},t.createElement("span",null,e))}))},_=t.forwardRef((e,u)=>{let f,{prefixCls:p,className:m,rootClassName:b,style:v,extra:h,headStyle:$={},bodyStyle:g={},title:y,loading:S,bordered:w,variant:E,size:_,type:M,cover:I,actions:N,tabList:L,children:P,activeTabKey:z,defaultActiveTabKey:T,tabBarExtraContent:q,hoverable:O,tabProps:D={},classNames:B,styles:A,...H}=e,{getPrefixCls:G,direction:W,className:j,style:X,classNames:K,styles:V}=(0,l.Y)("card"),[F]=(0,d.f)("card",E,w),Y=(0,s.f)(_),U={...e,size:Y,variant:F},Q=(0,o.G)(X),Z=(0,o.G)(v),[J,ee]=(0,o.o)([K,B],[V,Q,A,Z],{props:U}),et=t.useMemo(()=>(0,a.f)(P),[P]),en=t.useMemo(()=>et.some(e=>t.isValidElement(e)&&e.type===x),[et]),er=G("card",p),[ea,ei]=R(er),eo=t.createElement(c.f,{loading:!0,active:!0,paragraph:{rows:4},title:!1},P),el=void 0!==z,es={...D,[el?"activeKey":"defaultActiveKey"]:el?z:T??D.defaultActiveKey,tabBarExtraContent:q},ed=L?t.createElement(k,{size:"small"!==Y?"large":Y,...es,className:`${er}-head-tabs`,onChange:t=>{D.onChange?.(t),e.onTabChange?.(t)},items:L.map(({tab:e,...t})=>({label:e,...t}))}):null;if((0,n.q)(y)||(0,n.q)(h)||ed){let e=(0,i.q)(`${er}-head`,J.header),r=(0,i.q)(`${er}-head-title`,J.title),a=(0,i.q)(`${er}-extra`,J.extra),o={...$,...ee.header};f=t.createElement("div",{className:e,style:o},t.createElement("div",{className:`${er}-head-wrapper`},(0,n.q)(y)&&t.createElement("div",{className:r,style:ee.title},y),(0,n.q)(h)&&t.createElement("div",{className:a,style:ee.extra},h)),ed)}let ec=(0,i.q)(`${er}-cover`,J.cover),eu=(0,n.q)(I)?t.createElement("div",{className:ec,style:ee.cover},I):null,ef=(0,i.q)(`${er}-body`,J.body),ep={...g,...ee.body},em=S||et.length?t.createElement("div",{className:ef,style:ep},S?eo:P):null,eb=(0,i.q)(`${er}-actions`,J.actions),ev=N?.length?t.createElement(C,{actionClasses:eb,actionStyle:ee.actions,actions:N}):null,eh=(0,r.f)(H,["onTabChange"]),e$=(0,i.q)(er,j,{[`${er}-loading`]:S,[`${er}-bordered`]:"borderless"!==F,[`${er}-hoverable`]:O,[`${er}-contain-grid`]:en,[`${er}-contain-tabs`]:L?.length,[`${er}-small`]:"small"===Y,[`${er}-type-${M}`]:!!M,[`${er}-rtl`]:"rtl"===W},m,b,ea,ei,J.root),eg={...ee.root};return t.createElement("div",{ref:u,...eh,className:e$,style:eg},f,eu,em,ev)}),M=t.forwardRef((e,r)=>{let{prefixCls:a,className:s,avatar:d,title:c,description:u,style:f,classNames:p,styles:m,...b}=e,{getPrefixCls:v,className:h,style:$,classNames:g,styles:y}=(0,l.Y)("cardMeta"),S=v("card",a),w=`${S}-meta`,E=(0,o.G)($),k=(0,o.G)(f),[x,R]=(0,o.o)([g,p],[y,E,m,k],{props:e}),C=(0,i.q)(w,s,h,x.root),_={...R.root},M=(0,i.q)(`${w}-avatar`,x.avatar),I=(0,i.q)(`${w}-title`,x.title),N=(0,i.q)(`${w}-description`,x.description),L=(0,i.q)(`${w}-section`,x.section),P=(0,n.q)(d)?t.createElement("div",{className:M,style:R.avatar},d):null,z=(0,n.q)(c)?t.createElement("div",{className:I,style:R.title},c):null,T=(0,n.q)(u)?t.createElement("div",{className:N,style:R.description},u):null,q=z||T?t.createElement("div",{className:L,style:R.section},z,T):null,O=t.useRef(null);return t.useImperativeHandle(r,()=>({nativeElement:O.current})),t.createElement("div",{ref:O,...b,className:C,style:_},P,q)});_.Grid=x,_.Meta=M,e.s(["f",0,_],390277)},377752,e=>{"use strict";e.i(96743);var t=e.i(321842),n=e.i(960273);let r=new t.f("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new t.f("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=new t.f("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),o=new t.f("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l=new t.f("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),s=new t.f("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d=new t.f("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),c=new t.f("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),u={"slide-up":{inKeyframes:r,outKeyframes:a},"slide-down":{inKeyframes:i,outKeyframes:o},"slide-left":{inKeyframes:l,outKeyframes:s},"slide-right":{inKeyframes:d,outKeyframes:c}};e.s(["E",0,(e,t)=>{let{antCls:r}=e,a=`${r}-${t}`,{inKeyframes:i,outKeyframes:o}=u[t];return[(0,n.f)(a,i,o,e.motionDurationMid),{[` ${a}-enter, ${a}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${a}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},"_",0,i,"v",0,o,"K",0,l,"I",0,s,"Z",0,d,"N",0,c,"O",0,r,"L",0,a])}]);