{"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 light: PropTypes.bool,\n dark: PropTypes.bool,\n full: PropTypes.bool,\n fixed: PropTypes.string,\n sticky: PropTypes.string,\n color: PropTypes.string,\n role: PropTypes.string,\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n expand: PropTypes.oneOfType([PropTypes.bool, PropTypes.string])\n};\nvar defaultProps = {\n tag: 'nav',\n expand: false\n};\n\nvar getExpandClass = function getExpandClass(expand) {\n if (expand === false) {\n return false;\n } else if (expand === true || expand === 'xs') {\n return 'navbar-expand';\n }\n\n return \"navbar-expand-\" + expand;\n};\n\nvar Navbar = function Navbar(props) {\n var _classNames;\n\n var expand = props.expand,\n className = props.className,\n cssModule = props.cssModule,\n light = props.light,\n dark = props.dark,\n fixed = props.fixed,\n sticky = props.sticky,\n color = props.color,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"expand\", \"className\", \"cssModule\", \"light\", \"dark\", \"fixed\", \"sticky\", \"color\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'navbar', getExpandClass(expand), (_classNames = {\n 'navbar-light': light,\n 'navbar-dark': dark\n }, _classNames[\"bg-\" + color] = color, _classNames[\"fixed-\" + fixed] = fixed, _classNames[\"sticky-\" + sticky] = sticky, _classNames)), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNavbar.propTypes = propTypes;\nNavbar.defaultProps = defaultProps;\nexport default Navbar;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/Navbar.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","light","bool","dark","full","fixed","string","sticky","color","role","tag","className","cssModule","object","expand","oneOfType","defaultProps","getExpandClass","Navbar","props","_classNames","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,KAAK,EAAEL,SAAS,CAACM,IADH;AAEdC,EAAAA,IAAI,EAAEP,SAAS,CAACM,IAFF;AAGdE,EAAAA,IAAI,EAAER,SAAS,CAACM,IAHF;AAIdG,EAAAA,KAAK,EAAET,SAAS,CAACU,MAJH;AAKdC,EAAAA,MAAM,EAAEX,SAAS,CAACU,MALJ;AAMdE,EAAAA,KAAK,EAAEZ,SAAS,CAACU,MANH;AAOdG,EAAAA,IAAI,EAAEb,SAAS,CAACU,MAPF;AAQdI,EAAAA,GAAG,EAAEX,WARS;AASdY,EAAAA,SAAS,EAAEf,SAAS,CAACU,MATP;AAUdM,EAAAA,SAAS,EAAEhB,SAAS,CAACiB,MAVP;AAWdC,EAAAA,MAAM,EAAElB,SAAS,CAACmB,SAAV,CAAoB,CAACnB,SAAS,CAACM,IAAX,EAAiBN,SAAS,CAACU,MAA3B,CAApB;AAXM,CAAhB;AAaA,IAAIU,YAAY,GAAG;AACjBN,EAAAA,GAAG,EAAE,KADY;AAEjBI,EAAAA,MAAM,EAAE;AAFS,CAAnB;;AAKA,IAAIG,cAAc,GAAG,SAASA,cAAT,CAAwBH,MAAxB,EAAgC;AACnD,MAAIA,MAAM,KAAK,KAAf,EAAsB;AACpB,WAAO,KAAP;AACD,GAFD,MAEO,IAAIA,MAAM,KAAK,IAAX,IAAmBA,MAAM,KAAK,IAAlC,EAAwC;AAC7C,WAAO,eAAP;AACD;;AAED,SAAO,mBAAmBA,MAA1B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CAAjC,CAApB;AAGD,CArBD;;AAuBAL,MAAM,CAAClB,SAAP,GAAmBA,SAAnB;AACAkB,MAAM,CAACF,YAAP,GAAsBA,YAAtB;AACA,eAAeE,MAAf","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 light: PropTypes.bool,\n dark: PropTypes.bool,\n full: PropTypes.bool,\n fixed: PropTypes.string,\n sticky: PropTypes.string,\n color: PropTypes.string,\n role: PropTypes.string,\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n expand: PropTypes.oneOfType([PropTypes.bool, PropTypes.string])\n};\nvar defaultProps = {\n tag: 'nav',\n expand: false\n};\n\nvar getExpandClass = function getExpandClass(expand) {\n if (expand === false) {\n return false;\n } else if (expand === true || expand === 'xs') {\n return 'navbar-expand';\n }\n\n return \"navbar-expand-\" + expand;\n};\n\nvar Navbar = function Navbar(props) {\n var _classNames;\n\n var expand = props.expand,\n className = props.className,\n cssModule = props.cssModule,\n light = props.light,\n dark = props.dark,\n fixed = props.fixed,\n sticky = props.sticky,\n color = props.color,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"expand\", \"className\", \"cssModule\", \"light\", \"dark\", \"fixed\", \"sticky\", \"color\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'navbar', getExpandClass(expand), (_classNames = {\n 'navbar-light': light,\n 'navbar-dark': dark\n }, _classNames[\"bg-\" + color] = color, _classNames[\"fixed-\" + fixed] = fixed, _classNames[\"sticky-\" + sticky] = sticky, _classNames)), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNavbar.propTypes = propTypes;\nNavbar.defaultProps = defaultProps;\nexport default Navbar;"]},"metadata":{},"sourceType":"module"}