import "../../../../@ant-design/cssinjs/es/extractStyle.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
import "react";
import "../../../../@ant-design/cssinjs/es/StyleContext.mjs";
import { unit as e } from "../../../../@ant-design/cssinjs/es/util/index.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useHMR.mjs";
import "../../../../rc-util/es/warning.mjs";
import "../../../../@ant-design/cssinjs/es/theme/createTheme.mjs";
import "../../../../@ant-design/cssinjs/es/theme/ThemeCache.mjs";
import "../../../../@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
const a = (r) => {
  const {
    componentCls: t,
    lineWidth: o,
    tableBorderColor: m,
    calc: i
  } = r, p = `${e(o)} ${r.lineType} ${m}`;
  return {
    [`${t}-wrapper`]: {
      [`${t}-summary`]: {
        position: "relative",
        zIndex: r.zIndexTableFixed,
        background: r.tableBg,
        "> tr": {
          "> th, > td": {
            borderBottom: p
          }
        }
      },
      [`div${t}-summary`]: {
        boxShadow: `0 ${e(i(o).mul(-1).equal())} 0 ${m}`
      }
    }
  };
}, B = a;
export {
  B as default
};
