GoScrobble/web/node_modules/.cache/babel-loader/0b6887db8ddeb20d69b3740c9fbcb9b3.json

1 line
3.6 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 'aria-label': PropTypes.string,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n role: PropTypes.string\n};\nvar defaultProps = {\n tag: 'div',\n role: 'toolbar'\n};\n\nvar ButtonToolbar = function ButtonToolbar(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, 'btn-toolbar'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nButtonToolbar.propTypes = propTypes;\nButtonToolbar.defaultProps = defaultProps;\nexport default ButtonToolbar;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/ButtonToolbar.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","string","className","cssModule","object","role","defaultProps","ButtonToolbar","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;AAEd,gBAAcH,SAAS,CAACM,MAFV;AAGdC,EAAAA,SAAS,EAAEP,SAAS,CAACM,MAHP;AAIdE,EAAAA,SAAS,EAAER,SAAS,CAACS,MAJP;AAKdC,EAAAA,IAAI,EAAEV,SAAS,CAACM;AALF,CAAhB;AAOA,IAAIK,YAAY,GAAG;AACjBN,EAAAA,GAAG,EAAE,KADY;AAEjBK,EAAAA,IAAI,EAAE;AAFW,CAAnB;;AAKA,IAAIE,aAAa,GAAG,SAASA,aAAT,CAAuBC,KAAvB,EAA8B;AAChD,MAAIN,SAAS,GAAGM,KAAK,CAACN,SAAtB;AAAA,MACIC,SAAS,GAAGK,KAAK,CAACL,SADtB;AAAA,MAEIM,GAAG,GAAGD,KAAK,CAACR,GAFhB;AAAA,MAGIU,UAAU,GAAGjB,6BAA6B,CAACe,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,KAA3B,CAAR,CAH9C;;AAKA,MAAIG,OAAO,GAAGd,eAAe,CAACD,UAAU,CAACM,SAAD,EAAY,aAAZ,CAAX,EAAuCC,SAAvC,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACkB,aAAN,CAAoBH,GAApB,EAAyBjB,QAAQ,CAAC,EAAD,EAAKkB,UAAL,EAAiB;AACpER,IAAAA,SAAS,EAAES;AADyD,GAAjB,CAAjC,CAApB;AAGD,CAVD;;AAYAJ,aAAa,CAACR,SAAd,GAA0BA,SAA1B;AACAQ,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 'aria-label': PropTypes.string,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n role: PropTypes.string\n};\nvar defaultProps = {\n tag: 'div',\n role: 'toolbar'\n};\n\nvar ButtonToolbar = function ButtonToolbar(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, 'btn-toolbar'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nButtonToolbar.propTypes = propTypes;\nButtonToolbar.defaultProps = defaultProps;\nexport default ButtonToolbar;"]},"metadata":{},"sourceType":"module"}