{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { clearFix, resetComponent, textEllipsis } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\n// ============================== Styles ==============================\n// ============================== Head ==============================\nconst genCardHeadStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    headerHeight,\n    cardPaddingBase,\n    tabsMarginBottom\n  } = token;\n  return Object.assign(Object.assign({\n    display: 'flex',\n    justifyContent: 'center',\n    flexDirection: 'column',\n    minHeight: headerHeight,\n    marginBottom: -1,\n    padding: `0 ${unit(cardPaddingBase)}`,\n    color: token.colorTextHeading,\n    fontWeight: token.fontWeightStrong,\n    fontSize: token.headerFontSize,\n    background: token.headerBg,\n    borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorderSecondary}`,\n    borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`\n  }, clearFix()), {\n    '&-wrapper': {\n      width: '100%',\n      display: 'flex',\n      alignItems: 'center'\n    },\n    '&-title': Object.assign(Object.assign({\n      display: 'inline-block',\n      flex: 1\n    }, textEllipsis), {\n      [`\n          > ${componentCls}-typography,\n          > ${componentCls}-typography-edit-content\n        `]: {\n        insetInlineStart: 0,\n        marginTop: 0,\n        marginBottom: 0\n      }\n    }),\n    [`${antCls}-tabs-top`]: {\n      clear: 'both',\n      marginBottom: tabsMarginBottom,\n      color: token.colorText,\n      fontWeight: 'normal',\n      fontSize: token.fontSize,\n      '&-bar': {\n        borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorderSecondary}`\n      }\n    }\n  });\n};\n// ============================== Grid ==============================\nconst genCardGridStyle = token => {\n  const {\n    cardPaddingBase,\n    colorBorderSecondary,\n    cardShadow,\n    lineWidth\n  } = token;\n  return {\n    width: '33.33%',\n    padding: cardPaddingBase,\n    border: 0,\n    borderRadius: 0,\n    boxShadow: `\n      ${unit(lineWidth)} 0 0 0 ${colorBorderSecondary},\n      0 ${unit(lineWidth)} 0 0 ${colorBorderSecondary},\n      ${unit(lineWidth)} ${unit(lineWidth)} 0 0 ${colorBorderSecondary},\n      ${unit(lineWidth)} 0 0 0 ${colorBorderSecondary} inset,\n      0 ${unit(lineWidth)} 0 0 ${colorBorderSecondary} inset;\n    `,\n    transition: `all ${token.motionDurationMid}`,\n    '&-hoverable:hover': {\n      position: 'relative',\n      zIndex: 1,\n      boxShadow: cardShadow\n    }\n  };\n};\n// ============================== Actions ==============================\nconst genCardActionsStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    actionsLiMargin,\n    cardActionsIconSize,\n    colorBorderSecondary,\n    actionsBg\n  } = token;\n  return Object.assign(Object.assign({\n    margin: 0,\n    padding: 0,\n    listStyle: 'none',\n    background: actionsBg,\n    borderTop: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,\n    display: 'flex',\n    borderRadius: `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`\n  }, clearFix()), {\n    '& > li': {\n      margin: actionsLiMargin,\n      color: token.colorTextDescription,\n      textAlign: 'center',\n      '> span': {\n        position: 'relative',\n        display: 'block',\n        minWidth: token.calc(token.cardActionsIconSize).mul(2).equal(),\n        fontSize: token.fontSize,\n        lineHeight: token.lineHeight,\n        cursor: 'pointer',\n        '&:hover': {\n          color: token.colorPrimary,\n          transition: `color ${token.motionDurationMid}`\n        },\n        [`a:not(${componentCls}-btn), > ${iconCls}`]: {\n          display: 'inline-block',\n          width: '100%',\n          color: token.colorTextDescription,\n          lineHeight: unit(token.fontHeight),\n          transition: `color ${token.motionDurationMid}`,\n          '&:hover': {\n            color: token.colorPrimary\n          }\n        },\n        [`> ${iconCls}`]: {\n          fontSize: cardActionsIconSize,\n          lineHeight: unit(token.calc(cardActionsIconSize).mul(token.lineHeight).equal())\n        }\n      },\n      '&:not(:last-child)': {\n        borderInlineEnd: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`\n      }\n    }\n  });\n};\n// ============================== Meta ==============================\nconst genCardMetaStyle = token => Object.assign(Object.assign({\n  margin: `${unit(token.calc(token.marginXXS).mul(-1).equal())} 0`,\n  display: 'flex'\n}, clearFix()), {\n  '&-avatar': {\n    paddingInlineEnd: token.padding\n  },\n  '&-detail': {\n    overflow: 'hidden',\n    flex: 1,\n    '> div:not(:last-child)': {\n      marginBottom: token.marginXS\n    }\n  },\n  '&-title': Object.assign({\n    color: token.colorTextHeading,\n    fontWeight: token.fontWeightStrong,\n    fontSize: token.fontSizeLG\n  }, textEllipsis),\n  '&-description': {\n    color: token.colorTextDescription\n  }\n});\n// ============================== Inner ==============================\nconst genCardTypeInnerStyle = token => {\n  const {\n    componentCls,\n    cardPaddingBase,\n    colorFillAlter\n  } = token;\n  return {\n    [`${componentCls}-head`]: {\n      padding: `0 ${unit(cardPaddingBase)}`,\n      background: colorFillAlter,\n      '&-title': {\n        fontSize: token.fontSize\n      }\n    },\n    [`${componentCls}-body`]: {\n      padding: `${unit(token.padding)} ${unit(cardPaddingBase)}`\n    }\n  };\n};\n// ============================== Loading ==============================\nconst genCardLoadingStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    overflow: 'hidden',\n    [`${componentCls}-body`]: {\n      userSelect: 'none'\n    }\n  };\n};\n// ============================== Basic ==============================\nconst genCardStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    cardShadow,\n    cardHeadPadding,\n    colorBorderSecondary,\n    boxShadowTertiary,\n    cardPaddingBase,\n    extraColor\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      background: token.colorBgContainer,\n      borderRadius: token.borderRadiusLG,\n      [`&:not(${componentCls}-bordered)`]: {\n        boxShadow: boxShadowTertiary\n      },\n      [`${componentCls}-head`]: genCardHeadStyle(token),\n      [`${componentCls}-extra`]: {\n        // https://stackoverflow.com/a/22429853/3040605\n        marginInlineStart: 'auto',\n        color: extraColor,\n        fontWeight: 'normal',\n        fontSize: token.fontSize\n      },\n      [`${componentCls}-body`]: Object.assign({\n        padding: cardPaddingBase,\n        borderRadius: ` 0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`\n      }, clearFix()),\n      [`${componentCls}-grid`]: genCardGridStyle(token),\n      [`${componentCls}-cover`]: {\n        '> *': {\n          display: 'block',\n          width: '100%'\n        },\n        [`img, img + ${antCls}-image-mask`]: {\n          borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`\n        }\n      },\n      [`${componentCls}-actions`]: genCardActionsStyle(token),\n      [`${componentCls}-meta`]: genCardMetaStyle(token)\n    }),\n    [`${componentCls}-bordered`]: {\n      border: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,\n      [`${componentCls}-cover`]: {\n        marginTop: -1,\n        marginInlineStart: -1,\n        marginInlineEnd: -1\n      }\n    },\n    [`${componentCls}-hoverable`]: {\n      cursor: 'pointer',\n      transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`,\n      '&:hover': {\n        borderColor: 'transparent',\n        boxShadow: cardShadow\n      }\n    },\n    [`${componentCls}-contain-grid`]: {\n      borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0 `,\n      [`${componentCls}-body`]: {\n        display: 'flex',\n        flexWrap: 'wrap'\n      },\n      [`&:not(${componentCls}-loading) ${componentCls}-body`]: {\n        marginBlockStart: token.calc(token.lineWidth).mul(-1).equal(),\n        marginInlineStart: token.calc(token.lineWidth).mul(-1).equal(),\n        padding: 0\n      }\n    },\n    [`${componentCls}-contain-tabs`]: {\n      [`> ${componentCls}-head`]: {\n        minHeight: 0,\n        [`${componentCls}-head-title, ${componentCls}-extra`]: {\n          paddingTop: cardHeadPadding\n        }\n      }\n    },\n    [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token),\n    [`${componentCls}-loading`]: genCardLoadingStyle(token),\n    [`${componentCls}-rtl`]: {\n      direction: 'rtl'\n    }\n  };\n};\n// ============================== Size ==============================\nconst genCardSizeStyle = token => {\n  const {\n    componentCls,\n    cardPaddingSM,\n    headerHeightSM,\n    headerFontSizeSM\n  } = token;\n  return {\n    [`${componentCls}-small`]: {\n      [`> ${componentCls}-head`]: {\n        minHeight: headerHeightSM,\n        padding: `0 ${unit(cardPaddingSM)}`,\n        fontSize: headerFontSizeSM,\n        [`> ${componentCls}-head-wrapper`]: {\n          [`> ${componentCls}-extra`]: {\n            fontSize: token.fontSize\n          }\n        }\n      },\n      [`> ${componentCls}-body`]: {\n        padding: cardPaddingSM\n      }\n    },\n    [`${componentCls}-small${componentCls}-contain-tabs`]: {\n      [`> ${componentCls}-head`]: {\n        [`${componentCls}-head-title, ${componentCls}-extra`]: {\n          paddingTop: 0,\n          display: 'flex',\n          alignItems: 'center'\n        }\n      }\n    }\n  };\n};\nexport const prepareComponentToken = token => ({\n  headerBg: 'transparent',\n  headerFontSize: token.fontSizeLG,\n  headerFontSizeSM: token.fontSize,\n  headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2,\n  headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2,\n  actionsBg: token.colorBgContainer,\n  actionsLiMargin: `${token.paddingSM}px 0`,\n  tabsMarginBottom: -token.padding - token.lineWidth,\n  extraColor: token.colorText\n});\n// ============================== Export ==============================\nexport default genStyleHooks('Card', token => {\n  const cardToken = mergeToken(token, {\n    cardShadow: token.boxShadowCard,\n    cardHeadPadding: token.padding,\n    cardPaddingBase: token.paddingLG,\n    cardActionsIconSize: token.fontSize,\n    cardPaddingSM: 12 // Fixed padding.\n  });\n  return [\n  // Style\n  genCardStyle(cardToken),\n  // Size\n  genCardSizeStyle(cardToken)];\n}, prepareComponentToken);","map":{"version":3,"names":["unit","clearFix","resetComponent","textEllipsis","genStyleHooks","mergeToken","genCardHeadStyle","token","antCls","componentCls","headerHeight","cardPaddingBase","tabsMarginBottom","Object","assign","display","justifyContent","flexDirection","minHeight","marginBottom","padding","color","colorTextHeading","fontWeight","fontWeightStrong","fontSize","headerFontSize","background","headerBg","borderBottom","lineWidth","lineType","colorBorderSecondary","borderRadius","borderRadiusLG","width","alignItems","flex","insetInlineStart","marginTop","clear","colorText","genCardGridStyle","cardShadow","border","boxShadow","transition","motionDurationMid","position","zIndex","genCardActionsStyle","iconCls","actionsLiMargin","cardActionsIconSize","actionsBg","margin","listStyle","borderTop","colorTextDescription","textAlign","minWidth","calc","mul","equal","lineHeight","cursor","colorPrimary","fontHeight","borderInlineEnd","genCardMetaStyle","marginXXS","paddingInlineEnd","overflow","marginXS","fontSizeLG","genCardTypeInnerStyle","colorFillAlter","genCardLoadingStyle","userSelect","genCardStyle","cardHeadPadding","boxShadowTertiary","extraColor","colorBgContainer","marginInlineStart","marginInlineEnd","borderColor","flexWrap","marginBlockStart","paddingTop","direction","genCardSizeStyle","cardPaddingSM","headerHeightSM","headerFontSizeSM","prepareComponentToken","lineHeightLG","paddingXS","paddingSM","cardToken","boxShadowCard","paddingLG"],"sources":["/var/www/gavt/node_modules/antd/es/card/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { clearFix, resetComponent, textEllipsis } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\n// ============================== Styles ==============================\n// ============================== Head ==============================\nconst genCardHeadStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    headerHeight,\n    cardPaddingBase,\n    tabsMarginBottom\n  } = token;\n  return Object.assign(Object.assign({\n    display: 'flex',\n    justifyContent: 'center',\n    flexDirection: 'column',\n    minHeight: headerHeight,\n    marginBottom: -1,\n    padding: `0 ${unit(cardPaddingBase)}`,\n    color: token.colorTextHeading,\n    fontWeight: token.fontWeightStrong,\n    fontSize: token.headerFontSize,\n    background: token.headerBg,\n    borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorderSecondary}`,\n    borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`\n  }, clearFix()), {\n    '&-wrapper': {\n      width: '100%',\n      display: 'flex',\n      alignItems: 'center'\n    },\n    '&-title': Object.assign(Object.assign({\n      display: 'inline-block',\n      flex: 1\n    }, textEllipsis), {\n      [`\n          > ${componentCls}-typography,\n          > ${componentCls}-typography-edit-content\n        `]: {\n        insetInlineStart: 0,\n        marginTop: 0,\n        marginBottom: 0\n      }\n    }),\n    [`${antCls}-tabs-top`]: {\n      clear: 'both',\n      marginBottom: tabsMarginBottom,\n      color: token.colorText,\n      fontWeight: 'normal',\n      fontSize: token.fontSize,\n      '&-bar': {\n        borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorderSecondary}`\n      }\n    }\n  });\n};\n// ============================== Grid ==============================\nconst genCardGridStyle = token => {\n  const {\n    cardPaddingBase,\n    colorBorderSecondary,\n    cardShadow,\n    lineWidth\n  } = token;\n  return {\n    width: '33.33%',\n    padding: cardPaddingBase,\n    border: 0,\n    borderRadius: 0,\n    boxShadow: `\n      ${unit(lineWidth)} 0 0 0 ${colorBorderSecondary},\n      0 ${unit(lineWidth)} 0 0 ${colorBorderSecondary},\n      ${unit(lineWidth)} ${unit(lineWidth)} 0 0 ${colorBorderSecondary},\n      ${unit(lineWidth)} 0 0 0 ${colorBorderSecondary} inset,\n      0 ${unit(lineWidth)} 0 0 ${colorBorderSecondary} inset;\n    `,\n    transition: `all ${token.motionDurationMid}`,\n    '&-hoverable:hover': {\n      position: 'relative',\n      zIndex: 1,\n      boxShadow: cardShadow\n    }\n  };\n};\n// ============================== Actions ==============================\nconst genCardActionsStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    actionsLiMargin,\n    cardActionsIconSize,\n    colorBorderSecondary,\n    actionsBg\n  } = token;\n  return Object.assign(Object.assign({\n    margin: 0,\n    padding: 0,\n    listStyle: 'none',\n    background: actionsBg,\n    borderTop: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,\n    display: 'flex',\n    borderRadius: `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`\n  }, clearFix()), {\n    '& > li': {\n      margin: actionsLiMargin,\n      color: token.colorTextDescription,\n      textAlign: 'center',\n      '> span': {\n        position: 'relative',\n        display: 'block',\n        minWidth: token.calc(token.cardActionsIconSize).mul(2).equal(),\n        fontSize: token.fontSize,\n        lineHeight: token.lineHeight,\n        cursor: 'pointer',\n        '&:hover': {\n          color: token.colorPrimary,\n          transition: `color ${token.motionDurationMid}`\n        },\n        [`a:not(${componentCls}-btn), > ${iconCls}`]: {\n          display: 'inline-block',\n          width: '100%',\n          color: token.colorTextDescription,\n          lineHeight: unit(token.fontHeight),\n          transition: `color ${token.motionDurationMid}`,\n          '&:hover': {\n            color: token.colorPrimary\n          }\n        },\n        [`> ${iconCls}`]: {\n          fontSize: cardActionsIconSize,\n          lineHeight: unit(token.calc(cardActionsIconSize).mul(token.lineHeight).equal())\n        }\n      },\n      '&:not(:last-child)': {\n        borderInlineEnd: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`\n      }\n    }\n  });\n};\n// ============================== Meta ==============================\nconst genCardMetaStyle = token => Object.assign(Object.assign({\n  margin: `${unit(token.calc(token.marginXXS).mul(-1).equal())} 0`,\n  display: 'flex'\n}, clearFix()), {\n  '&-avatar': {\n    paddingInlineEnd: token.padding\n  },\n  '&-detail': {\n    overflow: 'hidden',\n    flex: 1,\n    '> div:not(:last-child)': {\n      marginBottom: token.marginXS\n    }\n  },\n  '&-title': Object.assign({\n    color: token.colorTextHeading,\n    fontWeight: token.fontWeightStrong,\n    fontSize: token.fontSizeLG\n  }, textEllipsis),\n  '&-description': {\n    color: token.colorTextDescription\n  }\n});\n// ============================== Inner ==============================\nconst genCardTypeInnerStyle = token => {\n  const {\n    componentCls,\n    cardPaddingBase,\n    colorFillAlter\n  } = token;\n  return {\n    [`${componentCls}-head`]: {\n      padding: `0 ${unit(cardPaddingBase)}`,\n      background: colorFillAlter,\n      '&-title': {\n        fontSize: token.fontSize\n      }\n    },\n    [`${componentCls}-body`]: {\n      padding: `${unit(token.padding)} ${unit(cardPaddingBase)}`\n    }\n  };\n};\n// ============================== Loading ==============================\nconst genCardLoadingStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    overflow: 'hidden',\n    [`${componentCls}-body`]: {\n      userSelect: 'none'\n    }\n  };\n};\n// ============================== Basic ==============================\nconst genCardStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    cardShadow,\n    cardHeadPadding,\n    colorBorderSecondary,\n    boxShadowTertiary,\n    cardPaddingBase,\n    extraColor\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      background: token.colorBgContainer,\n      borderRadius: token.borderRadiusLG,\n      [`&:not(${componentCls}-bordered)`]: {\n        boxShadow: boxShadowTertiary\n      },\n      [`${componentCls}-head`]: genCardHeadStyle(token),\n      [`${componentCls}-extra`]: {\n        // https://stackoverflow.com/a/22429853/3040605\n        marginInlineStart: 'auto',\n        color: extraColor,\n        fontWeight: 'normal',\n        fontSize: token.fontSize\n      },\n      [`${componentCls}-body`]: Object.assign({\n        padding: cardPaddingBase,\n        borderRadius: ` 0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`\n      }, clearFix()),\n      [`${componentCls}-grid`]: genCardGridStyle(token),\n      [`${componentCls}-cover`]: {\n        '> *': {\n          display: 'block',\n          width: '100%'\n        },\n        [`img, img + ${antCls}-image-mask`]: {\n          borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`\n        }\n      },\n      [`${componentCls}-actions`]: genCardActionsStyle(token),\n      [`${componentCls}-meta`]: genCardMetaStyle(token)\n    }),\n    [`${componentCls}-bordered`]: {\n      border: `${unit(token.lineWidth)} ${token.lineType} ${colorBorderSecondary}`,\n      [`${componentCls}-cover`]: {\n        marginTop: -1,\n        marginInlineStart: -1,\n        marginInlineEnd: -1\n      }\n    },\n    [`${componentCls}-hoverable`]: {\n      cursor: 'pointer',\n      transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`,\n      '&:hover': {\n        borderColor: 'transparent',\n        boxShadow: cardShadow\n      }\n    },\n    [`${componentCls}-contain-grid`]: {\n      borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0 `,\n      [`${componentCls}-body`]: {\n        display: 'flex',\n        flexWrap: 'wrap'\n      },\n      [`&:not(${componentCls}-loading) ${componentCls}-body`]: {\n        marginBlockStart: token.calc(token.lineWidth).mul(-1).equal(),\n        marginInlineStart: token.calc(token.lineWidth).mul(-1).equal(),\n        padding: 0\n      }\n    },\n    [`${componentCls}-contain-tabs`]: {\n      [`> ${componentCls}-head`]: {\n        minHeight: 0,\n        [`${componentCls}-head-title, ${componentCls}-extra`]: {\n          paddingTop: cardHeadPadding\n        }\n      }\n    },\n    [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token),\n    [`${componentCls}-loading`]: genCardLoadingStyle(token),\n    [`${componentCls}-rtl`]: {\n      direction: 'rtl'\n    }\n  };\n};\n// ============================== Size ==============================\nconst genCardSizeStyle = token => {\n  const {\n    componentCls,\n    cardPaddingSM,\n    headerHeightSM,\n    headerFontSizeSM\n  } = token;\n  return {\n    [`${componentCls}-small`]: {\n      [`> ${componentCls}-head`]: {\n        minHeight: headerHeightSM,\n        padding: `0 ${unit(cardPaddingSM)}`,\n        fontSize: headerFontSizeSM,\n        [`> ${componentCls}-head-wrapper`]: {\n          [`> ${componentCls}-extra`]: {\n            fontSize: token.fontSize\n          }\n        }\n      },\n      [`> ${componentCls}-body`]: {\n        padding: cardPaddingSM\n      }\n    },\n    [`${componentCls}-small${componentCls}-contain-tabs`]: {\n      [`> ${componentCls}-head`]: {\n        [`${componentCls}-head-title, ${componentCls}-extra`]: {\n          paddingTop: 0,\n          display: 'flex',\n          alignItems: 'center'\n        }\n      }\n    }\n  };\n};\nexport const prepareComponentToken = token => ({\n  headerBg: 'transparent',\n  headerFontSize: token.fontSizeLG,\n  headerFontSizeSM: token.fontSize,\n  headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2,\n  headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2,\n  actionsBg: token.colorBgContainer,\n  actionsLiMargin: `${token.paddingSM}px 0`,\n  tabsMarginBottom: -token.padding - token.lineWidth,\n  extraColor: token.colorText\n});\n// ============================== Export ==============================\nexport default genStyleHooks('Card', token => {\n  const cardToken = mergeToken(token, {\n    cardShadow: token.boxShadowCard,\n    cardHeadPadding: token.padding,\n    cardPaddingBase: token.paddingLG,\n    cardActionsIconSize: token.fontSize,\n    cardPaddingSM: 12 // Fixed padding.\n  });\n  return [\n  // Style\n  genCardStyle(cardToken),\n  // Size\n  genCardSizeStyle(cardToken)];\n}, prepareComponentToken);"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,QAAQ,EAAEC,cAAc,EAAEC,YAAY,QAAQ,aAAa;AACpE,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE;AACA;AACA,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAM;IACJC,MAAM;IACNC,YAAY;IACZC,YAAY;IACZC,eAAe;IACfC;EACF,CAAC,GAAGL,KAAK;EACT,OAAOM,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC;IACjCC,OAAO,EAAE,MAAM;IACfC,cAAc,EAAE,QAAQ;IACxBC,aAAa,EAAE,QAAQ;IACvBC,SAAS,EAAER,YAAY;IACvBS,YAAY,EAAE,CAAC,CAAC;IAChBC,OAAO,EAAG,KAAIpB,IAAI,CAACW,eAAe,CAAE,EAAC;IACrCU,KAAK,EAAEd,KAAK,CAACe,gBAAgB;IAC7BC,UAAU,EAAEhB,KAAK,CAACiB,gBAAgB;IAClCC,QAAQ,EAAElB,KAAK,CAACmB,cAAc;IAC9BC,UAAU,EAAEpB,KAAK,CAACqB,QAAQ;IAC1BC,YAAY,EAAG,GAAE7B,IAAI,CAACO,KAAK,CAACuB,SAAS,CAAE,IAAGvB,KAAK,CAACwB,QAAS,IAAGxB,KAAK,CAACyB,oBAAqB,EA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