GoScrobble/web/node_modules/.cache/babel-loader/543de4d81923265fa8f59e95c097405a.json

1 line
3.9 KiB
JSON
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
{"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 ToastBody = function ToastBody(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, 'toast-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nToastBody.propTypes = propTypes;\nToastBody.defaultProps = defaultProps;\nexport default ToastBody;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/ToastBody.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","string","cssModule","object","innerRef","oneOfType","func","defaultProps","ToastBody","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,SAAS,GAAG,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;AACxC,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,YAAZ,CAAX,EAAsCE,SAAtC,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,SAAS,CAACV,SAAV,GAAsBA,SAAtB;AACAU,SAAS,CAACD,YAAV,GAAyBA,YAAzB;AACA,eAAeC,SAAf","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 ToastBody = function ToastBody(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, 'toast-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nToastBody.propTypes = propTypes;\nToastBody.defaultProps = defaultProps;\nexport default ToastBody;"]},"metadata":{},"sourceType":"module"}