GoScrobble/web/node_modules/.cache/babel-loader/c416d8e0646d077ac19e690d8f86cc74.json

1 line
3.4 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};\nvar defaultProps = {\n tag: 'h3'\n};\n\nvar PopoverHeader = function PopoverHeader(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'popover-header'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nPopoverHeader.propTypes = propTypes;\nPopoverHeader.defaultProps = defaultProps;\nexport default PopoverHeader;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/PopoverHeader.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","string","cssModule","object","defaultProps","PopoverHeader","props","Tag","attributes","classes","createElement"],"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;AAHP,CAAhB;AAKA,IAAIC,YAAY,GAAG;AACjBL,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIM,aAAa,GAAG,SAASA,aAAT,CAAuBC,KAAvB,EAA8B;AAChD,MAAIN,SAAS,GAAGM,KAAK,CAACN,SAAtB;AAAA,MACIE,SAAS,GAAGI,KAAK,CAACJ,SADtB;AAAA,MAEIK,GAAG,GAAGD,KAAK,CAACP,GAFhB;AAAA,MAGIS,UAAU,GAAGhB,6BAA6B,CAACc,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,KAA3B,CAAR,CAH9C;;AAKA,MAAIG,OAAO,GAAGb,eAAe,CAACD,UAAU,CAACK,SAAD,EAAY,gBAAZ,CAAX,EAA0CE,SAA1C,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACiB,aAAN,CAAoBH,GAApB,EAAyBhB,QAAQ,CAAC,EAAD,EAAKiB,UAAL,EAAiB;AACpER,IAAAA,SAAS,EAAES;AADyD,GAAjB,CAAjC,CAApB;AAGD,CAVD;;AAYAJ,aAAa,CAACP,SAAd,GAA0BA,SAA1B;AACAO,aAAa,CAACD,YAAd,GAA6BA,YAA7B;AACA,eAAeC,aAAf","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};\nvar defaultProps = {\n tag: 'h3'\n};\n\nvar PopoverHeader = function PopoverHeader(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'popover-header'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nPopoverHeader.propTypes = propTypes;\nPopoverHeader.defaultProps = defaultProps;\nexport default PopoverHeader;"]},"metadata":{},"sourceType":"module"}