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OmC,wBAA0BJ,GAErCC,EAAOI,IAAM,oFAAoFN,IACjGG,SAASI,KAAKC,YAAYN,EAAO,EASzBH,CAAcN,GACd,MAAMgB,EAAWlB,aAAY,KACzBmB,IACsB,MAAhBZ,GACFf,cAAc0B,EAClB,GACD,MAEH,OADAE,IACO,KACH5B,cAAc0B,EAAS,CAE/B,IACD,CAACf,IACJ,MAGMgB,EAAUA,KACZ,MAAME,EAAkB1C,OACpB0C,EAAgBzC,YAAcyC,EAAgBzC,WAAWC,SACzDwC,EAAgBzC,WACXC,QAAQqB,GACRP,MAAK,SAAU2B,GAChBjB,EAASiB,EACb,IACKzB,OAAM,KACPC,QAAQvL,MAAM,oCAAoC,GAE1D,EAEE6M,EAAyBA,KAC3Bd,GAAsB,CAAI,EAExBnB,GAAiBoC,EAAAA,EAAAA,cAAaC,IAChCnB,EAASmB,EAAe,GACzB,IAEH,MAAO,CAvBiBC,MACnBtB,GAAoBC,GAAoB,EAAK,EAqBvBD,GAAoBrJ,EAAAA,EAAAA,GAAKiI,EAAW,CAAErC,OAAQ,SAAUwC,QAASgB,EAAkBf,eAAgBA,IAAqB,KACtGS,EAAOuB,EAAQ,C","sources":["../node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/FormControls/Checkbox/Checkbox.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/LinkOverlay/LinkOverlay.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/LinkOverlay/LinkOverlayContainer.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/V2Button.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/styles.js","../node_modules/@web-for-marketing/react-ui/lib/esm/hooks/useRecaptcha/Recaptcha.js","../node_modules/@web-for-marketing/react-ui/lib/esm/hooks/useRecaptcha/useRecaptcha.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormControlLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControlLabel', slot);\n}\nconst formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);\nexport default formControlLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useFormControl } from \"../FormControl/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport formControlLabelClasses, { getFormControlLabelUtilityClasses } from \"./formControlLabelClasses.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n labelPlacement,\n error,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', `labelPlacement${capitalize(labelPlacement)}`, error && 'error', required && 'required'],\n label: ['label', disabled && 'disabled'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormControlLabelUtilityClasses, classes);\n};\nexport const FormControlLabelRoot = styled('label', {\n name: 'MuiFormControlLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formControlLabelClasses.label}`]: styles.label\n }, styles.root, styles[`labelPlacement${capitalize(ownerState.labelPlacement)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n [`&.${formControlLabelClasses.disabled}`]: {\n cursor: 'default'\n },\n [`& .${formControlLabelClasses.label}`]: {\n [`&.${formControlLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n },\n variants: [{\n props: {\n labelPlacement: 'start'\n },\n style: {\n flexDirection: 'row-reverse',\n marginRight: -11\n }\n }, {\n props: {\n labelPlacement: 'top'\n },\n style: {\n flexDirection: 'column-reverse'\n }\n }, {\n props: {\n labelPlacement: 'bottom'\n },\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n labelPlacement\n }) => labelPlacement === 'start' || labelPlacement === 'top' || labelPlacement === 'bottom',\n style: {\n marginLeft: 16 // used for row presentation of radio/checkbox\n }\n }]\n})));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormControlLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(memoTheme(({\n theme\n}) => ({\n [`&.${formControlLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n})));\n\n/**\n * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\nconst FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormControlLabel'\n });\n const {\n checked,\n className,\n componentsProps = {},\n control,\n disabled: disabledProp,\n disableTypography,\n inputRef,\n label: labelProp,\n labelPlacement = 'end',\n name,\n onChange,\n required: requiredProp,\n slots = {},\n slotProps = {},\n value,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const disabled = disabledProp ?? control.props.disabled ?? muiFormControl?.disabled;\n const required = requiredProp ?? control.props.required;\n const controlProps = {\n disabled,\n required\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = {\n ...props,\n disabled,\n labelPlacement,\n required,\n error: fcs.error\n };\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots,\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [TypographySlot, typographySlotProps] = useSlot('typography', {\n elementType: Typography,\n externalForwardedProps,\n ownerState\n });\n let label = labelProp;\n if (label != null && label.type !== Typography && !disableTypography) {\n label = /*#__PURE__*/_jsx(TypographySlot, {\n component: \"span\",\n ...typographySlotProps,\n className: clsx(classes.label, typographySlotProps?.className),\n children: label\n });\n }\n return /*#__PURE__*/_jsxs(FormControlLabelRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [/*#__PURE__*/React.cloneElement(control, controlProps), required ? /*#__PURE__*/_jsxs(\"div\", {\n children: [label, /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n }) : label]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n componentsProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n /**\n * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n /**\n * If `true`, the control is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is rendered as it is passed without an additional typography node.\n */\n disableTypography: PropTypes.bool,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * A text or an element to be used in an enclosing label element.\n */\n label: PropTypes.node,\n /**\n * The position of the label.\n * @default 'end'\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * @ignore\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n typography: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n typography: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default FormControlLabel;","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { FormControlLabel, Checkbox as MUICheckbox, } from '@mui/material';\nimport { ClassNames } from '@emotion/react';\nimport { formControlStyles as classes } from '../formControlStyles';\n/**\n * A component that allows the user to toggle between checked and not checked.\n *\n * @example\n *\n *\n */\nexport function Checkbox({ label, id, name, disabled, hiddenLabel, onChange, onBlur, onFocus, checked, labelColor, checkedColor, uncheckedColor, value, defaultChecked, labelPlacement, className, }) {\n return (_jsx(ClassNames, { children: ({ css }) => (_jsx(FormControlLabel, { disabled: disabled, control: _jsx(MUICheckbox, { defaultChecked: defaultChecked, checked: checked, value: value, onFocus: onFocus, onBlur: onBlur, onChange: onChange, name: name, disabled: disabled, id: id, inputProps: {\n 'aria-label': hiddenLabel && typeof label === 'string' ? label : undefined,\n }, css: [\n classes.formControlLabelInput(labelPlacement),\n classes.checkbox(uncheckedColor, checkedColor),\n ] }), label: !hiddenLabel ? label : '', classes: {\n label: css(classes.formControlLabelText(labelColor)),\n }, labelPlacement: labelPlacement, css: classes.formControlLabelRoot(labelPlacement), className: className })) }));\n}\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nfunction LinkOverlayComponent(props, ref) {\n const { isExternal = false, target, rel, className, children, component = 'a' } = props, rest = __rest(props, [\"isExternal\", \"target\", \"rel\", \"className\", \"children\", \"component\"]);\n const Component = component;\n return (_jsx(Component, Object.assign({ ref: ref, className: `ui__link__overlay ${className ? className : ''}`, css: {\n position: 'static',\n textDecoration: 'none',\n color: 'inherit',\n '&::before': {\n content: '\"\"',\n cursor: 'inherit',\n display: 'block',\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 0,\n width: '100%',\n height: '100%',\n },\n } }, rest, { rel: isExternal ? 'noopener noreferrer' : rel, target: isExternal ? '_blank' : target, children: children })));\n}\n/**\n * A component used to wrap and entire element in a link while staying semantic and accessible. Should be used with LinkOverlayContainer.\n *\n * @example\n *\n * Link text\n *\n *\n */\nexport const LinkOverlay = React.forwardRef(LinkOverlayComponent);\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nfunction LinkOverlayContainerComponent(props, ref) {\n const { children, component = 'div' } = props, rest = __rest(props, [\"children\", \"component\"]);\n const Component = component;\n return (_jsx(Component, Object.assign({ ref: ref, css: {\n position: 'relative',\n /* Elevate the inner links and abbreviations up */\n 'a[href]:not(.ui__link__overlay), abbr[title]': {\n position: 'relative',\n zIndex: 1,\n },\n } }, rest, { children: children })));\n}\n/**\n * A component that contains a link overlay. Should be used with LinkOverlay.\n *\n * @example\n *\n * Link text\n *\n *\n */\nexport const LinkOverlayContainer = React.forwardRef(LinkOverlayContainerComponent);\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { buttonBaseStyles, getFocusStyles, getVariantStyles, getWidthStyles, sizeStyles } from './styles';\nimport { getResponsiveStyleObject } from \"../../shared/utils/responsive/responsive\";\nfunction V2ButtonComponent(props, ref) {\n const { component, children, variant = 'primary', size = 'medium', color = 'blue', fullWidth = false, leftIcon, rightIcon, isSelected = false, disabled = false, type } = props, componentProps = __rest(props, [\"component\", \"children\", \"variant\", \"size\", \"color\", \"fullWidth\", \"leftIcon\", \"rightIcon\", \"isSelected\", \"disabled\", \"type\"]);\n const Component = component || 'button';\n const buttonProps = {};\n if (Component === 'button') {\n buttonProps.type = type === undefined ? 'button' : type;\n buttonProps.disabled = disabled;\n }\n else {\n if (disabled) {\n buttonProps['aria-disabled'] = disabled;\n }\n }\n return (_jsxs(Component, Object.assign({ ref: ref, css: [\n buttonBaseStyles,\n getFocusStyles(color),\n getWidthStyles(fullWidth),\n getResponsiveStyleObject(size, (size) => sizeStyles[size]),\n getVariantStyles(variant, color, isSelected), // variant styles must come after sizeStyles in order to override padding for link variant\n ], \"data-disabled\": disabled || undefined, tabIndex: disabled ? -1 : 0 }, buttonProps, componentProps, { children: [leftIcon ? _jsx(\"span\", { css: { marginRight: '1rem', display: 'inline-flex' }, children: leftIcon }) : null, children, rightIcon ? _jsx(\"span\", { css: { marginLeft: '1rem', display: 'inline-flex' }, children: rightIcon }) : null] })));\n}\n/**\n * A component that allows users to take actions, and make choices, with a single tap\n *\n * @example\n *Button text\n *\n */\nexport const V2Button = React.forwardRef(V2ButtonComponent);\n","import { fontWeights } from \"../../tokens/typography\";\nimport { body1Styles, body2Styles, body3Styles } from \"../../presets/typography\";\nimport { v2Colors } from \"../../tokens/color\";\nimport { getRgbaColor } from \"../../shared/utils/color/color\";\nexport const sizeStyles = {\n micro: Object.assign({ padding: '0.4rem 1.2rem' }, body3Styles),\n small: Object.assign({ padding: '0.8rem 1.2rem' }, body2Styles),\n medium: Object.assign({ padding: '1.2rem 2.4rem' }, body2Styles),\n large: Object.assign({ padding: '1.6rem 2.4rem' }, body1Styles),\n};\nconst colorStyles = {\n whiteSecondary: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 2px currentColor',\n },\n },\n blueSecondary: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n color: v2Colors.text.activeSecondary,\n boxShadow: '0 0 0 2px currentColor',\n },\n },\n whiteFloating: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 1px currentColor',\n },\n },\n blueFloating: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 1px currentColor',\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteGhost: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n background: getRgbaColor(v2Colors.text.inverseActivePrimary, 0.2),\n },\n },\n blueGhost: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.active,\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteLink: {\n color: v2Colors.text.inverseActivePrimary,\n },\n blueLink: {\n color: v2Colors.text.activePrimary,\n },\n};\nexport function getVariantStyles(variant, color, isSelected) {\n const variantStyles = {\n primary: {\n color: v2Colors.text.inverseActivePrimary,\n background: v2Colors.action.innovation,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.innovationDark,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n secondary: Object.assign(Object.assign(Object.assign({ boxShadow: '0 0 0 1px currentColor', background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteSecondary : colorStyles.blueSecondary)), (isSelected ? getSelectedStyles(variant, color) : {})), { '&[data-disabled]': {\n background: v2Colors.action.disabled,\n boxShadow: 'none',\n } }),\n tertiary: {\n background: v2Colors.action.paleGray,\n color: v2Colors.text.secondary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.lightGray,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n floating: Object.assign({ background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteFloating : colorStyles.blueFloating)),\n ghost: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteGhost : colorStyles.blueGhost)), (isSelected ? getSelectedStyles(variant, color) : {})),\n link: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteLink : colorStyles.blueLink)), { padding: 0, '&:hover:not([data-disabled])': {\n textDecoration: 'underline',\n } }),\n };\n return variantStyles[variant];\n}\nexport function getWidthStyles(fullWidth) {\n return {\n width: fullWidth ? '100%' : 'auto',\n };\n}\nexport function getFocusStyles(color) {\n return {\n '&:focus-visible': {\n outline: `2px solid ${color === 'white' ? v2Colors.border.inversePrimary : v2Colors.border.activePrimary}`,\n outlineOffset: '3px',\n },\n };\n}\nexport function getSelectedStyles(variant, color) {\n const selectedStyles = {\n primary: {},\n secondary: {\n boxShadow: '0 0 0 2px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.15),\n },\n tertiary: {},\n floating: {},\n ghost: {\n boxShadow: '0 0 0 1px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.2),\n },\n link: {},\n };\n return {\n color: color === 'blue' ? v2Colors.text.activeSecondary : v2Colors.text.inversePrimary,\n '&:not([data-disabled])': selectedStyles[variant],\n };\n}\nexport const buttonBaseStyles = {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'pointer',\n fontWeight: fontWeights.medium,\n userSelect: 'none',\n position: 'relative',\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n borderRadius: '4px',\n transition: 'background-color 300ms ease, box-shadow 300ms ease, color 300ms ease',\n border: 0,\n outline: 0,\n background: 'none',\n textDecoration: 'none',\n '& svg': {\n height: '1em',\n width: '1em',\n color: 'currentcolor',\n '& path': {\n fill: 'currentcolor',\n },\n },\n '&[data-disabled]': {\n pointerEvents: 'none',\n color: v2Colors.text.disabled,\n },\n};\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { useState, useEffect } from 'react';\nconst isReady = () => {\n var _a;\n return (typeof window !== 'undefined' &&\n typeof window.grecaptcha !== 'undefined' &&\n typeof ((_a = window.grecaptcha) === null || _a === void 0 ? void 0 : _a.execute) !== 'undefined');\n};\nlet readyCheck;\nconst ReCaptcha = ({ elementID = 'g-recaptcha', verifyCallbackName = 'verifyCallbackName', sitekey, action, verifyCallback, }) => {\n const [ready, setReady] = useState(isReady());\n const updateReadyState = () => {\n if (isReady()) {\n setReady(true);\n clearInterval(readyCheck);\n }\n };\n useEffect(() => {\n const execute = () => {\n var _a, _b;\n if (ready) {\n (_b = (_a = window.grecaptcha) === null || _a === void 0 ? void 0 : _a.execute) === null || _b === void 0 ? void 0 : _b.call(_a, sitekey, { action }).then((token) => {\n if (typeof verifyCallback !== 'undefined') {\n verifyCallback(token);\n }\n }).catch((e) => {\n console.log(e);\n });\n }\n };\n if (ready) {\n execute();\n }\n else {\n readyCheck = window.setInterval(updateReadyState, 1000);\n }\n //cleanup function to run when component unmounted\n return () => {\n clearInterval(readyCheck);\n };\n }, [ready]);\n return ready ? (_jsx(\"div\", { id: elementID, \"data-verifycallbackname\": verifyCallbackName })) : (_jsx(\"div\", { id: elementID, className: 'g-recaptcha' }));\n};\nexport default ReCaptcha;\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport { useState, useEffect, useCallback } from 'react';\nimport ReCaptcha from './Recaptcha';\nconst loadReCaptcha = (siteKey, callback = () => undefined) => {\n const script = document.createElement('script');\n if (!window.onLoadCaptchaV3Callback && callback) {\n window.onLoadCaptchaV3Callback = callback;\n }\n script.src = `https://www.recaptcha.net/recaptcha/api.js?onload=onLoadCaptchaV3Callback&render=${siteKey}`;\n document.body.appendChild(script);\n};\nexport const useRecaptcha = (recaptchaSiteKey) => {\n const [recaptchaEnabled, setRecaptchaEnabled] = useState(false);\n const [token, setToken] = useState('');\n let recaptchaLoadedOnce = false;\n let repetitions = 0;\n useEffect(() => {\n if (recaptchaEnabled && !recaptchaLoadedOnce) {\n loadReCaptcha(recaptchaSiteKey);\n const interval = setInterval(() => {\n refresh();\n if (++repetitions === 5) {\n clearInterval(interval);\n }\n }, 110000);\n setRecaptchaLoadedOnce();\n return () => {\n clearInterval(interval);\n };\n }\n }, [recaptchaEnabled]);\n const enableRecaptcha = () => {\n !recaptchaEnabled && setRecaptchaEnabled(true);\n };\n const refresh = () => {\n const recaptchaWindow = window;\n if (recaptchaWindow.grecaptcha && recaptchaWindow.grecaptcha.execute) {\n recaptchaWindow.grecaptcha\n .execute(recaptchaSiteKey)\n .then(function (refreshToken) {\n setToken(refreshToken);\n })\n .catch(() => {\n console.error('Failed to refresh recaptcha token');\n });\n }\n };\n const setRecaptchaLoadedOnce = () => {\n recaptchaLoadedOnce = true;\n };\n const verifyCallback = useCallback((recaptchaToken) => {\n setToken(recaptchaToken);\n }, []);\n const recaptchaComponent = recaptchaEnabled ? (_jsx(ReCaptcha, { action: 'submit', sitekey: recaptchaSiteKey, verifyCallback: verifyCallback })) : null;\n return [enableRecaptcha, recaptchaComponent, token, refresh];\n};\n"],"names":["getFormControlLabelUtilityClasses","slot","generateUtilityClass","generateUtilityClasses","FormControlLabelRoot","styled","name","overridesResolver","props","styles","ownerState","formControlLabelClasses","label","root","capitalize","labelPlacement","memoTheme","theme","display","alignItems","cursor","verticalAlign","WebkitTapHighlightColor","marginLeft","marginRight","disabled","color","vars","palette","text","variants","style","flexDirection","AsteriskComponent","asterisk","error","main","React","inProps","ref","useDefaultProps","checked","className","componentsProps","control","disabledProp","disableTypography","inputRef","labelProp","onChange","required","requiredProp","slots","slotProps","value","other","muiFormControl","useFormControl","controlProps","forEach","key","fcs","formControlState","states","classes","composeClasses","useUtilityClasses","externalForwardedProps","TypographySlot","typographySlotProps","useSlot","elementType","Typography","type","_jsx","component","clsx","children","_jsxs","Checkbox","id","hiddenLabel","onBlur","onFocus","labelColor","checkedColor","uncheckedColor","defaultChecked","ClassNames","css","FormControlLabel","MUICheckbox","inputProps","undefined","formControlLabelInput","checkbox","formControlLabelText","formControlLabelRoot","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","LinkOverlay","isExternal","target","rel","rest","Component","assign","position","textDecoration","content","top","left","zIndex","width","height","LinkOverlayContainer","V2Button","variant","size","fullWidth","leftIcon","rightIcon","isSelected","componentProps","buttonProps","buttonBaseStyles","getFocusStyles","getWidthStyles","getResponsiveStyleObject","sizeStyles","getVariantStyles","tabIndex","micro","padding","body3Styles","small","body2Styles","medium","large","body1Styles","colorStyles","whiteSecondary","v2Colors","inverseActivePrimary","boxShadow","blueSecondary","activePrimary","activeSecondary","whiteFloating","blueFloating","whiteGhost","background","getRgbaColor","blueGhost","action","active","whiteLink","blueLink","primary","innovation","innovationDark","secondary","transparent","getSelectedStyles","tertiary","paleGray","lightGray","floating","ghost","link","outline","border","inversePrimary","outlineOffset","selectedStyles","white","justifyContent","fontWeight","fontWeights","userSelect","boxSizing","borderRadius","transition","fill","pointerEvents","isReady","_a","window","grecaptcha","execute","readyCheck","ReCaptcha","elementID","verifyCallbackName","sitekey","verifyCallback","ready","setReady","useState","updateReadyState","clearInterval","useEffect","_b","then","token","catch","console","log","setInterval","useRecaptcha","recaptchaSiteKey","recaptchaEnabled","setRecaptchaEnabled","setToken","recaptchaLoadedOnce","repetitions","loadReCaptcha","siteKey","callback","script","document","createElement","onLoadCaptchaV3Callback","src","body","appendChild","interval","refresh","setRecaptchaLoadedOnce","recaptchaWindow","refreshToken","useCallback","recaptchaToken","enableRecaptcha"],"sourceRoot":""}