mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCardBody.propTypes = propTypes;\nCardBody.defaultProps = defaultProps;\nexport default CardBody;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/CardBody.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","string","cssModule","object","innerRef","oneOfType","func","defaultProps","CardBody","props","Tag","attributes","classes","createElement","ref"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,6BAAP,MAA0C,yDAA1C;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,eAAT,EAA0BC,WAA1B,QAA6C,SAA7C;AACA,IAAIC,SAAS,GAAG;AACdC,EAAAA,GAAG,EAAEF,WADS;AAEdG,EAAAA,SAAS,EAAEN,SAAS,CAACO,MAFP;AAGdC,EAAAA,SAAS,EAAER,SAAS,CAACS,MAHP;AAIdC,EAAAA,QAAQ,EAAEV,SAAS,CAACW,SAAV,CAAoB,CAACX,SAAS,CAACS,MAAX,EAAmBT,SAAS,CAACO,MAA7B,EAAqCP,SAAS,CAACY,IAA/C,CAApB;AAJI,CAAhB;AAMA,IAAIC,YAAY,GAAG;AACjBR,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIS,QAAQ,GAAG,SAASA,QAAT,CAAkBC,KAAlB,EAAyB;AACtC,MAAIT,SAAS,GAAGS,KAAK,CAACT,SAAtB;AAAA,MACIE,SAAS,GAAGO,KAAK,CAACP,SADtB;AAAA,MAEIE,QAAQ,GAAGK,KAAK,CAACL,QAFrB;AAAA,MAGIM,GAAG,GAAGD,KAAK,CAACV,GAHhB;AAAA,MAIIY,UAAU,GAAGnB,6BAA6B,CAACiB,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,UAA3B,EAAuC,KAAvC,CAAR,CAJ9C;;AAMA,MAAIG,OAAO,GAAGhB,eAAe,CAACD,UAAU,CAACK,SAAD,EAAY,WAAZ,CAAX,EAAqCE,SAArC,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACoB,aAAN,CAAoBH,GAApB,EAAyBnB,QAAQ,CAAC,EAAD,EAAKoB,UAAL,EAAiB;AACpEX,IAAAA,SAAS,EAAEY,OADyD;AAEpEE,IAAAA,GAAG,EAAEV;AAF+D,GAAjB,CAAjC,CAApB;AAID,CAZD;;AAcAI,QAAQ,CAACV,SAAT,GAAqBA,SAArB;AACAU,QAAQ,CAACD,YAAT,GAAwBA,YAAxB;AACA,eAAeC,QAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCardBody.propTypes = propTypes;\nCardBody.defaultProps = defaultProps;\nexport default CardBody;"]},"metadata":{},"sourceType":"module"} |