const n=r=>{const{componentCls:t}=r,e=`${r.lineWidth}px ${r.lineType} ${r.tableBorderColor}`,d=(o,l,a)=>({[`&${t}-${o}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${l}px -${a+r.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:{[`> ${t}-title`]:{border:e,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:e,[`
            > ${t}-content,
            > ${t}-header,
            > ${t}-body,
            > ${t}-summary
          `]:{"> table":{"\n                > thead > tr > th,\n                > tbody > tr > td,\n                > tfoot > tr > th,\n                > tfoot > tr > td\n              ":{borderInlineEnd:e},"> thead":{"> tr:not(:last-child) > th":{borderBottom:e},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n                > thead > tr,\n                > tbody > tr,\n                > tfoot > tr\n              ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:e}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${r.tablePaddingVertical}px -${r.tablePaddingHorizontal+r.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:r.lineWidth,bottom:0,borderInlineEnd:e,content:'""'}}}}},[`
            > ${t}-content,
            > ${t}-header
          `]:{"> table":{borderTop:e}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`
                > tr${t}-expanded-row,
                > tr${t}-placeholder
              `]:{"> td":{borderInlineEnd:0}}}}},...d("middle",r.tablePaddingVerticalMiddle,r.tablePaddingHorizontalMiddle),...d("small",r.tablePaddingVerticalSmall,r.tablePaddingHorizontalSmall),[`> ${t}-footer`]:{border:e,borderTop:0}},[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${r.lineWidth}px 0 ${r.lineWidth}px ${r.tableHeaderBg}`}}}}};export{n as default};
