You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
101 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[51],{49867:function(Sn,It,y){y.d(It,{N:function(){return o}});const o=Oe=>({color:Oe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Oe.motionDurationSlow}`,"&:focus, &:hover":{color:Oe.colorLinkHover},"&:active":{color:Oe.colorLinkActive}})},84164:function(Sn,It,y){y.d(It,{Z:function(){return Oe}});var o=y(67294);function Oe(ee,ie,Ve){const Ie=o.useRef({});function lt(at){if(!Ie.current||Ie.current.data!==ee||Ie.current.childrenColumnName!==ie||Ie.current.getRowKey!==Ve){let Pe=function(Ce){Ce.forEach((it,Yt)=>{const Kt=Ve(it,Yt);pt.set(Kt,it),it&&typeof it=="object"&&ie in it&&Pe(it[ie]||[])})};const pt=new Map;Pe(ee),Ie.current={data:ee,childrenColumnName:ie,kvMap:pt,getRowKey:Ve}}return Ie.current.kvMap.get(at)}return[lt]}},72051:function(Sn,It,y){y.d(It,{Z:function(){return oi}});var o=y(67294),Oe={},ee="rc-table-internal-hook",ie=y(97685),Ve=y(66680),Ie=y(8410),lt=y(91881),at=y(73935);function pt(e){var t=o.createContext(void 0),n=function(l){var a=l.value,c=l.children,i=o.useRef(a);i.current=a;var s=o.useState(function(){return{getValue:function(){return i.current},listeners:new Set}}),d=(0,ie.Z)(s,1),p=d[0];return(0,Ie.Z)(function(){(0,at.unstable_batchedUpdates)(function(){p.listeners.forEach(function(u){u(a)})})},[a]),o.createElement(t.Provider,{value:p},c)};return{Context:t,Provider:n,defaultValue:e}}function Pe(e,t){var n=(0,Ve.Z)(typeof t=="function"?t:function(u){if(t===void 0)return u;if(!Array.isArray(t))return u[t];var f={};return t.forEach(function(m){f[m]=u[m]}),f}),r=o.useContext(e==null?void 0:e.Context),l=r||{},a=l.listeners,c=l.getValue,i=o.useRef();i.current=n(r?c():e==null?void 0:e.defaultValue);var s=o.useState({}),d=(0,ie.Z)(s,2),p=d[1];return(0,Ie.Z)(function(){if(!r)return;function u(f){var m=n(f);(0,lt.Z)(i.current,m,!0)||p({})}return a.add(u),function(){a.delete(u)}},[r]),i.current}var Ce=y(87462),it=y(42550);function Yt(){var e=o.createContext(null);function t(){return o.useContext(e)}function n(l,a){var c=(0,it.Yr)(l),i=function(d,p){var u=c?{ref:p}:{},f=o.useRef(0),m=o.useRef(d),v=t();return v!==null?o.createElement(l,(0,Ce.Z)({},d,u)):((!a||a(m.current,d))&&(f.current+=1),m.current=d,o.createElement(e.Provider,{value:f.current},o.createElement(l,(0,Ce.Z)({},d,u))))};return c?o.forwardRef(i):i}function r(l,a){var c=(0,it.Yr)(l),i=function(d,p){var u=c?{ref:p}:{};return t(),o.createElement(l,(0,Ce.Z)({},d,u))};return c?o.memo(o.forwardRef(i),a):o.memo(i,a)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Kt=Yt(),yr=Kt.makeImmutable,br=Kt.responseImmutable,Cr=Kt.useImmutableMark,Jt=Yt(),wn=Jt.makeImmutable,yt=Jt.responseImmutable,En=Jt.useImmutableMark,Wn=pt(),Ye=Wn;function Sr(e,t){var n=React.useRef(0);n.current+=1;var r=React.useRef(e),l=[];Object.keys(e||{}).map(function(c){var i;(e==null?void 0:e[c])!==((i=r.current)===null||i===void 0?void 0:i[c])&&l.push(c)}),r.current=e;var a=React.useRef([]);return l.length&&(a.current=l),React.useDebugValue(n.current),React.useDebugValue(a.current.join(", ")),t&&console.log("".concat(t,":"),n.current,a.current),n.current}var wr=null,Er=null,Tt=y(71002),M=y(1413),te=y(4942),Rn=y(93967),oe=y.n(Rn),$n=y(56982),In=y(88306),Vn=y(80334),Tn=o.createContext({renderWithProps:!1}),Qt=Tn,kn="RC_TABLE_KEY";function fn(e){return e==null?[]:Array.isArray(e)?e:[e]}function qt(e){var t=[],n={};return e.forEach(function(r){for(var l=r||{},a=l.key,c=l.dataIndex,i=a||fn(c).join("-")||kn;n[i];)i="".concat(i,"_next");n[i]=!0,t.push(i)}),t}function zt(e){return e!=null}function On(e){return e&&(0,Tt.Z)(e)==="object"&&!Array.isArray(e)&&!o.isValidElement(e)}function Xn(e,t,n,r,l,a){var c=o.useContext(Qt),i=En(),s=(0,$n.Z)(function(){if(zt(r))return[r];var d=t==null||t===""?[]:Array.isArray(t)?t:[t],p=(0,In.Z)(e,d),u=p,f=void 0;if(l){var m=l(p,e,n);On(m)?(u=m.children,f=m.props,c.renderWithProps=!0):u=m}return[u,f]},[i,e,r,t,l,n],function(d,p){if(a){var u=(0,ie.Z)(d,2),f=u[1],m=(0,ie.Z)(p,2),v=m[1];return a(v,f)}return c.render
> table > tbody > tr > th,
> table > tbody > tr > td
`]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(s(f).mul(-1).equal())}
${(0,j.bf)(s(s(m).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[`
> ${t}-content,
> ${t}-header,
> ${t}-body,
> ${t}-summary
`]:{"> table":{[`
> thead > tr > th,
> thead > tr > td,
> tbody > tr > th,
> tbody > tr > td,
> tfoot > tr > th,
> tfoot > tr > td
`]:{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},[`
> thead > tr,
> tbody > tr,
> tfoot > tr
`]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[`
> tbody > tr > th,
> tbody > tr > td
`]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(s(c).mul(-1).equal())} ${(0,j.bf)(s(s(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`
> tr${t}-expanded-row,
> tr${t}-placeholder
`]:{["> th, > td"]:{borderInlineEnd:0}}}}}},p("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),p("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,j.bf)(n)} 0 ${(0,j.bf)(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},Fa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},zn.vS),{wordBreak:"keep-all",[`
&${t}-cell-fix-left-last,
&${t}-cell-fix-right-first
`]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ma=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[`
&:hover > th,
&:hover > td,
`]:{background:e.colorBgContainer}}}}},Ka=y(49867),za=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:a,lineType:c,tableBorderColor:i,tableExpandIconBg:s,tableExpandColumnWidth:d,borderRadius:p,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:m,paddingXXS:v,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:C,expandIconScale:b,calc:x}=e,w=`${(0,j.bf)(l)} ${c} ${i}`,S=x(v).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ka.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:g,height:g,padding:0,color:"inherit",lineHeight:(0,j.bf)(g),background:s,border:w,borderRadius:p,transform:`scale(${b})`,transition:`all ${r}`,userSelect:"none",["&:focus, &:hover, &:active"]:{borderColor:"currentcolor"},["&::before, &::after"]:{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:S,insetInlineStart:S,height:l},"&::after":{top:S,bottom:S,insetInlineStart:C,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{["> th, > td"]:{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,j.bf)(x(u).mul(-1).equal())} ${(0,j.bf)(x(f).mul(-1).equal())}`,padding:`${(0,j.bf)(u)} ${(0,j.bf)(f)}`}}}},La=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:a,paddingXXS:c,paddingXS:i,colorText:s,lineWidth:d,lineType:p,tableBorderColor:u,headerIconColor:f,fontSizeSM:m,tablePaddingHorizontal:v,borderRadius:h,motionDurationSlow:g,colorTextDescription:C,colorPrimary:b,tableHeaderFilterActiveBg:x,colorTextDisabled:w,tableFilterDropdownBg:S,tableFilterDropdownHeight:B,controlItemBgHover:$,controlItemBgActive:z,boxShadowSecondary:O,filterDropdownMenuBg:L,calc:W}=e,Z=`${n}-dropdown`,N=`${t}-filter-dropdown`,I=`${n}-tree`,A=`${(0,j.bf)(d)} ${p} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:W(c).mul(-1).equal(),marginInline:`${(0,j.bf)(c)} ${(0,j.bf)(W(v).div(2).mul(-1).equal())}`,padding:`0 ${(0,j.bf)(c)}`,color:f,fontSize:m,borderRadius:h,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:C,background:x},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[N]:Object.assign(Object.assign({},(0,zn.Wf)(e)),{minWidth:l,backgroundColor:S,borderRadius:h,boxShadow:O,overflow:"hidden",[`${Z}-menu`]:{maxHeight:B,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:L,"&:empty::after":{display:"block",padding:`${(0,j.bf)(i)} 0`,color:w,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${N}-tree`]:{paddingBlock:`${(0,j.bf)(i)} 0`,paddingInline:i,[I]:{padding:0},[`${I}-treenode ${I}-node-content-wrapper:hover`]:{backgroundColor:$},[`${I}-treenode-checkbox-checked ${I}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:z}}},[`${N}-search`]:{padding:i,borderBottom:A,"&-input":{input:{minWidth:a},[r]:{color:w}}},[`${N}-checkall`]:{width:"100%",marginBottom:c,marginInlineStart:c},[`${N}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,j.bf)(W(i).sub(d).equal())} ${(0,j.bf)(i)}`,overflow:"hidden",borderTop:A}})}},{[`${n}-dropdown ${N}, ${N}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:s},["> ul"]:{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Da=e=>{cons
${t}-cell-fix-left,
${t}-cell-fix-right
`]:{position:"sticky !important",zIndex:a,background:c},[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:s(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:s(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:s(i).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${d}`},[`
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${d}`}},[`${t}-fixed-column-gapped`]:{[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after,
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},ja=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,j.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Aa=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,j.bf)(n)} ${(0,j.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,j.bf)(n)} ${(0,j.bf)(n)}`}}}}},Wa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},Va=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:a,paddingXS:c,headerIconColor:i,headerIconHoverColor:s,tableSelectionColumnWidth:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:m,calc:v}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:v(d).add(v(c).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).add(v(c).mul(2)).equal()}},[`
table tr th${t}-selection-column,
table tr td${t}-selection-column,
${t}-selection-column
`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,j.bf)(v(m).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:p,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},Xa=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(a,c,i,s)=>({[`${t}${t}-${a}`]:{fontSize:s,[`
${t}-title,
${t}-footer,
${t}-cell,
${t}-thead > tr > th,
${t}-tbody > tr > th,
${t}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,j.bf)(c)} ${(0,j.bf)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,j.bf)(r(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,j.bf)(r(c).mul(-1).equal())} ${(0,j.bf)(r(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,j.bf)(r(c).mul(-1).equal()),marginInline:`${(0,j.bf)(r(n).sub(i).equal())} ${(0,j.bf)(r(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,j.bf)(r(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Ua=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`
&${t}-cell-fix-left:hover,
&${t}-cell-fix-right:hover
`]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:l,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},Ga=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:a,tableScrollBg:c,zIndexTableSticky:i,stickyScrollBarBorderRadius:s,lineWidth:d,lineType:p,tableBorderColor:u}=e,f=`${(0,j.bf)(d)} ${p} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,j.bf)(a)} !important`,zIndex:i,display:"flex",alignItems:"center",background:c,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},ao=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,a=`${(0,j.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,j.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},Ya=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:a,calc:c}=e,i=`${(0,j.bf)(r)} ${l} ${a}`,s=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${s}${s}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,j.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:c(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};const Ja=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:a,lineWidth:c,lineType:i,tableBorderColor:s,tableFontSize:d,tableBg:p,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:v,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:C,calc:b}=e,x=`${(0,j.bf)(c)} ${i} ${s}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zn.dF)()),{[t]:Object.assign(Object.assign({},(0,zn.Wf)(e)),{fontSize:d,background:p,borderRadius:`${(0,j.bf)(u)} ${(0,j.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,j.bf)(u)} ${(0,j.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${t}-cell,
${t}-thead > tr > th,
${t}-tbody > tr > th,
${t}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`},[`${t}-thead`]:{[`
> tr > th,
> tr > td
`]:{position:"relative",color:f,fontWeight:n,textAlign:"start",background:v,borderBottom:x,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{["> th, > td"]:{transition:`background ${m}, border-color ${m}`,borderBottom:x,[`
> ${t}-wrapper:only-child,
> ${t}-expanded-row-fixed > ${t}-wrapper:only-child
`]:{[t]:{marginBlock:(0,j.bf)(b(r).mul(-1).equal()),marginInline:`${(0,j.bf)(b(a).sub(l).equal())}
${(0,j.bf)(b(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:v,borderBottom:x,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${(0,j.bf)(r)} ${(0,j.bf)(l)}`,color:g,background:C}})}},Qa=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:a,controlItemBgActive:c,controlItemBgActiveHover:i,padding:s,paddingSM:d,paddingXS:p,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:m,colorTextPlaceholder:v,fontSize:h,fontSizeSM:g,lineHeight:C,lineWidth:b,colorIcon:x,colorIconHover:w,opacityLoading:S,controlInteractiveSize:B}=e,$=new yn.C(l).onBackground(n).toHexShortString(),z=new yn.C(a).onBackground(n).toHexShortString(),O=new yn.C(t).onBackground(n).toHexShortString(),L=new yn.C(x),W=new yn.C(w),Z=B/2-b,N=Z*2+b*3;return{headerBg:O,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:z,bodySortBg:O,rowHoverBg:O,rowSelectedBg:c,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:d,cellPaddingInlineMD:p,cellPaddingBlockSM:p,cellPaddingInlineSM:p,borderColor:u,headerBorderRadius:f,footerBg:O,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:u,fixedHeaderSortActiveBg:$,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:v,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*C-b*3)/2-Math.ceil((g*1.4-b*3)/2),headerIconColor:L.clone().setAlpha(L.getAlpha()*S).toRgbString(),headerIconHoverColor:W.clone().setAlpha(W.getAlpha()*S).toRgbString(),expandIconHalfInner:Z,expandIconSize:N,expandIconScale:B/N}};var qa=(0,Pa.I$)("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:a,headerColor:c,headerSortActiveBg:i,headerSortHoverBg:s,bodySortBg:d,rowHoverBg:p,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:m,cellPaddingBlock:v,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:C,cellPaddingBlockSM:b,cellPaddingInlineSM:x,borderColor:w,footerBg:S,footerColor:B,headerBorderRadius:$,cellFontSize:z,cellFontSizeMD:O,cellFontSizeSM:L,headerSplitColor:W,fixedHeaderSortActiveBg:Z,headerFilterHoverBg:N,filterDropdownBg:I,expandIconBg:A,selectionColumnWidth:H,stickyScrollBarBg:E,calc:T}=e,R=2,F=(0,Ba.TS)(e,{tableFontSize:z,tableBg:r,tableRadius:$,tablePaddingVertical:v,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:C,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:x,tableBorderColor:w,tableHeaderTextColor:c,tableHeaderBg:a,tableFooterTextColor:B,tableFooterBg:S,tableHeaderCellSplitColor:W,tableHeaderSortBg:i,tableHeaderSortHoverBg:s,tableBodySortBg:d,tableFixedHeaderSortActiveBg:Z,tableHeaderFilterActiveBg:N,tableFilterDropdownBg:I,tableRowHoverBg:p,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:R,zIndexTableSticky:R+1,tableFontSizeMiddle:O,tableFontSizeSmall:L,tableSelectionColumnWidth:H,tableExpandIconBg:A,tableExpandColumnWidth:T(l).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:E,tableScrollThumbBgHover:t,tableScrollBg:n});return[Ja(F),ja(F),ao(F),Ua(F),La(F),Ha(F),Aa(F),za(F),ao(F),Ma(F),Va(F),Da(F),Ga(F),Fa(F),Xa(F),Wa(F),Ya(F)]},Qa,{unitless:{expandIconScale:!0}});const _a=[],ei=(e,t)=>{var n,r;const{prefixCls:l,className:a,rootClassName:c,style:i,size:s,bordered:d,dropdownPrefixCls:p,dataSource:u,pagination:f,rowSelection:m,rowKey:v="key",rowClassName:h,columns:g,children:C,childrenColumnName:b,onChange:x,getPopupContainer:w,loading:S,expandIcon:B,expandable:$,expandedRowRender:z,expandIconColumnIndex:O,indentSize:L,scroll:W,sortDirections:Z,locale:N,showSorterTooltip:I={target:"full-header"},virtual:A}=e,H=(0,_n.ln)("Table"),E=o.useMemo(()=>g||Yn(C),[g,C]),T=o.useMemo(()=>E.some(Q=>Q.responsive),[E]),R=(0,