{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genSummaryStyle = token => {\n  const {\n    componentCls,\n    lineWidth,\n    tableBorderColor,\n    calc\n  } = token;\n  const tableBorder = `${unit(lineWidth)} ${token.lineType} ${tableBorderColor}`;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-summary`]: {\n        position: 'relative',\n        zIndex: token.zIndexTableFixed,\n        background: token.tableBg,\n        '> tr': {\n          '> th, > td': {\n            borderBottom: tableBorder\n          }\n        }\n      },\n      [`div${componentCls}-summary`]: {\n        boxShadow: `0 ${unit(calc(lineWidth).mul(-1).equal())} 0 ${tableBorderColor}`\n      }\n    }\n  };\n};\nexport default genSummaryStyle;","map":{"version":3,"names":["unit","genSummaryStyle","token","componentCls","lineWidth","tableBorderColor","calc","tableBorder","lineType","position","zIndex","zIndexTableFixed","background","tableBg","borderBottom","boxShadow","mul","equal"],"sources":["/Users/shanyi/Desktop/Projects/UC_Trains_Voice/react-demo/node_modules/antd/es/table/style/summary.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genSummaryStyle = token => {\n  const {\n    componentCls,\n    lineWidth,\n    tableBorderColor,\n    calc\n  } = token;\n  const tableBorder = `${unit(lineWidth)} ${token.lineType} ${tableBorderColor}`;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-summary`]: {\n        position: 'relative',\n        zIndex: token.zIndexTableFixed,\n        background: token.tableBg,\n        '> tr': {\n          '> th, > td': {\n            borderBottom: tableBorder\n          }\n        }\n      },\n      [`div${componentCls}-summary`]: {\n        boxShadow: `0 ${unit(calc(lineWidth).mul(-1).equal())} 0 ${tableBorderColor}`\n      }\n    }\n  };\n};\nexport default genSummaryStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,eAAe,GAAGC,KAAK,IAAI;EAC/B,MAAM;IACJC,YAAY;IACZC,SAAS;IACTC,gBAAgB;IAChBC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,WAAW,GAAI,GAAEP,IAAI,CAACI,SAAS,CAAE,IAAGF,KAAK,CAACM,QAAS,IAAGH,gBAAiB,EAAC;EAC9E,OAAO;IACL,CAAE,GAAEF,YAAa,UAAS,GAAG;MAC3B,CAAE,GAAEA,YAAa,UAAS,GAAG;QAC3BM,QAAQ,EAAE,UAAU;QACpBC,MAAM,EAAER,KAAK,CAACS,gBAAgB;QAC9BC,UAAU,EAAEV,KAAK,CAACW,OAAO;QACzB,MAAM,EAAE;UACN,YAAY,EAAE;YACZC,YAAY,EAAEP;UAChB;QACF;MACF,CAAC;MACD,CAAE,MAAKJ,YAAa,UAAS,GAAG;QAC9BY,SAAS,EAAG,KAAIf,IAAI,CAACM,IAAI,CAACF,SAAS,CAAC,CAACY,GAAG,CAAC,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,CAAE,MAAKZ,gBAAiB;MAC9E;IACF;EACF,CAAC;AACH,CAAC;AACD,eAAeJ,eAAe","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}