{"version":3,"sources":["../node_modules/grommet/es6/components/CheckBoxGroup/StyledCheckBoxGroup.js","../node_modules/grommet/es6/components/CheckBoxGroup/propTypes.js","../node_modules/grommet/es6/components/CheckBoxGroup/CheckBoxGroup.js","../node_modules/grommet/es6/components/RadioButtonGroup/propTypes.js","../node_modules/grommet/es6/components/RadioButtonGroup/RadioButtonGroup.js","../node_modules/grommet/es6/components/FormField/propTypes.js","../node_modules/grommet/es6/components/FormField/FormField.js","../node_modules/grommet/es6/components/CheckBox/propTypes.js","../node_modules/grommet/es6/components/CheckBox/StyledCheckBox.js","../node_modules/grommet/es6/components/CheckBox/CheckBox.js","../node_modules/grommet/es6/components/RadioButton/StyledRadioButton.js","../node_modules/grommet/es6/components/RadioButton/propTypes.js","../node_modules/grommet/es6/components/RadioButton/RadioButton.js"],"names":["StyledCheckBoxGroup","styled","Box","withConfig","displayName","componentId","props","theme","checkBoxGroup","container","extend","defaultProps","Object","setPrototypeOf","CheckBoxGroupPropTypes","_excluded","_excluded2","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","CheckBoxGroup","forwardRef","_ref","ref","children","valueProp","value","disabledProp","disabled","_ref$focusIndicator","focusIndicator","gap","labelKey","valueKey","onChange","optionsProp","options","name","rest","formContext","useContext","FormContext","ThemeContext","map","option","label","_formContext$useFormI","useFormInput","initialValue","setValue","onCheckBoxChange","event","optionValue","nextValue","JSON","parse","stringify","optionIndex","push","splice","persist","adjustedEvent","React","createElement","role","index","valueOption","checked","console","warn","optionProps","CheckBox","state","propTypes","RadioButtonGroupPropTypes","RadioButtonGroup","defaultValue","_onChange","o","id","_useState","useState","focus","setFocus","optionRefs","useRef","valueIndex","useMemo","result","some","useEffect","current","onNext","undefined","nextIndex","click","onPrevious","onFocus","setTimeout","onBlur","Keyboard","onUp","onDown","onLeft","onRight","radioButtonGroup","_ref2","optionDisabled","optionRest","focusable","RadioButton","aRef","tabIndex","FormFieldPropTypes","_excluded3","grommetInputNames","grommetInputPadNames","FormFieldBox","focusStyle","justBorder","formField","FormFieldContentBox","StyledMessageContainer","messageType","RequiredText","Text","Message","error","info","icon","containerProps","messageContent","message","type","direction","flex","Input","comp","component","invalid","InputComponent","TextInput","extraProps","plain","FormField","_ref3","className","contentProps","errorProp","help","htmlFor","infoProp","margin","_onBlur","_onFocus","pad","required","style","validate","_formContext$useFormF","useFormField","inForm","contextOnBlur","contextOnChange","formFieldRef","useForwardedRef","formFieldTheme","themeBorder","border","wantContentPad","contents","Children","child","cloneElement","containerRest","isFileInputComponent","borderColor","themeContentProps","content","position","background","forEach","color","abut","abutMargin","labelStyle","outerBackground","outerStyle","innerProps","size","fileInput","side","round","mergedMargin","bottom","horizontal","parseMetricToNum","global","borderSize","zIndex","outerProps","requiredIndicator","a11yTitle","showRequiredIndicator","indicator","containsFocus","shouldKeepFocus","func","wait","timeout","_len","args","Array","_key","later","clearTimeout","debounce","debouncedFn","Fragment","as","CheckBoxPropTypes","hoverStyle","css","_props$theme$checkBox","_props$theme$checkBox2","normalizeColor","checkBox","hover","_props$theme$checkBox3","_props$theme$checkBox4","StyledCheckBoxIcon","svg","check","thickness","StyledCheckBoxContainer","align","fillProp","edgeStyle","responsive","box","responsiveBreakpoint","_props$theme$checkBox5","_props$theme$checkBox6","_props$theme$checkBox7","_props$theme$checkBox8","StyledCheckBoxInput","input","toggle","StyledCheckBoxBox","div","StyledCheckBoxToggle","span","width","radius","StyledCheckBoxKnob","knob","StyledCheckBox","stopLabelClick","stopPropagation","ariaLabel","checkedProp","_ref$defaultChecked","defaultChecked","fill","focusProp","_onMouseEnter","onMouseEnter","_onMouseLeave","onMouseLeave","_onMouseOut","onMouseOut","_onMouseOver","onMouseOver","reverse","indeterminate","setChecked","hidden","themeableProps","_theme$checkBox$icons","icons","CheckedIcon","IndeterminateIcon","visual","justify","height","viewBox","preserveAspectRatio","d","checkBoxNode","removeUndefined","normalizedLabel","first","second","onClick","StyledRadioButtonContainer","radioButton","StyledRadioButtonInput","StyledRadioButtonLabel","font","weight","StyledRadioButtonIcon","StyledRadioButtonBox","_props$theme$radioBut","StyledRadioButton","RadioButtonPropTypes","setHover","Icon","circle","right","cx","cy","r"],"mappings":"uNAGIA,EAAsBC,kBAAOC,KAAKC,WAAW,CAC/CC,YAAa,sBACbC,YAAa,eAFWJ,CAGvB,CAAC,GAAI,KAAK,SAAUK,GACrB,OAAOA,EAAMC,MAAMC,eAAiBF,EAAMC,MAAMC,cAAcC,WAAaH,EAAMC,MAAMC,cAAcC,UAAUC,UAEjHV,EAAoBW,aAAe,GACnCC,OAAOC,eAAeb,EAAoBW,aAAcA,KCKjD,IAAIG,EAdI,GCDXC,EAAY,CAAC,WAAY,QAAS,WAAY,iBAAkB,MAAO,WAAY,WAAY,WAAY,UAAW,QACtHC,EAAa,CAAC,SAElB,SAASC,IAA2Q,OAA9PA,EAAWL,OAAOM,QAAU,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcX,OAAOa,UAAUC,eAAeC,KAAKJ,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,IAA2BS,MAAMC,KAAMR,WAEhT,SAASS,EAA8BP,EAAQQ,GAAY,GAAc,MAAVR,EAAgB,MAAO,GAAI,IAA2DC,EAAKJ,EAA5DD,EAAS,GAAQa,EAAapB,OAAOqB,KAAKV,GAAqB,IAAKH,EAAI,EAAGA,EAAIY,EAAWV,OAAQF,IAAOI,EAAMQ,EAAWZ,GAAQW,EAASG,QAAQV,IAAQ,IAAaL,EAAOK,GAAOD,EAAOC,IAAQ,OAAOL,EAQ1S,IAAIgB,EAA6BC,sBAAW,SAAUC,EAAMC,GAC1D,IAAIC,EAAWF,EAAKE,SAChBC,EAAYH,EAAKI,MACjBC,EAAeL,EAAKM,SACpBC,EAAsBP,EAAKQ,eAC3BA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AOuC,GAAS,IAElBrC,aAAc,WACZ,OAAOqC,GAAS,MAEHnP,IAAMC,cAAcgP,EAAmB,CACtDpF,GAAIxO,IACJoJ,MAAM,EACNiB,OAAQ3G,EAAQ,CACduQ,MAAO5T,EAAM+S,YAAYxQ,KAAO,cAC9B8D,GACU/B,IAAMC,cAAcyO,EAAwBtS,EAAS,CACnE,aAAcwM,GACbpK,EAAM,CACPf,IAAKA,EACL8G,KAAM,SACL4J,YAAgB,CACjBlN,GAAIA,EACJ1C,KAAMA,EACN8B,QAASA,EACTvC,SAAUA,EACVM,SAAUA,MACNV,EAAWA,EAAS,CACxB2C,QAASA,EACTe,MAAOA,GAASpD,EAChBqM,MAAOA,IACSrK,IAAMC,cAAc8O,EAAsB,CAC1D3N,MAAOA,GAASpD,EAChB6L,GAAIxO,IACJwP,MAAO,SACPgD,QAAS,SACT/B,MAAOpQ,EAAM+S,YAAY1G,KACzB+F,OAAQpS,EAAM+S,YAAY1G,KAC1BrB,OAAQ,CACNqB,KAAMrM,EAAM+S,YAAY/H,OAAOoF,MAC/BtE,MAAON,GAETgB,MAAOxM,EAAM+S,YAAY/D,MAAMqB,QAC9B1L,IAAY+O,EAAoBpP,IAAMC,cAAcmP,EAAM,CAC3DvF,GAAIiF,IACY9O,IAAMC,cAAc6O,EAAuB,CAC3Df,QAAS,YACTC,oBAAqB,iBACPhO,IAAMC,cAAc,SAAU,CAC5CsP,GAAI,GACJC,GAAI,GACJC,EAAG,QACGrB,MAEVpL,EAAYzH,YAAc,cAC1ByH,EAAYrC,UAAYuO","file":"static/js/1.c03ac03b.chunk.js","sourcesContent":["import styled from 'styled-components';\nimport { Box } from '../Box';\nimport { defaultProps } from '../../default-props';\nvar StyledCheckBoxGroup = styled(Box).withConfig({\n displayName: \"StyledCheckBoxGroup\",\n componentId: \"sc-2nhc5d-0\"\n})([\"\", \"\"], function (props) {\n return props.theme.checkBoxGroup && props.theme.checkBoxGroup.container && props.theme.checkBoxGroup.container.extend;\n});\nStyledCheckBoxGroup.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxGroup.defaultProps, defaultProps);\nexport { StyledCheckBoxGroup };","import PropTypes from 'prop-types';\nvar PropType = {};\n\nif (process.env.NODE_ENV !== 'production') {\n PropType = {\n value: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])),\n disabled: PropTypes.bool,\n labelKey: PropTypes.string,\n name: PropTypes.string,\n onChange: PropTypes.func,\n options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.arrayOf(PropTypes.shape({}))]),\n valueKey: PropTypes.string\n };\n}\n\nexport var CheckBoxGroupPropTypes = PropType;","var _excluded = [\"children\", \"value\", \"disabled\", \"focusIndicator\", \"gap\", \"labelKey\", \"valueKey\", \"onChange\", \"options\", \"name\"],\n _excluded2 = [\"value\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { forwardRef, useContext } from 'react';\nimport { ThemeContext } from 'styled-components';\nimport { CheckBox } from '../CheckBox';\nimport { FormContext } from '../Form/FormContext';\nimport { StyledCheckBoxGroup } from './StyledCheckBoxGroup';\nimport { CheckBoxGroupPropTypes } from './propTypes';\nvar CheckBoxGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n valueProp = _ref.value,\n disabledProp = _ref.disabled,\n _ref$focusIndicator = _ref.focusIndicator,\n focusIndicator = _ref$focusIndicator === void 0 ? true : _ref$focusIndicator,\n gap = _ref.gap,\n labelKey = _ref.labelKey,\n valueKey = _ref.valueKey,\n onChange = _ref.onChange,\n optionsProp = _ref.options,\n name = _ref.name,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var formContext = useContext(FormContext);\n var theme = useContext(ThemeContext) || defaultProps.theme; // In case option is a string, normalize it to be an object\n\n var options = optionsProp.map(function (option) {\n return typeof option === 'string' ? {\n disabled: disabledProp,\n value: option,\n label: option\n } : option;\n }); // 'value' is an array of checked valueKeys\n\n var _formContext$useFormI = formContext.useFormInput({\n name: name,\n value: valueProp,\n initialValue: []\n }),\n value = _formContext$useFormI[0],\n setValue = _formContext$useFormI[1]; // Logic is necessary to maintain a proper data structure for Form logic\n\n\n var onCheckBoxChange = function onCheckBoxChange(event, optionValue, option) {\n // deep copy of value\n var nextValue = JSON.parse(JSON.stringify(value)) || [];\n var optionIndex = nextValue.indexOf(optionValue); // If the value option isn't in the array, add it.\n // Otherwise, remove it.\n\n if (optionIndex < 0) nextValue.push(optionValue);else nextValue.splice(optionIndex, 1);\n setValue(nextValue); // Similar functionality to Select onChange()\n\n if (onChange) {\n event.persist(); // extract from React synthetic event pool\n\n var adjustedEvent = event;\n adjustedEvent.value = nextValue;\n adjustedEvent.option = option;\n onChange(adjustedEvent);\n }\n };\n\n return /*#__PURE__*/React.createElement(StyledCheckBoxGroup, _extends({\n ref: ref,\n role: \"group\"\n }, theme.checkBoxGroup.container, {\n gap: gap || (theme.checkBoxGroup.container && theme.checkBoxGroup.container.gap ? theme.checkBoxGroup.container.gap : 'small') // consistent with RadioButtonGroup default\n\n }, rest), options.map(function (option, index) {\n var optionValue = option.value;\n var label = labelKey ? option[labelKey] : option.label;\n var valueOption = valueKey ? option[valueKey] : optionValue;\n var checked = value.indexOf(valueOption) >= 0;\n var disabled = disabledProp || option.disabled;\n var key = label + \"-\" + valueOption;\n if (option.checked) console.warn( // eslint-disable-next-line max-len\n \"'checked' prop of an individual CheckBox shouldn't be used in a CheckBoxGroup component. Use the CheckBoxGroup 'value' prop instead.\"); // value shouldn't propagate the input field and the onChange option\n\n var omit = option.value,\n optionRest = _objectWithoutPropertiesLoose(option, _excluded2);\n\n var optionProps = _extends({}, optionRest, {\n label: label,\n disabled: disabled\n });\n\n return /*#__PURE__*/React.createElement(CheckBox, _extends({\n key: key\n }, optionProps, {\n disabled: disabled,\n checked: checked // when contained in a FormField, focusIndicator = false,\n // so that the FormField has focus style. However, we still\n // need to visually indicate when a CheckBox is active.\n // In CheckBox, if focus = true but focusIndicator = false,\n // we will apply the hover treament.\n ,\n focusIndicator: focusIndicator,\n label: label,\n onChange: function onChange(event) {\n return onCheckBoxChange(event, valueOption, optionProps);\n }\n }), children ? function (state) {\n return children(options[index], state);\n } : null);\n }));\n});\nCheckBoxGroup.displayName = 'CheckBoxGroup';\nCheckBoxGroup.propTypes = CheckBoxGroupPropTypes;\nexport { CheckBoxGroup };","import PropTypes from 'prop-types';\nvar PropType = {};\n\nif (process.env.NODE_ENV !== 'production') {\n PropType = {\n children: PropTypes.func,\n disabled: PropTypes.bool,\n name: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.arrayOf(PropTypes.number), PropTypes.arrayOf(PropTypes.bool), PropTypes.arrayOf(PropTypes.shape({\n disabled: PropTypes.bool,\n id: PropTypes.string,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).isRequired\n }))]).isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool, PropTypes.object])\n };\n}\n\nexport var RadioButtonGroupPropTypes = PropType;","var _excluded = [\"children\", \"defaultValue\", \"disabled\", \"focusIndicator\", \"name\", \"onChange\", \"options\", \"value\", \"gap\"],\n _excluded2 = [\"disabled\", \"id\", \"label\", \"value\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { forwardRef, useContext, useEffect, useRef, useState } from 'react';\nimport { ThemeContext } from 'styled-components';\nimport { FormContext } from '../Form/FormContext';\nimport { defaultProps } from '../../default-props';\nimport { Keyboard } from '../Keyboard';\nimport { Box } from '../Box';\nimport { RadioButton } from '../RadioButton';\nimport { RadioButtonGroupPropTypes } from './propTypes';\nvar RadioButtonGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n defaultValue = _ref.defaultValue,\n disabled = _ref.disabled,\n _ref$focusIndicator = _ref.focusIndicator,\n focusIndicator = _ref$focusIndicator === void 0 ? true : _ref$focusIndicator,\n name = _ref.name,\n _onChange = _ref.onChange,\n optionsProp = _ref.options,\n valueProp = _ref.value,\n gap = _ref.gap,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var formContext = useContext(FormContext);\n var theme = useContext(ThemeContext) || defaultProps.theme; // normalize options to always use an object\n\n var options = optionsProp.map(function (o) {\n return typeof o !== 'object' ? {\n disabled: disabled,\n id: rest.id ? rest.id + \"-\" + o : \"\" + o,\n // force string\n label: typeof o !== 'string' ? JSON.stringify(o) : o,\n value: o\n } : _extends({\n disabled: disabled\n }, o);\n });\n\n var _formContext$useFormI = formContext.useFormInput({\n name: name,\n value: valueProp,\n initialValue: defaultValue || ''\n }),\n value = _formContext$useFormI[0],\n setValue = _formContext$useFormI[1]; // track if focus is on one of the radio buttons\n\n\n var _useState = useState(),\n focus = _useState[0],\n setFocus = _useState[1];\n\n var optionRefs = useRef([]);\n var valueIndex = React.useMemo(function () {\n var result;\n options.some(function (option, index) {\n if (option.value === value) {\n result = index;\n return true;\n }\n\n return false;\n });\n return result;\n }, [options, value]);\n useEffect(function () {\n // if tab comes back to RadioButtonGroup when there still is no selection,\n // we want focus to be on the first RadioButton\n if (focus && !valueIndex) {\n optionRefs.current[0].focus();\n }\n }, [focus, valueIndex]);\n\n var onNext = function onNext() {\n if (valueIndex !== undefined && valueIndex < options.length - 1) {\n var nextIndex = valueIndex + 1; // ensure change event occurs\n\n optionRefs.current[nextIndex].click();\n }\n };\n\n var onPrevious = function onPrevious() {\n if (valueIndex > 0) {\n var nextIndex = valueIndex - 1; // ensure change event occurs\n\n optionRefs.current[nextIndex].click();\n }\n };\n\n var onFocus = function onFocus() {\n // Delay just a wee bit so Chrome doesn't missing turning the button on.\n // Chrome behaves differently in that focus is given to radio buttons\n // when the user selects one, unlike Safari and Firefox.\n setTimeout(function () {\n setFocus(true);\n }, 1);\n };\n\n var onBlur = function onBlur() {\n return setFocus(false);\n };\n\n return /*#__PURE__*/React.createElement(Keyboard, {\n target: \"document\",\n onUp: focus ? onPrevious : undefined,\n onDown: focus ? onNext : undefined,\n onLeft: focus ? onPrevious : undefined,\n onRight: focus ? onNext : undefined\n }, /*#__PURE__*/React.createElement(Box, _extends({\n ref: ref,\n role: \"radiogroup\"\n }, theme.radioButtonGroup.container, {\n gap: gap || (theme.radioButtonGroup.container && theme.radioButtonGroup.container.gap ? theme.radioButtonGroup.container.gap : 'small')\n }, rest), options.map(function (_ref2, index) {\n var optionDisabled = _ref2.disabled,\n id = _ref2.id,\n label = _ref2.label,\n optionValue = _ref2.value,\n optionRest = _objectWithoutPropertiesLoose(_ref2, _excluded2);\n\n // if focus is within the RadioButtonGroup, determine\n // which radio button should be the active one\n var focusable = optionValue === value || value === undefined && !index || // when nothing has been selected, show focus\n // on the first radiobutton\n value === '' && index === 0;\n return /*#__PURE__*/React.createElement(RadioButton, _extends({\n ref: function ref(aRef) {\n optionRefs.current[index] = aRef;\n },\n key: optionValue,\n name: name,\n label: !children ? label : undefined,\n disabled: optionDisabled,\n checked: optionValue === value,\n focus: focus && focusable // when contained in a FormField, focusIndicator = false,\n // so that the FormField has focus style. However, we still\n // need to visually indicate when a RadioButton is active.\n // In RadioButton, if focus = true but focusIndicator = false,\n // we will apply the hover treament.\n ,\n focusIndicator: focusIndicator,\n id: id,\n value: optionValue,\n onFocus: onFocus,\n onBlur: onBlur,\n onChange: function onChange(event) {\n setValue(optionValue);\n if (_onChange) _onChange(event);\n },\n tabIndex: focusable ? '0' : '-1' // necessary for Firefox\n\n }, optionRest), children ? function (state) {\n return children(optionsProp[index], state);\n } : null);\n })));\n});\nRadioButtonGroup.displayName = 'RadioButtonGroup';\nRadioButtonGroup.propTypes = RadioButtonGroupPropTypes;\nexport { RadioButtonGroup };","import PropTypes from 'prop-types';\nimport { marginProp } from '../../utils/general-prop-types';\nvar PropType = {};\n\nif (process.env.NODE_ENV !== 'production') {\n PropType = {\n a11yTitle: PropTypes.string,\n component: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n contentProps: PropTypes.object,\n disabled: PropTypes.bool,\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n help: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n htmlFor: PropTypes.string,\n info: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n name: PropTypes.string,\n margin: marginProp,\n pad: PropTypes.bool,\n required: PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({\n indicator: PropTypes.bool\n })]),\n validate: PropTypes.oneOfType([PropTypes.shape({\n regexp: PropTypes.instanceOf(RegExp),\n // regular expression\n message: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n status: PropTypes.oneOf(['error', 'info'])\n }), PropTypes.func, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({\n regexp: PropTypes.instanceOf(RegExp),\n // regular expression\n message: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n status: PropTypes.oneOf(['error', 'info'])\n }), PropTypes.func]))])\n };\n}\n\nexport var FormFieldPropTypes = PropType;","var _excluded = [\"error\", \"info\", \"message\", \"type\"],\n _excluded2 = [\"component\", \"disabled\", \"invalid\", \"name\", \"onChange\"],\n _excluded3 = [\"children\", \"className\", \"component\", \"contentProps\", \"disabled\", \"error\", \"help\", \"htmlFor\", \"info\", \"label\", \"margin\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"pad\", \"required\", \"style\", \"validate\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { Children, cloneElement, forwardRef, useContext, useState } from 'react';\nimport styled, { ThemeContext } from 'styled-components';\nimport { defaultProps } from '../../default-props';\nimport { containsFocus, shouldKeepFocus } from '../../utils/DOM';\nimport { focusStyle } from '../../utils/styles';\nimport { parseMetricToNum } from '../../utils/mixins';\nimport { useForwardedRef } from '../../utils/refs';\nimport { Box } from '../Box';\nimport { CheckBox } from '../CheckBox';\nimport { CheckBoxGroup } from '../CheckBoxGroup';\nimport { RadioButtonGroup } from '../RadioButtonGroup';\nimport { Text } from '../Text';\nimport { TextInput } from '../TextInput';\nimport { FormContext } from '../Form/FormContext';\nimport { FormFieldPropTypes } from './propTypes';\nvar grommetInputNames = ['CheckBox', 'CheckBoxGroup', 'TextInput', 'Select', 'MaskedInput', 'TextArea', 'DateInput', 'FileInput', 'RadioButtonGroup'];\nvar grommetInputPadNames = ['CheckBox', 'CheckBoxGroup', 'RadioButtonGroup', 'RangeInput'];\n\nvar isGrommetInput = function isGrommetInput(comp) {\n return comp && (grommetInputNames.indexOf(comp.displayName) !== -1 || grommetInputPadNames.indexOf(comp.displayName) !== -1);\n};\n\nvar FormFieldBox = styled(Box).withConfig({\n displayName: \"FormField__FormFieldBox\",\n componentId: \"sc-m9hood-0\"\n})([\"\", \" \", \"\"], function (props) {\n return props.focus && focusStyle({\n justBorder: true\n });\n}, function (props) {\n return props.theme.formField && props.theme.formField.extend;\n});\nvar FormFieldContentBox = styled(Box).withConfig({\n displayName: \"FormField__FormFieldContentBox\",\n componentId: \"sc-m9hood-1\"\n})([\"\", \"\"], function (props) {\n return props.focus && focusStyle({\n justBorder: true\n });\n});\nvar StyledMessageContainer = styled(Box).withConfig({\n displayName: \"FormField__StyledMessageContainer\",\n componentId: \"sc-m9hood-2\"\n})([\"\", \"\"], function (props) {\n return props.messageType && props.theme.formField[props.messageType].container && props.theme.formField[props.messageType].container.extend;\n});\nvar RequiredText = styled(Text).withConfig({\n displayName: \"FormField__RequiredText\",\n componentId: \"sc-m9hood-3\"\n})([\"color:inherit;font-weight:inherit;line-height:inherit;\"]);\n\nvar Message = function Message(_ref) {\n var error = _ref.error,\n info = _ref.info,\n message = _ref.message,\n type = _ref.type,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var theme = useContext(ThemeContext) || defaultProps.theme;\n\n if (message) {\n var icon;\n var containerProps;\n\n if (type) {\n icon = theme.formField[type] && theme.formField[type].icon;\n containerProps = theme.formField[type] && theme.formField[type].container;\n }\n\n var messageContent;\n if (typeof message === 'string') messageContent = /*#__PURE__*/React.createElement(Text, rest, message);else messageContent = /*#__PURE__*/React.createElement(Box, rest, message);\n return icon || containerProps ? /*#__PURE__*/React.createElement(StyledMessageContainer, _extends({\n direction: \"row\",\n messageType: type\n }, containerProps), icon && /*#__PURE__*/React.createElement(Box, {\n flex: false\n }, icon), messageContent) : messageContent;\n }\n\n return null;\n};\n\nvar Input = function Input(_ref2) {\n var component = _ref2.component,\n disabled = _ref2.disabled,\n invalid = _ref2.invalid,\n name = _ref2.name,\n _onChange = _ref2.onChange,\n rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);\n\n var formContext = useContext(FormContext);\n\n var _formContext$useFormI = formContext.useFormInput({\n name: name,\n value: rest.value\n }),\n value = _formContext$useFormI[0],\n setValue = _formContext$useFormI[1];\n\n var InputComponent = component || TextInput; // Grommet input components already check for FormContext\n // and, using their `name`, end up calling the useFormInput.setValue()\n // already. For custom components, we expect they will call\n // this onChange() and we'll call setValue() here, primarily\n // for backwards compatibility.\n\n var extraProps = isGrommetInput(InputComponent) ? {\n focusIndicator: false,\n onChange: _onChange,\n plain: true\n } : {\n value: value,\n onChange: function onChange(event) {\n setValue(event.value !== undefined ? event.value : event.target.value);\n if (_onChange) _onChange(event);\n }\n };\n return /*#__PURE__*/React.createElement(InputComponent, _extends({\n name: name,\n disabled: disabled,\n \"aria-invalid\": invalid || undefined\n }, rest, extraProps));\n};\n\nvar debounce = function debounce(func, wait) {\n var timeout;\n return function executedFunction() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var later = function later() {\n timeout = null;\n func.apply(void 0, args);\n };\n\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n };\n};\n\nvar FormField = /*#__PURE__*/forwardRef(function (_ref3, ref) {\n var children = _ref3.children,\n className = _ref3.className,\n component = _ref3.component,\n contentProps = _ref3.contentProps,\n disabled = _ref3.disabled,\n errorProp = _ref3.error,\n help = _ref3.help,\n htmlFor = _ref3.htmlFor,\n infoProp = _ref3.info,\n label = _ref3.label,\n margin = _ref3.margin,\n name = _ref3.name,\n _onBlur = _ref3.onBlur,\n onChange = _ref3.onChange,\n _onFocus = _ref3.onFocus,\n pad = _ref3.pad,\n required = _ref3.required,\n style = _ref3.style,\n validate = _ref3.validate,\n rest = _objectWithoutPropertiesLoose(_ref3, _excluded3);\n\n var theme = useContext(ThemeContext) || defaultProps.theme;\n var formContext = useContext(FormContext);\n\n var _formContext$useFormF = formContext.useFormField({\n disabled: disabled,\n error: errorProp,\n info: infoProp,\n name: name,\n required: required,\n validate: validate\n }),\n error = _formContext$useFormF.error,\n info = _formContext$useFormF.info,\n inForm = _formContext$useFormF.inForm,\n contextOnBlur = _formContext$useFormF.onBlur,\n contextOnChange = _formContext$useFormF.onChange;\n\n var _useState = useState(),\n focus = _useState[0],\n setFocus = _useState[1];\n\n var formFieldRef = useForwardedRef(ref);\n var formFieldTheme = theme.formField;\n var themeBorder = formFieldTheme.border; // This is here for backwards compatibility. In case the child is a grommet\n // input component, set plain and focusIndicator props, if they aren't\n // already set.\n\n var wantContentPad = component && (component === CheckBox || component === CheckBoxGroup || component === RadioButtonGroup);\n var contents = themeBorder && children && Children.map(children, function (child) {\n if (child && child.type && grommetInputPadNames.indexOf(child.type.displayName) !== -1) {\n wantContentPad = true;\n }\n\n if (child && child.type && grommetInputNames.indexOf(child.type.displayName) !== -1 && child.props.plain === undefined && child.props.focusIndicator === undefined) {\n return /*#__PURE__*/cloneElement(child, {\n plain: true,\n focusIndicator: false\n });\n }\n\n return child;\n }) || children; // put rest on container, unless we use internal Input\n\n var containerRest = rest;\n\n if (inForm) {\n if (!contents) containerRest = {};\n contents = contents || /*#__PURE__*/React.createElement(Input, _extends({\n component: component,\n disabled: disabled,\n invalid: !!error,\n name: name,\n label: component === CheckBox ? label : undefined\n }, rest));\n }\n\n var themeContentProps = _extends({}, formFieldTheme.content);\n\n if (!pad && !wantContentPad) {\n themeContentProps.pad = undefined;\n }\n\n if (themeBorder && themeBorder.position === 'inner') {\n if (error && formFieldTheme.error) {\n themeContentProps.background = formFieldTheme.error.background;\n } else if (disabled && formFieldTheme.disabled) {\n themeContentProps.background = formFieldTheme.disabled.background;\n }\n } // fileinput handle\n // use fileinput plain use formfield to drive the border\n\n\n var isFileInputComponent;\n if (children && Children.forEach(children, function (child) {\n if (child && child.type && 'FileInput'.indexOf(child.type.displayName) !== -1) isFileInputComponent = true;\n })) ;\n\n if (component && component.displayName === 'FileInput' && !isFileInputComponent) {\n isFileInputComponent = true;\n }\n\n if (!themeBorder) {\n contents = /*#__PURE__*/React.createElement(Box, _extends({}, themeContentProps, contentProps), contents);\n }\n\n var borderColor;\n\n if (disabled && formFieldTheme.disabled.border && formFieldTheme.disabled.border.color) {\n borderColor = formFieldTheme.disabled.border.color;\n } else if ( // backward compatibility check\n error && themeBorder && themeBorder.error.color || error && formFieldTheme.error && formFieldTheme.error.border) {\n if (themeBorder.error.color && formFieldTheme.error.border === undefined) {\n borderColor = themeBorder.error.color || 'status-critical';\n } else if (formFieldTheme.error.border && formFieldTheme.error.border.color) {\n borderColor = formFieldTheme.error.border.color || 'status-critical';\n }\n } else if (focus && formFieldTheme.focus && formFieldTheme.focus.border && formFieldTheme.focus.border.color) {\n borderColor = formFieldTheme.focus.border.color;\n } else {\n borderColor = themeBorder && themeBorder.color || 'border';\n }\n\n var labelStyle = _extends({}, formFieldTheme.label);\n\n if (disabled) {\n labelStyle.color = formFieldTheme.disabled && formFieldTheme.disabled.label ? formFieldTheme.disabled.label.color : labelStyle.color;\n }\n\n var abut;\n var abutMargin;\n var outerStyle = style; // If fileinput is wrapped in a formfield we want to use\n // the border style from the fileInput.theme. We also do not\n // want the foocus around the formfield since the the focus\n // is on the anchor/button inside fileinput\n\n if (themeBorder) {\n var innerProps = themeBorder.position === 'inner' ? {\n border: _extends({}, themeBorder, {\n size: isFileInputComponent ? theme.fileInput.border.size : undefined,\n style: isFileInputComponent ? theme.fileInput.border.style : undefined,\n side: isFileInputComponent ? theme.fileInput.border.side : themeBorder.side || 'bottom',\n color: borderColor\n }),\n round: formFieldTheme.round,\n focus: isFileInputComponent ? undefined : focus\n } : {};\n contents = /*#__PURE__*/React.createElement(FormFieldContentBox, _extends({}, themeContentProps, innerProps, contentProps), contents);\n var mergedMargin = margin || formFieldTheme.margin;\n abut = themeBorder.position === 'outer' && (themeBorder.side === 'all' || themeBorder.side === 'horizontal' || !themeBorder.side) && !(mergedMargin && (typeof mergedMargin === 'string' && mergedMargin !== 'none' || mergedMargin.bottom && mergedMargin.bottom !== 'none' || mergedMargin.horizontal && mergedMargin.horizontal !== 'none'));\n\n if (abut) {\n // marginBottom is set to overlap adjacent fields\n abutMargin = {\n bottom: '-1px'\n };\n\n if (margin) {\n abutMargin = margin;\n } else if (themeBorder.size) {\n // if the user defines a margin,\n // then the default margin below will be overridden\n abutMargin = {\n bottom: \"-\" + parseMetricToNum(theme.global.borderSize[themeBorder.size] || themeBorder.size) + \"px\"\n };\n }\n\n outerStyle = _extends({\n position: focus ? 'relative' : undefined,\n zIndex: focus ? 10 : undefined\n }, style);\n }\n }\n\n var outerBackground;\n\n if (themeBorder && themeBorder.position === 'outer') {\n if (error && formFieldTheme.error && formFieldTheme.error.background) {\n outerBackground = formFieldTheme.error.background;\n } else if (focus && formFieldTheme.focus && formFieldTheme.focus.background && formFieldTheme.focus.background.color) {\n outerBackground = formFieldTheme.focus.background.color;\n } else if (disabled && formFieldTheme.disabled && formFieldTheme.disabled.background) {\n outerBackground = formFieldTheme.disabled.background;\n }\n }\n\n var outerProps = themeBorder && themeBorder.position === 'outer' ? {\n border: _extends({}, themeBorder, {\n color: borderColor\n }),\n round: formFieldTheme.round,\n focus: focus\n } : {};\n var requiredIndicator = theme.formField.label.requiredIndicator;\n if (requiredIndicator === true) // a11yTitle necessary so screenreader announces as \"required\"\n // as opposed to \"star\"\n // accessibility resource: https://www.deque.com/blog/anatomy-of-accessible-forms-required-form-fields/\n requiredIndicator = /*#__PURE__*/React.createElement(RequiredText, {\n a11yTitle: \"required\"\n }, \"*\");\n var showRequiredIndicator = required && requiredIndicator;\n if (typeof required === 'object' && required.indicator === false) showRequiredIndicator = false;\n return /*#__PURE__*/React.createElement(FormFieldBox, _extends({\n ref: formFieldRef,\n className: className,\n background: outerBackground,\n margin: abut ? abutMargin : margin || _extends({}, formFieldTheme.margin)\n }, outerProps, {\n style: outerStyle,\n onFocus: function onFocus(event) {\n setFocus(containsFocus(formFieldRef.current) && shouldKeepFocus());\n if (_onFocus) _onFocus(event);\n },\n onBlur: function onBlur(event) {\n setFocus(false);\n if (contextOnBlur) contextOnBlur(event);\n if (_onBlur) _onBlur(event);\n },\n onChange: contextOnChange || onChange ? function (event) {\n event.persist();\n if (onChange) onChange(event);\n\n if (contextOnChange) {\n var debouncedFn = debounce(function () {\n contextOnChange(event); // A half second (500ms) debounce can be a helpful starting\n // point. You want to give the user time to fill out a\n // field, but capture their attention before they move on\n // past it. 2 second (2000ms) might be too long depending\n // on how fast people type, and 200ms would be an eye blink\n }, 500);\n debouncedFn();\n }\n } : undefined\n }, containerRest), label && component !== CheckBox || help ? /*#__PURE__*/React.createElement(React.Fragment, null, label && component !== CheckBox && /*#__PURE__*/React.createElement(Text, _extends({\n as: \"label\",\n htmlFor: htmlFor\n }, labelStyle), label, showRequiredIndicator ? requiredIndicator : undefined), /*#__PURE__*/React.createElement(Message, _extends({\n message: help\n }, formFieldTheme.help))) : undefined, contents, /*#__PURE__*/React.createElement(Message, _extends({\n type: \"error\",\n message: error\n }, formFieldTheme.error)), /*#__PURE__*/React.createElement(Message, _extends({\n type: \"info\",\n message: info\n }, formFieldTheme.info)));\n});\nFormField.displayName = 'FormField';\nFormField.propTypes = FormFieldPropTypes;\nexport { FormField };","import PropTypes from 'prop-types';\nimport { padPropType } from '../../utils/general-prop-types';\nvar PropType = {};\n\nif (process.env.NODE_ENV !== 'production') {\n PropType = {\n a11yTitle: PropTypes.string,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n fill: PropTypes.bool,\n id: PropTypes.string,\n label: PropTypes.node,\n name: PropTypes.string,\n onChange: PropTypes.func,\n pad: padPropType,\n reverse: PropTypes.bool,\n toggle: PropTypes.bool,\n indeterminate: PropTypes.bool\n };\n}\n\nexport var CheckBoxPropTypes = PropType;","import styled, { css } from 'styled-components';\nimport { edgeStyle, focusStyle, normalizeColor } from '../../utils';\nimport { defaultProps } from '../../default-props'; // Note: since `fillStyle` is only used in one place, `justify-content` was\n// added to it to simplify its logic. If this is ever reused somewhere else,\n// consider the need of separating those once again.\n\nvar fillStyle = function fillStyle() {\n return \"\\n width: 100%;\\n height: 100%;\\n max-width: none;\\n flex: 1 0 auto;\\n justify-content: space-between;\\n \";\n};\n\nvar disabledStyle = \"\\n opacity: 0.5;\\n cursor: default;\\n\";\nvar hoverStyle = css([\":hover input:not([disabled]) + div,:hover input:not([disabled]) + span{border-color:\", \";}:hover{background-color:\", \";}\"], function (props) {\n var _props$theme$checkBox, _props$theme$checkBox2;\n\n return normalizeColor((_props$theme$checkBox = props.theme.checkBox.hover) == null ? void 0 : (_props$theme$checkBox2 = _props$theme$checkBox.border) == null ? void 0 : _props$theme$checkBox2.color, props.theme);\n}, function (props) {\n var _props$theme$checkBox3, _props$theme$checkBox4;\n\n return normalizeColor(!props.disabled && ((_props$theme$checkBox3 = props.theme.checkBox.hover) == null ? void 0 : (_props$theme$checkBox4 = _props$theme$checkBox3.background) == null ? void 0 : _props$theme$checkBox4.color), props.theme);\n});\nvar StyledCheckBoxIcon = styled.svg.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxIcon\",\n componentId: \"sc-1dbk5ju-0\"\n})([\"box-sizing:border-box;stroke-width:\", \";stroke:\", \";width:\", \";height:\", \";\", \";\"], function (props) {\n return props.theme.checkBox.check.thickness;\n}, function (props) {\n return normalizeColor(props.theme.checkBox.color || 'control', props.theme);\n}, function (props) {\n return props.theme.checkBox.icon.size || props.theme.checkBox.size;\n}, function (props) {\n return props.theme.checkBox.icon.size || props.theme.checkBox.size;\n}, function (props) {\n return props.theme.checkBox.icon.extend;\n});\nStyledCheckBoxIcon.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxIcon.defaultProps, defaultProps);\nvar StyledCheckBoxContainer = styled.label.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxContainer\",\n componentId: \"sc-1dbk5ju-1\"\n})([\"display:flex;flex-direction:row;align-items:\", \";user-select:none;\", \" \", \" \", \" \", \" \", \" \", \" \", \"\"], function (props) {\n return typeof props.label === 'string' ? props.theme.checkBox.label.align : undefined;\n}, function (props) {\n return props.fillProp ? fillStyle() : 'width: fit-content;';\n}, function (props) {\n return (props.pad || props.theme.checkBox.pad) && edgeStyle('padding', props.pad || props.theme.checkBox.pad, props.responsive, props.theme.box.responsiveBreakpoint, props.theme);\n}, function (props) {\n return props.disabled && disabledStyle;\n}, function (props) {\n return !props.disabled && 'cursor: pointer;';\n}, hoverStyle, function (props) {\n var _props$theme$checkBox5, _props$theme$checkBox6, _props$theme$checkBox7, _props$theme$checkBox8;\n\n return props.focus && !props.focusIndicator && \"\\n input:not([disabled]) + div,\\n input:not([disabled]) + span {\\n border-color: \" + normalizeColor((_props$theme$checkBox5 = props.theme.checkBox.hover) == null ? void 0 : (_props$theme$checkBox6 = _props$theme$checkBox5.border) == null ? void 0 : _props$theme$checkBox6.color, props.theme) + \";\\n }\\n \\n background-color: \" + normalizeColor(!props.disabled && ((_props$theme$checkBox7 = props.theme.checkBox.hover) == null ? void 0 : (_props$theme$checkBox8 = _props$theme$checkBox7.background) == null ? void 0 : _props$theme$checkBox8.color), props.theme) + \";\";\n}, function (props) {\n return props.theme.checkBox.extend;\n});\nStyledCheckBoxContainer.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxContainer.defaultProps, defaultProps);\nvar StyledCheckBoxInput = styled.input.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxInput\",\n componentId: \"sc-1dbk5ju-2\"\n})([\"opacity:0;-moz-appearance:none;width:0;height:0;margin:0;\", \":checked + span > span{left:calc( \", \" - \", \" );background:\", \";}\"], function (props) {\n return !props.disabled && 'cursor: pointer;';\n}, function (props) {\n return props.theme.checkBox.toggle.size;\n}, function (props) {\n return props.theme.checkBox.size;\n}, function (props) {\n return normalizeColor(props.theme.checkBox.color || 'control', props.theme);\n});\nStyledCheckBoxInput.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxInput.defaultProps, defaultProps);\nvar StyledCheckBoxBox = styled.div.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxBox\",\n componentId: \"sc-1dbk5ju-3\"\n})([\"\", \";\", \";\"], function (props) {\n return props.focus && props.focusIndicator && focusStyle();\n}, function (props) {\n return props.theme.checkBox.check.extend;\n});\nStyledCheckBoxBox.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxBox.defaultProps, defaultProps);\nvar StyledCheckBoxToggle = styled.span.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxToggle\",\n componentId: \"sc-1dbk5ju-4\"\n})([\"box-sizing:border-box;vertical-align:middle;display:inline-block;width:\", \";height:\", \";border:\", \" solid;border-color:\", \";border-radius:\", \";background-color:\", \";\", \";\", \";\"], function (props) {\n return props.theme.checkBox.toggle.size;\n}, function (props) {\n return props.theme.checkBox.size;\n}, function (props) {\n return props.theme.checkBox.border.width;\n}, function (props) {\n return normalizeColor(props.theme.checkBox.border.color, props.theme);\n}, function (props) {\n return props.theme.checkBox.toggle.radius;\n}, function (props) {\n return props.theme.checkBox.toggle.background ? normalizeColor(props.theme.checkBox.toggle.background, props.theme) : 'transparent';\n}, function (props) {\n return props.focus && props.focusIndicator && focusStyle();\n}, function (props) {\n return props.theme.checkBox.toggle.extend;\n});\nStyledCheckBoxToggle.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxToggle.defaultProps, defaultProps);\nvar StyledCheckBoxKnob = styled.span.withConfig({\n displayName: \"StyledCheckBox__StyledCheckBoxKnob\",\n componentId: \"sc-1dbk5ju-5\"\n})([\"box-sizing:border-box;position:relative;display:inherit;top:-\", \";left:-\", \";transition:all 0.3s;width:\", \";height:\", \";background:\", \";border-radius:\", \";\", \";\"], function (props) {\n return props.theme.checkBox.border.width;\n}, function (props) {\n return props.theme.checkBox.border.width;\n}, function (props) {\n return props.theme.checkBox.size;\n}, function (props) {\n return props.theme.checkBox.size;\n}, function (props) {\n return normalizeColor(props.theme.checkBox.toggle.color, props.theme);\n}, function (props) {\n return props.theme.checkBox.toggle.radius;\n}, function (props) {\n return props.theme.checkBox.toggle.knob.extend;\n});\nStyledCheckBoxKnob.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBoxKnob.defaultProps, defaultProps);\nvar StyledCheckBox = styled.div.withConfig({\n displayName: \"StyledCheckBox\",\n componentId: \"sc-1dbk5ju-6\"\n})([\"flex-shrink:0;\"]);\nStyledCheckBox.defaultProps = {};\nObject.setPrototypeOf(StyledCheckBox.defaultProps, defaultProps);\nexport { StyledCheckBoxIcon, StyledCheckBoxContainer, StyledCheckBoxInput, StyledCheckBoxBox, StyledCheckBoxToggle, StyledCheckBoxKnob, StyledCheckBox };","var _excluded = [\"a11yTitle\", \"aria-label\", \"checked\", \"children\", \"defaultChecked\", \"disabled\", \"fill\", \"focus\", \"focusIndicator\", \"id\", \"label\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"onMouseEnter\", \"onMouseLeave\", \"onMouseOut\", \"onMouseOver\", \"pad\", \"reverse\", \"toggle\", \"indeterminate\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { forwardRef, useContext, useEffect, useState } from 'react';\nimport { ThemeContext } from 'styled-components';\nimport { removeUndefined } from '../../utils/object';\nimport { defaultProps } from '../../default-props';\nimport { Box } from '../Box';\nimport { FormContext } from '../Form/FormContext';\nimport { CheckBoxPropTypes } from './propTypes';\nimport { StyledCheckBox, StyledCheckBoxBox, StyledCheckBoxIcon, StyledCheckBoxContainer, StyledCheckBoxInput, StyledCheckBoxToggle, StyledCheckBoxKnob } from './StyledCheckBox';\nimport { normalizeColor } from '../../utils';\n\nvar stopLabelClick = function stopLabelClick(event) {\n // prevents clicking on the label trigging the event twice\n // https://stackoverflow.com/questions/24501497/why-the-onclick-element-will-trigger-twice-for-label-element\n if (event.target.type !== 'checkbox') {\n event.stopPropagation();\n }\n};\n\nvar CheckBox = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var _ref2;\n\n var a11yTitle = _ref.a11yTitle,\n ariaLabel = _ref['aria-label'],\n checkedProp = _ref.checked,\n children = _ref.children,\n _ref$defaultChecked = _ref.defaultChecked,\n defaultChecked = _ref$defaultChecked === void 0 ? false : _ref$defaultChecked,\n disabled = _ref.disabled,\n fill = _ref.fill,\n focusProp = _ref.focus,\n _ref$focusIndicator = _ref.focusIndicator,\n focusIndicator = _ref$focusIndicator === void 0 ? true : _ref$focusIndicator,\n id = _ref.id,\n label = _ref.label,\n name = _ref.name,\n _onBlur = _ref.onBlur,\n _onChange = _ref.onChange,\n _onFocus = _ref.onFocus,\n _onMouseEnter = _ref.onMouseEnter,\n _onMouseLeave = _ref.onMouseLeave,\n _onMouseOut = _ref.onMouseOut,\n _onMouseOver = _ref.onMouseOver,\n pad = _ref.pad,\n reverse = _ref.reverse,\n toggle = _ref.toggle,\n indeterminate = _ref.indeterminate,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var theme = useContext(ThemeContext) || defaultProps.theme;\n var formContext = useContext(FormContext);\n\n var _formContext$useFormI = formContext.useFormInput({\n name: name,\n value: checkedProp,\n initialValue: defaultChecked\n }),\n checked = _formContext$useFormI[0],\n setChecked = _formContext$useFormI[1];\n\n var _useState = useState(focusProp),\n focus = _useState[0],\n setFocus = _useState[1];\n\n useEffect(function () {\n // don't allow checkbox to have focus when disabled\n if (disabled && focusProp) setFocus(false);else setFocus(focusProp);\n }, [disabled, focusProp]);\n useEffect(function () {\n if (checkedProp && indeterminate) {\n console.warn('Checkbox cannot be \"checked\" and \"indeterminate\" at the same time.');\n }\n\n if (toggle && indeterminate) {\n console.warn('Checkbox of type toggle does not have \"indeterminate\" state.');\n }\n }, [checkedProp, toggle, indeterminate]);\n var themeableProps = {\n checked: checked,\n disabled: disabled,\n focus: focus,\n // when contained in a FormField, focusIndicator = false,\n // so that the FormField has focus style. However, we still\n // need to visually indicate when a CheckBox is active.\n // If focus = true but focusIndicator = false,\n // we will apply the hover treament.\n focusIndicator: focusIndicator,\n reverse: reverse,\n toggle: toggle,\n indeterminate: indeterminate\n };\n var hidden;\n\n if (disabled && checked) {\n hidden = /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: \"true\"\n });\n }\n\n var _theme$checkBox$icons = theme.checkBox.icons,\n CheckedIcon = _theme$checkBox$icons.checked,\n IndeterminateIcon = _theme$checkBox$icons.indeterminate;\n var borderColor = normalizeColor(theme.checkBox.border.color, theme);\n\n if (checked) {\n borderColor = normalizeColor(theme.checkBox.color || 'control', theme);\n }\n\n var visual = toggle ? /*#__PURE__*/React.createElement(StyledCheckBoxToggle, themeableProps, /*#__PURE__*/React.createElement(StyledCheckBoxKnob, themeableProps)) : /*#__PURE__*/React.createElement(StyledCheckBoxBox, _extends({\n as: Box,\n align: \"center\",\n justify: \"center\",\n width: theme.checkBox.size,\n height: theme.checkBox.size,\n border: {\n size: theme.checkBox.border.width,\n color: borderColor\n },\n round: theme.checkBox.check.radius\n }, themeableProps), !indeterminate && checked && (CheckedIcon ? /*#__PURE__*/React.createElement(CheckedIcon, {\n theme: theme,\n as: StyledCheckBoxIcon\n }) : /*#__PURE__*/React.createElement(StyledCheckBoxIcon, _extends({\n theme: theme,\n viewBox: \"0 0 24 24\",\n preserveAspectRatio: \"xMidYMid meet\"\n }, themeableProps), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M6,11.3 L10.3,16 L18,6.2\"\n }))), !checked && indeterminate && (IndeterminateIcon ? /*#__PURE__*/React.createElement(IndeterminateIcon, {\n theme: theme,\n as: StyledCheckBoxIcon\n }) : /*#__PURE__*/React.createElement(StyledCheckBoxIcon, _extends({\n theme: theme,\n viewBox: \"0 0 24 24\",\n preserveAspectRatio: \"xMidYMid meet\"\n }, themeableProps), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M6,12 L18,12\"\n }))));\n var side = reverse ? 'left' : 'right';\n var checkBoxNode = /*#__PURE__*/React.createElement(StyledCheckBox, _extends({\n as: Box,\n align: \"center\",\n justify: \"center\",\n margin: label && (_ref2 = {}, _ref2[side] = theme.checkBox.gap || 'small', _ref2)\n }, themeableProps), /*#__PURE__*/React.createElement(StyledCheckBoxInput, _extends({}, rest, {\n ref: ref,\n type: \"checkbox\"\n }, removeUndefined({\n id: id,\n name: name,\n checked: checked,\n disabled: disabled\n }), themeableProps, {\n onFocus: function onFocus(event) {\n setFocus(true);\n if (_onFocus) _onFocus(event);\n },\n onBlur: function onBlur(event) {\n setFocus(false);\n if (_onBlur) _onBlur(event);\n },\n onChange: function onChange(event) {\n setChecked(event.target.checked);\n if (_onChange) _onChange(event);\n }\n })), children ? children({\n checked: checked,\n indeterminate: indeterminate\n }) : visual, hidden);\n var normalizedLabel = typeof label === 'string' ? /*#__PURE__*/React.createElement(\"span\", null, label) : label;\n var first = reverse ? normalizedLabel : checkBoxNode;\n var second = reverse ? checkBoxNode : normalizedLabel;\n return /*#__PURE__*/React.createElement(StyledCheckBoxContainer, _extends({\n \"aria-label\": ariaLabel || a11yTitle,\n fillProp: fill,\n reverse: reverse\n }, removeUndefined({\n htmlFor: id,\n disabled: disabled\n }), {\n checked: checked,\n label: label,\n onClick: stopLabelClick,\n pad: pad,\n onMouseEnter: function onMouseEnter(event) {\n return _onMouseEnter == null ? void 0 : _onMouseEnter(event);\n },\n onMouseOver: function onMouseOver(event) {\n return _onMouseOver == null ? void 0 : _onMouseOver(event);\n },\n onMouseLeave: function onMouseLeave(event) {\n return _onMouseLeave == null ? void 0 : _onMouseLeave(event);\n },\n onMouseOut: function onMouseOut(event) {\n return _onMouseOut == null ? void 0 : _onMouseOut(event);\n }\n }, themeableProps), first, second);\n});\nCheckBox.displayName = 'CheckBox';\nCheckBox.propTypes = CheckBoxPropTypes;\nexport { CheckBox };","import styled, { css } from 'styled-components';\nimport { focusStyle, normalizeColor } from '../../utils';\nimport { defaultProps } from '../../default-props';\nvar disabledStyle = \"\\n opacity: 0.5;\\n cursor: default;\\n\";\nvar StyledRadioButtonContainer = styled.label.withConfig({\n displayName: \"StyledRadioButton__StyledRadioButtonContainer\",\n componentId: \"sc-g1f6ld-0\"\n})([\"display:flex;flex-direction:row;align-items:center;user-select:none;width:fit-content;\", \" \", \":hover input:not([disabled]) + div,:hover input:not([disabled]) + span{border-color:\", \";}:hover{background-color:\", \";}\", \" \", \";\"], function (props) {\n return props.disabled && disabledStyle;\n}, function (props) {\n return !props.disabled && 'cursor: pointer;';\n}, function (props) {\n return normalizeColor(props.theme.radioButton.hover.border.color, props.theme);\n}, function (props) {\n return normalizeColor(!props.disabled && props.theme.radioButton.hover && props.theme.radioButton.hover.background && props.theme.radioButton.hover.background.color, props.theme);\n}, function (props) {\n return props.focus && !props.focusIndicator && \"\\n input:not([disabled]) + div,\\n input:not([disabled]) + span {\\n border-color: \" + normalizeColor(props.theme.radioButton.hover.border.color, props.theme) + \";\\n }\\n background-color: \" + normalizeColor(!props.disabled && props.theme.radioButton.hover && props.theme.radioButton.hover.background && props.theme.radioButton.hover.background.color, props.theme) + \";\\n \";\n}, function (props) {\n return props.theme.radioButton.container.extend;\n});\nStyledRadioButtonContainer.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButtonContainer.defaultProps, defaultProps);\nvar StyledRadioButtonInput = styled.input.withConfig({\n displayName: \"StyledRadioButton__StyledRadioButtonInput\",\n componentId: \"sc-g1f6ld-1\"\n})([\"opacity:0;-moz-appearance:none;width:0;height:0;margin:0;\", \";\"], function (props) {\n return !props.disabled && 'cursor: pointer;';\n});\nStyledRadioButtonInput.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButtonInput.defaultProps, defaultProps);\nvar StyledRadioButtonLabel = styled.span.withConfig({\n displayName: \"StyledRadioButton__StyledRadioButtonLabel\",\n componentId: \"sc-g1f6ld-2\"\n})([\"\", \"\"], function (props) {\n return props.theme.radioButton.font.weight && css([\"font-weight:\", \";\"], props.theme.radioButton.font.weight);\n});\nStyledRadioButtonLabel.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButtonLabel.defaultProps, defaultProps);\nvar StyledRadioButtonIcon = styled.svg.withConfig({\n displayName: \"StyledRadioButton__StyledRadioButtonIcon\",\n componentId: \"sc-g1f6ld-3\"\n})([\"box-sizing:border-box;width:\", \";height:\", \";fill:\", \";\", \";\"], function (props) {\n return props.theme.radioButton.icon.size || props.theme.radioButton.size;\n}, function (props) {\n return props.theme.radioButton.icon.size || props.theme.radioButton.size;\n}, function (props) {\n return normalizeColor(props.theme.radioButton.check.color || 'control', props.theme);\n}, function (props) {\n return props.theme.radioButton.icon.extend;\n});\nStyledRadioButtonIcon.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButtonIcon.defaultProps, defaultProps);\nvar StyledRadioButtonBox = styled.div.withConfig({\n displayName: \"StyledRadioButton__StyledRadioButtonBox\",\n componentId: \"sc-g1f6ld-4\"\n})([\"background-color:\", \";\", \";\", \";\"], function (props) {\n var _props$theme$radioBut;\n\n return normalizeColor((_props$theme$radioBut = props.theme.radioButton.check.background) == null ? void 0 : _props$theme$radioBut.color, props.theme);\n}, function (props) {\n return props.focus && focusStyle();\n}, function (props) {\n return props.theme.radioButton.check.extend;\n});\nStyledRadioButtonBox.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButtonBox.defaultProps, defaultProps);\nvar StyledRadioButton = styled.div.withConfig({\n displayName: \"StyledRadioButton\",\n componentId: \"sc-g1f6ld-5\"\n})([\"\", \";\"], function (props) {\n return props.theme.radioButton && props.theme.radioButton.extend;\n});\nStyledRadioButton.defaultProps = {};\nObject.setPrototypeOf(StyledRadioButton.defaultProps, defaultProps);\nexport { StyledRadioButtonContainer, StyledRadioButtonInput, StyledRadioButtonLabel, StyledRadioButtonIcon, StyledRadioButtonBox, StyledRadioButton };","import PropTypes from 'prop-types';\nvar PropType = {};\n\nif (process.env.NODE_ENV !== 'production') {\n PropType = {\n a11yTitle: PropTypes.string,\n checked: PropTypes.bool,\n children: PropTypes.func,\n disabled: PropTypes.bool,\n id: PropTypes.string,\n label: PropTypes.node,\n name: PropTypes.string.isRequired,\n onChange: PropTypes.func\n };\n}\n\nexport var RadioButtonPropTypes = PropType;","var _excluded = [\"a11yTitle\", \"checked\", \"children\", \"disabled\", \"focus\", \"focusIndicator\", \"id\", \"label\", \"name\", \"onChange\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { forwardRef, useContext, useState } from 'react';\nimport { ThemeContext } from 'styled-components';\nimport { Box } from '../Box';\nimport { defaultProps } from '../../default-props';\nimport { normalizeColor, removeUndefined } from '../../utils';\nimport { StyledRadioButton, StyledRadioButtonContainer, StyledRadioButtonIcon, StyledRadioButtonInput, StyledRadioButtonLabel, StyledRadioButtonBox } from './StyledRadioButton';\nimport { RadioButtonPropTypes } from './propTypes';\nvar RadioButton = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var a11yTitle = _ref.a11yTitle,\n checked = _ref.checked,\n children = _ref.children,\n disabled = _ref.disabled,\n focus = _ref.focus,\n focusIndicator = _ref.focusIndicator,\n id = _ref.id,\n label = _ref.label,\n name = _ref.name,\n onChange = _ref.onChange,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var theme = useContext(ThemeContext) || defaultProps.theme;\n\n var _useState = useState(),\n hover = _useState[0],\n setHover = _useState[1];\n\n var normalizedLabel = typeof label === 'string' ? /*#__PURE__*/React.createElement(StyledRadioButtonLabel, null, label) : label;\n var Icon = theme.radioButton.icons.circle;\n var borderColor = normalizeColor(theme.radioButton.border.color, theme);\n\n if (checked) {\n borderColor = normalizeColor(theme.radioButton.color || 'control', theme);\n }\n\n return /*#__PURE__*/React.createElement(StyledRadioButtonContainer, _extends({}, removeUndefined({\n htmlFor: id,\n disabled: disabled\n }), {\n onClick: function onClick(event) {\n // prevents clicking on the label trigging the event twice\n // https://stackoverflow.com/questions/24501497/why-the-onclick-element-will-trigger-twice-for-label-element\n if (event.target.type !== 'radio') {\n event.stopPropagation();\n }\n },\n focus: focus,\n focusIndicator: focusIndicator,\n onMouseEnter: function onMouseEnter() {\n return setHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setHover(false);\n }\n }), /*#__PURE__*/React.createElement(StyledRadioButton, {\n as: Box,\n flex: false,\n margin: label ? {\n right: theme.radioButton.gap || 'small'\n } : undefined\n }, /*#__PURE__*/React.createElement(StyledRadioButtonInput, _extends({\n \"aria-label\": a11yTitle\n }, rest, {\n ref: ref,\n type: \"radio\"\n }, removeUndefined({\n id: id,\n name: name,\n checked: checked,\n disabled: disabled,\n onChange: onChange\n }))), children ? children({\n checked: checked,\n focus: focus && focusIndicator,\n hover: hover\n }) : /*#__PURE__*/React.createElement(StyledRadioButtonBox, {\n focus: focus && focusIndicator,\n as: Box,\n align: \"center\",\n justify: \"center\",\n width: theme.radioButton.size,\n height: theme.radioButton.size,\n border: {\n size: theme.radioButton.border.width,\n color: borderColor\n },\n round: theme.radioButton.check.radius\n }, checked && (Icon ? /*#__PURE__*/React.createElement(Icon, {\n as: StyledRadioButtonIcon\n }) : /*#__PURE__*/React.createElement(StyledRadioButtonIcon, {\n viewBox: \"0 0 24 24\",\n preserveAspectRatio: \"xMidYMid meet\"\n }, /*#__PURE__*/React.createElement(\"circle\", {\n cx: 12,\n cy: 12,\n r: 6\n }))))), normalizedLabel);\n});\nRadioButton.displayName = 'RadioButton';\nRadioButton.propTypes = RadioButtonPropTypes;\nexport { RadioButton };"],"sourceRoot":""}