{"ast":null,"code":"\"use client\";\n\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction notEmpty(val) {\n  return val !== undefined && val !== null;\n}\nconst Cell = props => {\n  const {\n    itemPrefixCls,\n    component,\n    span,\n    className,\n    style,\n    labelStyle,\n    contentStyle,\n    bordered,\n    label,\n    content,\n    colon\n  } = props;\n  const Component = component;\n  if (bordered) {\n    return /*#__PURE__*/React.createElement(Component, {\n      className: classNames({\n        [`${itemPrefixCls}-item-label`]: notEmpty(label),\n        [`${itemPrefixCls}-item-content`]: notEmpty(content)\n      }, className),\n      style: style,\n      colSpan: span\n    }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n      style: labelStyle\n    }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n      style: contentStyle\n    }, content));\n  }\n  return /*#__PURE__*/React.createElement(Component, {\n    className: classNames(`${itemPrefixCls}-item`, className),\n    style: style,\n    colSpan: span\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: `${itemPrefixCls}-item-container`\n  }, (label || label === 0) && /*#__PURE__*/React.createElement(\"span\", {\n    className: classNames(`${itemPrefixCls}-item-label`, {\n      [`${itemPrefixCls}-item-no-colon`]: !colon\n    }),\n    style: labelStyle\n  }, label), (content || content === 0) && /*#__PURE__*/React.createElement(\"span\", {\n    className: classNames(`${itemPrefixCls}-item-content`),\n    style: contentStyle\n  }, content)));\n};\nexport default Cell;","map":{"version":3,"names":["classNames","React","notEmpty","val","undefined","Cell","props","itemPrefixCls","component","span","className","style","labelStyle","contentStyle","bordered","label","content","colon","Component","createElement","colSpan"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/descriptions/Cell.js"],"sourcesContent":["\"use client\";\n\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction notEmpty(val) {\n  return val !== undefined && val !== null;\n}\nconst Cell = props => {\n  const {\n    itemPrefixCls,\n    component,\n    span,\n    className,\n    style,\n    labelStyle,\n    contentStyle,\n    bordered,\n    label,\n    content,\n    colon\n  } = props;\n  const Component = component;\n  if (bordered) {\n    return /*#__PURE__*/React.createElement(Component, {\n      className: classNames({\n        [`${itemPrefixCls}-item-label`]: notEmpty(label),\n        [`${itemPrefixCls}-item-content`]: notEmpty(content)\n      }, className),\n      style: style,\n      colSpan: span\n    }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n      style: labelStyle\n    }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n      style: contentStyle\n    }, content));\n  }\n  return /*#__PURE__*/React.createElement(Component, {\n    className: classNames(`${itemPrefixCls}-item`, className),\n    style: style,\n    colSpan: span\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: `${itemPrefixCls}-item-container`\n  }, (label || label === 0) && /*#__PURE__*/React.createElement(\"span\", {\n    className: classNames(`${itemPrefixCls}-item-label`, {\n      [`${itemPrefixCls}-item-no-colon`]: !colon\n    }),\n    style: labelStyle\n  }, label), (content || content === 0) && /*#__PURE__*/React.createElement(\"span\", {\n    className: classNames(`${itemPrefixCls}-item-content`),\n    style: contentStyle\n  }, content)));\n};\nexport default Cell;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQA,CAACC,GAAG,EAAE;EACrB,OAAOA,GAAG,KAAKC,SAAS,IAAID,GAAG,KAAK,IAAI;AAC1C;AACA,MAAME,IAAI,GAAGC,KAAK,IAAI;EACpB,MAAM;IACJC,aAAa;IACbC,SAAS;IACTC,IAAI;IACJC,SAAS;IACTC,KAAK;IACLC,UAAU;IACVC,YAAY;IACZC,QAAQ;IACRC,KAAK;IACLC,OAAO;IACPC;EACF,CAAC,GAAGX,KAAK;EACT,MAAMY,SAAS,GAAGV,SAAS;EAC3B,IAAIM,QAAQ,EAAE;IACZ,OAAO,aAAab,KAAK,CAACkB,aAAa,CAACD,SAAS,EAAE;MACjDR,SAAS,EAAEV,UAAU,CAAC;QACp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