{"version":3,"sources":["../node_modules/react-bootstrap/es/ButtonGroup.js","../node_modules/react-bootstrap/es/FormCheckInput.js","../node_modules/react-bootstrap/es/FormCheckLabel.js","../node_modules/react-bootstrap/es/FormCheck.js","../node_modules/react-bootstrap/es/FormLabel.js","../node_modules/react-bootstrap/es/FormText.js","../node_modules/react-bootstrap/es/Form.js","../node_modules/react-loki/es/LokiStep.js","../node_modules/react-loki/es/index.js","../node_modules/react-loki/es/LokiStepContainer.js","Demo/Forms/wizard-loki/UserForm.js","Demo/Forms/wizard-loki/PasswordForm.js","Demo/Forms/wizard-loki/NewsletterForm.js","Demo/Forms/wizard-loki/index.js","Demo/Forms/FormsWizard.js","../node_modules/react-bootstrap/es/FormContext.js","../node_modules/react-bootstrap/es/Col.js","../node_modules/react-bootstrap/es/Row.js","../node_modules/react-bootstrap/es/Feedback.js","../node_modules/react-bootstrap/es/FormControl.js","../node_modules/react-bootstrap/es/FormGroup.js"],"names":["_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_2__","classnames__WEBPACK_IMPORTED_MODULE_2___default","n","react__WEBPACK_IMPORTED_MODULE_3__","react__WEBPACK_IMPORTED_MODULE_3___default","_ThemeProvider__WEBPACK_IMPORTED_MODULE_4__","ButtonGroup","a","forwardRef","props","ref","bsPrefix","size","toggle","vertical","className","_props$as","as","Component","rest","Object","prefix","baseClass","createElement","displayName","defaultProps","role","__webpack_exports__","FormCheckInput","react_default","_ref","id","isValid","isInvalid","isStatic","objectWithoutPropertiesLoose","ThemeProvider","_useContext","react","FormContext","controlId","custom","esm_extends","classnames_default","type","es_FormCheckInput","FormCheckLabel","htmlFor","es_FormCheckLabel","FormCheck","inline","disabled","feedback","style","title","label","children","innerFormContext","hasLabel","input","Provider","value","Fragment","Feedback","Input","Label","es_FormCheck","FormLabel","column","srOnly","classes","Col","es_FormLabel","FormText","_ref$as","es_FormText","Form","validated","Row","createWithBsPrefix","Group","FormGroup","Control","FormControl","Check","Text","LokiStep_LokiStep","currentStep","step","stepsDone","totalSteps","isLokiComplete","goTo","isActive","index","isComplete","isDisabled","href","onClick","event","preventDefault","icon","propTypes","_class","_temp2","es_LokiStep","es_LokiStepContainer","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","_possibleConstructorReturn","self","ReferenceError","es_Loki","_Component","Loki","_temp","_this","instance","Constructor","TypeError","_classCallCheck","this","_len","args","Array","_key","apply","concat","state","complete","subClass","superClass","create","constructor","enumerable","writable","configurable","setPrototypeOf","__proto__","_inherits","_back","data","onBack","setState","_next","steps","onFinish","onNext","_lokiData","stepIndex","cantBack","isInFinalStep","backHandler","bind","nextHandler","_renderSteps","_this2","renderSteps","map","newStep","_renderComponents","renderComponents","_lokiData2","component","noActions","cloneElement","backLabel","nextLabel","finishLabel","_renderActions","renderActions","render","UserForm","user","isSubmitting","sm","md","name","defaultValue","email","aria-label","Button","variant","PasswordForm","password","passwordConfirmation","NewsletterForm","defaultChecked","FormWizard","receiveNewsletter","values","objectSpread","console","log","complexSteps","wizard_loki_UserForm","wizard_loki_PasswordForm","wizard_loki_NewsletterForm","_mergeValues","_finishWizard","customSteps","caption","FormsWizard","isFinished","customRenderer","itemLinkClass","toConsumableArray","join","DEMO","BLANK_LINK","customActions","_ref2","customComponents","_ref3","_Aux","Card","Header","Title","Body","wizard_loki_FormWizard","React","react__WEBPACK_IMPORTED_MODULE_0__","createContext","undefined","DEVICE_SIZES","spans","forEach","brkPoint","span","offset","order","propValue","_propValue$span","infix","push","_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__","classnames__WEBPACK_IMPORTED_MODULE_3__","classnames__WEBPACK_IMPORTED_MODULE_3___default","react__WEBPACK_IMPORTED_MODULE_4__","react__WEBPACK_IMPORTED_MODULE_4___default","_ThemeProvider__WEBPACK_IMPORTED_MODULE_5__","_React$Component","_this$props","noGutters","_this$props$as","prop_types__WEBPACK_IMPORTED_MODULE_4__","prop_types__WEBPACK_IMPORTED_MODULE_4___default","string","isRequired","elementType","_Feedback__WEBPACK_IMPORTED_MODULE_5__","_FormContext__WEBPACK_IMPORTED_MODULE_6__","_ThemeProvider__WEBPACK_IMPORTED_MODULE_7__","_classes","plaintext","readOnly","_classes2","_classes3","_FormContext__WEBPACK_IMPORTED_MODULE_4__","context"],"mappings":"2FAAA,IAAAA,EAAAC,EAAA,GAAAC,EAAAD,EAAA,IAAAE,EAAAF,EAAA,IAAAG,EAAAH,EAAAI,EAAAF,GAAAG,EAAAL,EAAA,GAAAM,EAAAN,EAAAI,EAAAC,GAAAE,EAAAP,EAAA,IAUAQ,EAAkBF,EAAAG,EAAKC,WAAA,SAAAC,EAAAC,GACvB,IAAAC,EAAAF,EAAAE,SACAC,EAAAH,EAAAG,KACAC,EAAAJ,EAAAI,OACAC,EAAAL,EAAAK,SACAC,EAAAN,EAAAM,UACAC,EAAAP,EAAAQ,GACAC,OAAA,IAAAF,EAAA,MAAAA,EACAG,EAAaC,OAAArB,EAAA,EAAAqB,CAA6BX,EAAA,0DAE1CY,EAAeD,OAAAf,EAAA,EAAAe,CAAkBT,EAAA,aACjCW,EAAAD,EAEA,OADAP,IAAAQ,EAAAD,EAAA,aACSjB,EAAAG,EAAKgB,cAAAL,EAA0BE,OAAAvB,EAAA,EAAAuB,CAAQ,GAAGD,EAAA,CACnDT,MACAK,UAAed,IAAUc,EAAAO,EAAAV,GAAAS,EAAA,IAAAT,EAAAC,GAAAQ,EAAA,gBAGzBf,EAAAkB,YAAA,cACAlB,EAAAmB,aAxBA,CACAX,UAAA,EACAD,QAAA,EACAa,KAAA,SAsBeC,EAAA,0ICrBfC,EAAqBC,EAAAtB,EAAKC,WAAA,SAAAsB,EAAApB,GAC1B,IAAAqB,EAAAD,EAAAC,GACApB,EAAAmB,EAAAnB,SACAI,EAAAe,EAAAf,UACAiB,EAAAF,EAAAE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AAA,IAAAG,EAAAH,EAAAI,EAAAF,GAAAG,EAAAL,EAAA,GAAAM,EAAAN,EAAAI,EAAAC,GAAAwQ,EAAA7Q,EAAA,IAAA2P,EAAA3P,EAAA,IAMAmF,EAAgB7E,EAAAG,EAAKC,WAAA,SAAAsB,EAAApB,GACrB,IAAAC,EAAAmB,EAAAnB,SACAI,EAAAe,EAAAf,UACAyC,EAAA1B,EAAA0B,SACAhB,EAAAV,EAAAU,UACAkC,EAAA5C,EAAAb,GACAC,OAAA,IAAAwD,EAAA,MAAAA,EACAjE,EAAcW,OAAArB,EAAA,EAAAqB,CAA6BU,EAAA,sDAE3CnB,EAAaS,OAAAqO,EAAA,EAAArO,CAAkBT,EAAA,cAC/B,IAAAiQ,EAAgBxP,OAAAjB,EAAA,QAAAiB,CAAO,WACvB,OACAoB,cAEG,CAAAA,IACH,OAASpC,EAAAG,EAAKgB,cAAeoP,EAAA,EAAW/M,SAAA,CACxCC,MAAA+M,GACKxQ,EAAAG,EAAKgB,cAAAL,EAA0BE,OAAAvB,EAAA,EAAAuB,CAAQ,GAAGX,EAAA,CAC/CC,MACAK,UAAed,IAAUc,EAAAJ,KACtB6C,MAEHyB,EAAAzD,YAAA,YACeG,EAAA","file":"static/js/53.e92750cb.chunk.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n vertical: false,\n toggle: false,\n role: 'group'\n};\nvar ButtonGroup = React.forwardRef(function (props, ref) {\n var bsPrefix = props.bsPrefix,\n size = props.size,\n toggle = props.toggle,\n vertical = props.vertical,\n className = props.className,\n _props$as = props.as,\n Component = _props$as === void 0 ? 'div' : _props$as,\n rest = _objectWithoutPropertiesLoose(props, [\"bsPrefix\", \"size\", \"toggle\", \"vertical\", \"className\", \"as\"]);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'btn-group');\n var baseClass = prefix;\n if (vertical) baseClass = prefix + \"-vertical\";\n return React.createElement(Component, _extends({}, rest, {\n ref: ref,\n className: classNames(className, baseClass, size && prefix + \"-\" + size, toggle && prefix + \"-toggle\")\n }));\n});\nButtonGroup.displayName = 'ButtonGroup';\nButtonGroup.defaultProps = defaultProps;\nexport default ButtonGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useContext } from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport FormContext from './FormContext';\nvar defaultProps = {\n type: 'checkbox'\n};\nvar FormCheckInput = React.forwardRef(function (_ref, ref) {\n var id = _ref.id,\n bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n isValid = _ref.isValid,\n isInvalid = _ref.isInvalid,\n isStatic = _ref.isStatic,\n props = _objectWithoutPropertiesLoose(_ref, [\"id\", \"bsPrefix\", \"className\", \"isValid\", \"isInvalid\", \"isStatic\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-check-input');\n\n var _useContext = useContext(FormContext),\n controlId = _useContext.controlId,\n custom = _useContext.custom;\n\n return React.createElement(\"input\", _extends({}, props, {\n ref: ref,\n id: id || controlId,\n className: classNames(className, !custom && bsPrefix, custom && 'custom-control-input', isValid && 'is-valid', isInvalid && 'is-invalid', isStatic && 'position-static')\n }));\n});\nFormCheckInput.displayName = 'FormCheckInput';\nFormCheckInput.defaultProps = defaultProps;\nexport default FormCheckInput;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useContext } from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport FormContext from './FormContext';\nvar defaultProps = {\n type: 'checkbox'\n};\nvar FormCheckLabel = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n htmlFor = _ref.htmlFor,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"htmlFor\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-check-label');\n\n var _useContext = useContext(FormContext),\n controlId = _useContext.controlId,\n custom = _useContext.custom;\n\n return React.createElement(\"label\", _extends({}, props, {\n ref: ref,\n htmlFor: htmlFor || controlId,\n className: classNames(className, !custom && bsPrefix, custom && 'custom-control-label')\n }));\n});\nFormCheckLabel.displayName = 'FormCheckLabel';\nFormCheckLabel.defaultProps = defaultProps;\nexport default FormCheckLabel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useContext, useMemo } from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport FormContext from './FormContext';\nimport Feedback from './Feedback';\nimport FormCheckInput from './FormCheckInput';\nimport FormCheckLabel from './FormCheckLabel';\nvar defaultProps = {\n type: 'checkbox',\n inline: false,\n disabled: false,\n isValid: false,\n isInvalid: false,\n title: ''\n};\nvar FormCheck = React.forwardRef(function (_ref, ref) {\n var id = _ref.id,\n bsPrefix = _ref.bsPrefix,\n inline = _ref.inline,\n disabled = _ref.disabled,\n isValid = _ref.isValid,\n isInvalid = _ref.isInvalid,\n feedback = _ref.feedback,\n className = _ref.className,\n style = _ref.style,\n title = _ref.title,\n type = _ref.type,\n label = _ref.label,\n children = _ref.children,\n custom = _ref.custom,\n props = _objectWithoutPropertiesLoose(_ref, [\"id\", \"bsPrefix\", \"inline\", \"disabled\", \"isValid\", \"isInvalid\", \"feedback\", \"className\", \"style\", \"title\", \"type\", \"label\", \"children\", \"custom\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-check');\n\n var _useContext = useContext(FormContext),\n controlId = _useContext.controlId;\n\n var innerFormContext = useMemo(function () {\n return {\n controlId: id || controlId,\n custom: custom\n };\n }, [controlId, custom, id]);\n var hasLabel = label != null && label !== false && !children;\n var input = React.createElement(FormCheckInput, _extends({}, props, {\n type: type,\n ref: ref,\n isValid: isValid,\n isInvalid: isInvalid,\n isStatic: !hasLabel,\n disabled: disabled\n }));\n return React.createElement(FormContext.Provider, {\n value: innerFormContext\n }, React.createElement(\"div\", {\n style: style,\n className: classNames(className, !custom && bsPrefix, custom && \"custom-control custom-\" + type, inline && (custom ? 'custom-control' : bsPrefix) + \"-inline\")\n }, children || React.createElement(React.Fragment, null, input, hasLabel && React.createElement(FormCheckLabel, {\n title: title\n }, label), (isValid || isInvalid) && React.createElement(Feedback, {\n type: isValid ? 'valid' : 'invalid'\n }, feedback))));\n});\nFormCheck.displayName = 'FormCheck';\nFormCheck.defaultProps = defaultProps;\nFormCheck.Input = FormCheckInput;\nFormCheck.Label = FormCheckLabel;\nexport default FormCheck;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useContext } from 'react';\nimport warning from 'warning';\nimport Col from './Col';\nimport FormContext from './FormContext';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n column: false,\n srOnly: false\n};\nvar FormLabel = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n column = _ref.column,\n srOnly = _ref.srOnly,\n className = _ref.className,\n htmlFor = _ref.htmlFor,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"column\", \"srOnly\", \"className\", \"htmlFor\"]);\n\n var _useContext = useContext(FormContext),\n controlId = _useContext.controlId;\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-label');\n var classes = classNames(className, bsPrefix, srOnly && 'sr-only', column && 'col-form-label');\n process.env.NODE_ENV !== \"production\" ? warning(controlId == null || !htmlFor, '`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified.') : void 0;\n htmlFor = htmlFor || controlId;\n if (column) return React.createElement(Col, _extends({\n as: \"label\",\n className: classes,\n htmlFor: htmlFor\n }, props));\n return (// eslint-disable-next-line jsx-a11y/label-has-for, jsx-a11y/label-has-associated-control\n React.createElement(\"label\", _extends({\n ref: ref,\n className: classes,\n htmlFor: htmlFor\n }, props))\n );\n});\nFormLabel.displayName = 'FormLabel';\nFormLabel.defaultProps = defaultProps;\nexport default FormLabel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar FormText = React.forwardRef( // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\nfunction (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'small' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"as\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-text');\n return React.createElement(Component, _extends({}, props, {\n ref: ref,\n className: classNames(className, bsPrefix)\n }));\n});\nFormText.displayName = 'FormText';\nexport default FormText;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport createWithBsPrefix from './utils/createWithBsPrefix';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport FormGroup from './FormGroup';\nimport FormControl from './FormControl';\nimport FormCheck from './FormCheck';\nimport FormLabel from './FormLabel';\nimport FormText from './FormText';\nvar defaultProps = {\n inline: false\n};\nvar Form = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n inline = _ref.inline,\n className = _ref.className,\n validated = _ref.validated,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'form' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"inline\", \"className\", \"validated\", \"as\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form');\n return React.createElement(Component, _extends({}, props, {\n ref: ref,\n className: classNames(className, validated && 'was-validated', inline && bsPrefix + \"-inline\")\n }));\n});\nForm.displayName = 'Form';\nForm.defaultProps = defaultProps;\nForm.Row = createWithBsPrefix('form-row');\nForm.Group = FormGroup;\nForm.Control = FormControl;\nForm.Check = FormCheck;\nForm.Label = FormLabel;\nForm.Text = FormText;\nexport default Form;","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nvar LokiStep = function LokiStep(_ref) {\n var currentStep = _ref.currentStep,\n stepsDone = _ref.stepsDone,\n totalSteps = _ref.totalSteps,\n step = _ref.step,\n isLokiComplete = _ref.isLokiComplete,\n goTo = _ref.goTo;\n var isActive = currentStep === step.index;\n var isComplete = currentStep > step.index;\n var isDisabled = !isActive && !isComplete;\n return React.createElement(\"li\", {\n className: \"LokiStep \" + (isActive && \"LokiStep-Active\") + \" \" + ((isComplete || isLokiComplete) && \"LokiStep-Complete\")\n }, React.createElement(\"a\", {\n href: \"#\",\n onClick: function onClick(event) {\n event.preventDefault();\n\n if (isDisabled) {\n return;\n }\n\n goTo(step.index);\n },\n className: \"LokiStep-Link \" + (isDisabled && \"disabled\"),\n disabled: isDisabled\n }, React.createElement(\"div\", {\n className: \"LokiStep-Icon\"\n }, step.icon || step.index)));\n};\n\nLokiStep.propTypes = process.env.NODE_ENV !== \"production\" ? {\n currentStep: PropTypes.number.isRequired,\n totalSteps: PropTypes.number.isRequired,\n step: PropTypes.object.isRequired,\n isLokiComplete: PropTypes.bool.isRequired\n} : {};\nexport default LokiStep;","var _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar _class, _temp2;\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _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\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\nimport React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport LokiStep from \"./LokiStep\";\nimport LokiStepContainer from \"./LokiStepContainer\";\nvar Loki = (_temp2 = _class = function (_Component) {\n _inherits(Loki, _Component);\n\n function Loki() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Loki);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {\n currentStep: 1,\n stepsDone: [],\n complete: false\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Loki.prototype._back = function _back(data) {\n this.props.onBack && this.props.onBack(data);\n this.setState({\n currentStep: this.state.currentStep - 1\n });\n };\n\n Loki.prototype._next = function _next(data) {\n if (this.state.currentStep === this.props.steps.length) {\n this.props.onFinish(data);\n return this.setState({\n complete: true\n });\n }\n\n this.props.onNext && this.props.onNext(data);\n this.setState({\n currentStep: this.state.currentStep + 1,\n stepsDone: this.state.stepsDone.concat([this.state.currentStep])\n });\n };\n\n Loki.prototype._lokiData = function _lokiData() {\n return {\n currentStep: this.state.currentStep,\n stepIndex: this.state.currentStep - 1,\n cantBack: this.state.currentStep === 1,\n isInFinalStep: this.state.currentStep === this.props.steps.length,\n backHandler: this._back.bind(this),\n nextHandler: this._next.bind(this)\n };\n };\n\n Loki.prototype._renderSteps = function _renderSteps() {\n var _this2 = this;\n\n if (!this.props.steps) {\n return;\n }\n\n if (this.props.renderSteps) {\n return this.props.renderSteps(this._lokiData());\n }\n\n var steps = this.props.steps.map(function (step, index) {\n return React.createElement(LokiStep, {\n key: index,\n stepsDone: _this2.state.stepsDone,\n currentStep: _this2.state.currentStep,\n totalSteps: _this2.props.steps.length,\n step: _extends({}, step, {\n index: index + 1\n }),\n goTo: function goTo(newStep) {\n return _this2.setState({\n currentStep: newStep\n });\n },\n isLokiComplete: _this2.state.complete\n });\n });\n return React.createElement(LokiStepContainer, null, steps);\n };\n\n Loki.prototype._renderComponents = function _renderComponents() {\n if (!this.props.steps) {\n return;\n }\n\n if (this.props.renderComponents) {\n return this.props.renderComponents(this._lokiData());\n }\n\n var _lokiData2 = this._lokiData(),\n stepIndex = _lokiData2.stepIndex,\n cantBack = _lokiData2.cantBack,\n isInFinalStep = _lokiData2.isInFinalStep,\n backHandler = _lokiData2.backHandler,\n nextHandler = _lokiData2.nextHandler;\n\n var component = this.props.steps[stepIndex].component;\n\n if (this.props.noActions) {\n return React.cloneElement(component, {\n isComplete: this.state.complete,\n backLabel: this.props.backLabel,\n nextLabel: isInFinalStep ? this.props.finishLabel : this.props.nextLabel,\n cantBack: cantBack,\n isInFinalStep: isInFinalStep,\n onBack: backHandler,\n onNext: nextHandler\n });\n }\n\n return component;\n };\n\n Loki.prototype._renderActions = function _renderActions() {\n // If we don't want the buttons we do not render them\n if (!this.props.steps || this.props.noActions) {\n return;\n }\n\n var cantBack = this.state.currentStep === 1;\n var isInFinalStep = this.state.currentStep === this.props.steps.length; // If we want custom actions we render them\n\n if (this.props.renderActions) {\n return this.props.renderActions(this._lokiData());\n }\n\n return React.createElement(\"div\", {\n className: \"Loki-Actions\"\n }, React.createElement(\"button\", {\n type: \"button\",\n onClick: this._back.bind(this),\n disabled: cantBack || this.state.complete\n }, this.props.backLabel), React.createElement(\"button\", {\n type: \"button\",\n onClick: this._next.bind(this),\n disabled: this.state.complete\n }, isInFinalStep ? this.props.finishLabel : this.props.nextLabel));\n };\n\n Loki.prototype.render = function render() {\n return React.createElement(\"div\", {\n className: \"Loki\"\n }, this._renderSteps(), this._renderComponents(), this._renderActions());\n };\n\n return Loki;\n}(Component), _class.defaultProps = {\n backLabel: \"Back\",\n nextLabel: \"Next\",\n finishLabel: \"Finish\"\n}, _temp2);\nLoki.propTypes = process.env.NODE_ENV !== \"production\" ? {\n steps: PropTypes.array.isRequired,\n onFinish: PropTypes.func.isRequired\n} : {};\nexport { Loki as default, LokiStepContainer, LokiStep };","import React from 'react';\n\nvar LokiStepContainer = function LokiStepContainer(_ref) {\n var children = _ref.children;\n return React.createElement(\"ol\", {\n className: \"LokiSteps\"\n }, children);\n};\n\nexport default LokiStepContainer;","import React from 'react';\nimport {Row, Col, Form, FormGroup, ButtonGroup, Button, FormControl} from 'react-bootstrap';\n\nconst UserForm = (props) => {\n const {\n user,\n isSubmitting,\n\n backLabel,\n nextLabel,\n onBack,\n onNext,\n cantBack\n } = props;\n\n return (\n <Row className=\"justify-content-md-center\">\n <Col sm={12} md={9}>\n <Form className=\"p-1\">\n <FormGroup>\n <Form.Label htmlFor=\"name\">Name</Form.Label>\n <FormControl type=\"text\" name=\"userName\" id=\"userName\" defaultValue={user.name} />\n </FormGroup>\n <FormGroup>\n <Form.Label htmlFor=\"email\">E-mail</Form.Label>\n <FormControl type=\"text\" name=\"email\" id=\"email\" defaultValue={user.email} />\n </FormGroup>\n\n <ButtonGroup aria-label=\"Wizard Buttons\">\n <Button variant=\"secondary\" onClick={onBack} disabled={isSubmitting || cantBack}>{backLabel}</Button>\n <Button variant=\"secondary\" onClick={onNext} disabled={isSubmitting}>{nextLabel}</Button>\n </ButtonGroup>\n </Form>\n </Col>\n </Row>\n );\n};\n\nexport default UserForm;","import React from 'react';\nimport {Row, Col, Form, FormGroup, ButtonGroup, Button, FormControl} from 'react-bootstrap';\n\nconst PasswordForm = (props) => {\n const {\n user,\n isSubmitting,\n backLabel,\n nextLabel,\n onBack,\n onNext,\n cantBack\n } = props;\n\n return (\n <Row className=\"justify-content-md-center\">\n <Col sm={12} md={9}>\n <Form className=\"p-1\">\n <FormGroup>\n <Form.Label htmlFor=\"password\">Password</Form.Label>\n <FormControl type=\"password\" name=\"password\" id=\"password\" defaultValue={user.password} />\n </FormGroup>\n <FormGroup>\n <Form.Label htmlFor=\"passwordConfirmation\">Password Confirmation</Form.Label>\n <FormControl type=\"password\" name=\"passwordConfirmation\" id=\"passwordConfirmation\" defaultValue={user.passwordConfirmation} />\n </FormGroup>\n\n <ButtonGroup aria-label=\"Wizard Buttons\">\n <Button variant=\"secondary\" onClick={onBack} disabled={isSubmitting || cantBack}>{backLabel}</Button>\n <Button variant=\"secondary\" onClick={onNext} disabled={isSubmitting}>{nextLabel}</Button>\n </ButtonGroup>\n </Form>\n </Col>\n </Row>\n );\n};\n\nexport default PasswordForm;","import React from 'react';\nimport {Row, Col, ButtonGroup, Button, Form} from 'react-bootstrap';\n\nconst NewsletterForm = (props) => {\n const {\n isSubmitting,\n\n // Loki props\n backLabel,\n nextLabel,\n onBack,\n onNext,\n cantBack\n } = props;\n\n return (\n <Row className=\"justify-content-md-center\">\n <Col sm={12} md={9}>\n <Form className=\"p-1\">\n <Form.Group>\n <div className=\"checkbox d-inline checkbox-fill\">\n <Form.Control type=\"checkbox\" name=\"receiveNewsletter\" id=\"receiveNewsletter\" defaultChecked={true} />\n <Form.Label htmlFor=\"receiveNewsletter\" className=\"cr\">Register for newsletter</Form.Label>\n </div>\n </Form.Group>\n <ButtonGroup aria-label=\"Wizard Buttons\">\n <Button variant=\"secondary\" onClick={onBack} disabled={isSubmitting || cantBack}>{backLabel}</Button>\n <Button variant=\"secondary\" onClick={onNext} disabled={isSubmitting}>{nextLabel}</Button>\n </ButtonGroup>\n </Form>\n </Col>\n </Row>\n );\n};\n\nexport default NewsletterForm;","import React, { Component } from 'react';\nimport Loki from 'react-loki';\n\nimport UserForm from './UserForm';\nimport PasswordForm from './PasswordForm';\nimport NewsletterForm from './NewsletterForm';\n\nexport default class FormWizard extends Component {\n state = {\n user: {\n name: '',\n email: '',\n password: '',\n passwordConfirmation: '',\n receiveNewsletter: false,\n },\n };\n\n _mergeValues(values) {\n this.setState({\n user: {\n ...this.state.user,\n ...values\n },\n });\n }\n\n _finishWizard() {\n console.log('Completed!');\n }\n\n render() {\n const complexSteps = [\n {\n label: 'Step 1',\n icon: <i className=\"fa fa-user\"/>,\n component: <UserForm user={this.state.user} />,\n },\n {\n label: 'Step 2',\n icon: <i className=\"fa fa-lock\"/>,\n component: <PasswordForm user={this.state.user} />,\n },\n {\n label: 'Step 3',\n icon: <i className=\"fa fa-envelope\"/>,\n component: <NewsletterForm user={this.state.user} />,\n },\n ];\n\n return (\n <div className=\"Demo\">\n <Loki\n steps={complexSteps}\n onNext={this._mergeValues.bind(this)}\n onBack={this._mergeValues.bind(this)}\n onFinish={this._finishWizard.bind(this)}\n noActions />\n </div>\n );\n }\n}","import React from 'react';\r\nimport {Row, Col, Card, ButtonGroup, Button} from 'react-bootstrap';\r\nimport Loki from 'react-loki';\r\n\r\nimport Aux from \"../../hoc/_Aux\";\r\nimport DEMO from \"../../store/constant\";\r\nimport FormWizard from \"./wizard-loki/index\";\r\n\r\nconst Step1 = () => {\r\n return (\r\n <div className=\"sw-container tab-content\">\r\n <div className=\"step-content\">\r\n <h5>Title Step 1</h5>\r\n <hr/>\r\n <h6>Sub title 1</h6>\r\n <p><strong>@Title content 1!.. </strong> Lorem Ipsum is simply dummy text of the printing <strong>@Content content 1 </strong> and typesetting industry. Lorem Ipsum has been the industry's\r\n standard dummy text.</p>\r\n <h6 className=\"mt-3\">Sub title 2</h6>\r\n <p><strong>@Title content 2!.. </strong> Lorem Ipsum is simply dummy text and typesetting industry. Lorem Ipsum has been the industry's standard dummy text.</p>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nconst Step2 = () => {\r\n return (\r\n <div className=\"sw-container tab-content\">\r\n <div className=\"step-content\">\r\n <h5>Title Step 2</h5>\r\n <hr/>\r\n <h6>Sub title 1</h6>\r\n <p><strong>@Title content 1!.. </strong> Lorem Ipsum is simply dummy text of the printing <strong>@Content content 1 </strong> and typesetting industry. Lorem Ipsum has been the industry's\r\n standard dummy text.</p>\r\n <h6 className=\"mt-3\">Sub title 2</h6>\r\n <p><strong>@Title content 2!.. </strong> Lorem Ipsum is simply dummy text and typesetting industry. Lorem Ipsum has been the industry's standard dummy text.</p>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nconst Step3 = () => {\r\n return (\r\n <div className=\"sw-container tab-content\">\r\n <div className=\"step-content\">\r\n <h5>Title Step 3</h5>\r\n <hr/>\r\n <h6>Sub title 1</h6>\r\n <p><strong>@Title content 1!.. </strong> Lorem Ipsum is simply dummy text of the printing <strong>@Content content 1 </strong> and typesetting industry. Lorem Ipsum has been the industry's\r\n standard dummy text.</p>\r\n <h6 className=\"mt-3\">Sub title 2</h6>\r\n <p><strong>@Title content 2!.. </strong> Lorem Ipsum is simply dummy text and typesetting industry. Lorem Ipsum has been the industry's standard dummy text.</p>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nconst Step4 = () => {\r\n return (\r\n <div className=\"sw-container tab-content\">\r\n <div className=\"step-content\">\r\n <h5>Title Step 4</h5>\r\n <hr/>\r\n <h6>Sub title 1</h6>\r\n <p><strong>@Title content 1!.. </strong> Lorem Ipsum is simply dummy text of the printing <strong>@Content content 1 </strong> and typesetting industry. Lorem Ipsum has been the industry's\r\n standard dummy text.</p>\r\n <h6 className=\"mt-3\">Sub title 2</h6>\r\n <p><strong>@Title content 2!.. </strong> Lorem Ipsum is simply dummy text and typesetting industry. Lorem Ipsum has been the industry's standard dummy text.</p>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nconst customSteps = [\r\n {\r\n label: 'Step 1',\r\n caption: 'This is step description',\r\n icon: <i className=\"fa fa-user\" />,\r\n component: <Step1/>,\r\n },\r\n {\r\n label: 'Step 2',\r\n caption: 'This is step content',\r\n icon: <i className=\"fa fa-lock\" />,\r\n component: <Step2/>,\r\n },\r\n {\r\n label: 'Step 3',\r\n caption: 'This is step text',\r\n icon: <i className=\"fa fa-envelope\" />,\r\n component: <Step3/>,\r\n },\r\n {\r\n label: 'Step 4',\r\n caption: 'This is step content',\r\n icon: <i className=\"fa fa-lock\" />,\r\n component: <Step4/>,\r\n }\r\n];\r\n\r\nclass FormsWizard extends React.Component {\r\n state = {\r\n isFinished: false\r\n };\r\n\r\n customRenderer = ({ currentStep, stepIndex, cantBack, isInFinalStep, backHandler, nextHandler }) => {\r\n let i = 0;\r\n const steps = customSteps.map((step, index) => {\r\n const isActive = currentStep === index + 1;\r\n let itemLinkClass = ['nav-item mb-10'];\r\n if (isActive) {\r\n itemLinkClass = [...itemLinkClass, 'active'];\r\n i=1;\r\n } else if (i === 0 || this.state.isFinished) {\r\n itemLinkClass = [...itemLinkClass, 'done'];\r\n }\r\n\r\n return (\r\n <li key={index} className={itemLinkClass.join(' ')}>\r\n <a href={DEMO.BLANK_LINK} className=\"nav-link disabled\">\r\n <h6>{step.label}</h6>\r\n <p className=\"m-0\">{step.caption}</p>\r\n </a>\r\n </li>\r\n );\r\n });\r\n\r\n return <ul className=\"nav nav-tabs step-anchor\">{steps}</ul>;\r\n };\r\n\r\n customActions = ({ currentStep, stepIndex, cantBack, isInFinalStep, backHandler, nextHandler }) => {\r\n return (\r\n <div className=\"btn-toolbar sw-toolbar sw-toolbar-bottom justify-content-end\">\r\n <ButtonGroup className=\"sw-btn-group\" aria-label=\"Wizard Buttons\">\r\n <Button variant=\"secondary\" onClick={backHandler} disabled={cantBack}>Previous</Button>\r\n <Button variant=\"secondary\" onClick={nextHandler} disabled={this.state.isFinished && isInFinalStep}>{isInFinalStep ? 'Finish' : 'Next'}</Button>\r\n </ButtonGroup>\r\n </div>\r\n );\r\n };\r\n\r\n customComponents = ({currentStep}) => {\r\n return customSteps.map((step, index) => {\r\n if (currentStep === index + 1) {\r\n return <div key={index}>{step.component}</div>\r\n }\r\n return false;\r\n });\r\n };\r\n\r\n onFinish = () => {\r\n this.setState({isFinished: true});\r\n };\r\n\r\n render() {\r\n return (\r\n <Aux>\r\n <Row>\r\n <Col>\r\n <Card>\r\n <Card.Header>\r\n <Card.Title as=\"h5\">Simple Wizard</Card.Title>\r\n </Card.Header>\r\n <Card.Body>\r\n <div className='sw-main sw-theme-default'>\r\n <Loki steps={customSteps} currentStep={2} renderComponents={this.customComponents} renderSteps={this.customRenderer} renderActions={this.customActions} onFinish={this.onFinish} />\r\n </div>\r\n </Card.Body>\r\n </Card>\r\n <Card>\r\n <Card.Header>\r\n <Card.Title as=\"h5\">Form Wizard</Card.Title>\r\n </Card.Header>\r\n <Card.Body>\r\n <FormWizard />\r\n </Card.Body>\r\n </Card>\r\n </Col>\r\n </Row>\r\n </Aux>\r\n );\r\n }\r\n}\r\n\r\nexport default FormsWizard;","import React from 'react';\nvar FormContext = React.createContext({\n controlId: undefined\n});\nexport default FormContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs'];\nvar Col = React.forwardRef( // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\nfunction (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"as\"]);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'col');\n var spans = [];\n var classes = [];\n DEVICE_SIZES.forEach(function (brkPoint) {\n var propValue = props[brkPoint];\n delete props[brkPoint];\n var span, offset, order;\n\n if (propValue != null && typeof propValue === 'object') {\n var _propValue$span = propValue.span;\n span = _propValue$span === void 0 ? true : _propValue$span;\n offset = propValue.offset;\n order = propValue.order;\n } else {\n span = propValue;\n }\n\n var infix = brkPoint !== 'xs' ? \"-\" + brkPoint : '';\n if (span != null) spans.push(span === true ? \"\" + prefix + infix : \"\" + prefix + infix + \"-\" + span);\n if (order != null) classes.push(\"order\" + infix + \"-\" + order);\n if (offset != null) classes.push(\"offset\" + infix + \"-\" + offset);\n });\n\n if (!spans.length) {\n spans.push(prefix); // plain 'col'\n }\n\n return React.createElement(Component, _extends({}, props, {\n ref: ref,\n className: classNames.apply(void 0, [className].concat(spans, classes))\n }));\n});\nCol.displayName = 'Col';\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { createBootstrapComponent } from './ThemeProvider';\n\nvar Row =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Row, _React$Component);\n\n function Row() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Row.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n bsPrefix = _this$props.bsPrefix,\n noGutters = _this$props.noGutters,\n _this$props$as = _this$props.as,\n Component = _this$props$as === void 0 ? 'div' : _this$props$as,\n className = _this$props.className,\n props = _objectWithoutPropertiesLoose(_this$props, [\"bsPrefix\", \"noGutters\", \"as\", \"className\"]);\n\n return React.createElement(Component, _extends({}, props, {\n className: classNames(className, bsPrefix, noGutters && 'no-gutters')\n }));\n };\n\n return Row;\n}(React.Component);\n\nRow.defaultProps = {\n noGutters: false\n};\nexport default createBootstrapComponent(Row, 'row');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nvar propTypes = {\n /**\n * Specify whether the feedback is for valid or invalid fields\n *\n * @type {('valid'|'invalid')}\n */\n type: PropTypes.string.isRequired,\n as: PropTypes.elementType\n};\nvar defaultProps = {\n type: 'valid'\n};\nvar Feedback = React.forwardRef( // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\nfunction (_ref, ref) {\n var _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n className = _ref.className,\n type = _ref.type,\n props = _objectWithoutPropertiesLoose(_ref, [\"as\", \"className\", \"type\"]);\n\n return React.createElement(Component, _extends({}, props, {\n ref: ref,\n className: classNames(className, type && type + \"-feedback\")\n }));\n});\nFeedback.displayName = 'Feedback';\nFeedback.propTypes = propTypes;\nFeedback.defaultProps = defaultProps;\nexport default Feedback;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useContext } from 'react';\nimport warning from 'warning';\nimport Feedback from './Feedback';\nimport FormContext from './FormContext';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar FormControl = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n type = _ref.type,\n size = _ref.size,\n id = _ref.id,\n className = _ref.className,\n isValid = _ref.isValid,\n isInvalid = _ref.isInvalid,\n plaintext = _ref.plaintext,\n readOnly = _ref.readOnly,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'input' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"type\", \"size\", \"id\", \"className\", \"isValid\", \"isInvalid\", \"plaintext\", \"readOnly\", \"as\"]);\n\n var _useContext = useContext(FormContext),\n controlId = _useContext.controlId;\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-control');\n var classes;\n\n if (plaintext) {\n var _classes;\n\n classes = (_classes = {}, _classes[bsPrefix + \"-plaintext\"] = true, _classes);\n } else if (type === 'file') {\n var _classes2;\n\n classes = (_classes2 = {}, _classes2[bsPrefix + \"-file\"] = true, _classes2);\n } else {\n var _classes3;\n\n classes = (_classes3 = {}, _classes3[bsPrefix] = true, _classes3[bsPrefix + \"-\" + size] = size, _classes3);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(controlId == null || !id, '`controlId` is ignored on `<FormControl>` when `id` is specified.') : void 0;\n return React.createElement(Component, _extends({}, props, {\n type: type,\n ref: ref,\n readOnly: readOnly,\n id: id || controlId,\n className: classNames(className, classes, isValid && \"is-valid\", isInvalid && \"is-invalid\")\n }));\n});\nFormControl.displayName = 'FormControl';\nFormControl.Feedback = Feedback;\nexport default FormControl;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport FormContext from './FormContext';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar FormGroup = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n children = _ref.children,\n controlId = _ref.controlId,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"children\", \"controlId\", \"as\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-group');\n var context = useMemo(function () {\n return {\n controlId: controlId\n };\n }, [controlId]);\n return React.createElement(FormContext.Provider, {\n value: context\n }, React.createElement(Component, _extends({}, props, {\n ref: ref,\n className: classNames(className, bsPrefix)\n }), children));\n});\nFormGroup.displayName = 'FormGroup';\nexport default FormGroup;"],"sourceRoot":""}