{"version":3,"sources":["webpack:///./node_modules/reactstrap/dist/reactstrap.es.js"],"names":["_typeof","Symbol","iterator","obj","constructor","prototype","classCallCheck","instance","Constructor","TypeError","createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","protoProps","staticProps","value","_extends","assign","arguments","source","hasOwnProperty","call","inherits","subClass","superClass","create","setPrototypeOf","__proto__","objectWithoutProperties","keys","indexOf","possibleConstructorReturn","self","ReferenceError","getScrollbarWidth","scrollDiv","document","createElement","style","position","top","width","height","overflow","body","appendChild","scrollbarWidth","offsetWidth","clientWidth","removeChild","setScrollbarWidth","padding","paddingRight","isBodyOverflowing","window","innerWidth","getOriginalBodyPadding","getComputedStyle","parseInt","getPropertyValue","conditionallyUpdateScrollbar","fixedContent","querySelectorAll","bodyPadding","globalCssModule","mapToCssModules","className","undefined","cssModule","split","map","c","join","omit","omitKeys","result","forEach","pick","pickKeys","Array","isArray","warned","warnOnce","message","console","error","DOMElement","propName","componentName","Element","Error","targetPropType","oneOfType","string","func","shape","current","any","TransitionTimeouts","Fade","Collapse","Modal","Carousel","TransitionPropTypeKeys","TransitionStatuses","ENTERING","ENTERED","EXITING","EXITED","keyCodes","esc","space","enter","tab","up","down","PopperPlacements","canUseDOM","isReactRefObj","findDOMElements","selection","isArrayOrNodeList","els","getTarget","defaultToggleEvents","addMultipleEventListeners","_els","handler","_events","events","event","el","addEventListener","removeEventListener","focusableElements","Row","freeze","setGlobalCssModule","deprecated","propType","explanation","_len","rest","_key","apply","concat","noGutters","Tag","tag","form","attributes","classes","defaultProps","defaultProps$2","widths","getColumnSizeClass","isXs","colWidth","colSize","Col","colClasses","columnProp","_classNames","colSizeInterfix","colClass","size","push","order","offset","_colClass","toggleableToExpand","xs","sm","md","lg","Navbar","toggleable","expand","light","dark","inverse","fixed","sticky","color","getExpandClass","getToggleableClass","Nav","tabs","pills","vertical","horizontal","justified","fill","navbar","card","getVerticalClass","NavItem","active","childContextTypes","toggle","isRequired","isOpen","bool","direction","oneOf","inNavbar","Dropdown","_React$Component","this","_this","getPrototypeOf","addEvents","bind","handleDocumentClick","handleKeyDown","removeEvents","dropup","handleProps","prevProps","findDOMNode","_this2","_this3","e","which","type","container","getContainer","contains","test","tagName","preventDefault","disabled","click","querySelector","focus","menuClass","itemClass","disabledClass","items","index","charPressed","String","fromCharCode","toLowerCase","textContent","_omit","group","nav","setActiveFromChild","addonType","attrs","subItemIsActive","Children","children","dropdownItem","onKeyDown","Component","NavLink","onClick","href","_props","innerRef","ref","Button","ariaLabel","block","close","outline","btnOutlineColor","defaultAriaLabel","ButtonDropdown","contextTypes","DropdownItem","getTabIndex","header","divider","context","tabIndex","contextTypes$1","noFlipModifier","flip","enabled","directionPositionMap","left","right","DropdownMenu","modifiers","persist","show","position1","position2","placement","component","role","contextTypes$2","DropdownToggle","caret","unwrapExports","x","__esModule","createCommonjsModule","fn","module","exports","classNamesShape","timeoutsShape","transitionTimeout","transitionType","timeoutPropName","enabledPropName","_propTypes2","default","number","exit","enterDone","enterActive","exitDone","exitActive","Transition","UNMOUNTED","PropTypes$$1","newObj","_interopRequireWildcard","_react2","_interopRequireDefault","_reactDom2","_classCallCheck","_possibleConstructorReturn","parentGroup","transitionGroup","appear","isMounting","initialStatus","nextStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","_inherits","getChildContext","componentDidMount","updateStatus","componentWillReceiveProps","nextProps","pendingState","setState","componentDidUpdate","componentWillUnmount","cancelNextCallback","getTimeouts","timeout","mounting","node","performEnter","performExit","appearing","timeouts","onEnter","safeSetState","onEntering","onTransitionEnd","onEntered","onExit","onExiting","onExited","cancel","nextState","callback","_this4","setNextCallback","_this5","addEndListener","setTimeout","render","childProps","_objectWithoutProperties","child","only","cloneElement","noop","object","propTypes","defaultProps$18","baseClass","baseClassActive","otherProps","transitionProps","isActive","CardBody","CarouselItem","startAnimation","isAppearing","offsetHeight","dispatchEvent","CustomEvent","isIn","slide","directionClassName","orderClassName","itemClasses","handleKeyPress","renderItems","hoverStart","hoverEnd","indicatorClicked","ride","setInterval","activeIndex","clearInterval","_setInterval","toString","interval","cycleInterval","next","_clearInterval","pause","mouseEnter","_props2","mouseLeave","evt","keyboard","keyCode","previous","carouselItems","item","_props3","outerClasses","innerClasses","filter","every","onMouseEnter","onMouseLeave","_carouselItems","_controlLeft","_controlRight","indicators","wrappedIndicators","onClickHandler","controlLeft","controlRight","CarouselControl","directionText","anchorClasses","iconClasses","screenReaderClasses","CarouselIndicators","listClasses","idx","indicatorClasses","src","caption","altText","CarouselCaption","captionHeader","captionText","_Component","UncontrolledCarousel","animating","goToIndex","nextIndex","newIndex","autoPlay","controls","slides","alt","childContextTypes$1","popperManager","PopperContent","handlePlacementChange","setTargetNode","getTargetNode","_element","renderIntoSubtree","hide","targetNode","data","getContainerNode","unmountComponentAtNode","childNodes","unstable_renderSubtreeIntoContainer","renderChildren","fallbackPlacement","placementPrefix","_arrowClassName","arrowClassName","hideArrow","boundariesElement","popperClassName","extendedModifiers","behavior","preventOverflow","update","PopperTargetHelper","propTypes$37","innerClassName","delay","DEFAULT_DELAYS","defaultProps$34","Popover","addTargetEvents","removeTargetEvents","getRef","_target","clearShowTimeout","clearHideTimeout","_popover","isNaN","_showTimeout","getDelay","_hideTimeout","clearTimeout","popperClasses","PopoverHeader","PopoverBody","propTypes$42","Portal","defaultNode","createPortal","FadePropTypes","propTypes$41","autoFocus","centered","labelledBy","backdrop","onOpened","onClosed","wrapClassName","modalClassName","backdropClassName","contentClassName","external","fade","zIndex","backdropTransition","modalTransition","propsToOmit","defaultProps$38","_originalBodyPadding","getFocusableChildren","handleBackdropClick","handleBackdropMouseDown","handleEscape","handleTab","init","setFocus","_isMounted","prevState","destroy","_dialog","parentNode","currentFocus","focusableChildren","activeElement","err","_mouseDownElement","stopPropagation","totalFocusable","getFocusedChild","focusedIndex","shiftKey","_triggeringElement","setAttribute","openCount","modalOpenClassName","modalOpenClassNameRegex","RegExp","replace","trim","dialogBaseClass","modalAttributes","onMouseDown","onKeyUp","display","hasTransition","Backdrop","renderModalDialog","ModalHeader","closeButton","WrapTag","wrapTag","closeAriaLabel","charCode","closeIcon","ModalBody","propTypes$46","autohide","trigger","DEFAULT_DELAYS$1","defaultProps$42","Tooltip","onMouseOverTooltip","onMouseLeaveTooltip","onMouseOverTooltipContent","onMouseLeaveTooltipContent","onEscKeyDown","getAttribute","triggers","onMouseOver","Form","submit","inline","Input","bsSize","valid","invalid","addon","staticInput","static","plaintext","checkInput","isNotaNumber","formControlClass","InputGroupText","InputGroupAddon","propTypes$64","activeTab","childContextTypes$2","activeTabId","TabContent","contextTypes$3","TabPane","tabId","_transitionStatusToCl","defaultProps$60","transition","Alert","closeClassName","closeClasses","alertTransition","defaultProps$61","transitionStatusToClassHash","getHeight","scrollHeight","name","collapseClass","getTransitionClass","UncontrolledAlert","UncontrolledButtonDropdown","defaultProps$65","toggleEvents","UncontrolledCollapse","togglers","removeEventListeners","toggler","_ref","UncontrolledDropdown","UncontrolledTooltip"],"mappings":"2FAAA,ykBASIA,EAA4B,mBAAXC,QAAoD,iBAApBA,OAAOC,SAAwB,SAAUC,GAC5F,cAAcA,GACZ,SAAUA,GACZ,OAAOA,GAAyB,mBAAXF,QAAyBE,EAAIC,cAAgBH,QAAUE,IAAQF,OAAOI,UAAY,gBAAkBF,GAEvHG,EAAiB,SAAwBC,EAAUC,GACrD,KAAMD,aAAoBC,GACxB,MAAM,IAAIC,UAAU,sCAGpBC,EAAc,WAChB,SAASC,EAAiBC,EAAQC,GAChC,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CACrC,IAAIE,EAAaH,EAAMC,GACvBE,EAAWC,WAAaD,EAAWC,aAAc,EACjDD,EAAWE,cAAe,EACtB,UAAWF,IAAYA,EAAWG,UAAW,GACjDC,OAAOC,eAAeT,EAAQI,EAAWM,IAAKN,IAGlD,OAAO,SAAUR,EAAae,EAAYC,GAGxC,OAFID,GAAYZ,EAAiBH,EAAYH,UAAWkB,GACpDC,GAAab,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H,GAC1BA,EART3L,EAASinB,EAAsB9L,GAU/Bzc,EAAYuoB,EAAsB,CAAC,CACjC3nB,IAAK,SACLG,MAAO,WACLiM,KAAK2I,SAAS,CACZlJ,QAASO,KAAKiI,MAAMxI,WAGvB,CACD7L,IAAK,SACLG,MAAO,WACL,OAAO,IAAMsB,cAAcyK,GAAU9L,EAAS,CAC5CyL,OAAQO,KAAKiI,MAAMxI,OACnBF,OAAQS,KAAKT,QACZS,KAAK7M,aAxBa,CA4BzB,aAOwB,SAAUsc,GAElC,SAAS+L,EAAoBroB,GAC3BP,EAAeoN,KAAMwb,GACrB,IAAIvb,EAAQlL,EAA0BiL,MAAOwb,EAAoB7mB,WAAajB,OAAOwM,eAAesb,IAAsBnnB,KAAK2L,KAAM7M,IAKrI,OAJA8M,EAAMgI,MAAQ,CACZxI,QAAQ,GAEVQ,EAAMV,OAASU,EAAMV,OAAOa,KAAKH,GAC1BA,EART3L,EAASknB,EAAqB/L,GAU9Bzc,EAAYwoB,EAAqB,CAAC,CAChC5nB,IAAK,SACLG,MAAO,WACLiM,KAAK2I,SAAS,CACZlJ,QAASO,KAAKiI,MAAMxI,WAGvB,CACD7L,IAAK,SACLG,MAAO,WACL,OAAO,IAAMsB,cAAc0iB,GAAS/jB,EAAS,CAC3CyL,OAAQO,KAAKiI,MAAMxI,OACnBF,OAAQS,KAAKT,QACZS,KAAK7M,YAxBY,CA4BxB","file":"134602b1-ca1d885e98d9c274ba09.js","sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport isFunction from 'lodash.isfunction';\nimport isobject from 'lodash.isobject';\nimport ReactDOM from 'react-dom';\nimport { Arrow, Manager, Popper, Target } from 'react-popper';\nimport toNumber from 'lodash.tonumber';\nimport { polyfill } from 'react-lifecycles-compat';\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar defineProperty = function defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n};\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n};\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n// https://github.com/twbs/bootstrap/blob/v4.0.0-alpha.4/js/src/modal.js#L436-L443\nfunction getScrollbarWidth() {\n var scrollDiv = document.createElement('div');\n // .modal-scrollbar-measure styles // https://github.com/twbs/bootstrap/blob/v4.0.0-alpha.4/scss/_modal.scss#L106-L113\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n return scrollbarWidth;\n}\nfunction setScrollbarWidth(padding) {\n document.body.style.paddingRight = padding > 0 ? padding + 'px' : null;\n}\nfunction isBodyOverflowing() {\n return document.body.clientWidth < window.innerWidth;\n}\nfunction getOriginalBodyPadding() {\n var style = window.getComputedStyle(document.body, null);\n return parseInt(style && style.getPropertyValue('padding-right') || 0, 10);\n}\nfunction conditionallyUpdateScrollbar() {\n var scrollbarWidth = getScrollbarWidth();\n // https://github.com/twbs/bootstrap/blob/v4.0.0-alpha.6/js/src/modal.js#L433\n var fixedContent = document.querySelectorAll('.fixed-top, .fixed-bottom, .is-fixed, .sticky-top')[0];\n var bodyPadding = fixedContent ? parseInt(fixedContent.style.paddingRight || 0, 10) : 0;\n if (isBodyOverflowing()) {\n setScrollbarWidth(bodyPadding + scrollbarWidth);\n }\n}\nvar globalCssModule = void 0;\nfunction setGlobalCssModule(cssModule) {\n globalCssModule = cssModule;\n}\nfunction mapToCssModules() {\n var className = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var cssModule = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : globalCssModule;\n if (!cssModule) return className;\n return className.split(' ').map(function (c) {\n return cssModule[c] || c;\n }).join(' ');\n}\n\n/**\n * Returns a new object with the key/value pairs from `obj` that are not in the array `omitKeys`.\n */\nfunction omit(obj, omitKeys) {\n var result = {};\n Object.keys(obj).forEach(function (key) {\n if (omitKeys.indexOf(key) === -1) {\n result[key] = obj[key];\n }\n });\n return result;\n}\n\n/**\n * Returns a filtered copy of an object with only the specified keys.\n */\nfunction pick(obj, keys) {\n var pickKeys = Array.isArray(keys) ? keys : [keys];\n var length = pickKeys.length;\n var key = void 0;\n var result = {};\n while (length > 0) {\n length -= 1;\n key = pickKeys[length];\n result[key] = obj[key];\n }\n return result;\n}\nvar warned = {};\nfunction warnOnce(message) {\n if (!warned[message]) {\n /* istanbul ignore else */\n if (typeof console !== 'undefined') {\n console.error(message); // eslint-disable-line no-console\n }\n warned[message] = true;\n }\n}\nfunction deprecated(propType, explanation) {\n return function validate(props, propName, componentName) {\n if (props[propName] !== null && typeof props[propName] !== 'undefined') {\n warnOnce('\"' + propName + '\" property of \"' + componentName + '\" has been deprecated.\\n' + explanation);\n }\n for (var _len = arguments.length, rest = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n rest[_key - 3] = arguments[_key];\n }\n return propType.apply(undefined, [props, propName, componentName].concat(rest));\n };\n}\nfunction DOMElement(props, propName, componentName) {\n if (!(props[propName] instanceof Element)) {\n return new Error('Invalid prop `' + propName + '` supplied to `' + componentName + '`. Expected prop to be an instance of Element. Validation failed.');\n }\n}\nvar targetPropType = PropTypes.oneOfType([PropTypes.string, PropTypes.func, DOMElement, PropTypes.shape({\n current: PropTypes.any\n})]);\n\n/* eslint key-spacing: [\"error\", { afterColon: true, align: \"value\" }] */\n// These are all setup to match what is in the bootstrap _variables.scss\n// https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss\nvar TransitionTimeouts = {\n Fade: 150,\n // $transition-fade\n Collapse: 350,\n // $transition-collapse\n Modal: 300,\n // $modal-transition\n Carousel: 600 // $carousel-transition\n};\n\n// Duplicated Transition.propType keys to ensure that Reactstrap builds\n// for distribution properly exclude these keys for nested child HTML attributes\n// since `react-transition-group` removes propTypes in production builds.\nvar TransitionPropTypeKeys = ['in', 'mountOnEnter', 'unmountOnExit', 'appear', 'enter', 'exit', 'timeout', 'onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited'];\nvar TransitionStatuses = {\n ENTERING: 'entering',\n ENTERED: 'entered',\n EXITING: 'exiting',\n EXITED: 'exited'\n};\nvar keyCodes = {\n esc: 27,\n space: 32,\n enter: 13,\n tab: 9,\n up: 38,\n down: 40\n};\nvar PopperPlacements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction isReactRefObj(target) {\n if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') {\n return 'current' in target;\n }\n return false;\n}\nfunction findDOMElements(target) {\n if (isReactRefObj(target)) {\n return target.current;\n }\n if (isFunction(target)) {\n return target();\n }\n if (typeof target === 'string' && canUseDOM) {\n var selection = document.querySelectorAll(target);\n if (!selection.length) {\n selection = document.querySelectorAll('#' + target);\n }\n if (!selection.length) {\n throw new Error('The target \\'' + target + '\\' could not be identified in the dom, tip: check spelling');\n }\n return selection;\n }\n return target;\n}\nfunction isArrayOrNodeList(els) {\n if (els === null) {\n return false;\n }\n return Array.isArray(els) || canUseDOM && typeof els.length === 'number';\n}\nfunction getTarget(target) {\n var els = findDOMElements(target);\n if (isArrayOrNodeList(els)) {\n return els[0];\n }\n return els;\n}\nvar defaultToggleEvents = ['touchstart', 'click'];\nfunction addMultipleEventListeners(_els, handler, _events) {\n var els = _els;\n if (!isArrayOrNodeList(els)) {\n els = [els];\n }\n var events = _events;\n if (typeof events === 'string') {\n events = events.split(/\\s+/);\n }\n if (!isArrayOrNodeList(els) || typeof handler !== 'function' || !Array.isArray(events)) {\n throw new Error('\\n The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\\n The second must be a function.\\n The third is a string or an array of strings that represents DOM events\\n ');\n }\n events.forEach(function (event) {\n els.forEach(function (el) {\n el.addEventListener(event, handler);\n });\n });\n return function removeEvents() {\n events.forEach(function (event) {\n els.forEach(function (el) {\n el.removeEventListener(event, handler);\n });\n });\n };\n}\nvar focusableElements = ['a[href]', 'area[href]', 'input:not([disabled]):not([type=hidden])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'object', 'embed', '[tabindex]:not(.modal)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'];\nvar utils = Object.freeze({\n getScrollbarWidth: getScrollbarWidth,\n setScrollbarWidth: setScrollbarWidth,\n isBodyOverflowing: isBodyOverflowing,\n getOriginalBodyPadding: getOriginalBodyPadding,\n conditionallyUpdateScrollbar: conditionallyUpdateScrollbar,\n setGlobalCssModule: setGlobalCssModule,\n mapToCssModules: mapToCssModules,\n omit: omit,\n pick: pick,\n warnOnce: warnOnce,\n deprecated: deprecated,\n DOMElement: DOMElement,\n targetPropType: targetPropType,\n TransitionTimeouts: TransitionTimeouts,\n TransitionPropTypeKeys: TransitionPropTypeKeys,\n TransitionStatuses: TransitionStatuses,\n keyCodes: keyCodes,\n PopperPlacements: PopperPlacements,\n canUseDOM: canUseDOM,\n isReactRefObj: isReactRefObj,\n findDOMElements: findDOMElements,\n isArrayOrNodeList: isArrayOrNodeList,\n getTarget: getTarget,\n defaultToggleEvents: defaultToggleEvents,\n addMultipleEventListeners: addMultipleEventListeners,\n focusableElements: focusableElements\n});\nvar defaultProps = {\n tag: 'div'\n};\nvar Container = function Container(props) {\n var className = props.className,\n cssModule = props.cssModule,\n fluid = props.fluid,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'fluid', 'tag']);\n var classes = mapToCssModules(classNames(className, fluid ? 'container-fluid' : 'container'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nContainer.defaultProps = defaultProps;\nvar defaultProps$1 = {\n tag: 'div'\n};\nvar Row = function Row(props) {\n var className = props.className,\n cssModule = props.cssModule,\n noGutters = props.noGutters,\n Tag = props.tag,\n form = props.form,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'noGutters', 'tag', 'form']);\n var classes = mapToCssModules(classNames(className, noGutters ? 'no-gutters' : null, form ? 'form-row' : 'row'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nRow.defaultProps = defaultProps$1;\nvar colWidths = ['xs', 'sm', 'md', 'lg', 'xl'];\nvar defaultProps$2 = {\n tag: 'div',\n widths: colWidths\n};\nvar getColumnSizeClass = function getColumnSizeClass(isXs, colWidth, colSize) {\n if (colSize === true || colSize === '') {\n return isXs ? 'col' : 'col-' + colWidth;\n } else if (colSize === 'auto') {\n return isXs ? 'col-auto' : 'col-' + colWidth + '-auto';\n }\n return isXs ? 'col-' + colSize : 'col-' + colWidth + '-' + colSize;\n};\nvar Col = function Col(props) {\n var className = props.className,\n cssModule = props.cssModule,\n widths = props.widths,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'widths', 'tag']);\n var colClasses = [];\n widths.forEach(function (colWidth, i) {\n var columnProp = props[colWidth];\n delete attributes[colWidth];\n if (!columnProp && columnProp !== '') {\n return;\n }\n var isXs = !i;\n if (isobject(columnProp)) {\n var _classNames;\n var colSizeInterfix = isXs ? '-' : '-' + colWidth + '-';\n var colClass = getColumnSizeClass(isXs, colWidth, columnProp.size);\n colClasses.push(mapToCssModules(classNames((_classNames = {}, defineProperty(_classNames, colClass, columnProp.size || columnProp.size === ''), defineProperty(_classNames, 'order' + colSizeInterfix + columnProp.order, columnProp.order || columnProp.order === 0), defineProperty(_classNames, 'offset' + colSizeInterfix + columnProp.offset, columnProp.offset || columnProp.offset === 0), _classNames)), cssModule));\n } else {\n var _colClass = getColumnSizeClass(isXs, colWidth, columnProp);\n colClasses.push(_colClass);\n }\n });\n if (!colClasses.length) {\n colClasses.push('col');\n }\n var classes = mapToCssModules(classNames(className, colClasses), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCol.defaultProps = defaultProps$2;\nvar defaultProps$3 = {\n tag: 'nav',\n expand: false\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 return 'navbar-expand-' + expand;\n};\n\n// To better maintain backwards compatibility while toggleable is deprecated.\n// We must map breakpoints to the next breakpoint so that toggleable and expand do the same things at the same breakpoint.\nvar toggleableToExpand = {\n xs: 'sm',\n sm: 'md',\n md: 'lg',\n lg: 'xl'\n};\nvar getToggleableClass = function getToggleableClass(toggleable) {\n if (toggleable === undefined || toggleable === 'xl') {\n return false;\n } else if (toggleable === false) {\n return 'navbar-expand';\n }\n return 'navbar-expand-' + (toggleable === true ? 'sm' : toggleableToExpand[toggleable] || toggleable);\n};\nvar Navbar = function Navbar(props) {\n var _classNames;\n var toggleable = props.toggleable,\n expand = props.expand,\n className = props.className,\n cssModule = props.cssModule,\n light = props.light,\n dark = props.dark,\n inverse = props.inverse,\n fixed = props.fixed,\n sticky = props.sticky,\n color = props.color,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['toggleable', 'expand', 'className', 'cssModule', 'light', 'dark', 'inverse', 'fixed', 'sticky', 'color', 'tag']);\n var classes = mapToCssModules(classNames(className, 'navbar', getExpandClass(expand) || getToggleableClass(toggleable), (_classNames = {\n 'navbar-light': light,\n 'navbar-dark': inverse || dark\n }, defineProperty(_classNames, 'bg-' + color, color), defineProperty(_classNames, 'fixed-' + fixed, fixed), defineProperty(_classNames, 'sticky-' + sticky, sticky), _classNames)), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nNavbar.defaultProps = defaultProps$3;\nvar defaultProps$4 = {\n tag: 'a'\n};\nvar NavbarBrand = function NavbarBrand(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'navbar-brand'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nNavbarBrand.defaultProps = defaultProps$4;\nvar defaultProps$5 = {\n tag: 'button',\n type: 'button'\n};\nvar NavbarToggler = function NavbarToggler(props) {\n var className = props.className,\n cssModule = props.cssModule,\n children = props.children,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'children', 'tag']);\n var classes = mapToCssModules(classNames(className, 'navbar-toggler'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }), children || React.createElement('span', {\n className: mapToCssModules('navbar-toggler-icon', cssModule)\n }));\n};\nNavbarToggler.defaultProps = defaultProps$5;\nvar defaultProps$6 = {\n tag: 'ul',\n vertical: false\n};\nvar getVerticalClass = function getVerticalClass(vertical) {\n if (vertical === false) {\n return false;\n } else if (vertical === true || vertical === 'xs') {\n return 'flex-column';\n }\n return 'flex-' + vertical + '-column';\n};\nvar Nav = function Nav(props) {\n var className = props.className,\n cssModule = props.cssModule,\n tabs = props.tabs,\n pills = props.pills,\n vertical = props.vertical,\n horizontal = props.horizontal,\n justified = props.justified,\n fill = props.fill,\n navbar = props.navbar,\n card = props.card,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tabs', 'pills', 'vertical', 'horizontal', 'justified', 'fill', 'navbar', 'card', 'tag']);\n var classes = mapToCssModules(classNames(className, navbar ? 'navbar-nav' : 'nav', horizontal ? 'justify-content-' + horizontal : false, getVerticalClass(vertical), {\n 'nav-tabs': tabs,\n 'card-header-tabs': card && tabs,\n 'nav-pills': pills,\n 'card-header-pills': card && pills,\n 'nav-justified': justified,\n 'nav-fill': fill\n }), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nNav.defaultProps = defaultProps$6;\nvar defaultProps$7 = {\n tag: 'li'\n};\nvar NavItem = function NavItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'active', 'tag']);\n var classes = mapToCssModules(classNames(className, 'nav-item', active ? 'active' : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nNavItem.defaultProps = defaultProps$7;\n\n/* eslint react/no-find-dom-node: 0 */\n// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md\n\nvar defaultProps$8 = {\n isOpen: false,\n direction: 'down',\n nav: false,\n active: false,\n addonType: false,\n inNavbar: false,\n setActiveFromChild: false\n};\nvar childContextTypes = {\n toggle: PropTypes.func.isRequired,\n isOpen: PropTypes.bool.isRequired,\n direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired,\n inNavbar: PropTypes.bool.isRequired\n};\nvar Dropdown = function (_React$Component) {\n inherits(Dropdown, _React$Component);\n function Dropdown(props) {\n classCallCheck(this, Dropdown);\n var _this = possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, props));\n _this.addEvents = _this.addEvents.bind(_this);\n _this.handleDocumentClick = _this.handleDocumentClick.bind(_this);\n _this.handleKeyDown = _this.handleKeyDown.bind(_this);\n _this.removeEvents = _this.removeEvents.bind(_this);\n _this.toggle = _this.toggle.bind(_this);\n return _this;\n }\n createClass(Dropdown, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n toggle: this.props.toggle,\n isOpen: this.props.isOpen,\n direction: this.props.direction === 'down' && this.props.dropup ? 'up' : this.props.direction,\n inNavbar: this.props.inNavbar\n };\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.handleProps();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.isOpen !== prevProps.isOpen) {\n this.handleProps();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.removeEvents();\n }\n }, {\n key: 'getContainer',\n value: function getContainer() {\n return ReactDOM.findDOMNode(this);\n }\n }, {\n key: 'addEvents',\n value: function addEvents() {\n var _this2 = this;\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n }\n }, {\n key: 'removeEvents',\n value: function removeEvents() {\n var _this3 = this;\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.removeEventListener(event, _this3.handleDocumentClick, true);\n });\n }\n }, {\n key: 'handleDocumentClick',\n value: function handleDocumentClick(e) {\n if (e && (e.which === 3 || e.type === 'keyup' && e.which !== keyCodes.tab)) return;\n var container = this.getContainer();\n if (container.contains(e.target) && container !== e.target && (e.type !== 'keyup' || e.which === keyCodes.tab)) {\n return;\n }\n this.toggle(e);\n }\n }, {\n key: 'handleKeyDown',\n value: function handleKeyDown(e) {\n if (keyCodes.tab === e.which || /button/i.test(e.target.tagName) && e.which === keyCodes.space || /input|textarea/i.test(e.target.tagName)) {\n return;\n }\n e.preventDefault();\n if (this.props.disabled) return;\n var container = this.getContainer();\n if (e.which === keyCodes.space && keyCodes.enter && this.props.isOpen && container !== e.target) {\n e.target.click();\n }\n if (e.which === keyCodes.esc || !this.props.isOpen) {\n this.toggle(e);\n container.querySelector('[aria-expanded]').focus();\n return;\n }\n var menuClass = mapToCssModules('dropdown-menu', this.props.cssModule);\n var itemClass = mapToCssModules('dropdown-item', this.props.cssModule);\n var disabledClass = mapToCssModules('disabled', this.props.cssModule);\n var items = container.querySelectorAll('.' + menuClass + ' .' + itemClass + ':not(.' + disabledClass + ')');\n if (!items.length) return;\n var index = -1;\n var charPressed = String.fromCharCode(e.which).toLowerCase();\n for (var i = 0; i < items.length; i += 1) {\n var firstLetter = items[i].textContent && items[i].textContent[0].toLowerCase();\n if (firstLetter === charPressed || items[i] === e.target) {\n index = i;\n break;\n }\n }\n if (e.which === keyCodes.up && index > 0) {\n index -= 1;\n }\n if (e.which === keyCodes.down && index < items.length - 1) {\n index += 1;\n }\n if (index < 0) {\n index = 0;\n }\n items[index].focus();\n }\n }, {\n key: 'handleProps',\n value: function handleProps() {\n if (this.props.isOpen) {\n this.addEvents();\n } else {\n this.removeEvents();\n }\n }\n }, {\n key: 'toggle',\n value: function toggle(e) {\n if (this.props.disabled) {\n return e && e.preventDefault();\n }\n return this.props.toggle(e);\n }\n }, {\n key: 'render',\n value: function render() {\n var _classNames;\n var _omit = omit(this.props, ['toggle', 'disabled', 'inNavbar', 'direction']),\n className = _omit.className,\n cssModule = _omit.cssModule,\n dropup = _omit.dropup,\n isOpen = _omit.isOpen,\n group = _omit.group,\n size = _omit.size,\n nav = _omit.nav,\n setActiveFromChild = _omit.setActiveFromChild,\n active = _omit.active,\n addonType = _omit.addonType,\n attrs = objectWithoutProperties(_omit, ['className', 'cssModule', 'dropup', 'isOpen', 'group', 'size', 'nav', 'setActiveFromChild', 'active', 'addonType']);\n var direction = this.props.direction === 'down' && dropup ? 'up' : this.props.direction;\n attrs.tag = attrs.tag || (nav ? 'li' : 'div');\n var subItemIsActive = false;\n if (setActiveFromChild) {\n React.Children.map(this.props.children[1].props.children, function (dropdownItem) {\n if (dropdownItem.props.active) subItemIsActive = true;\n });\n }\n var classes = mapToCssModules(classNames(className, direction !== 'down' && 'drop' + direction, nav && active ? 'active' : false, setActiveFromChild && subItemIsActive ? 'active' : false, (_classNames = {}, defineProperty(_classNames, 'input-group-' + addonType, addonType), defineProperty(_classNames, 'btn-group', group), defineProperty(_classNames, 'btn-group-' + size, !!size), defineProperty(_classNames, 'dropdown', !group && !addonType), defineProperty(_classNames, 'show', isOpen), defineProperty(_classNames, 'nav-item', nav), _classNames)), cssModule);\n return React.createElement(Manager, _extends({}, attrs, {\n className: classes,\n onKeyDown: this.handleKeyDown\n }));\n }\n }]);\n return Dropdown;\n}(React.Component);\nDropdown.defaultProps = defaultProps$8;\nDropdown.childContextTypes = childContextTypes;\nfunction NavDropdown(props) {\n warnOnce('The \"NavDropdown\" component has been deprecated.\\nPlease use component \"Dropdown\" with nav prop.');\n return React.createElement(Dropdown, _extends({\n nav: true\n }, props));\n}\nvar defaultProps$9 = {\n tag: 'a'\n};\nvar NavLink = function (_React$Component) {\n inherits(NavLink, _React$Component);\n function NavLink(props) {\n classCallCheck(this, NavLink);\n var _this = possibleConstructorReturn(this, (NavLink.__proto__ || Object.getPrototypeOf(NavLink)).call(this, props));\n _this.onClick = _this.onClick.bind(_this);\n return _this;\n }\n createClass(NavLink, [{\n key: 'onClick',\n value: function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n if (this.props.href === '#') {\n e.preventDefault();\n }\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n cssModule = _props.cssModule,\n active = _props.active,\n Tag = _props.tag,\n innerRef = _props.innerRef,\n attributes = objectWithoutProperties(_props, ['className', 'cssModule', 'active', 'tag', 'innerRef']);\n var classes = mapToCssModules(classNames(className, 'nav-link', {\n disabled: attributes.disabled,\n active: active\n }), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n onClick: this.onClick,\n className: classes\n }));\n }\n }]);\n return NavLink;\n}(React.Component);\nNavLink.defaultProps = defaultProps$9;\nvar defaultProps$10 = {\n tag: 'nav',\n listTag: 'ol',\n 'aria-label': 'breadcrumb'\n};\nvar Breadcrumb = function Breadcrumb(props) {\n var className = props.className,\n listClassName = props.listClassName,\n cssModule = props.cssModule,\n children = props.children,\n Tag = props.tag,\n ListTag = props.listTag,\n label = props['aria-label'],\n attributes = objectWithoutProperties(props, ['className', 'listClassName', 'cssModule', 'children', 'tag', 'listTag', 'aria-label']);\n var classes = mapToCssModules(classNames(className), cssModule);\n var listClasses = mapToCssModules(classNames('breadcrumb', listClassName), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n 'aria-label': label\n }), React.createElement(ListTag, {\n className: listClasses\n }, children));\n};\nBreadcrumb.defaultProps = defaultProps$10;\nvar defaultProps$11 = {\n tag: 'li'\n};\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'active', 'tag']);\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n 'aria-current': active ? 'page' : undefined\n }));\n};\nBreadcrumbItem.defaultProps = defaultProps$11;\nvar defaultProps$12 = {\n color: 'secondary',\n tag: 'button'\n};\nvar Button = function (_React$Component) {\n inherits(Button, _React$Component);\n function Button(props) {\n classCallCheck(this, Button);\n var _this = possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).call(this, props));\n _this.onClick = _this.onClick.bind(_this);\n return _this;\n }\n createClass(Button, [{\n key: 'onClick',\n value: function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n active = _props.active,\n ariaLabel = _props['aria-label'],\n block = _props.block,\n className = _props.className,\n close = _props.close,\n cssModule = _props.cssModule,\n color = _props.color,\n outline = _props.outline,\n size = _props.size,\n Tag = _props.tag,\n innerRef = _props.innerRef,\n attributes = objectWithoutProperties(_props, ['active', 'aria-label', 'block', 'className', 'close', 'cssModule', 'color', 'outline', 'size', 'tag', 'innerRef']);\n if (close && typeof attributes.children === 'undefined') {\n attributes.children = React.createElement('span', {\n 'aria-hidden': true\n }, '\\xD7');\n }\n var btnOutlineColor = 'btn' + (outline ? '-outline' : '') + '-' + color;\n var classes = mapToCssModules(classNames(className, {\n close: close\n }, close || 'btn', close || btnOutlineColor, size ? 'btn-' + size : false, block ? 'btn-block' : false, {\n active: active,\n disabled: this.props.disabled\n }), cssModule);\n if (attributes.href && Tag === 'button') {\n Tag = 'a';\n }\n var defaultAriaLabel = close ? 'Close' : null;\n return React.createElement(Tag, _extends({\n type: Tag === 'button' && attributes.onClick ? 'button' : undefined\n }, attributes, {\n className: classes,\n ref: innerRef,\n onClick: this.onClick,\n 'aria-label': ariaLabel || defaultAriaLabel\n }));\n }\n }]);\n return Button;\n}(React.Component);\nButton.defaultProps = defaultProps$12;\nvar ButtonDropdown = function ButtonDropdown(props) {\n return React.createElement(Dropdown, _extends({\n group: true\n }, props));\n};\nvar defaultProps$13 = {\n tag: 'div',\n role: 'group'\n};\nvar ButtonGroup = function ButtonGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n size = props.size,\n vertical = props.vertical,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'size', 'vertical', 'tag']);\n var classes = mapToCssModules(classNames(className, size ? 'btn-group-' + size : false, vertical ? 'btn-group-vertical' : 'btn-group'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nButtonGroup.defaultProps = defaultProps$13;\nvar defaultProps$14 = {\n tag: 'div',\n role: 'toolbar'\n};\nvar ButtonToolbar = function ButtonToolbar(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'btn-toolbar'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nButtonToolbar.defaultProps = defaultProps$14;\nvar contextTypes = {\n toggle: PropTypes.func\n};\nvar defaultProps$15 = {\n tag: 'button',\n toggle: true\n};\nvar DropdownItem = function (_React$Component) {\n inherits(DropdownItem, _React$Component);\n function DropdownItem(props) {\n classCallCheck(this, DropdownItem);\n var _this = possibleConstructorReturn(this, (DropdownItem.__proto__ || Object.getPrototypeOf(DropdownItem)).call(this, props));\n _this.onClick = _this.onClick.bind(_this);\n _this.getTabIndex = _this.getTabIndex.bind(_this);\n return _this;\n }\n createClass(DropdownItem, [{\n key: 'onClick',\n value: function onClick(e) {\n if (this.props.disabled || this.props.header || this.props.divider) {\n e.preventDefault();\n return;\n }\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n if (this.props.toggle) {\n this.context.toggle(e);\n }\n }\n }, {\n key: 'getTabIndex',\n value: function getTabIndex() {\n if (this.props.disabled || this.props.header || this.props.divider) {\n return '-1';\n }\n return '0';\n }\n }, {\n key: 'render',\n value: function render() {\n var tabIndex = this.getTabIndex();\n var _omit = omit(this.props, ['toggle']),\n className = _omit.className,\n cssModule = _omit.cssModule,\n divider = _omit.divider,\n Tag = _omit.tag,\n header = _omit.header,\n active = _omit.active,\n props = objectWithoutProperties(_omit, ['className', 'cssModule', 'divider', 'tag', 'header', 'active']);\n var classes = mapToCssModules(classNames(className, {\n disabled: props.disabled,\n 'dropdown-item': !divider && !header,\n active: active,\n 'dropdown-header': header,\n 'dropdown-divider': divider\n }), cssModule);\n if (Tag === 'button') {\n if (header) {\n Tag = 'h6';\n } else if (divider) {\n Tag = 'div';\n } else if (props.href) {\n Tag = 'a';\n }\n }\n return React.createElement(Tag, _extends({\n type: Tag === 'button' && (props.onClick || this.props.toggle) ? 'button' : undefined\n }, props, {\n tabIndex: tabIndex,\n className: classes,\n onClick: this.onClick\n }));\n }\n }]);\n return DropdownItem;\n}(React.Component);\nDropdownItem.defaultProps = defaultProps$15;\nDropdownItem.contextTypes = contextTypes;\nvar defaultProps$16 = {\n tag: 'div',\n flip: true\n};\nvar contextTypes$1 = {\n isOpen: PropTypes.bool.isRequired,\n direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired,\n inNavbar: PropTypes.bool.isRequired\n};\nvar noFlipModifier = {\n flip: {\n enabled: false\n }\n};\nvar directionPositionMap = {\n up: 'top',\n left: 'left',\n right: 'right',\n down: 'bottom'\n};\nvar DropdownMenu = function DropdownMenu(props, context) {\n var className = props.className,\n cssModule = props.cssModule,\n right = props.right,\n tag = props.tag,\n flip = props.flip,\n modifiers = props.modifiers,\n persist = props.persist,\n attrs = objectWithoutProperties(props, ['className', 'cssModule', 'right', 'tag', 'flip', 'modifiers', 'persist']);\n var classes = mapToCssModules(classNames(className, 'dropdown-menu', {\n 'dropdown-menu-right': right,\n show: context.isOpen\n }), cssModule);\n var Tag = tag;\n if (persist || context.isOpen && !context.inNavbar) {\n Tag = Popper;\n var position1 = directionPositionMap[context.direction] || 'bottom';\n var position2 = right ? 'end' : 'start';\n attrs.placement = position1 + '-' + position2;\n attrs.component = tag;\n attrs.modifiers = !flip ? _extends({}, modifiers, noFlipModifier) : modifiers;\n }\n return React.createElement(Tag, _extends({\n tabIndex: '-1',\n role: 'menu'\n }, attrs, {\n 'aria-hidden': !context.isOpen,\n className: classes,\n 'x-placement': attrs.placement\n }));\n};\nDropdownMenu.defaultProps = defaultProps$16;\nDropdownMenu.contextTypes = contextTypes$1;\nvar defaultProps$17 = {\n 'aria-haspopup': true,\n color: 'secondary'\n};\nvar contextTypes$2 = {\n isOpen: PropTypes.bool.isRequired,\n toggle: PropTypes.func.isRequired,\n inNavbar: PropTypes.bool.isRequired\n};\nvar DropdownToggle = function (_React$Component) {\n inherits(DropdownToggle, _React$Component);\n function DropdownToggle(props) {\n classCallCheck(this, DropdownToggle);\n var _this = possibleConstructorReturn(this, (DropdownToggle.__proto__ || Object.getPrototypeOf(DropdownToggle)).call(this, props));\n _this.onClick = _this.onClick.bind(_this);\n return _this;\n }\n createClass(DropdownToggle, [{\n key: 'onClick',\n value: function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n if (this.props.nav && !this.props.tag) {\n e.preventDefault();\n }\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n this.context.toggle(e);\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n color = _props.color,\n cssModule = _props.cssModule,\n caret = _props.caret,\n split = _props.split,\n nav = _props.nav,\n tag = _props.tag,\n props = objectWithoutProperties(_props, ['className', 'color', 'cssModule', 'caret', 'split', 'nav', 'tag']);\n var ariaLabel = props['aria-label'] || 'Toggle Dropdown';\n var classes = mapToCssModules(classNames(className, {\n 'dropdown-toggle': caret || split,\n 'dropdown-toggle-split': split,\n 'nav-link': nav\n }), cssModule);\n var children = props.children || React.createElement('span', {\n className: 'sr-only'\n }, ariaLabel);\n var Tag = void 0;\n if (nav && !tag) {\n Tag = 'a';\n props.href = '#';\n } else if (!tag) {\n Tag = Button;\n props.color = color;\n props.cssModule = cssModule;\n } else {\n Tag = tag;\n }\n if (this.context.inNavbar) {\n return React.createElement(Tag, _extends({}, props, {\n className: classes,\n onClick: this.onClick,\n 'aria-expanded': this.context.isOpen,\n children: children\n }));\n }\n return React.createElement(Target, _extends({}, props, {\n className: classes,\n component: Tag,\n onClick: this.onClick,\n 'aria-expanded': this.context.isOpen,\n children: children\n }));\n }\n }]);\n return DropdownToggle;\n}(React.Component);\nDropdownToggle.defaultProps = defaultProps$17;\nDropdownToggle.contextTypes = contextTypes$2;\nfunction unwrapExports(x) {\n return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\nfunction createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n}\nvar PropTypes$1 = createCommonjsModule(function (module, exports) {\n 'use strict';\n\n exports.__esModule = true;\n exports.classNamesShape = exports.timeoutsShape = undefined;\n exports.transitionTimeout = transitionTimeout;\n var _propTypes2 = _interopRequireDefault(PropTypes);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n function transitionTimeout(transitionType) {\n var timeoutPropName = 'transition' + transitionType + 'Timeout';\n var enabledPropName = 'transition' + transitionType;\n return function (props) {\n // If the transition is enabled\n if (props[enabledPropName]) {\n // If no timeout duration is provided\n if (props[timeoutPropName] == null) {\n return new Error(timeoutPropName + ' wasn\\'t supplied to CSSTransitionGroup: ' + 'this can cause unreliable animations and won\\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.');\n\n // If the duration isn't a number\n } else if (typeof props[timeoutPropName] !== 'number') {\n return new Error(timeoutPropName + ' must be a number (in milliseconds)');\n }\n }\n return null;\n };\n }\n var timeoutsShape = exports.timeoutsShape = _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.shape({\n enter: _propTypes2.default.number,\n exit: _propTypes2.default.number\n }).isRequired]);\n var classNamesShape = exports.classNamesShape = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n exit: _propTypes2.default.string,\n active: _propTypes2.default.string\n }), _propTypes2.default.shape({\n enter: _propTypes2.default.string,\n enterDone: _propTypes2.default.string,\n enterActive: _propTypes2.default.string,\n exit: _propTypes2.default.string,\n exitDone: _propTypes2.default.string,\n exitActive: _propTypes2.default.string\n })]);\n});\nunwrapExports(PropTypes$1);\nvar Transition_1 = createCommonjsModule(function (module, exports) {\n 'use strict';\n\n exports.__esModule = true;\n exports.EXITING = exports.ENTERED = exports.ENTERING = exports.EXITED = exports.UNMOUNTED = undefined;\n var PropTypes$$1 = _interopRequireWildcard(PropTypes);\n var _react2 = _interopRequireDefault(React);\n var _reactDom2 = _interopRequireDefault(ReactDOM);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n function _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n }\n function _objectWithoutProperties(obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n }\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n }\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass)));\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n var UNMOUNTED = exports.UNMOUNTED = 'unmounted';\n var EXITED = exports.EXITED = 'exited';\n var ENTERING = exports.ENTERING = 'entering';\n var ENTERED = exports.ENTERED = 'entered';\n var EXITING = exports.EXITING = 'exiting';\n\n /**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the components.\n * It's up to you to give meaning and effect to those states. For example we can\n * add styles to a component when it enters or exits:\n *\n * ```jsx\n * import Transition from 'react-transition-group/Transition';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 0 },\n * entered: { opacity: 1 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {(state) => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * As noted the `Transition` component doesn't _do_ anything by itself to its child component.\n * What it does do is track transition states over time so you can update the\n * component (such as by adding styles or classes) when it changes states.\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component begins the\n * \"Enter\" stage. During this stage, the component will shift from its current transition state,\n * to `'entering'` for the duration of the transition and then to the `'entered'` stage once\n * it's complete. Let's take the following example:\n *\n * ```jsx\n * state = { in: false };\n *\n * toggleEnterState = () => {\n * this.setState({ in: true });\n * }\n *\n * render() {\n * return (\n *
\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state and\n * stay there for 500ms (the value of `timeout`) before it finally switches to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from `'exiting'` to `'exited'`.\n *\n * ## Timing\n *\n * Timing is often the trickiest part of animation, mistakes can result in slight delays\n * that are hard to pin down. A common example is when you want to add an exit transition,\n * you should set the desired final styles when the state is `'exiting'`. That's when the\n * transition to those styles will start and, if you matched the `timeout` prop with the\n * CSS Transition duration, it will end exactly when the state changes to `'exited'`.\n *\n * > **Note**: For simpler transitions the `Transition` component might be enough, but\n * > take into account that it's platform-agnostic, while the `CSSTransition` component\n * > [forces reflows](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * > in order to make more complex transitions more predictable. For example, even though\n * > classes `example-enter` and `example-enter-active` are applied immediately one after\n * > another, you can still transition from one to the other because of the forced reflow\n * > (read [this issue](https://github.com/reactjs/react-transition-group/issues/159#issuecomment-322761171)\n * > for more info). Take this into account when choosing between `Transition` and\n * > `CSSTransition`.\n *\n * ## Example\n *\n * \n *\n */\n\n var Transition = function (_React$Component) {\n _inherits(Transition, _React$Component);\n function Transition(props, context) {\n _classCallCheck(this, Transition);\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));\n var parentGroup = context.transitionGroup;\n // In the context of a TransitionGroup all enters are really appears\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus = void 0;\n _this.nextStatus = null;\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.nextStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n Transition.prototype.getChildContext = function getChildContext() {\n return {\n transitionGroup: null\n }; // allows for nested Transitions\n };\n Transition.prototype.componentDidMount = function componentDidMount() {\n this.updateStatus(true);\n };\n Transition.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var _ref = this.pendingState || this.state,\n status = _ref.status;\n if (nextProps.in) {\n if (status === UNMOUNTED) {\n this.setState({\n status: EXITED\n });\n }\n if (status !== ENTERING && status !== ENTERED) {\n this.nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n this.nextStatus = EXITING;\n }\n }\n };\n Transition.prototype.componentDidUpdate = function componentDidUpdate() {\n this.updateStatus();\n };\n Transition.prototype.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n Transition.prototype.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit = void 0,\n enter = void 0,\n appear = void 0;\n exit = enter = appear = timeout;\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter;\n appear = timeout.appear;\n }\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n Transition.prototype.updateStatus = function updateStatus() {\n var mounting = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var nextStatus = this.nextStatus;\n if (nextStatus !== null) {\n this.nextStatus = null;\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n var node = _reactDom2.default.findDOMNode(this);\n if (nextStatus === ENTERING) {\n this.performEnter(node, mounting);\n } else {\n this.performExit(node);\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n Transition.prototype.performEnter = function performEnter(node, mounting) {\n var _this2 = this;\n var enter = this.props.enter;\n var appearing = this.context.transitionGroup ? this.context.transitionGroup.isMounting : mounting;\n var timeouts = this.getTimeouts();\n\n // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n if (!mounting && !enter) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node);\n });\n return;\n }\n this.props.onEnter(node, appearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(node, appearing);\n\n // FIXME: appear timeout?\n _this2.onTransitionEnd(node, timeouts.enter, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node, appearing);\n });\n });\n });\n };\n Transition.prototype.performExit = function performExit(node) {\n var _this3 = this;\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n\n // no exit animation skip right to EXITED\n if (!exit) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n return;\n }\n this.props.onExit(node);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(node);\n _this3.onTransitionEnd(node, timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n });\n });\n };\n Transition.prototype.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n Transition.prototype.safeSetState = function safeSetState(nextState, callback) {\n var _this4 = this;\n\n // We need to track pending updates for instances where a cWRP fires quickly\n // after cDM and before the state flushes, which would double trigger a\n // transition\n this.pendingState = nextState;\n\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, function () {\n _this4.pendingState = null;\n callback();\n });\n };\n Transition.prototype.setNextCallback = function setNextCallback(callback) {\n var _this5 = this;\n var active = true;\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this5.nextCallback = null;\n callback(event);\n }\n };\n this.nextCallback.cancel = function () {\n active = false;\n };\n return this.nextCallback;\n };\n Transition.prototype.onTransitionEnd = function onTransitionEnd(node, timeout, handler) {\n this.setNextCallback(handler);\n if (node) {\n if (this.props.addEndListener) {\n this.props.addEndListener(node, this.nextCallback);\n }\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n } else {\n setTimeout(this.nextCallback, 0);\n }\n };\n Transition.prototype.render = function render() {\n var status = this.state.status;\n if (status === UNMOUNTED) {\n return null;\n }\n var _props = this.props,\n children = _props.children,\n childProps = _objectWithoutProperties(_props, ['children']);\n // filter props for Transtition\n\n delete childProps.in;\n delete childProps.mountOnEnter;\n delete childProps.unmountOnExit;\n delete childProps.appear;\n delete childProps.enter;\n delete childProps.exit;\n delete childProps.timeout;\n delete childProps.addEndListener;\n delete childProps.onEnter;\n delete childProps.onEntering;\n delete childProps.onEntered;\n delete childProps.onExit;\n delete childProps.onExiting;\n delete childProps.onExited;\n if (typeof children === 'function') {\n return children(status, childProps);\n }\n var child = _react2.default.Children.only(children);\n return _react2.default.cloneElement(child, childProps);\n };\n return Transition;\n }(_react2.default.Component);\n Transition.contextTypes = {\n transitionGroup: PropTypes$$1.object\n };\n Transition.childContextTypes = {\n transitionGroup: function transitionGroup() {}\n };\n Transition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A `function` child can be used instead of a React element.\n * This function is called with the current transition status\n * ('entering', 'entered', 'exiting', 'exited', 'unmounted'), which can be used\n * to apply context specific props to a component.\n *\n * ```jsx\n * \n * {(status) => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes$$1.oneOfType([PropTypes$$1.func.isRequired, PropTypes$$1.element.isRequired]).isRequired,\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes$$1.bool,\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes$$1.bool,\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes$$1.bool,\n /**\n * Normally a component is not transitioned if it is shown when the `` component mounts.\n * If you want to transition on the first mount set `appear` to `true`, and the\n * component will transition in as soon as the `` mounts.\n *\n * > Note: there are no specific \"appear\" states. `appear` only adds an additional `enter` transition.\n */\n appear: PropTypes$$1.bool,\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes$$1.bool,\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes$$1.bool,\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided\n *\n * You may specify a single timeout for all transitions like: `timeout={500}`,\n * or individually like:\n *\n * ```jsx\n * timeout={{\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * @type {number | { enter?: number, exit?: number }}\n */\n timeout: function timeout(props) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var pt = PropTypes$1.timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n return pt.apply(undefined, [props].concat(args));\n },\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. **Note:** Timeouts are still used as a fallback if provided.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes$$1.func,\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes$$1.func,\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes$$1.func,\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes$$1.func,\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes$$1.func,\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes$$1.func,\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes$$1.func\n } : {};\n\n // Name the function so it is clearer in the documentation\n function noop() {}\n Transition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n };\n Transition.UNMOUNTED = 0;\n Transition.EXITED = 1;\n Transition.ENTERING = 2;\n Transition.ENTERED = 3;\n Transition.EXITING = 4;\n exports.default = Transition;\n});\nvar Transition = unwrapExports(Transition_1);\nvar defaultProps$18 = _extends({}, Transition.defaultProps, {\n tag: 'div',\n baseClass: 'fade',\n baseClassActive: 'show',\n timeout: TransitionTimeouts.Fade,\n appear: true,\n enter: true,\n exit: true,\n in: true\n});\nfunction Fade(props) {\n var Tag = props.tag,\n baseClass = props.baseClass,\n baseClassActive = props.baseClassActive,\n className = props.className,\n cssModule = props.cssModule,\n children = props.children,\n innerRef = props.innerRef,\n otherProps = objectWithoutProperties(props, ['tag', 'baseClass', 'baseClassActive', 'className', 'cssModule', 'children', 'innerRef']);\n\n // In NODE_ENV=production the Transition.propTypes are wrapped which results in an\n // empty object \"{}\". This is the result of the `react-transition-group` babel\n // configuration settings. Therefore, to ensure that production builds work without\n // error, we can either explicitly define keys or use the Transition.defaultProps.\n // Using the Transition.defaultProps excludes any required props. Thus, the best\n // solution is to explicitly define required props in our utilities and reference these.\n // This also gives us more flexibility in the future to remove the prop-types\n // dependency in distribution builds (Similar to how `react-transition-group` does).\n // Note: Without omitting the `react-transition-group` props, the resulting child\n // Tag component would inherit the Transition properties as attributes for the HTML\n // element which results in errors/warnings for non-valid attributes.\n\n var transitionProps = pick(otherProps, TransitionPropTypeKeys);\n var childProps = omit(otherProps, TransitionPropTypeKeys);\n return React.createElement(Transition, transitionProps, function (status) {\n var isActive = status === 'entered';\n var classes = mapToCssModules(classNames(className, baseClass, isActive && baseClassActive), cssModule);\n return React.createElement(Tag, _extends({\n className: classes\n }, childProps, {\n ref: innerRef\n }), children);\n });\n}\nFade.defaultProps = defaultProps$18;\nvar defaultProps$19 = {\n color: 'secondary',\n pill: false,\n tag: 'span'\n};\nvar Badge = function Badge(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n pill = props.pill,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'color', 'pill', 'tag']);\n var classes = mapToCssModules(classNames(className, 'badge', 'badge-' + color, pill ? 'badge-pill' : false), cssModule);\n if (attributes.href && Tag === 'span') {\n Tag = 'a';\n }\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nBadge.defaultProps = defaultProps$19;\nvar defaultProps$20 = {\n tag: 'div'\n};\nvar Card = function Card(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n block = props.block,\n body = props.body,\n inverse = props.inverse,\n outline = props.outline,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'color', 'block', 'body', 'inverse', 'outline', 'tag', 'innerRef']);\n var classes = mapToCssModules(classNames(className, 'card', inverse ? 'text-white' : false, block || body ? 'card-body' : false, color ? (outline ? 'border' : 'bg') + '-' + color : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\nCard.defaultProps = defaultProps$20;\nvar defaultProps$21 = {\n tag: 'div'\n};\nvar CardGroup = function CardGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-group'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardGroup.defaultProps = defaultProps$21;\nvar defaultProps$22 = {\n tag: 'div'\n};\nvar CardDeck = function CardDeck(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-deck'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardDeck.defaultProps = defaultProps$22;\nvar defaultProps$23 = {\n tag: 'div'\n};\nvar CardColumns = function CardColumns(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-columns'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardColumns.defaultProps = defaultProps$23;\nvar defaultProps$24 = {\n tag: 'div'\n};\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardBody.defaultProps = defaultProps$24;\nfunction CardBlock(props) {\n warnOnce('The \"CardBlock\" component has been deprecated.\\nPlease use component \"CardBody\".');\n return React.createElement(CardBody, props);\n}\nvar defaultProps$25 = {\n tag: 'a'\n};\nvar CardLink = function CardLink(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'innerRef']);\n var classes = mapToCssModules(classNames(className, 'card-link'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n};\nCardLink.defaultProps = defaultProps$25;\nvar defaultProps$26 = {\n tag: 'div'\n};\nvar CardFooter = function CardFooter(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-footer'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardFooter.defaultProps = defaultProps$26;\nvar defaultProps$27 = {\n tag: 'div'\n};\nvar CardHeader = function CardHeader(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-header'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardHeader.defaultProps = defaultProps$27;\nvar defaultProps$28 = {\n tag: 'img'\n};\nvar CardImg = function CardImg(props) {\n var className = props.className,\n cssModule = props.cssModule,\n top = props.top,\n bottom = props.bottom,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'top', 'bottom', 'tag']);\n var cardImgClassName = 'card-img';\n if (top) {\n cardImgClassName = 'card-img-top';\n }\n if (bottom) {\n cardImgClassName = 'card-img-bottom';\n }\n var classes = mapToCssModules(classNames(className, cardImgClassName), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardImg.defaultProps = defaultProps$28;\nvar defaultProps$29 = {\n tag: 'div'\n};\nvar CardImgOverlay = function CardImgOverlay(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-img-overlay'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardImgOverlay.defaultProps = defaultProps$29;\nvar CarouselItem = function (_React$Component) {\n inherits(CarouselItem, _React$Component);\n function CarouselItem(props) {\n classCallCheck(this, CarouselItem);\n var _this = possibleConstructorReturn(this, (CarouselItem.__proto__ || Object.getPrototypeOf(CarouselItem)).call(this, props));\n _this.state = {\n startAnimation: false\n };\n _this.onEnter = _this.onEnter.bind(_this);\n _this.onEntering = _this.onEntering.bind(_this);\n _this.onExit = _this.onExit.bind(_this);\n _this.onExiting = _this.onExiting.bind(_this);\n _this.onExited = _this.onExited.bind(_this);\n return _this;\n }\n createClass(CarouselItem, [{\n key: 'onEnter',\n value: function onEnter(node, isAppearing) {\n this.setState({\n startAnimation: false\n });\n this.props.onEnter(node, isAppearing);\n }\n }, {\n key: 'onEntering',\n value: function onEntering(node, isAppearing) {\n // getting this variable triggers a reflow\n var offsetHeight = node.offsetHeight;\n this.setState({\n startAnimation: true\n });\n this.props.onEntering(node, isAppearing);\n return offsetHeight;\n }\n }, {\n key: 'onExit',\n value: function onExit(node) {\n this.setState({\n startAnimation: false\n });\n this.props.onExit(node);\n }\n }, {\n key: 'onExiting',\n value: function onExiting(node) {\n this.setState({\n startAnimation: true\n });\n node.dispatchEvent(new CustomEvent('slide.bs.carousel'));\n this.props.onExiting(node);\n }\n }, {\n key: 'onExited',\n value: function onExited(node) {\n node.dispatchEvent(new CustomEvent('slid.bs.carousel'));\n this.props.onExited(node);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n var _props = this.props,\n isIn = _props.in,\n children = _props.children,\n cssModule = _props.cssModule,\n slide = _props.slide,\n Tag = _props.tag,\n className = _props.className,\n transitionProps = objectWithoutProperties(_props, ['in', 'children', 'cssModule', 'slide', 'tag', 'className']);\n return React.createElement(Transition, _extends({}, transitionProps, {\n enter: slide,\n exit: slide,\n 'in': isIn,\n onEnter: this.onEnter,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }), function (status) {\n var direction = _this2.context.direction;\n var isActive = status === TransitionStatuses.ENTERED || status === TransitionStatuses.EXITING;\n var directionClassName = (status === TransitionStatuses.ENTERING || status === TransitionStatuses.EXITING) && _this2.state.startAnimation && (direction === 'right' ? 'carousel-item-left' : 'carousel-item-right');\n var orderClassName = status === TransitionStatuses.ENTERING && (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev');\n var itemClasses = mapToCssModules(classNames(className, 'carousel-item', isActive && 'active', directionClassName, orderClassName), cssModule);\n return React.createElement(Tag, {\n className: itemClasses\n }, children);\n });\n }\n }]);\n return CarouselItem;\n}(React.Component);\nCarouselItem.defaultProps = _extends({}, Transition.defaultProps, {\n tag: 'div',\n timeout: TransitionTimeouts.Carousel,\n slide: true\n});\nCarouselItem.contextTypes = {\n direction: PropTypes.string\n};\nvar Carousel = function (_React$Component) {\n inherits(Carousel, _React$Component);\n function Carousel(props) {\n classCallCheck(this, Carousel);\n var _this = possibleConstructorReturn(this, (Carousel.__proto__ || Object.getPrototypeOf(Carousel)).call(this, props));\n _this.handleKeyPress = _this.handleKeyPress.bind(_this);\n _this.renderItems = _this.renderItems.bind(_this);\n _this.hoverStart = _this.hoverStart.bind(_this);\n _this.hoverEnd = _this.hoverEnd.bind(_this);\n _this.state = {\n direction: 'right',\n indicatorClicked: false\n };\n return _this;\n }\n createClass(Carousel, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n direction: this.state.direction\n };\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n // Set up the cycle\n if (this.props.ride === 'carousel') {\n this.setInterval();\n }\n\n // TODO: move this to the specific carousel like bootstrap. Currently it will trigger ALL carousels on the page.\n document.addEventListener('keyup', this.handleKeyPress);\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n this.setInterval(nextProps);\n // Calculate the direction to turn\n if (this.props.activeIndex + 1 === nextProps.activeIndex) {\n this.setState({\n direction: 'right'\n });\n } else if (this.props.activeIndex - 1 === nextProps.activeIndex) {\n this.setState({\n direction: 'left'\n });\n } else if (this.props.activeIndex > nextProps.activeIndex) {\n this.setState({\n direction: this.state.indicatorClicked ? 'left' : 'right'\n });\n } else if (this.props.activeIndex !== nextProps.activeIndex) {\n this.setState({\n direction: this.state.indicatorClicked ? 'right' : 'left'\n });\n }\n this.setState({\n indicatorClicked: false\n });\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.clearInterval();\n document.removeEventListener('keyup', this.handleKeyPress);\n }\n }, {\n key: 'setInterval',\n value: function (_setInterval) {\n function setInterval() {\n return _setInterval.apply(this, arguments);\n }\n setInterval.toString = function () {\n return _setInterval.toString();\n };\n return setInterval;\n }(function () {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n\n // make sure not to have multiple intervals going...\n this.clearInterval();\n if (props.interval) {\n this.cycleInterval = setInterval(function () {\n props.next();\n }, parseInt(props.interval, 10));\n }\n })\n }, {\n key: 'clearInterval',\n value: function (_clearInterval) {\n function clearInterval() {\n return _clearInterval.apply(this, arguments);\n }\n clearInterval.toString = function () {\n return _clearInterval.toString();\n };\n return clearInterval;\n }(function () {\n clearInterval(this.cycleInterval);\n })\n }, {\n key: 'hoverStart',\n value: function hoverStart() {\n if (this.props.pause === 'hover') {\n this.clearInterval();\n }\n if (this.props.mouseEnter) {\n var _props;\n (_props = this.props).mouseEnter.apply(_props, arguments);\n }\n }\n }, {\n key: 'hoverEnd',\n value: function hoverEnd() {\n if (this.props.pause === 'hover') {\n this.setInterval();\n }\n if (this.props.mouseLeave) {\n var _props2;\n (_props2 = this.props).mouseLeave.apply(_props2, arguments);\n }\n }\n }, {\n key: 'handleKeyPress',\n value: function handleKeyPress(evt) {\n if (this.props.keyboard) {\n if (evt.keyCode === 37) {\n this.props.previous();\n } else if (evt.keyCode === 39) {\n this.props.next();\n }\n }\n }\n }, {\n key: 'renderItems',\n value: function renderItems(carouselItems, className) {\n var _this2 = this;\n var slide = this.props.slide;\n return React.createElement('div', {\n role: 'listbox',\n className: className\n }, carouselItems.map(function (item, index) {\n var isIn = index === _this2.props.activeIndex;\n return React.cloneElement(item, {\n in: isIn,\n slide: slide\n });\n }));\n }\n }, {\n key: 'render',\n value: function render() {\n var _this3 = this;\n var _props3 = this.props,\n cssModule = _props3.cssModule,\n slide = _props3.slide,\n className = _props3.className;\n var outerClasses = mapToCssModules(classNames(className, 'carousel', slide && 'slide'), cssModule);\n var innerClasses = mapToCssModules(classNames('carousel-inner'), cssModule);\n\n // filter out booleans, null, or undefined\n var children = this.props.children.filter(function (child) {\n return child !== null && child !== undefined && typeof child !== 'boolean';\n });\n var slidesOnly = children.every(function (child) {\n return child.type === CarouselItem;\n });\n\n // Rendering only slides\n if (slidesOnly) {\n return React.createElement('div', {\n className: outerClasses,\n onMouseEnter: this.hoverStart,\n onMouseLeave: this.hoverEnd\n }, this.renderItems(children, innerClasses));\n }\n\n // Rendering slides and controls\n if (children[0] instanceof Array) {\n var _carouselItems = children[0];\n var _controlLeft = children[1];\n var _controlRight = children[2];\n return React.createElement('div', {\n className: outerClasses,\n onMouseEnter: this.hoverStart,\n onMouseLeave: this.hoverEnd\n }, this.renderItems(_carouselItems, innerClasses), _controlLeft, _controlRight);\n }\n\n // Rendering indicators, slides and controls\n var indicators = children[0];\n var wrappedOnClick = function wrappedOnClick(e) {\n if (typeof indicators.props.onClickHandler === 'function') {\n _this3.setState({\n indicatorClicked: true\n }, function () {\n return indicators.props.onClickHandler(e);\n });\n }\n };\n var wrappedIndicators = React.cloneElement(indicators, {\n onClickHandler: wrappedOnClick\n });\n var carouselItems = children[1];\n var controlLeft = children[2];\n var controlRight = children[3];\n return React.createElement('div', {\n className: outerClasses,\n onMouseEnter: this.hoverStart,\n onMouseLeave: this.hoverEnd\n }, wrappedIndicators, this.renderItems(carouselItems, innerClasses), controlLeft, controlRight);\n }\n }]);\n return Carousel;\n}(React.Component);\nCarousel.defaultProps = {\n interval: 5000,\n pause: 'hover',\n keyboard: true,\n slide: true\n};\nCarousel.childContextTypes = {\n direction: PropTypes.string\n};\nvar CarouselControl = function CarouselControl(props) {\n var direction = props.direction,\n onClickHandler = props.onClickHandler,\n cssModule = props.cssModule,\n directionText = props.directionText,\n className = props.className;\n var anchorClasses = mapToCssModules(classNames(className, 'carousel-control-' + direction), cssModule);\n var iconClasses = mapToCssModules(classNames('carousel-control-' + direction + '-icon'), cssModule);\n var screenReaderClasses = mapToCssModules(classNames('sr-only'), cssModule);\n return React.createElement('a', {\n className: anchorClasses,\n role: 'button',\n tabIndex: '0',\n onClick: function onClick(e) {\n e.preventDefault();\n onClickHandler();\n }\n }, React.createElement('span', {\n className: iconClasses,\n 'aria-hidden': 'true'\n }), React.createElement('span', {\n className: screenReaderClasses\n }, directionText || direction));\n};\nvar CarouselIndicators = function CarouselIndicators(props) {\n var items = props.items,\n activeIndex = props.activeIndex,\n cssModule = props.cssModule,\n onClickHandler = props.onClickHandler,\n className = props.className;\n var listClasses = mapToCssModules(classNames(className, 'carousel-indicators'), cssModule);\n var indicators = items.map(function (item, idx) {\n var indicatorClasses = mapToCssModules(classNames({\n active: activeIndex === idx\n }), cssModule);\n return React.createElement('li', {\n key: '' + (item.key || item.src) + item.caption + item.altText,\n onClick: function onClick(e) {\n e.preventDefault();\n onClickHandler(idx);\n },\n className: indicatorClasses\n });\n });\n return React.createElement('ol', {\n className: listClasses\n }, indicators);\n};\nvar CarouselCaption = function CarouselCaption(props) {\n var captionHeader = props.captionHeader,\n captionText = props.captionText,\n cssModule = props.cssModule,\n className = props.className;\n var classes = mapToCssModules(classNames(className, 'carousel-caption', 'd-none', 'd-md-block'), cssModule);\n return React.createElement('div', {\n className: classes\n }, React.createElement('h3', null, captionHeader), React.createElement('p', null, captionText));\n};\nvar UncontrolledCarousel = function (_Component) {\n inherits(UncontrolledCarousel, _Component);\n function UncontrolledCarousel(props) {\n classCallCheck(this, UncontrolledCarousel);\n var _this = possibleConstructorReturn(this, (UncontrolledCarousel.__proto__ || Object.getPrototypeOf(UncontrolledCarousel)).call(this, props));\n _this.animating = false;\n _this.state = {\n activeIndex: 0\n };\n _this.next = _this.next.bind(_this);\n _this.previous = _this.previous.bind(_this);\n _this.goToIndex = _this.goToIndex.bind(_this);\n _this.onExiting = _this.onExiting.bind(_this);\n _this.onExited = _this.onExited.bind(_this);\n return _this;\n }\n createClass(UncontrolledCarousel, [{\n key: 'onExiting',\n value: function onExiting() {\n this.animating = true;\n }\n }, {\n key: 'onExited',\n value: function onExited() {\n this.animating = false;\n }\n }, {\n key: 'next',\n value: function next() {\n if (this.animating) return;\n var nextIndex = this.state.activeIndex === this.props.items.length - 1 ? 0 : this.state.activeIndex + 1;\n this.setState({\n activeIndex: nextIndex\n });\n }\n }, {\n key: 'previous',\n value: function previous() {\n if (this.animating) return;\n var nextIndex = this.state.activeIndex === 0 ? this.props.items.length - 1 : this.state.activeIndex - 1;\n this.setState({\n activeIndex: nextIndex\n });\n }\n }, {\n key: 'goToIndex',\n value: function goToIndex(newIndex) {\n if (this.animating) return;\n this.setState({\n activeIndex: newIndex\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n var _props = this.props,\n autoPlay = _props.autoPlay,\n indicators = _props.indicators,\n controls = _props.controls,\n items = _props.items,\n goToIndex = _props.goToIndex,\n props = objectWithoutProperties(_props, ['autoPlay', 'indicators', 'controls', 'items', 'goToIndex']);\n var activeIndex = this.state.activeIndex;\n var slides = items.map(function (item) {\n return React.createElement(CarouselItem, {\n onExiting: _this2.onExiting,\n onExited: _this2.onExited,\n key: item.src\n }, React.createElement('img', {\n className: 'd-block w-100',\n src: item.src,\n alt: item.altText\n }), React.createElement(CarouselCaption, {\n captionText: item.caption,\n captionHeader: item.header || item.caption\n }));\n });\n return React.createElement(Carousel, _extends({\n activeIndex: activeIndex,\n next: this.next,\n previous: this.previous,\n ride: autoPlay ? 'carousel' : undefined\n }, props), indicators && React.createElement(CarouselIndicators, {\n items: items,\n activeIndex: props.activeIndex || activeIndex,\n onClickHandler: goToIndex || this.goToIndex\n }), slides, controls && React.createElement(CarouselControl, {\n direction: 'prev',\n directionText: 'Previous',\n onClickHandler: props.previous || this.previous\n }), controls && React.createElement(CarouselControl, {\n direction: 'next',\n directionText: 'Next',\n onClickHandler: props.next || this.next\n }));\n }\n }]);\n return UncontrolledCarousel;\n}(Component);\nUncontrolledCarousel.defaultProps = {\n controls: true,\n indicators: true,\n autoPlay: true\n};\nvar defaultProps$30 = {\n tag: 'h6'\n};\nvar CardSubtitle = function CardSubtitle(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-subtitle'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardSubtitle.defaultProps = defaultProps$30;\nvar defaultProps$31 = {\n tag: 'p'\n};\nvar CardText = function CardText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-text'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardText.defaultProps = defaultProps$31;\nvar defaultProps$32 = {\n tag: 'h5'\n};\nvar CardTitle = function CardTitle(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'card-title'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardTitle.defaultProps = defaultProps$32;\nfunction CustomInput(props) {\n var className = props.className,\n label = props.label,\n inline = props.inline,\n valid = props.valid,\n invalid = props.invalid,\n cssModule = props.cssModule,\n children = props.children,\n bsSize = props.bsSize,\n innerRef = props.innerRef,\n attributes = objectWithoutProperties(props, ['className', 'label', 'inline', 'valid', 'invalid', 'cssModule', 'children', 'bsSize', 'innerRef']);\n var type = attributes.type;\n var customClass = mapToCssModules(classNames(className, 'custom-' + type, bsSize ? 'custom-' + type + '-' + bsSize : false), cssModule);\n var validationClassNames = mapToCssModules(classNames(invalid && 'is-invalid', valid && 'is-valid'), cssModule);\n if (type === 'select') {\n return React.createElement('select', _extends({}, attributes, {\n ref: innerRef,\n className: classNames(validationClassNames, customClass)\n }), children);\n }\n if (type === 'file') {\n return React.createElement('div', {\n className: customClass\n }, React.createElement('input', _extends({}, attributes, {\n ref: innerRef,\n className: classNames(validationClassNames, mapToCssModules('custom-file-input', cssModule))\n })), React.createElement('label', {\n className: mapToCssModules('custom-file-label', cssModule),\n htmlFor: attributes.id\n }, label || 'Choose file'));\n }\n if (type !== 'checkbox' && type !== 'radio') {\n return React.createElement('input', _extends({}, attributes, {\n ref: innerRef,\n className: classNames(validationClassNames, customClass)\n }));\n }\n var wrapperClasses = classNames(customClass, mapToCssModules(classNames('custom-control', {\n 'custom-control-inline': inline\n }), cssModule));\n return React.createElement('div', {\n className: wrapperClasses\n }, React.createElement('input', _extends({}, attributes, {\n ref: innerRef,\n className: classNames(validationClassNames, mapToCssModules('custom-control-input', cssModule))\n })), React.createElement('label', {\n className: mapToCssModules('custom-control-label', cssModule),\n htmlFor: attributes.id\n }, label), children);\n}\nvar defaultProps$33 = {\n boundariesElement: 'scrollParent',\n placement: 'auto',\n hideArrow: false,\n isOpen: false,\n offset: 0,\n fallbackPlacement: 'flip',\n flip: true,\n container: 'body',\n modifiers: {}\n};\nvar childContextTypes$1 = {\n popperManager: PropTypes.object.isRequired\n};\nvar PopperContent = function (_React$Component) {\n inherits(PopperContent, _React$Component);\n function PopperContent(props) {\n classCallCheck(this, PopperContent);\n var _this = possibleConstructorReturn(this, (PopperContent.__proto__ || Object.getPrototypeOf(PopperContent)).call(this, props));\n _this.handlePlacementChange = _this.handlePlacementChange.bind(_this);\n _this.setTargetNode = _this.setTargetNode.bind(_this);\n _this.getTargetNode = _this.getTargetNode.bind(_this);\n _this.state = {};\n return _this;\n }\n createClass(PopperContent, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n popperManager: {\n setTargetNode: this.setTargetNode,\n getTargetNode: this.getTargetNode\n }\n };\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.handleProps();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.isOpen !== prevProps.isOpen) {\n this.handleProps();\n } else if (this._element) {\n // rerender\n this.renderIntoSubtree();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.hide();\n }\n }, {\n key: 'setTargetNode',\n value: function setTargetNode(node) {\n this.targetNode = node;\n }\n }, {\n key: 'getTargetNode',\n value: function getTargetNode() {\n return this.targetNode;\n }\n }, {\n key: 'getContainerNode',\n value: function getContainerNode() {\n return getTarget(this.props.container);\n }\n }, {\n key: 'handlePlacementChange',\n value: function handlePlacementChange(data) {\n if (this.state.placement !== data.placement) {\n this.setState({\n placement: data.placement\n });\n }\n return data;\n }\n }, {\n key: 'handleProps',\n value: function handleProps() {\n if (this.props.container !== 'inline') {\n if (this.props.isOpen) {\n this.show();\n } else {\n this.hide();\n }\n }\n }\n }, {\n key: 'hide',\n value: function hide() {\n if (this._element) {\n this.getContainerNode().removeChild(this._element);\n ReactDOM.unmountComponentAtNode(this._element);\n this._element = null;\n }\n }\n }, {\n key: 'show',\n value: function show() {\n this._element = document.createElement('div');\n this.getContainerNode().appendChild(this._element);\n this.renderIntoSubtree();\n if (this._element.childNodes && this._element.childNodes[0] && this._element.childNodes[0].focus) {\n this._element.childNodes[0].focus();\n }\n }\n }, {\n key: 'renderIntoSubtree',\n value: function renderIntoSubtree() {\n ReactDOM.unstable_renderSubtreeIntoContainer(this, this.renderChildren(), this._element);\n }\n }, {\n key: 'renderChildren',\n value: function renderChildren() {\n var _props = this.props,\n cssModule = _props.cssModule,\n children = _props.children,\n isOpen = _props.isOpen,\n flip = _props.flip,\n target = _props.target,\n offset = _props.offset,\n fallbackPlacement = _props.fallbackPlacement,\n placementPrefix = _props.placementPrefix,\n _arrowClassName = _props.arrowClassName,\n hideArrow = _props.hideArrow,\n className = _props.className,\n tag = _props.tag,\n container = _props.container,\n modifiers = _props.modifiers,\n boundariesElement = _props.boundariesElement,\n attrs = objectWithoutProperties(_props, ['cssModule', 'children', 'isOpen', 'flip', 'target', 'offset', 'fallbackPlacement', 'placementPrefix', 'arrowClassName', 'hideArrow', 'className', 'tag', 'container', 'modifiers', 'boundariesElement']);\n var arrowClassName = mapToCssModules(classNames('arrow', _arrowClassName), cssModule);\n var placement = (this.state.placement || attrs.placement).split('-')[0];\n var popperClassName = mapToCssModules(classNames(className, placementPrefix ? placementPrefix + '-' + placement : placement), this.props.cssModule);\n var extendedModifiers = _extends({\n offset: {\n offset: offset\n },\n flip: {\n enabled: flip,\n behavior: fallbackPlacement\n },\n preventOverflow: {\n boundariesElement: boundariesElement\n },\n update: {\n enabled: true,\n order: 950,\n fn: this.handlePlacementChange\n }\n }, modifiers);\n return React.createElement(Popper, _extends({\n modifiers: extendedModifiers\n }, attrs, {\n component: tag,\n className: popperClassName,\n 'x-placement': this.state.placement || attrs.placement\n }), children, !hideArrow && React.createElement(Arrow, {\n className: arrowClassName\n }));\n }\n }, {\n key: 'render',\n value: function render() {\n this.setTargetNode(getTarget(this.props.target));\n if (this.props.container === 'inline') {\n return this.props.isOpen ? this.renderChildren() : null;\n }\n return null;\n }\n }]);\n return PopperContent;\n}(React.Component);\nPopperContent.defaultProps = defaultProps$33;\nPopperContent.childContextTypes = childContextTypes$1;\nvar PopperTargetHelper = function PopperTargetHelper(props, context) {\n context.popperManager.setTargetNode(getTarget(props.target));\n return null;\n};\nPopperTargetHelper.contextTypes = {\n popperManager: PropTypes.object.isRequired\n};\nPopperTargetHelper.propTypes = {\n target: targetPropType.isRequired\n};\nvar propTypes$37 = {\n placement: PropTypes.oneOf(PopperPlacements),\n target: targetPropType.isRequired,\n container: targetPropType,\n boundariesElement: PropTypes.oneOfType([PropTypes.string, DOMElement]),\n isOpen: PropTypes.bool,\n disabled: PropTypes.bool,\n hideArrow: PropTypes.bool,\n className: PropTypes.string,\n innerClassName: PropTypes.string,\n placementPrefix: PropTypes.string,\n cssModule: PropTypes.object,\n toggle: PropTypes.func,\n delay: PropTypes.oneOfType([PropTypes.shape({\n show: PropTypes.number,\n hide: PropTypes.number\n }), PropTypes.number]),\n modifiers: PropTypes.object,\n offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n};\nvar DEFAULT_DELAYS = {\n show: 0,\n hide: 0\n};\nvar defaultProps$34 = {\n isOpen: false,\n hideArrow: false,\n placement: 'right',\n placementPrefix: 'bs-popover',\n delay: DEFAULT_DELAYS,\n toggle: function toggle() {}\n};\nvar Popover = function (_React$Component) {\n inherits(Popover, _React$Component);\n function Popover(props) {\n classCallCheck(this, Popover);\n var _this = possibleConstructorReturn(this, (Popover.__proto__ || Object.getPrototypeOf(Popover)).call(this, props));\n _this.addTargetEvents = _this.addTargetEvents.bind(_this);\n _this.handleDocumentClick = _this.handleDocumentClick.bind(_this);\n _this.removeTargetEvents = _this.removeTargetEvents.bind(_this);\n _this.getRef = _this.getRef.bind(_this);\n _this.toggle = _this.toggle.bind(_this);\n _this.show = _this.show.bind(_this);\n _this.hide = _this.hide.bind(_this);\n _this._target = null;\n return _this;\n }\n createClass(Popover, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this._target = getTarget(this.props.target);\n this.handleProps();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n this.handleProps();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.clearShowTimeout();\n this.clearHideTimeout();\n this.removeTargetEvents();\n }\n }, {\n key: 'getRef',\n value: function getRef(ref) {\n this._popover = ref;\n }\n }, {\n key: 'getDelay',\n value: function getDelay(key) {\n var delay = this.props.delay;\n if ((typeof delay === 'undefined' ? 'undefined' : _typeof(delay)) === 'object') {\n return isNaN(delay[key]) ? DEFAULT_DELAYS[key] : delay[key];\n }\n return delay;\n }\n }, {\n key: 'handleProps',\n value: function handleProps() {\n if (this.props.isOpen) {\n this.show();\n } else {\n this.hide();\n }\n }\n }, {\n key: 'show',\n value: function show() {\n this.clearHideTimeout();\n this.addTargetEvents();\n if (!this.props.isOpen) {\n this.clearShowTimeout();\n this._showTimeout = setTimeout(this.toggle, this.getDelay('show'));\n }\n }\n }, {\n key: 'hide',\n value: function hide() {\n this.clearShowTimeout();\n this.removeTargetEvents();\n if (this.props.isOpen) {\n this.clearHideTimeout();\n this._hideTimeout = setTimeout(this.toggle, this.getDelay('hide'));\n }\n }\n }, {\n key: 'clearShowTimeout',\n value: function clearShowTimeout() {\n clearTimeout(this._showTimeout);\n this._showTimeout = undefined;\n }\n }, {\n key: 'clearHideTimeout',\n value: function clearHideTimeout() {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = undefined;\n }\n }, {\n key: 'handleDocumentClick',\n value: function handleDocumentClick(e) {\n if (this._target) {\n if (e.target !== this._target && !this._target.contains(e.target) && e.target !== this._popover && !(this._popover && this._popover.contains(e.target))) {\n if (this._hideTimeout) {\n this.clearHideTimeout();\n }\n if (this.props.isOpen) {\n this.toggle(e);\n }\n }\n }\n }\n }, {\n key: 'addTargetEvents',\n value: function addTargetEvents() {\n var _this2 = this;\n ['click', 'touchstart'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n }\n }, {\n key: 'removeTargetEvents',\n value: function removeTargetEvents() {\n var _this3 = this;\n ['click', 'touchstart'].forEach(function (event) {\n return document.removeEventListener(event, _this3.handleDocumentClick, true);\n });\n }\n }, {\n key: 'toggle',\n value: function toggle(e) {\n if (this.props.disabled) {\n return e && e.preventDefault();\n }\n return this.props.toggle(e);\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.isOpen) {\n return null;\n }\n var attributes = omit(this.props, Object.keys(propTypes$37));\n var classes = mapToCssModules(classNames('popover-inner', this.props.innerClassName), this.props.cssModule);\n var popperClasses = mapToCssModules(classNames('popover', 'show', this.props.className), this.props.cssModule);\n return React.createElement(PopperContent, {\n className: popperClasses,\n target: this.props.target,\n isOpen: this.props.isOpen,\n hideArrow: this.props.hideArrow,\n placement: this.props.placement,\n placementPrefix: this.props.placementPrefix,\n container: this.props.container,\n modifiers: this.props.modifiers,\n offset: this.props.offset,\n boundariesElement: this.props.boundariesElement\n }, React.createElement('div', _extends({}, attributes, {\n className: classes,\n ref: this.getRef\n })));\n }\n }]);\n return Popover;\n}(React.Component);\nPopover.defaultProps = defaultProps$34;\nvar defaultProps$35 = {\n tag: 'h3'\n};\nvar PopoverHeader = function PopoverHeader(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'popover-header'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nPopoverHeader.defaultProps = defaultProps$35;\nfunction PopoverTitle(props) {\n warnOnce('The \"PopoverTitle\" component has been deprecated.\\nPlease use component \"PopoverHeader\".');\n return React.createElement(PopoverHeader, props);\n}\nvar defaultProps$36 = {\n tag: 'div'\n};\nvar PopoverBody = function PopoverBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'popover-body'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nPopoverBody.defaultProps = defaultProps$36;\nfunction PopoverContent(props) {\n warnOnce('The \"PopoverContent\" component has been deprecated.\\nPlease use component \"PopoverBody\".');\n return React.createElement(PopoverBody, props);\n}\nvar defaultProps$37 = {\n tag: 'div',\n value: 0,\n max: 100\n};\nvar Progress = function Progress(props) {\n var children = props.children,\n className = props.className,\n barClassName = props.barClassName,\n cssModule = props.cssModule,\n value = props.value,\n max = props.max,\n animated = props.animated,\n striped = props.striped,\n color = props.color,\n bar = props.bar,\n multi = props.multi,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['children', 'className', 'barClassName', 'cssModule', 'value', 'max', 'animated', 'striped', 'color', 'bar', 'multi', 'tag']);\n var percent = toNumber(value) / toNumber(max) * 100;\n var progressClasses = mapToCssModules(classNames(className, 'progress'), cssModule);\n var progressBarClasses = mapToCssModules(classNames('progress-bar', bar ? className || barClassName : barClassName, animated ? 'progress-bar-animated' : null, color ? 'bg-' + color : null, striped || animated ? 'progress-bar-striped' : null), cssModule);\n var ProgressBar = multi ? children : React.createElement('div', {\n className: progressBarClasses,\n style: {\n width: percent + '%'\n },\n role: 'progressbar',\n 'aria-valuenow': value,\n 'aria-valuemin': '0',\n 'aria-valuemax': max,\n children: children\n });\n if (bar) {\n return ProgressBar;\n }\n return React.createElement(Tag, _extends({}, attributes, {\n className: progressClasses,\n children: ProgressBar\n }));\n};\nProgress.defaultProps = defaultProps$37;\nvar propTypes$42 = {\n children: PropTypes.node.isRequired,\n node: PropTypes.any\n};\nvar Portal = function (_React$Component) {\n inherits(Portal, _React$Component);\n function Portal() {\n classCallCheck(this, Portal);\n return possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments));\n }\n createClass(Portal, [{\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.defaultNode) {\n document.body.removeChild(this.defaultNode);\n }\n this.defaultNode = null;\n }\n }, {\n key: 'render',\n value: function render() {\n if (!canUseDOM) {\n return null;\n }\n if (!this.props.node && !this.defaultNode) {\n this.defaultNode = document.createElement('div');\n document.body.appendChild(this.defaultNode);\n }\n return ReactDOM.createPortal(this.props.children, this.props.node || this.defaultNode);\n }\n }]);\n return Portal;\n}(React.Component);\nPortal.propTypes = propTypes$42;\nfunction noop() {}\nvar FadePropTypes = PropTypes.shape(Fade.propTypes);\nvar propTypes$41 = {\n isOpen: PropTypes.bool,\n autoFocus: PropTypes.bool,\n centered: PropTypes.bool,\n size: PropTypes.string,\n toggle: PropTypes.func,\n keyboard: PropTypes.bool,\n role: PropTypes.string,\n labelledBy: PropTypes.string,\n backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),\n onEnter: PropTypes.func,\n onExit: PropTypes.func,\n onOpened: PropTypes.func,\n onClosed: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n wrapClassName: PropTypes.string,\n modalClassName: PropTypes.string,\n backdropClassName: PropTypes.string,\n contentClassName: PropTypes.string,\n external: PropTypes.node,\n fade: PropTypes.bool,\n cssModule: PropTypes.object,\n zIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n backdropTransition: FadePropTypes,\n modalTransition: FadePropTypes,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar propsToOmit = Object.keys(propTypes$41);\nvar defaultProps$38 = {\n isOpen: false,\n autoFocus: true,\n centered: false,\n role: 'dialog',\n backdrop: true,\n keyboard: true,\n zIndex: 1050,\n fade: true,\n onOpened: noop,\n onClosed: noop,\n modalTransition: {\n timeout: TransitionTimeouts.Modal\n },\n backdropTransition: {\n mountOnEnter: true,\n timeout: TransitionTimeouts.Fade // uses standard fade transition\n }\n};\nvar Modal = function (_React$Component) {\n inherits(Modal, _React$Component);\n function Modal(props) {\n classCallCheck(this, Modal);\n var _this = possibleConstructorReturn(this, (Modal.__proto__ || Object.getPrototypeOf(Modal)).call(this, props));\n _this._element = null;\n _this._originalBodyPadding = null;\n _this.getFocusableChildren = _this.getFocusableChildren.bind(_this);\n _this.handleBackdropClick = _this.handleBackdropClick.bind(_this);\n _this.handleBackdropMouseDown = _this.handleBackdropMouseDown.bind(_this);\n _this.handleEscape = _this.handleEscape.bind(_this);\n _this.handleTab = _this.handleTab.bind(_this);\n _this.onOpened = _this.onOpened.bind(_this);\n _this.onClosed = _this.onClosed.bind(_this);\n _this.state = {\n isOpen: props.isOpen\n };\n if (props.isOpen) {\n _this.init();\n }\n return _this;\n }\n createClass(Modal, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.props.onEnter) {\n this.props.onEnter();\n }\n if (this.state.isOpen && this.props.autoFocus) {\n this.setFocus();\n }\n this._isMounted = true;\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if (nextProps.isOpen && !this.props.isOpen) {\n this.setState({\n isOpen: nextProps.isOpen\n });\n }\n }\n }, {\n key: 'componentWillUpdate',\n value: function componentWillUpdate(nextProps, nextState) {\n if (nextState.isOpen && !this.state.isOpen) {\n this.init();\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n if (this.props.autoFocus && this.state.isOpen && !prevState.isOpen) {\n this.setFocus();\n }\n if (this._element && prevProps.zIndex !== this.props.zIndex) {\n this._element.style.zIndex = this.props.zIndex;\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.props.onExit) {\n this.props.onExit();\n }\n if (this.state.isOpen) {\n this.destroy();\n }\n this._isMounted = false;\n }\n }, {\n key: 'onOpened',\n value: function onOpened(node, isAppearing) {\n this.props.onOpened();\n (this.props.modalTransition.onEntered || noop)(node, isAppearing);\n }\n }, {\n key: 'onClosed',\n value: function onClosed(node) {\n // so all methods get called before it is unmounted\n this.props.onClosed();\n (this.props.modalTransition.onExited || noop)(node);\n this.destroy();\n if (this._isMounted) {\n this.setState({\n isOpen: false\n });\n }\n }\n }, {\n key: 'setFocus',\n value: function setFocus() {\n if (this._dialog && this._dialog.parentNode && typeof this._dialog.parentNode.focus === 'function') {\n this._dialog.parentNode.focus();\n }\n }\n }, {\n key: 'getFocusableChildren',\n value: function getFocusableChildren() {\n return this._element.querySelectorAll(focusableElements.join(', '));\n }\n }, {\n key: 'getFocusedChild',\n value: function getFocusedChild() {\n var currentFocus = void 0;\n var focusableChildren = this.getFocusableChildren();\n try {\n currentFocus = document.activeElement;\n } catch (err) {\n currentFocus = focusableChildren[0];\n }\n return currentFocus;\n }\n\n // not mouseUp because scrollbar fires it, shouldn't close when user scrolls\n }, {\n key: 'handleBackdropClick',\n value: function handleBackdropClick(e) {\n if (e.target === this._mouseDownElement) {\n e.stopPropagation();\n if (!this.props.isOpen || this.props.backdrop !== true) return;\n var container = this._dialog;\n if (e.target && !container.contains(e.target) && this.props.toggle) {\n this.props.toggle(e);\n }\n }\n }\n }, {\n key: 'handleTab',\n value: function handleTab(e) {\n if (e.which !== 9) return;\n var focusableChildren = this.getFocusableChildren();\n var totalFocusable = focusableChildren.length;\n var currentFocus = this.getFocusedChild();\n var focusedIndex = 0;\n for (var i = 0; i < totalFocusable; i += 1) {\n if (focusableChildren[i] === currentFocus) {\n focusedIndex = i;\n break;\n }\n }\n if (e.shiftKey && focusedIndex === 0) {\n e.preventDefault();\n focusableChildren[totalFocusable - 1].focus();\n } else if (!e.shiftKey && focusedIndex === totalFocusable - 1) {\n e.preventDefault();\n focusableChildren[0].focus();\n }\n }\n }, {\n key: 'handleBackdropMouseDown',\n value: function handleBackdropMouseDown(e) {\n this._mouseDownElement = e.target;\n }\n }, {\n key: 'handleEscape',\n value: function handleEscape(e) {\n if (this.props.isOpen && this.props.keyboard && e.keyCode === 27 && this.props.toggle) {\n this.props.toggle(e);\n }\n }\n }, {\n key: 'init',\n value: function init() {\n try {\n this._triggeringElement = document.activeElement;\n } catch (err) {\n this._triggeringElement = null;\n }\n this._element = document.createElement('div');\n this._element.setAttribute('tabindex', '-1');\n this._element.style.position = 'relative';\n this._element.style.zIndex = this.props.zIndex;\n this._originalBodyPadding = getOriginalBodyPadding();\n conditionallyUpdateScrollbar();\n document.body.appendChild(this._element);\n if (Modal.openCount === 0) {\n document.body.className = classNames(document.body.className, mapToCssModules('modal-open', this.props.cssModule));\n }\n Modal.openCount += 1;\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n if (this._element) {\n document.body.removeChild(this._element);\n this._element = null;\n }\n if (this._triggeringElement) {\n if (this._triggeringElement.focus) this._triggeringElement.focus();\n this._triggeringElement = null;\n }\n if (Modal.openCount <= 1) {\n var modalOpenClassName = mapToCssModules('modal-open', this.props.cssModule);\n // Use regex to prevent matching `modal-open` as part of a different class, e.g. `my-modal-opened`\n var modalOpenClassNameRegex = new RegExp('(^| )' + modalOpenClassName + '( |$)');\n document.body.className = document.body.className.replace(modalOpenClassNameRegex, ' ').trim();\n }\n Modal.openCount -= 1;\n setScrollbarWidth(this._originalBodyPadding);\n }\n }, {\n key: 'renderModalDialog',\n value: function renderModalDialog() {\n var _classNames,\n _this2 = this;\n var attributes = omit(this.props, propsToOmit);\n var dialogBaseClass = 'modal-dialog';\n return React.createElement('div', _extends({}, attributes, {\n className: mapToCssModules(classNames(dialogBaseClass, this.props.className, (_classNames = {}, defineProperty(_classNames, 'modal-' + this.props.size, this.props.size), defineProperty(_classNames, dialogBaseClass + '-centered', this.props.centered), _classNames)), this.props.cssModule),\n role: 'document',\n ref: function ref(c) {\n _this2._dialog = c;\n }\n }), React.createElement('div', {\n className: mapToCssModules(classNames('modal-content', this.props.contentClassName), this.props.cssModule)\n }, this.props.children));\n }\n }, {\n key: 'render',\n value: function render() {\n if (this.state.isOpen) {\n var _props = this.props,\n wrapClassName = _props.wrapClassName,\n modalClassName = _props.modalClassName,\n backdropClassName = _props.backdropClassName,\n cssModule = _props.cssModule,\n isOpen = _props.isOpen,\n backdrop = _props.backdrop,\n role = _props.role,\n labelledBy = _props.labelledBy,\n external = _props.external,\n innerRef = _props.innerRef;\n var modalAttributes = {\n onClick: this.handleBackdropClick,\n onMouseDown: this.handleBackdropMouseDown,\n onKeyUp: this.handleEscape,\n onKeyDown: this.handleTab,\n style: {\n display: 'block'\n },\n 'aria-labelledby': labelledBy,\n role: role,\n tabIndex: '-1'\n };\n var hasTransition = this.props.fade;\n var modalTransition = _extends({}, Fade.defaultProps, this.props.modalTransition, {\n baseClass: hasTransition ? this.props.modalTransition.baseClass : '',\n timeout: hasTransition ? this.props.modalTransition.timeout : 0\n });\n var backdropTransition = _extends({}, Fade.defaultProps, this.props.backdropTransition, {\n baseClass: hasTransition ? this.props.backdropTransition.baseClass : '',\n timeout: hasTransition ? this.props.backdropTransition.timeout : 0\n });\n var Backdrop = hasTransition ? React.createElement(Fade, _extends({}, backdropTransition, {\n 'in': isOpen && !!backdrop,\n cssModule: cssModule,\n className: mapToCssModules(classNames('modal-backdrop', backdropClassName), cssModule)\n })) : React.createElement('div', {\n className: mapToCssModules(classNames('modal-backdrop', 'show', backdropClassName), cssModule)\n });\n return React.createElement(Portal, {\n node: this._element\n }, React.createElement('div', {\n className: mapToCssModules(wrapClassName)\n }, React.createElement(Fade, _extends({}, modalAttributes, modalTransition, {\n 'in': isOpen,\n onEntered: this.onOpened,\n onExited: this.onClosed,\n cssModule: cssModule,\n className: mapToCssModules(classNames('modal', modalClassName), cssModule),\n innerRef: innerRef\n }), external, this.renderModalDialog()), Backdrop));\n }\n return null;\n }\n }]);\n return Modal;\n}(React.Component);\nModal.defaultProps = defaultProps$38;\nModal.openCount = 0;\nvar defaultProps$39 = {\n tag: 'h5',\n wrapTag: 'div',\n closeAriaLabel: 'Close',\n charCode: 215\n};\nvar ModalHeader = function ModalHeader(props) {\n var closeButton = void 0;\n var className = props.className,\n cssModule = props.cssModule,\n children = props.children,\n toggle = props.toggle,\n Tag = props.tag,\n WrapTag = props.wrapTag,\n closeAriaLabel = props.closeAriaLabel,\n charCode = props.charCode,\n close = props.close,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'children', 'toggle', 'tag', 'wrapTag', 'closeAriaLabel', 'charCode', 'close']);\n var classes = mapToCssModules(classNames(className, 'modal-header'), cssModule);\n if (!close && toggle) {\n var closeIcon = typeof charCode === 'number' ? String.fromCharCode(charCode) : charCode;\n closeButton = React.createElement('button', {\n type: 'button',\n onClick: toggle,\n className: mapToCssModules('close', cssModule),\n 'aria-label': closeAriaLabel\n }, React.createElement('span', {\n 'aria-hidden': 'true'\n }, closeIcon));\n }\n return React.createElement(WrapTag, _extends({}, attributes, {\n className: classes\n }), React.createElement(Tag, {\n className: mapToCssModules('modal-title', cssModule)\n }, children), close || closeButton);\n};\nModalHeader.defaultProps = defaultProps$39;\nvar defaultProps$40 = {\n tag: 'div'\n};\nvar ModalBody = function ModalBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'modal-body'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nModalBody.defaultProps = defaultProps$40;\nvar defaultProps$41 = {\n tag: 'div'\n};\nvar ModalFooter = function ModalFooter(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'modal-footer'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nModalFooter.defaultProps = defaultProps$41;\nvar propTypes$46 = {\n placement: PropTypes.oneOf(PopperPlacements),\n target: targetPropType.isRequired,\n container: targetPropType,\n isOpen: PropTypes.bool,\n disabled: PropTypes.bool,\n hideArrow: PropTypes.bool,\n boundariesElement: PropTypes.oneOfType([PropTypes.string, DOMElement]),\n className: PropTypes.string,\n innerClassName: PropTypes.string,\n arrowClassName: PropTypes.string,\n cssModule: PropTypes.object,\n toggle: PropTypes.func,\n autohide: PropTypes.bool,\n placementPrefix: PropTypes.string,\n delay: PropTypes.oneOfType([PropTypes.shape({\n show: PropTypes.number,\n hide: PropTypes.number\n }), PropTypes.number]),\n modifiers: PropTypes.object,\n offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.object]),\n trigger: PropTypes.string\n};\nvar DEFAULT_DELAYS$1 = {\n show: 0,\n hide: 250\n};\nvar defaultProps$42 = {\n isOpen: false,\n hideArrow: false,\n placement: 'top',\n placementPrefix: 'bs-tooltip',\n delay: DEFAULT_DELAYS$1,\n autohide: true,\n toggle: function toggle() {}\n};\nvar Tooltip = function (_React$Component) {\n inherits(Tooltip, _React$Component);\n function Tooltip(props) {\n classCallCheck(this, Tooltip);\n var _this = possibleConstructorReturn(this, (Tooltip.__proto__ || Object.getPrototypeOf(Tooltip)).call(this, props));\n _this._target = null;\n _this.addTargetEvents = _this.addTargetEvents.bind(_this);\n _this.handleDocumentClick = _this.handleDocumentClick.bind(_this);\n _this.removeTargetEvents = _this.removeTargetEvents.bind(_this);\n _this.toggle = _this.toggle.bind(_this);\n _this.onMouseOverTooltip = _this.onMouseOverTooltip.bind(_this);\n _this.onMouseLeaveTooltip = _this.onMouseLeaveTooltip.bind(_this);\n _this.onMouseOverTooltipContent = _this.onMouseOverTooltipContent.bind(_this);\n _this.onMouseLeaveTooltipContent = _this.onMouseLeaveTooltipContent.bind(_this);\n _this.show = _this.show.bind(_this);\n _this.hide = _this.hide.bind(_this);\n _this.onEscKeyDown = _this.onEscKeyDown.bind(_this);\n return _this;\n }\n createClass(Tooltip, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this._target = getTarget(this.props.target);\n this.addTargetEvents();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.clearHideTimeout();\n this.clearShowTimeout();\n this.removeTargetEvents();\n }\n }, {\n key: 'onMouseOverTooltip',\n value: function onMouseOverTooltip(e) {\n if (this._hideTimeout) {\n this.clearHideTimeout();\n }\n this._showTimeout = setTimeout(this.show.bind(this, e), this.getDelay('show'));\n }\n }, {\n key: 'onMouseLeaveTooltip',\n value: function onMouseLeaveTooltip(e) {\n if (this._showTimeout) {\n this.clearShowTimeout();\n }\n this._hideTimeout = setTimeout(this.hide.bind(this, e), this.getDelay('hide'));\n }\n }, {\n key: 'onMouseOverTooltipContent',\n value: function onMouseOverTooltipContent() {\n if (this.props.autohide) {\n return;\n }\n if (this._hideTimeout) {\n this.clearHideTimeout();\n }\n }\n }, {\n key: 'onMouseLeaveTooltipContent',\n value: function onMouseLeaveTooltipContent(e) {\n if (this.props.autohide) {\n return;\n }\n if (this._showTimeout) {\n this.clearShowTimeout();\n }\n e.persist();\n this._hideTimeout = setTimeout(this.hide.bind(this, e), this.getDelay('hide'));\n }\n }, {\n key: 'onEscKeyDown',\n value: function onEscKeyDown(e) {\n if (e.key === 'Escape') {\n this.hide(e);\n }\n }\n }, {\n key: 'getDelay',\n value: function getDelay(key) {\n var delay = this.props.delay;\n if ((typeof delay === 'undefined' ? 'undefined' : _typeof(delay)) === 'object') {\n return isNaN(delay[key]) ? DEFAULT_DELAYS$1[key] : delay[key];\n }\n return delay;\n }\n }, {\n key: 'show',\n value: function show(e) {\n if (!this.props.isOpen) {\n this.clearShowTimeout();\n this.toggle(e);\n }\n }\n }, {\n key: 'hide',\n value: function hide(e) {\n if (this.props.isOpen) {\n this.clearHideTimeout();\n this.toggle(e);\n }\n }\n }, {\n key: 'clearShowTimeout',\n value: function clearShowTimeout() {\n clearTimeout(this._showTimeout);\n this._showTimeout = undefined;\n }\n }, {\n key: 'clearHideTimeout',\n value: function clearHideTimeout() {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = undefined;\n }\n }, {\n key: 'handleDocumentClick',\n value: function handleDocumentClick(e) {\n if (this._target !== null && (e.target === this._target || this._target.contains(e.target))) {\n if (this._hideTimeout) {\n this.clearHideTimeout();\n }\n if (!this.props.isOpen) {\n this.toggle(e);\n }\n } else if (this.props.isOpen && e.target.getAttribute('role') !== 'tooltip') {\n if (this._showTimeout) {\n this.clearShowTimeout();\n }\n this._hideTimeout = setTimeout(this.hide.bind(this, e), this.getDelay('hide'));\n }\n }\n }, {\n key: 'addTargetEvents',\n value: function addTargetEvents() {\n var _this2 = this;\n if (this.props.trigger) {\n var triggers = this.props.trigger.split(' ');\n if (triggers.indexOf('manual') === -1) {\n if (triggers.indexOf('click') > -1) {\n ['click', 'touchstart'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n }\n if (this._target !== null) {\n if (triggers.indexOf('hover') > -1) {\n this._target.addEventListener('mouseover', this.onMouseOverTooltip, true);\n this._target.addEventListener('mouseout', this.onMouseLeaveTooltip, true);\n }\n if (triggers.indexOf('focus') > -1) {\n this._target.addEventListener('focusin', this.show, true);\n this._target.addEventListener('focusout', this.hide, true);\n }\n this._target.addEventListener('keydown', this.onEscKeyDown, true);\n }\n }\n } else {\n if (this._target !== null) {\n this._target.addEventListener('mouseover', this.onMouseOverTooltip, true);\n this._target.addEventListener('mouseout', this.onMouseLeaveTooltip, true);\n this._target.addEventListener('keydown', this.onEscKeyDown, true);\n this._target.addEventListener('focusin', this.show, true);\n this._target.addEventListener('focusout', this.hide, true);\n }\n ['click', 'touchstart'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n }\n }\n }, {\n key: 'removeTargetEvents',\n value: function removeTargetEvents() {\n var _this3 = this;\n if (this._target !== null) {\n this._target.removeEventListener('mouseover', this.onMouseOverTooltip, true);\n this._target.removeEventListener('mouseout', this.onMouseLeaveTooltip, true);\n this._target.addEventListener('keydown', this.onEscKeyDown, true);\n this._target.addEventListener('focusin', this.show, true);\n this._target.addEventListener('focusout', this.hide, true);\n }\n ['click', 'touchstart'].forEach(function (event) {\n return document.removeEventListener(event, _this3.handleDocumentClick, true);\n });\n }\n }, {\n key: 'toggle',\n value: function toggle(e) {\n if (this.props.disabled) {\n return e && e.preventDefault();\n }\n return this.props.toggle(e);\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.isOpen) {\n return null;\n }\n var attributes = omit(this.props, Object.keys(propTypes$46));\n var classes = mapToCssModules(classNames('tooltip-inner', this.props.innerClassName), this.props.cssModule);\n var popperClasses = mapToCssModules(classNames('tooltip', 'show', this.props.className), this.props.cssModule);\n return React.createElement(PopperContent, {\n className: popperClasses,\n target: this.props.target,\n isOpen: this.props.isOpen,\n hideArrow: this.props.hideArrow,\n boundariesElement: this.props.boundariesElement,\n placement: this.props.placement,\n placementPrefix: this.props.placementPrefix,\n arrowClassName: this.props.arrowClassName,\n container: this.props.container,\n modifiers: this.props.modifiers,\n offset: this.props.offset,\n cssModule: this.props.cssModule\n }, React.createElement('div', _extends({}, attributes, {\n ref: this.props.innerRef,\n className: classes,\n role: 'tooltip',\n 'aria-hidden': this.props.isOpen,\n onMouseOver: this.onMouseOverTooltipContent,\n onMouseLeave: this.onMouseLeaveTooltipContent,\n onKeyDown: this.onEscKeyDown\n })));\n }\n }]);\n return Tooltip;\n}(React.Component);\nTooltip.defaultProps = defaultProps$42;\nvar defaultProps$43 = {\n tag: 'table',\n responsiveTag: 'div'\n};\nvar Table = function Table(props) {\n var className = props.className,\n cssModule = props.cssModule,\n size = props.size,\n bordered = props.bordered,\n borderless = props.borderless,\n striped = props.striped,\n inverse = props.inverse,\n dark = props.dark,\n hover = props.hover,\n responsive = props.responsive,\n Tag = props.tag,\n ResponsiveTag = props.responsiveTag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'size', 'bordered', 'borderless', 'striped', 'inverse', 'dark', 'hover', 'responsive', 'tag', 'responsiveTag']);\n var classes = mapToCssModules(classNames(className, 'table', size ? 'table-' + size : false, bordered ? 'table-bordered' : false, borderless ? 'table-borderless' : false, striped ? 'table-striped' : false, dark || inverse ? 'table-dark' : false, hover ? 'table-hover' : false), cssModule);\n var table = React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n if (responsive) {\n var responsiveClassName = responsive === true ? 'table-responsive' : 'table-responsive-' + responsive;\n return React.createElement(ResponsiveTag, {\n className: responsiveClassName\n }, table);\n }\n return table;\n};\nTable.defaultProps = defaultProps$43;\nvar defaultProps$44 = {\n tag: 'ul'\n};\nvar ListGroup = function ListGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n flush = props.flush,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'flush']);\n var classes = mapToCssModules(classNames(className, 'list-group', flush ? 'list-group-flush' : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nListGroup.defaultProps = defaultProps$44;\nvar defaultProps$45 = {\n tag: 'form'\n};\nvar Form = function (_Component) {\n inherits(Form, _Component);\n function Form(props) {\n classCallCheck(this, Form);\n var _this = possibleConstructorReturn(this, (Form.__proto__ || Object.getPrototypeOf(Form)).call(this, props));\n _this.getRef = _this.getRef.bind(_this);\n _this.submit = _this.submit.bind(_this);\n return _this;\n }\n createClass(Form, [{\n key: 'getRef',\n value: function getRef(ref) {\n if (this.props.innerRef) {\n this.props.innerRef(ref);\n }\n this.ref = ref;\n }\n }, {\n key: 'submit',\n value: function submit() {\n if (this.ref) {\n this.ref.submit();\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n cssModule = _props.cssModule,\n inline = _props.inline,\n Tag = _props.tag,\n innerRef = _props.innerRef,\n attributes = objectWithoutProperties(_props, ['className', 'cssModule', 'inline', 'tag', 'innerRef']);\n var classes = mapToCssModules(classNames(className, inline ? 'form-inline' : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n }\n }]);\n return Form;\n}(Component);\nForm.defaultProps = defaultProps$45;\nvar defaultProps$46 = {\n tag: 'div',\n valid: undefined\n};\nvar FormFeedback = function FormFeedback(props) {\n var className = props.className,\n cssModule = props.cssModule,\n valid = props.valid,\n tooltip = props.tooltip,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'valid', 'tooltip', 'tag']);\n var validMode = tooltip ? 'tooltip' : 'feedback';\n var classes = mapToCssModules(classNames(className, valid ? 'valid-' + validMode : 'invalid-' + validMode), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nFormFeedback.defaultProps = defaultProps$46;\nvar defaultProps$47 = {\n tag: 'div'\n};\nvar FormGroup = function FormGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n row = props.row,\n disabled = props.disabled,\n check = props.check,\n inline = props.inline,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'row', 'disabled', 'check', 'inline', 'tag']);\n var classes = mapToCssModules(classNames(className, 'position-relative', row ? 'row' : false, check ? 'form-check' : 'form-group', check && inline ? 'form-check-inline' : false, check && disabled ? 'disabled' : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nFormGroup.defaultProps = defaultProps$47;\nvar defaultProps$48 = {\n tag: 'small',\n color: 'muted'\n};\nvar FormText = function FormText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n inline = props.inline,\n color = props.color,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'inline', 'color', 'tag']);\n var classes = mapToCssModules(classNames(className, !inline ? 'form-text' : false, color ? 'text-' + color : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nFormText.defaultProps = defaultProps$48;\n\n/* eslint react/prefer-stateless-function: 0 */\n\nvar defaultProps$49 = {\n type: 'text'\n};\nvar Input = function (_React$Component) {\n inherits(Input, _React$Component);\n function Input(props) {\n classCallCheck(this, Input);\n var _this = possibleConstructorReturn(this, (Input.__proto__ || Object.getPrototypeOf(Input)).call(this, props));\n _this.getRef = _this.getRef.bind(_this);\n _this.focus = _this.focus.bind(_this);\n return _this;\n }\n createClass(Input, [{\n key: 'getRef',\n value: function getRef(ref) {\n if (this.props.innerRef) {\n this.props.innerRef(ref);\n }\n this.ref = ref;\n }\n }, {\n key: 'focus',\n value: function focus() {\n if (this.ref) {\n this.ref.focus();\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n cssModule = _props.cssModule,\n type = _props.type,\n bsSize = _props.bsSize,\n state = _props.state,\n valid = _props.valid,\n invalid = _props.invalid,\n tag = _props.tag,\n addon = _props.addon,\n staticInput = _props.static,\n plaintext = _props.plaintext,\n innerRef = _props.innerRef,\n attributes = objectWithoutProperties(_props, ['className', 'cssModule', 'type', 'bsSize', 'state', 'valid', 'invalid', 'tag', 'addon', 'static', 'plaintext', 'innerRef']);\n var checkInput = ['radio', 'checkbox'].indexOf(type) > -1;\n var isNotaNumber = new RegExp('\\\\D', 'g');\n var fileInput = type === 'file';\n var textareaInput = type === 'textarea';\n var selectInput = type === 'select';\n var Tag = tag || (selectInput || textareaInput ? type : 'input');\n var formControlClass = 'form-control';\n if (plaintext || staticInput) {\n formControlClass = formControlClass + '-plaintext';\n Tag = tag || 'p';\n } else if (fileInput) {\n formControlClass = formControlClass + '-file';\n } else if (checkInput) {\n if (addon) {\n formControlClass = null;\n } else {\n formControlClass = 'form-check-input';\n }\n }\n if (state && typeof valid === 'undefined' && typeof invalid === 'undefined') {\n if (state === 'danger') {\n invalid = true;\n } else if (state === 'success') {\n valid = true;\n }\n }\n if (attributes.size && isNotaNumber.test(attributes.size)) {\n warnOnce('Please use the prop \"bsSize\" instead of the \"size\" to bootstrap\\'s input sizing.');\n bsSize = attributes.size;\n delete attributes.size;\n }\n var classes = mapToCssModules(classNames(className, invalid && 'is-invalid', valid && 'is-valid', bsSize ? 'form-control-' + bsSize : false, formControlClass), cssModule);\n if (Tag === 'input' || tag && typeof tag === 'function') {\n attributes.type = type;\n }\n if (attributes.children && !(plaintext || staticInput || type === 'select' || typeof Tag !== 'string' || Tag === 'select')) {\n warnOnce('Input with a type of \"' + type + '\" cannot have children. Please use \"value\"/\"defaultValue\" instead.');\n delete attributes.children;\n }\n return React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n }\n }]);\n return Input;\n}(React.Component);\nInput.defaultProps = defaultProps$49;\nvar defaultProps$50 = {\n tag: 'div'\n};\nvar InputGroup = function InputGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n size = props.size,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'size']);\n var classes = mapToCssModules(classNames(className, 'input-group', size ? 'input-group-' + size : null), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nInputGroup.defaultProps = defaultProps$50;\nvar defaultProps$52 = {\n tag: 'span'\n};\nvar InputGroupText = function InputGroupText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'input-group-text'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nInputGroupText.defaultProps = defaultProps$52;\nvar defaultProps$51 = {\n tag: 'div'\n};\nvar InputGroupAddon = function InputGroupAddon(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n addonType = props.addonType,\n children = props.children,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'addonType', 'children']);\n var classes = mapToCssModules(classNames(className, 'input-group-' + addonType), cssModule);\n\n // Convenience to assist with transition\n if (typeof children === 'string') {\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }), React.createElement(InputGroupText, {\n children: children\n }));\n }\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n children: children\n }));\n};\nInputGroupAddon.defaultProps = defaultProps$51;\nvar InputGroupButton = function InputGroupButton(props) {\n warnOnce('The \"InputGroupButton\" component has been deprecated.\\nPlease use component \"InputGroupAddon\".');\n var children = props.children,\n groupClassName = props.groupClassName,\n groupAttributes = props.groupAttributes,\n propsWithoutGroup = objectWithoutProperties(props, ['children', 'groupClassName', 'groupAttributes']);\n if (typeof children === 'string') {\n var cssModule = propsWithoutGroup.cssModule,\n tag = propsWithoutGroup.tag,\n addonType = propsWithoutGroup.addonType,\n attributes = objectWithoutProperties(propsWithoutGroup, ['cssModule', 'tag', 'addonType']);\n var allGroupAttributes = _extends({}, groupAttributes, {\n cssModule: cssModule,\n tag: tag,\n addonType: addonType\n });\n return React.createElement(InputGroupAddon, _extends({}, allGroupAttributes, {\n className: groupClassName\n }), React.createElement(Button, _extends({}, attributes, {\n children: children\n })));\n }\n return React.createElement(InputGroupAddon, _extends({}, props, {\n children: children\n }));\n};\nvar InputGroupButtonDropdown = function InputGroupButtonDropdown(props) {\n return React.createElement(Dropdown, props);\n};\nvar colWidths$1 = ['xs', 'sm', 'md', 'lg', 'xl'];\nvar defaultProps$53 = {\n tag: 'label',\n widths: colWidths$1\n};\nvar getColumnSizeClass$1 = function getColumnSizeClass(isXs, colWidth, colSize) {\n if (colSize === true || colSize === '') {\n return isXs ? 'col' : 'col-' + colWidth;\n } else if (colSize === 'auto') {\n return isXs ? 'col-auto' : 'col-' + colWidth + '-auto';\n }\n return isXs ? 'col-' + colSize : 'col-' + colWidth + '-' + colSize;\n};\nvar Label = function Label(props) {\n var className = props.className,\n cssModule = props.cssModule,\n hidden = props.hidden,\n widths = props.widths,\n Tag = props.tag,\n check = props.check,\n size = props.size,\n htmlFor = props.for,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'hidden', 'widths', 'tag', 'check', 'size', 'for']);\n var colClasses = [];\n widths.forEach(function (colWidth, i) {\n var columnProp = props[colWidth];\n delete attributes[colWidth];\n if (!columnProp && columnProp !== '') {\n return;\n }\n var isXs = !i;\n var colClass = void 0;\n if (isobject(columnProp)) {\n var _classNames;\n var colSizeInterfix = isXs ? '-' : '-' + colWidth + '-';\n colClass = getColumnSizeClass$1(isXs, colWidth, columnProp.size);\n colClasses.push(mapToCssModules(classNames((_classNames = {}, defineProperty(_classNames, colClass, columnProp.size || columnProp.size === ''), defineProperty(_classNames, 'order' + colSizeInterfix + columnProp.order, columnProp.order || columnProp.order === 0), defineProperty(_classNames, 'offset' + colSizeInterfix + columnProp.offset, columnProp.offset || columnProp.offset === 0), _classNames))), cssModule);\n } else {\n colClass = getColumnSizeClass$1(isXs, colWidth, columnProp);\n colClasses.push(colClass);\n }\n });\n var classes = mapToCssModules(classNames(className, hidden ? 'sr-only' : false, check ? 'form-check-label' : false, size ? 'col-form-label-' + size : false, colClasses, colClasses.length ? 'col-form-label' : false), cssModule);\n return React.createElement(Tag, _extends({\n htmlFor: htmlFor\n }, attributes, {\n className: classes\n }));\n};\nLabel.defaultProps = defaultProps$53;\nvar Media = function Media(props) {\n var body = props.body,\n bottom = props.bottom,\n className = props.className,\n cssModule = props.cssModule,\n heading = props.heading,\n left = props.left,\n list = props.list,\n middle = props.middle,\n object = props.object,\n right = props.right,\n tag = props.tag,\n top = props.top,\n attributes = objectWithoutProperties(props, ['body', 'bottom', 'className', 'cssModule', 'heading', 'left', 'list', 'middle', 'object', 'right', 'tag', 'top']);\n var defaultTag = void 0;\n if (heading) {\n defaultTag = 'h4';\n } else if (attributes.href) {\n defaultTag = 'a';\n } else if (attributes.src || object) {\n defaultTag = 'img';\n } else if (list) {\n defaultTag = 'ul';\n } else {\n defaultTag = 'div';\n }\n var Tag = tag || defaultTag;\n var classes = mapToCssModules(classNames(className, {\n 'media-body': body,\n 'media-heading': heading,\n 'media-left': left,\n 'media-right': right,\n 'media-top': top,\n 'media-bottom': bottom,\n 'media-middle': middle,\n 'media-object': object,\n 'media-list': list,\n media: !body && !heading && !left && !right && !top && !bottom && !middle && !object && !list\n }), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nvar defaultProps$54 = {\n tag: 'nav',\n listTag: 'ul',\n 'aria-label': 'pagination'\n};\nvar Pagination = function Pagination(props) {\n var className = props.className,\n listClassName = props.listClassName,\n cssModule = props.cssModule,\n size = props.size,\n Tag = props.tag,\n ListTag = props.listTag,\n label = props['aria-label'],\n attributes = objectWithoutProperties(props, ['className', 'listClassName', 'cssModule', 'size', 'tag', 'listTag', 'aria-label']);\n var classes = mapToCssModules(classNames(className), cssModule);\n var listClasses = mapToCssModules(classNames(listClassName, 'pagination', defineProperty({}, 'pagination-' + size, !!size)), cssModule);\n return React.createElement(Tag, {\n className: classes,\n 'aria-label': label\n }, React.createElement(ListTag, _extends({}, attributes, {\n className: listClasses\n })));\n};\nPagination.defaultProps = defaultProps$54;\nvar defaultProps$55 = {\n tag: 'li'\n};\nvar PaginationItem = function PaginationItem(props) {\n var active = props.active,\n className = props.className,\n cssModule = props.cssModule,\n disabled = props.disabled,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['active', 'className', 'cssModule', 'disabled', 'tag']);\n var classes = mapToCssModules(classNames(className, 'page-item', {\n active: active,\n disabled: disabled\n }), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nPaginationItem.defaultProps = defaultProps$55;\nvar defaultProps$56 = {\n tag: 'a'\n};\nvar PaginationLink = function PaginationLink(props) {\n var className = props.className,\n cssModule = props.cssModule,\n next = props.next,\n previous = props.previous,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'next', 'previous', 'tag']);\n var classes = mapToCssModules(classNames(className, 'page-link'), cssModule);\n var defaultAriaLabel = void 0;\n if (previous) {\n defaultAriaLabel = 'Previous';\n } else if (next) {\n defaultAriaLabel = 'Next';\n }\n var ariaLabel = props['aria-label'] || defaultAriaLabel;\n var defaultCaret = void 0;\n if (previous) {\n defaultCaret = '\\xAB';\n } else if (next) {\n defaultCaret = '\\xBB';\n }\n var children = props.children;\n if (children && Array.isArray(children) && children.length === 0) {\n children = null;\n }\n if (!attributes.href && Tag === 'a') {\n Tag = 'button';\n }\n if (previous || next) {\n children = [React.createElement('span', {\n 'aria-hidden': 'true',\n key: 'caret'\n }, children || defaultCaret), React.createElement('span', {\n className: 'sr-only',\n key: 'sr'\n }, ariaLabel)];\n }\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n 'aria-label': ariaLabel\n }), children);\n};\nPaginationLink.defaultProps = defaultProps$56;\nvar propTypes$64 = {\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n activeTab: PropTypes.any,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps$57 = {\n tag: 'div'\n};\nvar childContextTypes$2 = {\n activeTabId: PropTypes.any\n};\nvar TabContent = function (_Component) {\n inherits(TabContent, _Component);\n createClass(TabContent, null, [{\n key: 'getDerivedStateFromProps',\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (prevState.activeTab !== nextProps.activeTab) {\n return {\n activeTab: nextProps.activeTab\n };\n }\n return null;\n }\n }]);\n function TabContent(props) {\n classCallCheck(this, TabContent);\n var _this = possibleConstructorReturn(this, (TabContent.__proto__ || Object.getPrototypeOf(TabContent)).call(this, props));\n _this.state = {\n activeTab: _this.props.activeTab\n };\n return _this;\n }\n createClass(TabContent, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n activeTabId: this.state.activeTab\n };\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n cssModule = _props.cssModule,\n Tag = _props.tag;\n var attributes = omit(this.props, Object.keys(propTypes$64));\n var classes = mapToCssModules(classNames('tab-content', className), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n }\n }]);\n return TabContent;\n}(Component);\npolyfill(TabContent);\nTabContent.defaultProps = defaultProps$57;\nTabContent.childContextTypes = childContextTypes$2;\nvar defaultProps$58 = {\n tag: 'div'\n};\nvar contextTypes$3 = {\n activeTabId: PropTypes.any\n};\nfunction TabPane(props, context) {\n var className = props.className,\n cssModule = props.cssModule,\n tabId = props.tabId,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tabId', 'tag']);\n var classes = mapToCssModules(classNames('tab-pane', className, {\n active: tabId === context.activeTabId\n }), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n}\nTabPane.defaultProps = defaultProps$58;\nTabPane.contextTypes = contextTypes$3;\nvar defaultProps$59 = {\n tag: 'div'\n};\nvar Jumbotron = function Jumbotron(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n fluid = props.fluid,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'fluid']);\n var classes = mapToCssModules(classNames(className, 'jumbotron', fluid ? 'jumbotron-fluid' : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nJumbotron.defaultProps = defaultProps$59;\nvar defaultProps$60 = {\n color: 'success',\n isOpen: true,\n tag: 'div',\n closeAriaLabel: 'Close',\n fade: true,\n transition: _extends({}, Fade.defaultProps, {\n unmountOnExit: true\n })\n};\nfunction Alert(props) {\n var className = props.className,\n closeClassName = props.closeClassName,\n closeAriaLabel = props.closeAriaLabel,\n cssModule = props.cssModule,\n Tag = props.tag,\n color = props.color,\n isOpen = props.isOpen,\n toggle = props.toggle,\n children = props.children,\n transition = props.transition,\n fade = props.fade,\n innerRef = props.innerRef,\n attributes = objectWithoutProperties(props, ['className', 'closeClassName', 'closeAriaLabel', 'cssModule', 'tag', 'color', 'isOpen', 'toggle', 'children', 'transition', 'fade', 'innerRef']);\n var classes = mapToCssModules(classNames(className, 'alert', 'alert-' + color, {\n 'alert-dismissible': toggle\n }), cssModule);\n var closeClasses = mapToCssModules(classNames('close', closeClassName), cssModule);\n var alertTransition = _extends({}, Fade.defaultProps, transition, {\n baseClass: fade ? transition.baseClass : '',\n timeout: fade ? transition.timeout : 0\n });\n return React.createElement(Fade, _extends({}, attributes, alertTransition, {\n tag: Tag,\n className: classes,\n 'in': isOpen,\n role: 'alert',\n innerRef: innerRef\n }), toggle ? React.createElement('button', {\n type: 'button',\n className: closeClasses,\n 'aria-label': closeAriaLabel,\n onClick: toggle\n }, React.createElement('span', {\n 'aria-hidden': 'true'\n }, '\\xD7')) : null, children);\n}\nAlert.defaultProps = defaultProps$60;\nvar _transitionStatusToCl;\nvar defaultProps$61 = _extends({}, Transition.defaultProps, {\n isOpen: false,\n appear: false,\n enter: true,\n exit: true,\n tag: 'div',\n timeout: TransitionTimeouts.Collapse\n});\nvar transitionStatusToClassHash = (_transitionStatusToCl = {}, defineProperty(_transitionStatusToCl, TransitionStatuses.ENTERING, 'collapsing'), defineProperty(_transitionStatusToCl, TransitionStatuses.ENTERED, 'collapse show'), defineProperty(_transitionStatusToCl, TransitionStatuses.EXITING, 'collapsing'), defineProperty(_transitionStatusToCl, TransitionStatuses.EXITED, 'collapse'), _transitionStatusToCl);\nfunction getTransitionClass(status) {\n return transitionStatusToClassHash[status] || 'collapse';\n}\nfunction getHeight(node) {\n return node.scrollHeight;\n}\nvar Collapse = function (_Component) {\n inherits(Collapse, _Component);\n function Collapse(props) {\n classCallCheck(this, Collapse);\n var _this = possibleConstructorReturn(this, (Collapse.__proto__ || Object.getPrototypeOf(Collapse)).call(this, props));\n _this.state = {\n height: null\n };\n ['onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited'].forEach(function (name) {\n _this[name] = _this[name].bind(_this);\n });\n return _this;\n }\n createClass(Collapse, [{\n key: 'onEntering',\n value: function onEntering(node, isAppearing) {\n this.setState({\n height: getHeight(node)\n });\n this.props.onEntering(node, isAppearing);\n }\n }, {\n key: 'onEntered',\n value: function onEntered(node, isAppearing) {\n this.setState({\n height: null\n });\n this.props.onEntered(node, isAppearing);\n }\n }, {\n key: 'onExit',\n value: function onExit(node) {\n this.setState({\n height: getHeight(node)\n });\n this.props.onExit(node);\n }\n }, {\n key: 'onExiting',\n value: function onExiting(node) {\n // getting this variable triggers a reflow\n var _unused = node.offsetHeight; // eslint-disable-line no-unused-vars\n this.setState({\n height: 0\n });\n this.props.onExiting(node);\n }\n }, {\n key: 'onExited',\n value: function onExited(node) {\n this.setState({\n height: null\n });\n this.props.onExited(node);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n var _props = this.props,\n Tag = _props.tag,\n isOpen = _props.isOpen,\n className = _props.className,\n navbar = _props.navbar,\n cssModule = _props.cssModule,\n children = _props.children,\n innerRef = _props.innerRef,\n otherProps = objectWithoutProperties(_props, ['tag', 'isOpen', 'className', 'navbar', 'cssModule', 'children', 'innerRef']);\n var height = this.state.height;\n\n // In NODE_ENV=production the Transition.propTypes are wrapped which results in an\n // empty object \"{}\". This is the result of the `react-transition-group` babel\n // configuration settings. Therefore, to ensure that production builds work without\n // error, we can either explicitly define keys or use the Transition.defaultProps.\n // Using the Transition.defaultProps excludes any required props. Thus, the best\n // solution is to explicitly define required props in our utilities and reference these.\n // This also gives us more flexibility in the future to remove the prop-types\n // dependency in distribution builds (Similar to how `react-transition-group` does).\n // Note: Without omitting the `react-transition-group` props, the resulting child\n // Tag component would inherit the Transition properties as attributes for the HTML\n // element which results in errors/warnings for non-valid attributes.\n\n var transitionProps = pick(otherProps, TransitionPropTypeKeys);\n var childProps = omit(otherProps, TransitionPropTypeKeys);\n return React.createElement(Transition, _extends({}, transitionProps, {\n 'in': isOpen,\n onEntering: this.onEntering,\n onEntered: this.onEntered,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }), function (status) {\n var collapseClass = getTransitionClass(status);\n var classes = mapToCssModules(classNames(className, collapseClass, navbar && 'navbar-collapse'), cssModule);\n var style = height === null ? null : {\n height: height\n };\n return React.createElement(Tag, _extends({}, childProps, {\n style: _extends({}, childProps.style, style),\n className: classes,\n ref: _this2.props.innerRef\n }), children);\n });\n }\n }]);\n return Collapse;\n}(Component);\nCollapse.defaultProps = defaultProps$61;\nvar defaultProps$62 = {\n tag: 'li'\n};\nvar handleDisabledOnClick = function handleDisabledOnClick(e) {\n e.preventDefault();\n};\nvar ListGroupItem = function ListGroupItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n active = props.active,\n disabled = props.disabled,\n action = props.action,\n color = props.color,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag', 'active', 'disabled', 'action', 'color']);\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, disabled ? 'disabled' : false, action ? 'list-group-item-action' : false, color ? 'list-group-item-' + color : false, 'list-group-item'), cssModule);\n\n // Prevent click event when disabled.\n if (disabled) {\n attributes.onClick = handleDisabledOnClick;\n }\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nListGroupItem.defaultProps = defaultProps$62;\nvar defaultProps$63 = {\n tag: 'h5'\n};\nvar ListGroupItemHeading = function ListGroupItemHeading(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'list-group-item-heading'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nListGroupItemHeading.defaultProps = defaultProps$63;\nvar defaultProps$64 = {\n tag: 'p'\n};\nvar ListGroupItemText = function ListGroupItemText(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = objectWithoutProperties(props, ['className', 'cssModule', 'tag']);\n var classes = mapToCssModules(classNames(className, 'list-group-item-text'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nListGroupItemText.defaultProps = defaultProps$64;\nvar UncontrolledAlert = function (_Component) {\n inherits(UncontrolledAlert, _Component);\n function UncontrolledAlert(props) {\n classCallCheck(this, UncontrolledAlert);\n var _this = possibleConstructorReturn(this, (UncontrolledAlert.__proto__ || Object.getPrototypeOf(UncontrolledAlert)).call(this, props));\n _this.state = {\n isOpen: true\n };\n _this.toggle = _this.toggle.bind(_this);\n return _this;\n }\n createClass(UncontrolledAlert, [{\n key: 'toggle',\n value: function toggle() {\n this.setState({\n isOpen: !this.state.isOpen\n });\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(Alert, _extends({\n isOpen: this.state.isOpen,\n toggle: this.toggle\n }, this.props));\n }\n }]);\n return UncontrolledAlert;\n}(Component);\nvar UncontrolledButtonDropdown = function (_Component) {\n inherits(UncontrolledButtonDropdown, _Component);\n function UncontrolledButtonDropdown(props) {\n classCallCheck(this, UncontrolledButtonDropdown);\n var _this = possibleConstructorReturn(this, (UncontrolledButtonDropdown.__proto__ || Object.getPrototypeOf(UncontrolledButtonDropdown)).call(this, props));\n _this.state = {\n isOpen: false\n };\n _this.toggle = _this.toggle.bind(_this);\n return _this;\n }\n createClass(UncontrolledButtonDropdown, [{\n key: 'toggle',\n value: function toggle() {\n this.setState({\n isOpen: !this.state.isOpen\n });\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(ButtonDropdown, _extends({\n isOpen: this.state.isOpen,\n toggle: this.toggle\n }, this.props));\n }\n }]);\n return UncontrolledButtonDropdown;\n}(Component);\nvar defaultProps$65 = {\n toggleEvents: defaultToggleEvents\n};\nvar UncontrolledCollapse = function (_Component) {\n inherits(UncontrolledCollapse, _Component);\n function UncontrolledCollapse(props) {\n classCallCheck(this, UncontrolledCollapse);\n var _this = possibleConstructorReturn(this, (UncontrolledCollapse.__proto__ || Object.getPrototypeOf(UncontrolledCollapse)).call(this, props));\n _this.togglers = null;\n _this.removeEventListeners = null;\n _this.toggle = _this.toggle.bind(_this);\n _this.state = {\n isOpen: false\n };\n return _this;\n }\n createClass(UncontrolledCollapse, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.togglers = findDOMElements(this.props.toggler);\n if (this.togglers.length) {\n this.removeEventListeners = addMultipleEventListeners(this.togglers, this.toggle, this.props.toggleEvents);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.togglers.length && this.removeEventListeners) {\n this.removeEventListeners();\n }\n }\n }, {\n key: 'toggle',\n value: function toggle(e) {\n this.setState(function (_ref) {\n var isOpen = _ref.isOpen;\n return {\n isOpen: !isOpen\n };\n });\n e.preventDefault();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n toggleEvents = _props.toggleEvents,\n rest = objectWithoutProperties(_props, ['toggleEvents']);\n return React.createElement(Collapse, _extends({\n isOpen: this.state.isOpen\n }, rest));\n }\n }]);\n return UncontrolledCollapse;\n}(Component);\nUncontrolledCollapse.defaultProps = defaultProps$65;\nvar UncontrolledDropdown = function (_Component) {\n inherits(UncontrolledDropdown, _Component);\n function UncontrolledDropdown(props) {\n classCallCheck(this, UncontrolledDropdown);\n var _this = possibleConstructorReturn(this, (UncontrolledDropdown.__proto__ || Object.getPrototypeOf(UncontrolledDropdown)).call(this, props));\n _this.state = {\n isOpen: false\n };\n _this.toggle = _this.toggle.bind(_this);\n return _this;\n }\n createClass(UncontrolledDropdown, [{\n key: 'toggle',\n value: function toggle() {\n this.setState({\n isOpen: !this.state.isOpen\n });\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(Dropdown, _extends({\n isOpen: this.state.isOpen,\n toggle: this.toggle\n }, this.props));\n }\n }]);\n return UncontrolledDropdown;\n}(Component);\nvar UncontrolledNavDropdown = function UncontrolledNavDropdown(props) {\n warnOnce('The \"UncontrolledNavDropdown\" component has been deprecated.\\nPlease use component \"UncontrolledDropdown\" with nav prop.');\n return React.createElement(UncontrolledDropdown, _extends({\n nav: true\n }, props));\n};\nvar UncontrolledTooltip = function (_Component) {\n inherits(UncontrolledTooltip, _Component);\n function UncontrolledTooltip(props) {\n classCallCheck(this, UncontrolledTooltip);\n var _this = possibleConstructorReturn(this, (UncontrolledTooltip.__proto__ || Object.getPrototypeOf(UncontrolledTooltip)).call(this, props));\n _this.state = {\n isOpen: false\n };\n _this.toggle = _this.toggle.bind(_this);\n return _this;\n }\n createClass(UncontrolledTooltip, [{\n key: 'toggle',\n value: function toggle() {\n this.setState({\n isOpen: !this.state.isOpen\n });\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(Tooltip, _extends({\n isOpen: this.state.isOpen,\n toggle: this.toggle\n }, this.props));\n }\n }]);\n return UncontrolledTooltip;\n}(Component);\nexport { Alert, Container, Row, Col, Navbar, NavbarBrand, NavbarToggler, Nav, NavItem, NavDropdown, NavLink, Breadcrumb, BreadcrumbItem, Button, ButtonDropdown, ButtonGroup, ButtonToolbar, Dropdown, DropdownItem, DropdownMenu, DropdownToggle, Fade, Badge, Card, CardLink, CardGroup, CardDeck, CardColumns, CardBody, CardBlock, CardFooter, CardHeader, CardImg, CardImgOverlay, Carousel, UncontrolledCarousel, CarouselControl, CarouselItem, CarouselIndicators, CarouselCaption, CardSubtitle, CardText, CardTitle, Popover, PopoverContent, PopoverBody, PopoverTitle, PopoverHeader, Progress, Modal, ModalHeader, ModalBody, ModalFooter, PopperContent, PopperTargetHelper, Tooltip, Table, ListGroup, Form, FormFeedback, FormGroup, FormText, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupButtonDropdown, InputGroupText, Label, CustomInput, Media, Pagination, PaginationItem, PaginationLink, TabContent, TabPane, Jumbotron, Collapse, ListGroupItem, ListGroupItemText, ListGroupItemHeading, UncontrolledAlert, UncontrolledButtonDropdown, UncontrolledCollapse, UncontrolledDropdown, UncontrolledNavDropdown, UncontrolledTooltip, utils as Util };"],"sourceRoot":""}