{"version":3,"file":"hooks.24801679.js","sources":["../../../frontend/features/common/components/Input/index.js","../../../frontend/features/common/components/Radio/index.js","../../../frontend/features/common/components/RadioGroup/index.js","../../../frontend/features/ideation/components/base/TextAreaInput/index.js","../../../frontend/features/common/components/YoutubeEmbedder/index.js","../../../frontend/features/engagement/enums/InputType.js","../../../frontend/features/engagement/components/inputs/ButtonSelectInput/Option/index.js","../../../frontend/features/engagement/components/inputs/ButtonSelectInput/index.js","../../../frontend/features/engagement/components/inputs/CardSelectInput/Card/index.js","../../../frontend/features/engagement/components/inputs/CardSelectInput/index.js","../../../frontend/features/engagement/components/inputs/RadioSelectInput/index.js","../../../node_modules/react-leaflet/esm/hooks.js"],"sourcesContent":["/* eslint-disable react/prop-types */\n// Libraries\nimport React, { forwardRef } from 'react';\nimport classNames from 'classnames';\n\nconst Input = forwardRef(({ className, ariaLabel, ...props }, ref) => (\n \n));\n\nexport default Input;\n","// Libraries\nimport React from 'react';\nimport classNames from 'classnames';\n\nconst Radio = ({ className, type, checked, ...props }) => (\n \n);\n\nexport default Radio;\n","// Libraries\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { withTranslation } from 'react-i18next';\n\n// Utilities\nimport { generateHtmlIdForLabel } from '../../utils/helpers';\n\n// Components\nimport Radio from '../Radio';\n\nexport class RadioGroup extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n selectedOption: props.initialValue,\n };\n }\n\n getOptionClickHandler = (id) => () => {\n const { onChange } = this.props;\n const { selectedOption } = this.state;\n\n if (selectedOption !== id) {\n this.setState({\n selectedOption: id,\n });\n\n if (onChange) {\n onChange(id);\n }\n }\n };\n\n renderOption = ({ id, label }) => {\n const { selectedOption } = this.state;\n const { t } = this.props;\n const htmlId = generateHtmlIdForLabel(`${label}-${id}`);\n\n return (\n