GoScrobble/web/node_modules/.cache/babel-loader/8da736ee9d07b7c5b7e26e5b11ec5860.json

1 line
3.5 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: 'span'\n};\n\nvar NavbarText = function NavbarText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"active\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'navbar-text'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNavbarText.propTypes = propTypes;\nNavbarText.defaultProps = defaultProps;\nexport default NavbarText;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/NavbarText.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","string","cssModule","object","defaultProps","NavbarText","props","active","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,UAAU,GAAG,SAASA,UAAT,CAAoBC,KAApB,EAA2B;AAC1C,MAAIN,SAAS,GAAGM,KAAK,CAACN,SAAtB;AAAA,MACIE,SAAS,GAAGI,KAAK,CAACJ,SADtB;AAAA,MAEIK,MAAM,GAAGD,KAAK,CAACC,MAFnB;AAAA,MAGIC,GAAG,GAAGF,KAAK,CAACP,GAHhB;AAAA,MAIIU,UAAU,GAAGjB,6BAA6B,CAACc,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,QAA3B,EAAqC,KAArC,CAAR,CAJ9C;;AAMA,MAAII,OAAO,GAAGd,eAAe,CAACD,UAAU,CAACK,SAAD,EAAY,aAAZ,CAAX,EAAuCE,SAAvC,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACkB,aAAN,CAAoBH,GAApB,EAAyBjB,QAAQ,CAAC,EAAD,EAAKkB,UAAL,EAAiB;AACpET,IAAAA,SAAS,EAAEU;AADyD,GAAjB,CAAjC,CAApB;AAGD,CAXD;;AAaAL,UAAU,CAACP,SAAX,GAAuBA,SAAvB;AACAO,UAAU,CAACD,YAAX,GAA0BA,YAA1B;AACA,eAAeC,UAAf","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: 'span'\n};\n\nvar NavbarText = function NavbarText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"active\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'navbar-text'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNavbarText.propTypes = propTypes;\nNavbarText.defaultProps = defaultProps;\nexport default NavbarText;"]},"metadata":{},"sourceType":"module"}