{"ast":null,"code":"\"use client\";\n\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Styles ==============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    lineHeightHeading3,\n    iconCls,\n    padding,\n    paddingXL,\n    paddingXS,\n    paddingLG,\n    marginXS,\n    lineHeight\n  } = token;\n  return {\n    // Result\n    [componentCls]: {\n      padding: `${paddingLG * 2}px ${paddingXL}px`,\n      // RTL\n      '&-rtl': {\n        direction: 'rtl'\n      }\n    },\n    // Exception Status image\n    [`${componentCls} ${componentCls}-image`]: {\n      width: token.imageWidth,\n      height: token.imageHeight,\n      margin: 'auto'\n    },\n    [`${componentCls} ${componentCls}-icon`]: {\n      marginBottom: paddingLG,\n      textAlign: 'center',\n      [`& > ${iconCls}`]: {\n        fontSize: token.iconFontSize\n      }\n    },\n    [`${componentCls} ${componentCls}-title`]: {\n      color: token.colorTextHeading,\n      fontSize: token.titleFontSize,\n      lineHeight: lineHeightHeading3,\n      marginBlock: marginXS,\n      textAlign: 'center'\n    },\n    [`${componentCls} ${componentCls}-subtitle`]: {\n      color: token.colorTextDescription,\n      fontSize: token.subtitleFontSize,\n      lineHeight,\n      textAlign: 'center'\n    },\n    [`${componentCls} ${componentCls}-content`]: {\n      marginTop: paddingLG,\n      padding: `${paddingLG}px ${padding * 2.5}px`,\n      backgroundColor: token.colorFillAlter\n    },\n    [`${componentCls} ${componentCls}-extra`]: {\n      margin: token.extraMargin,\n      textAlign: 'center',\n      '& > *': {\n        marginInlineEnd: paddingXS,\n        '&:last-child': {\n          marginInlineEnd: 0\n        }\n      }\n    }\n  };\n};\nconst genStatusIconStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-success ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultSuccessIconColor\n    },\n    [`${componentCls}-error ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultErrorIconColor\n    },\n    [`${componentCls}-info ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultInfoIconColor\n    },\n    [`${componentCls}-warning ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultWarningIconColor\n    }\n  };\n};\nconst genResultStyle = token => [genBaseStyle(token), genStatusIconStyle(token)];\n// ============================== Export ==============================\nconst getStyle = token => genResultStyle(token);\nexport default genComponentStyleHook('Result', token => {\n  const resultInfoIconColor = token.colorInfo;\n  const resultErrorIconColor = token.colorError;\n  const resultSuccessIconColor = token.colorSuccess;\n  const resultWarningIconColor = token.colorWarning;\n  const resultToken = mergeToken(token, {\n    resultInfoIconColor,\n    resultErrorIconColor,\n    resultSuccessIconColor,\n    resultWarningIconColor,\n    imageWidth: 250,\n    imageHeight: 295\n  });\n  return [getStyle(resultToken)];\n}, token => ({\n  titleFontSize: token.fontSizeHeading3,\n  subtitleFontSize: token.fontSize,\n  iconFontSize: token.fontSizeHeading3 * 3,\n  extraMargin: `${token.paddingLG}px 0 0 0`\n}));","map":{"version":3,"names":["genComponentStyleHook","mergeToken","genBaseStyle","token","componentCls","lineHeightHeading3","iconCls","padding","paddingXL","paddingXS","paddingLG","marginXS","lineHeight","direction","width","imageWidth","height","imageHeight","margin","marginBottom","textAlign","fontSize","iconFontSize","color","colorTextHeading","titleFontSize","marginBlock","colorTextDescription","subtitleFontSize","marginTop","backgroundColor","colorFillAlter","extraMargin","marginInlineEnd","genStatusIconStyle","resultSuccessIconColor","resultErrorIconColor","resultInfoIconColor","resultWarningIconColor","genResultStyle","getStyle","colorInfo","colorError","colorSuccess","colorWarning","resultToken","fontSizeHeading3"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/result/style/index.js"],"sourcesContent":["\"use client\";\n\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\n// ============================== Styles ==============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    lineHeightHeading3,\n    iconCls,\n    padding,\n    paddingXL,\n    paddingXS,\n    paddingLG,\n    marginXS,\n    lineHeight\n  } = token;\n  return {\n    // Result\n    [componentCls]: {\n      padding: `${paddingLG * 2}px ${paddingXL}px`,\n      // RTL\n      '&-rtl': {\n        direction: 'rtl'\n      }\n    },\n    // Exception Status image\n    [`${componentCls} ${componentCls}-image`]: {\n      width: token.imageWidth,\n      height: token.imageHeight,\n      margin: 'auto'\n    },\n    [`${componentCls} ${componentCls}-icon`]: {\n      marginBottom: paddingLG,\n      textAlign: 'center',\n      [`& > ${iconCls}`]: {\n        fontSize: token.iconFontSize\n      }\n    },\n    [`${componentCls} ${componentCls}-title`]: {\n      color: token.colorTextHeading,\n      fontSize: token.titleFontSize,\n      lineHeight: lineHeightHeading3,\n      marginBlock: marginXS,\n      textAlign: 'center'\n    },\n    [`${componentCls} ${componentCls}-subtitle`]: {\n      color: token.colorTextDescription,\n      fontSize: token.subtitleFontSize,\n      lineHeight,\n      textAlign: 'center'\n    },\n    [`${componentCls} ${componentCls}-content`]: {\n      marginTop: paddingLG,\n      padding: `${paddingLG}px ${padding * 2.5}px`,\n      backgroundColor: token.colorFillAlter\n    },\n    [`${componentCls} ${componentCls}-extra`]: {\n      margin: token.extraMargin,\n      textAlign: 'center',\n      '& > *': {\n        marginInlineEnd: paddingXS,\n        '&:last-child': {\n          marginInlineEnd: 0\n        }\n      }\n    }\n  };\n};\nconst genStatusIconStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-success ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultSuccessIconColor\n    },\n    [`${componentCls}-error ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultErrorIconColor\n    },\n    [`${componentCls}-info ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultInfoIconColor\n    },\n    [`${componentCls}-warning ${componentCls}-icon > ${iconCls}`]: {\n      color: token.resultWarningIconColor\n    }\n  };\n};\nconst genResultStyle = token => [genBaseStyle(token), genStatusIconStyle(token)];\n// ============================== Export ==============================\nconst getStyle = token => genResultStyle(token);\nexport default genComponentStyleHook('Result', token => {\n  const resultInfoIconColor = token.colorInfo;\n  const resultErrorIconColor = token.colorError;\n  const resultSuccessIconColor = token.colorSuccess;\n  const resultWarningIconColor = token.colorWarning;\n  const resultToken = mergeToken(token, {\n    resultInfoIconColor,\n    resultErrorIconColor,\n    resultSuccessIconColor,\n    resultWarningIconColor,\n    imageWidth: 250,\n    imageHeight: 295\n  });\n  return [getStyle(resultToken)];\n}, token => ({\n  titleFontSize: token.fontSizeHeading3,\n  subtitleFontSize: token.fontSize,\n  iconFontSize: token.fontSizeHeading3 * 3,\n  extraMargin: `${token.paddingLG}px 0 0 0`\n}));"],"mappings":"AAAA,YAAY;;AAEZ,SAASA,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE;AACA,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,YAAY;IACZC,kBAAkB;IAClBC,OAAO;IACPC,OAAO;IACPC,SAAS;IACTC,SAAS;IACTC,SAAS;IACTC,QAAQ;IACRC;EACF,CAAC,GAAGT,KAAK;EACT,OAAO;IACL;IACA,CAACC,YAAY,GAAG;MACdG,OAAO,EAAG,GAAEG,SAAS,GAAG,CAAE,MAAKF,SAAU,IAAG;MAC5C;MACA,OAAO,EAAE;QACPK,SAAS,EAAE;MACb;IACF,CAAC;IACD;IACA,CAAE,GAAET,YAAa,IAAGA,YAAa,QAAO,GAAG;MACzCU,KAAK,EAAEX,KAAK,CAACY,UAAU;MACvBC,MAAM,EAAEb,KAAK,CAACc,WAAW;MACzBC,MAAM,EAAE;IACV,CAAC;IACD,CAAE,GAAEd,YAAa,IAAGA,YAAa,OAAM,GAAG;MACxCe,YAAY,EAAET,SAAS;MACvBU,SAAS,EAAE,QAAQ;MACnB,CAAE,OAAMd,OAAQ,EAAC,GAAG;QAClBe,QAAQ,EAAElB,KAAK,CAACmB;MAClB;IACF,CAAC;IACD,CAAE,GAAElB,YAAa,IAAGA,YAAa,QAAO,GAAG;MACzCmB,KAAK,EAAEpB,KAAK,CAACqB,gBAAgB;MAC7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