@reltio/remotes 1.4.1348 → 1.4.1349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/1635.js +2 -0
  2. package/{807.js.map → 1635.js.map} +1 -1
  3. package/1667.js +2 -0
  4. package/1667.js.map +1 -0
  5. package/1920.js +1 -1
  6. package/2114.js +1 -1
  7. package/2378.js +1 -2
  8. package/2378.js.map +1 -1
  9. package/2493.js +1 -1
  10. package/2890.js +1 -1
  11. package/2986.js +3 -0
  12. package/{3537.js.LICENSE.txt → 2986.js.LICENSE.txt} +0 -0
  13. package/2986.js.map +1 -0
  14. package/3307.js +1 -1
  15. package/350.js +1 -1
  16. package/3509.js +1 -1
  17. package/3509.js.map +1 -1
  18. package/3540.js +1 -1
  19. package/3540.js.map +1 -1
  20. package/3640.js +1 -1
  21. package/3786.js +1 -1
  22. package/4007.js +1 -1
  23. package/4038.js +1 -1
  24. package/4038.js.map +1 -1
  25. package/4115.js +1 -1
  26. package/4143.js +2 -0
  27. package/4143.js.map +1 -0
  28. package/447.js +1 -1
  29. package/4689.js +1 -1
  30. package/4843.js +1 -1
  31. package/4889.js +1 -1
  32. package/4897.js +2 -0
  33. package/4897.js.map +1 -0
  34. package/{4171.js → 5295.js} +2 -2
  35. package/5295.js.map +1 -0
  36. package/5400.js +1 -1
  37. package/5501.js +2 -0
  38. package/5501.js.map +1 -0
  39. package/5709.js +1 -1
  40. package/5709.js.map +1 -1
  41. package/5720.js +1 -1
  42. package/5937.js +1 -1
  43. package/6103.js +1 -1
  44. package/612.js +1 -1
  45. package/6401.js +3 -0
  46. package/{2378.js.LICENSE.txt → 6401.js.LICENSE.txt} +0 -0
  47. package/6401.js.map +1 -0
  48. package/6403.js +2 -0
  49. package/6403.js.map +1 -0
  50. package/6619.js +2 -0
  51. package/6619.js.map +1 -0
  52. package/{2605.js → 7601.js} +2 -2
  53. package/7601.js.map +1 -0
  54. package/{7741.js → 7776.js} +2 -2
  55. package/7776.js.map +1 -0
  56. package/7937.js +1 -1
  57. package/8051.js +1 -1
  58. package/8532.js +1 -1
  59. package/8532.js.map +1 -1
  60. package/8969.js +1 -1
  61. package/8969.js.map +1 -1
  62. package/9043.js +1 -1
  63. package/9417.js +1 -1
  64. package/9431.js +1 -1
  65. package/9606.js +1 -1
  66. package/9630.js +1 -1
  67. package/98.js +1 -1
  68. package/main.js +1 -1
  69. package/main.js.map +1 -1
  70. package/package.json +1 -1
  71. package/remoteEntry.js +1 -1
  72. package/remoteEntry.js.map +1 -1
  73. package/2605.js.map +0 -1
  74. package/3537.js +0 -3
  75. package/3537.js.map +0 -1
  76. package/3698.js +0 -2
  77. package/3698.js.map +0 -1
  78. package/4171.js.map +0 -1
  79. package/4277.js +0 -2
  80. package/4277.js.map +0 -1
  81. package/4730.js +0 -2
  82. package/4730.js.map +0 -1
  83. package/5058.js +0 -2
  84. package/5058.js.map +0 -1
  85. package/6523.js +0 -2
  86. package/6523.js.map +0 -1
  87. package/7004.js +0 -2
  88. package/7004.js.map +0 -1
  89. package/7741.js.map +0 -1
  90. package/8047.js +0 -2
  91. package/8047.js.map +0 -1
  92. package/807.js +0 -2
  93. package/8903.js +0 -2
  94. package/8903.js.map +0 -1
package/7601.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"7601.js","mappings":"oPAkEIA,EAA2B,cAAiB,SAAqBC,EAAOC,GAC1E,IAAIC,EAAWF,EAAME,SACjBC,EAAUH,EAAMG,QAChBC,EAAYJ,EAAMI,UAClBC,EAAeL,EAAMM,MACrBA,OAAyB,IAAjBD,EAA0B,UAAYA,EAC9CE,EAAmBP,EAAMQ,UACzBC,OAAiC,IAArBF,EAA8B,MAAQA,EAClDG,EAAkBV,EAAMW,SACxBA,OAA+B,IAApBD,GAAqCA,EAChDE,EAAeZ,EAAMa,MACrBA,OAAyB,IAAjBD,GAAkCA,EAC1CE,EAAmBd,EAAMe,UACzBA,OAAiC,IAArBD,GAAsCA,EAClD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AIhB,EAAQrE,QAAU,KAAOmF,EAAmB,GAAKJ,KAAKK,KAAKC,EAAUF,kBAAoB,GAAKA,GAAoB,GAAKE,EAAUvB,WAAaA,IAChJO,EAAQrE,SAAW,EACZ,CACL8D,SAAUA,EACVqB,iBAAkBA,IAUfE,OAER,CAAC1F,EAASC,EAAStI,EAAMiI,cA+B5B,OA9BA,aAAgB,WACd,IAAI+F,GAAe,QAAS,WAC1BjB,EAAQrE,QAAU,EAClBuE,OAGF,OADAjG,OAAOiH,iBAAiB,SAAUD,GAC3B,WACLA,EAAaE,QACblH,OAAOmH,oBAAoB,SAAUH,MAEtC,CAACf,IACJlG,GAAkB,WAChBkG,OAEF,aAAgB,WACdF,EAAQrE,QAAU,IACjB,CAAC1F,IAcgB,gBAAoB,WAAgB,KAAmB,gBAAoB,YAAY,OAAS,CAClHA,MAAOA,EACP6E,SAdiB,SAAsByB,GACvCyD,EAAQrE,QAAU,EAEbD,GACHwE,IAGEpF,GACFA,EAASyB,IAOXrJ,IAAK4M,EAELzE,KAAME,EACNsE,OAAO,OAAS,CACdrB,OAAQ/G,EAAMqJ,iBAGdrB,SAAUhI,EAAMgI,SAAW,SAAW,MACrCI,IACFjL,IAAsB,gBAAoB,WAAY,CACvD,eAAe,EACfvB,UAAWJ,EAAMI,UACjB8H,UAAU,EACVjI,IAAK6M,EACLsB,UAAW,EACXxB,OAAO,OAAS,GAAIN,EAAeM,U,6ECtJxB,SAASyB,EAAcC,EAAMC,GAC1C,IAAI9N,EAAY,SAAmBT,EAAOC,GACxC,OAAoB,kBAAoB,KAAS,OAAS,CACxDA,IAAKA,GACJD,GAAQsO,IAUb,OADA7N,EAAUyE,QAAU,YACA,SAAyB,eAAiBzE","sources":["webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/FormControl/FormControl.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/FormControl/FormControlContext.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/FormControl/formControlState.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Input/Input.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/InputBase/InputBase.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/InputBase/utils.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/utils/createSvgIcon.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { isFilled, isAdornedStart } from '../InputBase/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport FormControlContext from './FormControlContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top' // Fix alignment issue on Safari.\n\n },\n\n /* Styles applied to the root element if `margin=\"normal\"`. */\n marginNormal: {\n marginTop: 16,\n marginBottom: 8\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 8,\n marginBottom: 4\n },\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n }\n};\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/components/text-fields/#components).\n *\n * ```jsx\n * <FormControl>\n * <InputLabel htmlFor=\"my-input\">Email address</InputLabel>\n * <Input id=\"my-input\" aria-describedby=\"my-helper-text\" />\n * <FormHelperText id=\"my-helper-text\">We'll never share your email.</FormHelperText>\n * </FormControl>\n * ```\n *\n * ⚠️Only one input can be used within a FormControl.\n */\n\nvar FormControl = /*#__PURE__*/React.forwardRef(function FormControl(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n visuallyFocused = props.focused,\n _props$hiddenLabel = props.hiddenLabel,\n hiddenLabel = _props$hiddenLabel === void 0 ? false : _props$hiddenLabel,\n _props$margin = props.margin,\n margin = _props$margin === void 0 ? 'none' : _props$margin,\n _props$required = props.required,\n required = _props$required === void 0 ? false : _props$required,\n size = props.size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"fullWidth\", \"focused\", \"hiddenLabel\", \"margin\", \"required\", \"size\", \"variant\"]);\n\n var _React$useState = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialAdornedStart = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n var input = isMuiElement(child, ['Select']) ? child.props.input : child;\n\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n\n return initialAdornedStart;\n }),\n adornedStart = _React$useState[0],\n setAdornedStart = _React$useState[1];\n\n var _React$useState2 = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialFilled = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n if (isFilled(child.props, true)) {\n initialFilled = true;\n }\n });\n }\n\n return initialFilled;\n }),\n filled = _React$useState2[0],\n setFilled = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n _focused = _React$useState3[0],\n setFocused = _React$useState3[1];\n\n var focused = visuallyFocused !== undefined ? visuallyFocused : _focused;\n\n if (disabled && focused) {\n setFocused(false);\n }\n\n var registerEffect;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var registeredInput = React.useRef(false);\n\n registerEffect = function registerEffect() {\n if (registeredInput.current) {\n console.error(['Material-UI: There are multiple InputBase components inside a FormControl.', 'This is not supported. It might cause infinite rendering loops.', 'Only use one InputBase.'].join('\\n'));\n }\n\n registeredInput.current = true;\n return function () {\n registeredInput.current = false;\n };\n };\n }\n\n var onFilled = React.useCallback(function () {\n setFilled(true);\n }, []);\n var onEmpty = React.useCallback(function () {\n setFilled(false);\n }, []);\n var childContext = {\n adornedStart: adornedStart,\n setAdornedStart: setAdornedStart,\n color: color,\n disabled: disabled,\n error: error,\n filled: filled,\n focused: focused,\n fullWidth: fullWidth,\n hiddenLabel: hiddenLabel,\n margin: (size === 'small' ? 'dense' : undefined) || margin,\n onBlur: function onBlur() {\n setFocused(false);\n },\n onEmpty: onEmpty,\n onFilled: onFilled,\n onFocus: function onFocus() {\n setFocused(true);\n },\n registerEffect: registerEffect,\n required: required,\n variant: variant\n };\n return /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, margin !== 'none' && classes[\"margin\".concat(capitalize(margin))], fullWidth && classes.fullWidth),\n ref: ref\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The contents of the form control.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the component will be displayed in focused state.\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the component will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * If `true`, the label will be hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n */\n hiddenLabel: PropTypes.bool,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the text field.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormControl'\n})(FormControl);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar FormControlContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n FormControlContext.displayName = 'FormControlContext';\n}\n\nexport function useFormControl() {\n return React.useContext(FormControlContext);\n}\nexport default FormControlContext;","export default function formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n 'label + &': {\n marginTop: 16\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:not($disabled):before': {\n borderBottom: \"2px solid \".concat(theme.palette.text.primary),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: \"1px solid \".concat(bottomLineColor)\n }\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {},\n\n /* Styles applied to the `input` element. */\n input: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {},\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {},\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {}\n };\n};\nvar Input = /*#__PURE__*/React.forwardRef(function Input(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends({}, classes, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiInput'\n})(Input);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@material-ui/utils\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport formControlState from '../FormControl/formControlState';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport TextareaAutosize from '../TextareaAutosize';\nimport { isFilled } from './utils';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var placeholder = {\n color: 'currentColor',\n opacity: light ? 0.42 : 0.5,\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n var placeholderHidden = {\n opacity: '0 !important'\n };\n var placeholderVisible = {\n opacity: light ? 0.42 : 0.5\n };\n return {\n '@global': {\n '@keyframes mui-auto-fill': {},\n '@keyframes mui-auto-fill-cancel': {}\n },\n\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.body1, {\n color: theme.palette.text.primary,\n lineHeight: '1.1876em',\n // Reset (19px), match the native input line-height\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n '&$disabled': {\n color: theme.palette.text.disabled,\n cursor: 'default'\n }\n }),\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {},\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {},\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n '&$marginDense': {\n paddingTop: 4 - 1\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n },\n\n /* Styles applied to the `input` element. */\n input: {\n font: 'inherit',\n letterSpacing: 'inherit',\n color: 'currentColor',\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.1876em',\n // Reset (19px), match the native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n // Fix IE 11 width issue\n animationName: 'mui-auto-fill-cancel',\n animationDuration: '10ms',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholder,\n // IE 11\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n '-webkit-appearance': 'none'\n },\n // Show and hide the placeholder logic\n 'label[data-shrink=false] + $formControl &': {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholderHidden,\n // IE 11\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus:-ms-input-placeholder': placeholderVisible,\n // IE 11\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n\n },\n '&$disabled': {\n opacity: 1 // Reset iOS opacity\n\n },\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 4 - 1\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n height: 'auto',\n resize: 'none',\n padding: 0\n },\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {\n // Improve type search style.\n '-moz-appearance': 'textfield',\n '-webkit-appearance': 'textfield'\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {},\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {},\n\n /* Styles applied to the `input` element if `hiddenLabel={true}`. */\n inputHiddenLabel: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\n\nvar InputBase = /*#__PURE__*/React.forwardRef(function InputBase(props, ref) {\n var ariaDescribedby = props['aria-describedby'],\n autoComplete = props.autoComplete,\n autoFocus = props.autoFocus,\n classes = props.classes,\n className = props.className,\n color = props.color,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n endAdornment = props.endAdornment,\n error = props.error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n id = props.id,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$inputProps = props.inputProps,\n inputPropsProp = _props$inputProps === void 0 ? {} : _props$inputProps,\n inputRefProp = props.inputRef,\n margin = props.margin,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n placeholder = props.placeholder,\n readOnly = props.readOnly,\n renderSuffix = props.renderSuffix,\n rows = props.rows,\n rowsMax = props.rowsMax,\n rowsMin = props.rowsMin,\n startAdornment = props.startAdornment,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n valueProp = props.value,\n other = _objectWithoutProperties(props, [\"aria-describedby\", \"autoComplete\", \"autoFocus\", \"classes\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"endAdornment\", \"error\", \"fullWidth\", \"id\", \"inputComponent\", \"inputProps\", \"inputRef\", \"margin\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"placeholder\", \"readOnly\", \"renderSuffix\", \"rows\", \"rowsMax\", \"rowsMin\", \"startAdornment\", \"type\", \"value\"]);\n\n var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef();\n var handleInputRefWarning = React.useCallback(function (instance) {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['Material-UI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `inputRef` prop.', 'Make sure the `inputRef` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n var handleInputPropsRefProp = useForkRef(inputPropsProp.ref, handleInputRefWarning);\n var handleInputRefProp = useForkRef(inputRefProp, handleInputPropsRefProp);\n var handleInputRef = useForkRef(inputRef, handleInputRefProp);\n\n var _React$useState = React.useState(false),\n focused = _React$useState[0],\n setFocused = _React$useState[1];\n\n var muiFormControl = useFormControl();\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n\n return undefined;\n }, [muiFormControl]);\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'margin', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused; // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n\n React.useEffect(function () {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n var onFilled = muiFormControl && muiFormControl.onFilled;\n var onEmpty = muiFormControl && muiFormControl.onEmpty;\n var checkDirty = React.useCallback(function (obj) {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(function () {\n if (isControlled) {\n checkDirty({\n value: value\n });\n }\n }, [value, checkDirty, isControlled]);\n\n var handleFocus = function handleFocus(event) {\n // Fix a bug with IE 11 where the focus/blur events are triggered\n // while the input is disabled.\n if (fcs.disabled) {\n event.stopPropagation();\n return;\n }\n\n if (onFocus) {\n onFocus(event);\n }\n\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n\n var handleChange = function handleChange(event) {\n if (!isControlled) {\n var element = event.target || inputRef.current;\n\n if (element == null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? \"Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info.\" : _formatMuiErrorMessage(1));\n }\n\n checkDirty({\n value: element.value\n });\n }\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange.apply(inputPropsProp, [event].concat(args));\n } // Perform in the willUpdate\n\n\n if (onChange) {\n onChange.apply(void 0, [event].concat(args));\n }\n }; // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n\n\n React.useEffect(function () {\n checkDirty(inputRef.current);\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n var handleClick = function handleClick(event) {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var InputComponent = inputComponent;\n\n var inputProps = _extends({}, inputPropsProp, {\n ref: handleInputRef\n });\n\n if (typeof InputComponent !== 'string') {\n inputProps = _extends({\n // Rename ref to inputRef as we don't know the\n // provided `inputComponent` structure.\n inputRef: handleInputRef,\n type: type\n }, inputProps, {\n ref: null\n });\n } else if (multiline) {\n if (rows && !rowsMax && !rowsMin) {\n InputComponent = 'textarea';\n } else {\n inputProps = _extends({\n rows: rows,\n rowsMax: rowsMax\n }, inputProps);\n InputComponent = TextareaAutosize;\n }\n } else {\n inputProps = _extends({\n type: type\n }, inputProps);\n }\n\n var handleAutoFill = function handleAutoFill(event) {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n\n React.useEffect(function () {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === 'dense' && classes.marginDense),\n onClick: handleClick,\n ref: ref\n }, other), startAdornment, /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(InputComponent, _extends({\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp\n }, inputProps, {\n className: clsx(classes.input, inputPropsProp.className, fcs.disabled && classes.disabled, multiline && classes.inputMultiline, fcs.hiddenLabel && classes.inputHiddenLabel, startAdornment && classes.inputAdornedStart, endAdornment && classes.inputAdornedEnd, type === 'search' && classes.inputTypeSearch, fcs.margin === 'dense' && classes.inputMarginDense),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n }))), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {\n startAdornment: startAdornment\n })) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the input is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputBase'\n})(InputBase);","// Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\nexport function hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n} // Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\n\nexport function isFilled(obj) {\n var SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n} // Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\n\nexport function isAdornedStart(obj) {\n return obj.startAdornment;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar styles = {\n /* Styles applied to the shadow textarea element. */\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nvar TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, ref) {\n var onChange = props.onChange,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$rowsMin = props.rowsMin,\n rowsMinProp = _props$rowsMin === void 0 ? 1 : _props$rowsMin,\n style = props.style,\n value = props.value,\n other = _objectWithoutProperties(props, [\"onChange\", \"rows\", \"rowsMax\", \"rowsMin\", \"style\", \"value\"]);\n\n var rowsMin = rows || rowsMinProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef(null);\n var handleRef = useForkRef(ref, inputRef);\n var shadowRef = React.useRef(null);\n var renders = React.useRef(0);\n\n var _React$useState = React.useState({}),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var syncHeight = React.useCallback(function () {\n var input = inputRef.current;\n var computedStyle = window.getComputedStyle(input);\n var inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n\n var boxSizing = computedStyle['box-sizing'];\n var padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n var border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n var innerHeight = inputShallow.scrollHeight - padding; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n var singleRowHeight = inputShallow.scrollHeight - padding; // The height of the outer content\n\n var outerHeight = innerHeight;\n\n if (rowsMin) {\n outerHeight = Math.max(Number(rowsMin) * singleRowHeight, outerHeight);\n }\n\n if (rowsMax) {\n outerHeight = Math.min(Number(rowsMax) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n var outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n var overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(function (prevState) {\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow: overflow,\n outerHeightStyle: outerHeightStyle\n };\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['Material-UI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n\n return prevState;\n });\n }, [rowsMax, rowsMin, props.placeholder]);\n React.useEffect(function () {\n var handleResize = debounce(function () {\n renders.current = 0;\n syncHeight();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [syncHeight]);\n useEnhancedEffect(function () {\n syncHeight();\n });\n React.useEffect(function () {\n renders.current = 0;\n }, [value]);\n\n var handleChange = function handleChange(event) {\n renders.current = 0;\n\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: rowsMin,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), /*#__PURE__*/React.createElement(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * Use `rowsMin` instead. The prop will be removed in v5.\n *\n * @deprecated\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = function Component(props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}"],"names":["FormControl","props","ref","children","classes","className","_props$color","color","_props$component","component","Component","_props$disabled","disabled","_props$error","error","_props$fullWidth","fullWidth","visuallyFocused","focused","_props$hiddenLabel","hiddenLabel","_props$margin","margin","_props$required","required","size","_props$variant","variant","other","_React$useState","initialAdornedStart","child","input","adornedStart","setAdornedStart","_React$useState2","initialFilled","filled","setFilled","_React$useState3","_focused","setFocused","undefined","onFilled","childContext","onBlur","onEmpty","onFocus","registerEffect","value","root","concat","display","flexDirection","position","minWidth","padding","border","verticalAlign","marginNormal","marginTop","marginBottom","marginDense","width","name","FormControlContext","useFormControl","formControlState","_ref","states","muiFormControl","reduce","acc","state","Input","disableUnderline","_props$inputComponent","inputComponent","_props$multiline","multiline","_props$type","type","underline","muiName","theme","bottomLineColor","palette","formControl","colorSecondary","borderBottomColor","secondary","main","borderBottom","primary","left","bottom","content","right","transform","transition","transitions","create","duration","shorter","easing","easeOut","pointerEvents","text","borderBottomStyle","inputMarginDense","inputMultiline","inputTypeSearch","useEnhancedEffect","window","InputBase","ariaDescribedby","autoComplete","autoFocus","defaultValue","endAdornment","id","_props$inputProps","inputProps","inputPropsProp","inputRefProp","inputRef","onChange","onClick","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","valueProp","isControlled","current","handleInputRefWarning","instance","handleInputPropsRefProp","handleInputRefProp","handleInputRef","fcs","checkDirty","obj","InputComponent","Boolean","adornedEnd","event","currentTarget","target","focus","onAnimationStart","animationName","inputHiddenLabel","inputAdornedStart","inputAdornedEnd","element","Error","_len","arguments","length","args","Array","_key","apply","stopPropagation","light","opacity","placeholderHidden","placeholderVisible","typography","body1","lineHeight","boxSizing","cursor","alignItems","paddingTop","font","letterSpacing","background","height","WebkitTapHighlightColor","animationDuration","outline","boxShadow","resize","hasValue","isArray","isFilled","SSR","isAdornedStart","getStyleValue","computedStyle","property","parseInt","styles","visibility","overflow","top","_props$rowsMin","rowsMinProp","style","handleRef","shadowRef","renders","setState","syncHeight","getComputedStyle","inputShallow","slice","innerHeight","scrollHeight","singleRowHeight","outerHeight","Math","max","Number","min","outerHeightStyle","abs","prevState","handleResize","addEventListener","clear","removeEventListener","tabIndex","createSvgIcon","path","displayName"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7741],{42494:(e,t,n)=>{n.d(t,{Z:()=>d});var u=n(7896),r=n(59740),o=n(24328),i=(n(13980),n(6277)),s=n(71495),a=n(15459),l=n(97580),c=n(33996),f=n(46163),p=o.forwardRef((function(e,t){var n=e.children,a=e.classes,p=e.className,d=e.color,g=void 0===d?"primary":d,E=e.component,h=void 0===E?"div":E,v=e.disabled,m=void 0!==v&&v,y=e.error,b=void 0!==y&&y,A=e.fullWidth,C=void 0!==A&&A,F=e.focused,D=e.hiddenLabel,S=void 0!==D&&D,O=e.margin,w=void 0===O?"none":O,x=e.required,B=void 0!==x&&x,P=e.size,j=e.variant,T=void 0===j?"standard":j,L=(0,r.Z)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),k=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){if((0,c.Z)(t,["Input","Select"])){var n=(0,c.Z)(t,["Select"])?t.props.input:t;n&&(0,s.B7)(n.props)&&(e=!0)}})),e})),M=k[0],I=k[1],R=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){(0,c.Z)(t,["Input","Select"])&&(0,s.vd)(t.props,!0)&&(e=!0)})),e})),_=R[0],N=R[1],Z=o.useState(!1),z=Z[0],H=Z[1],q=void 0!==F?F:z;m&&q&&H(!1);var V=o.useCallback((function(){N(!0)}),[]),U={adornedStart:M,setAdornedStart:I,color:g,disabled:m,error:b,filled:_,focused:q,fullWidth:C,hiddenLabel:S,margin:("small"===P?"dense":void 0)||w,onBlur:function(){H(!1)},onEmpty:o.useCallback((function(){N(!1)}),[]),onFilled:V,onFocus:function(){H(!0)},registerEffect:void 0,required:B,variant:T};return o.createElement(f.Z.Provider,{value:U},o.createElement(h,(0,u.Z)({className:(0,i.Z)(a.root,p,"none"!==w&&a["margin".concat((0,l.Z)(w))],C&&a.fullWidth),ref:t},L),n))}));const d=(0,a.Z)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(p)},98989:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),r.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.Z=o},80079:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm21 19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2"}),r.default.createElement("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"})),"BrokenImage");t.Z=o},81556:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=o},33375:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=o},94438:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=o},22983:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=o},4426:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=o},96971:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=o},35292:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=o},20404:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.Z=o},45203:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=o},15762:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=o},52669:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked");t.Z=o},73115:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M3 9h4V5H3v4zm0 5h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zM8 9h4V5H8v4zm5-4v4h4V5h-4zm5 9h4v-4h-4v4zM3 19h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zm5 0h4v-4h-4v4zm0-14v4h4V5h-4z"}),"ViewComfy");t.Z=o},47677:e=>{e.exports=function(e,t,n,u,r,o,i,s){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,u,r,o,i,s],c=0;(a=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},2271:(e,t,n)=>{function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},r.apply(this,arguments)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function s(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){return l="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?c(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>He,r:()=>Ze});var h=n(24328),v=n.n(h),m=n(47677),y=n.n(m);var b=n(56666),A=n(68079),C=function(e){return e===Object(e)?Object.keys(e):[]},F=function(e){return e===Object(e)?Object.values(e):[]};function D(e,t){var n=Object.assign({},e);return w(e)&&w(t)&&C(t).forEach((function(u){w(t[u])&&u in e?n[u]=D(e[u],t[u]):Object.assign(n,(0,b.Z)({},u,t[u]))})),n}var S=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return n.reduce((function(e,t){return D(e,t)}),e)},O=function(e,t){var n=Object.assign({},e);if(t)for(var u=0;u<t.length;u++)delete n[t[u]];return n},w=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},x=function(e){return(e||[]).filter(Boolean)},B=function(e){return"&"===e[0]},P=function(e){return!B(e)},j=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},T=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=C(e),u={},r=0,o=n.length;r<o;r+=1){var i=n[r],s="[object Object]"!==Object.prototype.toString.call(e[i])||":"===i[0]||"@"===i[0]||t.indexOf(i)>=0;s&&(u[i]=e[i])}return u},L=function(e,t){for(var n=t.map(j),u=C(e),r={},o=0,i=u.length;o<i;o+=1){var s=u[o];(t.indexOf(s)>=0||n.indexOf(j(s))>=0)&&(r[s]=e[s])}return r},k=function e(t,n){for(var u=S.apply(void 0,[{},O(t,n)].concat((0,A.Z)(F(L(t,n))))),r=C(u).filter(B),o=0,i=r.length;o<i;o+=1){var s=r[o],a=e(u[s],n);n.indexOf(s)>=0?(delete u[s],u=S({},u,a)):u[s]=a}return u};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=["animationName"];const _=function(e){var t=e.style,n=e.className;return I(I({},t?{style:T(t,R)}:{}),n?{className:n}:{})};var N=(0,h.createContext)(_);N.Provider;const Z=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return C(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var z={};const H=function(e){return function(t,n){var u,r=n||z;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?u=e.memoize.get(r):(u={},e.memoize.set(r,u));var o=Z(t).join(" ");return o in u?u[o]:u[o]=e(t||[],n)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(e){var t=e&&C(e)[0];return t&&t.split("__")[0].split("--")[0]},W=function(e,t,n){if(e){var u=e.split(" ")[0],r=[].concat((0,A.Z)(0===t.length?n.map((function(e){return"".concat(u,"--").concat(e.substring(1))})):[]),(0,A.Z)(t.map((function(e){return"".concat(u,"__").concat(e)}))));return 0===t.length?[e].concat((0,A.Z)(r)):r}};const K=function e(t){var n=t.style,u=t.className,r=t.classNames,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,i=u||U(r)||(null==n?void 0:n.className),s="function"==typeof n?n:H((function(t,u){var s=Z(t);y()(Array.isArray(s),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),y()(!u||w(u),"Optional second parameter must be a plain object.");var a=s.filter(B),l=s.filter(P),c=l.length>0?function(e){return F(L(e,l))}:function(e){return[e]},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(k(e,a))},p=W(i,l,a);return e(V(V(V({},(n||u)&&{style:S.apply(void 0,[{}].concat((0,A.Z)(f(u)),(0,A.Z)(f(n))))}),p&&{className:p.join(" ")}),r&&{classNames:r}),o)})),a=V({},"function"==typeof n?n:{style:n}),l=(0,A.Z)(new Set([].concat((0,A.Z)(a.className?a.className.split(" "):[]),(0,A.Z)(i?i.split(" "):[])))),c=r?x(l.map((function(e){return r[e]}))):l,f=o(V(V({},a),c.length>0?{className:c.join(" ")}:{}));return Object.assign(s,f),s},Q=function(e,t,n){var u=t.style,r=t.className,o=t.classNames,i=(0,h.useContext)(N);return(0,h.useMemo)((function(){return K({style:u,className:r,classNames:o},i)}),[u,r,o,i])(n,e)};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=n(13980),G=n.n(J),X=n(75047),ee=n.n(X),te=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},ne="__id__",ue="__display__",re=function(e,t){y()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(ue),u=e.indexOf(ne);return n<0&&(n=null),u<0&&(u=null),y()(null!==n||null!==u,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==u?"id"===t&&u<=n||"display"===t&&n<=u?0:1:0},oe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,u,r=(n=t.exec(e.toString()),u=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],u=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(u=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);u=!0);}catch(e){r=!0,o=e}finally{try{u||null==s.return||s.return()}finally{if(r)throw o}}return n}(n,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=r[1],i=r[2];return y()(!i,"RegExp flags are not supported. Change /".concat(o,"/").concat(i," into /").concat(o,"/")),"(".concat(o,")")})).join("|"),"g")},ie=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},se=function(){},ae=function(e,t,n){for(var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:se,o=oe(t.map((function(e){return e.regex}))),i=2,s=t.map((function(e){var t=e.markup,n=i;return i+=ie(t)+1,n})),a=0,l=0;null!==(u=o.exec(e));){var c=s.find((function(e){return!!u[e]})),f=s.indexOf(c),p=t[f],d=p.markup,g=p.displayTransform,E=c+re(d,"id"),h=c+re(d,"display"),v=u[E],m=g(v,u[h]),y=e.substring(a,u.index);r(y,a,l),l+=y.length,n(u[0],u.index,l,v,m,f,a),l+=m.length,a=o.lastIndex}a<e.length&&r(e.substring(a),a,l)},le=function(e,t){var n="";return ae(e,t,(function(e,t,u,r,o){n+=o}),(function(e){n+=e})),n},ce=function(e,t,n){var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===u&&r+e.length>=n&&(u=t+n-r)},i=function(e,t,o,i,s,a,l){void 0===u&&o+s.length>n&&(u="NULL"===r?null:t+("END"===r?e.length:0))};return ae(e,t,i,o),void 0===u?e.length:u},fe=function(e,t,n,u){return e.substring(0,t)+u+e.substring(n)},pe=function(e,t){var n=[];return ae(e,t,(function(e,t,u,r,o,i,s){n.push({id:r,display:o,childIndex:i,index:t,plainTextIndex:u})})),n},de=function(e,t){return"".concat(e,"-").concat(t)},ge=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Ee=function(e){var t=te(e),n=e[e.indexOf(ue)+ue.length],u=e[e.indexOf(ne)+ne.length];return new RegExp(t.replace(ue,"([^".concat(te(n||""),"]+?)")).replace(ne,"([^".concat(te(u||""),"]+?)")))},he=function(e){return h.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,u=t.regex,r=t.displayTransform;return{markup:n,regex:u?ve(u,n):Ee(n),displayTransform:r||function(e,t){return t||e}}}))},ve=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,u=ie(t);return y()(n===u,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(u,")")),e},me=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],ye=function(e){return function(e){var t=e;return me.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},be=function(e,t,n){return n?ye(e).indexOf(ye(t)):e.toLowerCase().indexOf(t.toLowerCase())},Ae=function(e){return"number"==typeof e},Ce=function(e){return e===Object(e)?Object.keys(e):[]},Fe=function(e){for(var t,n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];var o=(t=[]).concat.apply(t,u);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function De(e,t){return function(n){var u=function(u){var o=u.style,i=u.className,s=u.classNames,a=function(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n,u,r={},o=Object.keys(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(u,["style","className","classNames"]),l=t?t(a):void 0,c=Q(e,{style:o,className:i,classNames:s},l);return v().createElement(n,r({},a,{style:c}))},o=n.displayName||n.name||"Component";return u.displayName="defaultStyle(".concat(o,")"),u}}var Se=function(e){function t(){var e;return o(this,t),E(c(e=f(this,p(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return g(t,e),s(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var u={left:t,top:n};this.setState(u),this.props.onCaretPositionChange(u)}}}},{key:"render",value:function(){var e,t=this,n=this.props,u=n.selectionStart,o=n.selectionEnd,i=n.value,s=n.style,a=n.children,l=n.containerRef,c=he(a);u===o&&(e=ce(i,c,u,"START"));var f=[],p={},d=f,g=0;return ae(i,c,(function(e,n,u,r,o,i,s){var a=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,r);d.push(t.getMentionComponentForMatch(r,o,i,a))}),(function(n,u,r){if(Ae(e)&&e>=u&&e<=u+n.length){var o=e-u;d.push(t.renderSubstring(n.substring(0,o),g)),d=[t.renderSubstring(n.substring(o),g)]}else d.push(t.renderSubstring(n,g));g++})),d.push(" "),d!==f&&f.push(this.renderHighlighterCaret(d)),v().createElement("div",r({},s,{ref:l}),f)}},{key:"renderSubstring",value:function(e,t){return v().createElement("span",r({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,u){var r={id:e,display:t,key:u},o=h.Children.toArray(this.props.children)[n];return v().cloneElement(o,r)}},{key:"renderHighlighterCaret",value:function(e){return v().createElement("span",r({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(h.Component);E(Se,"propTypes",{selectionStart:G().number,selectionEnd:G().number,value:G().string.isRequired,onCaretPositionChange:G().func.isRequired,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Se,"defaultProps",{value:""});var Oe=De({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(Se),we=function(e){function t(){return o(this,t),f(this,p(t).apply(this,arguments))}return g(t,e),s(t,[{key:"render",value:function(){var e=Fe(this.props,["style","classNames","className"],Ce(t.propTypes));return v().createElement("li",r({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,u=e.suggestion,r=e.index,o=e.focused,i=this.getDisplay(),s=this.renderHighlightedDisplay(i,t);return n?n(u,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,u=t.query,r=t.style,o=be(e,u,n);return-1===o?v().createElement("span",r("display"),e):v().createElement("span",r("display"),e.substring(0,o),v().createElement("b",r("highlight"),e.substring(o,o+u.length)),e.substring(o+u.length))}}]),t}(h.Component);E(we,"propTypes",{id:G().string.isRequired,query:G().string.isRequired,index:G().number.isRequired,ignoreAccents:G().bool,suggestion:G().oneOfType([G().string,G().shape({id:G().oneOfType([G().string,G().number]).isRequired,display:G().string})]).isRequired,renderSuggestion:G().func,focused:G().bool});var xe=De({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(we);function Be(){var e=Q(),t=e("spinner");return v().createElement("div",e,v().createElement("div",t,v().createElement("div",t(["element","element1"])),v().createElement("div",t(["element","element2"])),v().createElement("div",t(["element","element3"])),v().createElement("div",t(["element","element4"])),v().createElement("div",t(["element","element5"]))))}var Pe=function(e){function t(){var e,n;o(this,t);for(var u=arguments.length,r=new Array(u),i=0;i<u;i++)r[i]=arguments[i];return E(c(n=f(this,(e=p(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),E(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),E(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return g(t,e),s(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,u=t.bottom,r=this.ulElement.getBoundingClientRect().top;u=u-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:u>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=u-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,u=e.isOpened,o=e.style,i=e.onMouseDown,s=e.containerRef,a=e.position,l=e.left,c=e.top;return u?v().createElement("div",r({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return $($($({},e),"function"==typeof t?t:{}),{},{style:$($({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:a||"absolute",left:l,top:c},o),{onMouseDown:i,ref:s}),v().createElement("ul",r({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},o("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,o=n.queryInfo;return[].concat(u(t),u(r.map((function(n,u){return e.renderSuggestion(n,o,t.length+u)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var u=this,r=n===this.props.focusIndex,o=t.childIndex,i=t.query,s=h.Children.toArray(this.props.children)[o].props.renderSuggestion,a=this.props.ignoreAccents;return v().createElement(xe,{style:this.props.style("item"),key:"".concat(o,"-").concat(je(e)),id:de(this.props.id,n),query:i,index:n,ignoreAccents:a,renderSuggestion:s,suggestion:e,focused:r,onClick:function(){return u.select(e,t)},onMouseEnter:function(){return u.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(Be,{style:this.props.style("loadingIndicator")})}}]),t}(h.Component);E(Pe,"propTypes",{id:G().string.isRequired,suggestions:G().object.isRequired,a11ySuggestionsListLabel:G().string,focusIndex:G().number,position:G().string,left:G().number,top:G().number,scrollFocusedIntoView:G().bool,isLoading:G().bool,isOpened:G().bool.isRequired,onSelect:G().func,ignoreAccents:G().bool,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Pe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var je=function(e){return"string"==typeof e?e:e.id},Te=De({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Pe);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Ie=!1,Re={singleLine:G().bool,allowSpaceInQuery:G().bool,allowSuggestionsAboveCursor:G().bool,forceSuggestionsAboveCursor:G().bool,ignoreAccents:G().bool,a11ySuggestionsListLabel:G().string,value:G().string,onKeyDown:G().func,onSelect:G().func,onBlur:G().func,onChange:G().func,suggestionsPortalHost:"undefined"==typeof Element?G().any:G().PropTypes.instanceOf(Element),inputRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired},_e=function(e){function t(e){var n;return o(this,t),E(c(n=f(this,p(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),E(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,u=e.disabled,r=e.style;return ke({},Fe(n.props,["style","classNames","className"],Ce(Re)),{},r("input"),{value:n.getPlainText()},!t&&!u&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":de(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),E(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,u=e.style,r=n.getInputProps();return v().createElement("div",u("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),E(c(n),"renderInput",(function(e){return v().createElement("input",r({type:"text",ref:n.setInputRef},e))})),E(c(n),"renderTextarea",(function(e){return v().createElement("textarea",r({ref:n.setInputRef},e))})),E(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),E(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),E(c(n),"renderSuggestionsOverlay",(function(){if(!Ae(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,u=e.left,r=e.top,o=v().createElement(Te,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:u,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ee().createPortal(o,n.props.suggestionsPortalHost):o})),E(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,u=e.selectionEnd,r=n.props,o=r.singleLine,i=r.children,s=r.value,a=r.style;return v().createElement(Oe,{containerRef:n.setHighlighterElement,style:a("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:u,onCaretPositionChange:n.handleCaretPositionChange},i)})),E(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),E(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),E(c(n),"getPlainText",(function(){return le(n.props.value||"",he(n.props.children))})),E(c(n),"executeOnChange",(function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),r=1;r<t;r++)u[r-1]=arguments[r];var o,i;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(u)):n.props.valueLink?(i=n.props.valueLink).requestChange.apply(i,[e.target.value].concat(u)):void 0})),E(c(n),"handleChange",(function(e){if(Ie=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",u=he(n.props.children),r=e.target.value,o=function(e,t,n,u){var r=n.selectionStartBefore,o=n.selectionEndBefore,i=n.selectionEndAfter,s=le(e,u),a=s.length-t.length;"undefined"===r&&(r=i+a),"undefined"===o&&(o=r),r===o&&o===i&&s.length===t.length&&(r-=1);var l=t.slice(r,i),c=Math.min(r,i),f=o;r===i&&(f=Math.max(o,r+a));var p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),g=ce(e,u,c,"NULL"),E=ce(e,u,f,"NULL"),h=null===g||null===E,v=fe(e,p,d,l);if(!h){var m=le(v,u);if(m!==t){for(c=0;t[c]===m[c];)c++;l=t.slice(c,i),f=s.lastIndexOf(t.substring(i)),p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),v=fe(e,p,d,l)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},u);r=le(o,u);var i=e.target.selectionStart,s=e.target.selectionEnd,a=!1,l=function(e,t,n){var u=n,r=!1;if(ae(e,t,(function(e,t,o,i,s,a,l){o<=n&&o+s.length>n&&(u=o,r=!0)})),r)return u}(t,u,i);void 0!==l&&n.state.selectionEnd>l&&(s=i=l,a=!0),n.setState({selectionStart:i,selectionEnd:s,setSelectionAfterMentionChange:a});var c=pe(o,u),f={target:{value:o}};n.executeOnChange(f,o,r,c)}})),E(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Ie){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),E(c(n),"handleKeyDown",(function(e){if(0!==ge(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Me).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Me.ESC:return void n.clearSuggestions();case Me.DOWN:return void n.shiftFocus(1);case Me.UP:return void n.shiftFocus(-1);case Me.RETURN:case Me.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),E(c(n),"shiftFocus",(function(e){var t=ge(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),E(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,o=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(u(e),u(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],i=o.result,s=o.queryInfo;n.addMention(i,s),n.setState({focusIndex:0})})),E(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),E(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),E(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),E(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,u=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var i=n.suggestionsElement,s=n.highlighterElement,a=s.getBoundingClientRect(),l=Ne(s,"font-size"),c={left:a.left+e.left,top:a.top+e.top+l},f=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(i){var p={};if(u){p.position="fixed";var d=c.left,g=c.top;d-=Ne(i,"margin-left"),g-=Ne(i,"margin-top"),d-=s.scrollLeft,g-=s.scrollTop;var E=Math.max(document.documentElement.clientWidth,window.innerWidth||0);d+i.offsetWidth>E?p.left=Math.max(0,E-i.offsetWidth):p.left=d,r&&g+i.offsetHeight>f&&i.offsetHeight<g-l||o?p.top=Math.max(0,g-i.offsetHeight-l):p.top=g}else{var h=e.left-s.scrollLeft,v=e.top-s.scrollTop;h+i.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=h,r&&c.top-s.scrollTop+i.offsetHeight>f&&i.offsetHeight<a.top-l-s.scrollTop?p.top=v-i.offsetHeight-l:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),E(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),E(c(n),"handleCompositionStart",(function(){Ie=!0})),E(c(n),"handleCompositionEnd",(function(){Ie=!1})),E(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var u=n.inputElement;if(u.setSelectionRange)u.setSelectionRange(e,t);else if(u.createTextRange){var r=u.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),E(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var u=n.props.value||"",r=n.props.children,o=he(r),i=ce(u,o,t,"NULL");if(null!==i){var s=function(e,t){var n=pe(e,t),u=n[n.length-1];return u?u.plainTextIndex+u.display.length:0}(u.substring(0,i),o),a=e.substring(s,t);v().Children.forEach(r,(function(t,u){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,u=te(e);return new RegExp("(?:^|\\s)(".concat(u,"([^").concat(n?"":"\\s").concat(u,"]*))$"))}(t.props.trigger,n.props),o=a.match(r);if(o){var i=s+a.indexOf(o[1],o.index);n.queryData(o[2],u,i,i+o[1].length,e)}}}))}})),E(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),E(c(n),"queryData",(function(e,t,u,r,o){var i=n.props,s=i.children,a=i.ignoreAccents,l=function(e,t){return e instanceof Array?function(n,u){for(var r=[],o=0,i=e.length;o<i;++o){var s=e[o].display||e[o].id;be(s,n,t)>=0&&r.push(e[o])}return r}:e}(h.Children.toArray(s)[t].props.data,a),c=l(e,n.updateSuggestions.bind(null,n._queryId,t,e,u,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,u,r,o,c)})),E(c(n),"updateSuggestions",(function(e,t,u,r,o,i,s){if(e===n._queryId){n.suggestions=ke({},n.suggestions,E({},t,{queryInfo:{childIndex:t,query:u,querySequenceStart:r,querySequenceEnd:o,plainTextValue:i},results:s}));var a=n.state.focusIndex,l=ge(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:a>=l?Math.max(l-1,0):a})}})),E(c(n),"addMention",(function(e,t){var u=e.id,r=e.display,o=t.childIndex,i=t.querySequenceStart,s=t.querySequenceEnd,a=t.plainTextValue,l=n.props.value||"",c=he(n.props.children),f=h.Children.toArray(n.props.children)[o].props,p=f.markup,d=f.displayTransform,g=f.appendSpaceOnAdd,E=f.onAdd,v=ce(l,c,i,"START"),m=v+s-i,y=function(e,t,n){return e.replace(ne,t).replace(ue,n)}(p,u,r);g&&(y+=" ");var b=fe(l,v,m,y);n.inputElement.focus();var A=d(u,r);g&&(A+=" ");var C=i+A.length;n.setState({selectionStart:C,selectionEnd:C,setSelectionAfterMentionChange:!0});var F={target:{value:b}},D=pe(b,c),S=fe(a,i,s,A);n.executeOnChange(F,b,S,D),E&&E(u,r,v,m),n.clearSuggestions()})),E(c(n),"isLoading",(function(){var e=!1;return v().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),E(c(n),"isOpened",(function(){return Ae(n.state.selectionStart)&&(0!==ge(n.state.suggestions)||n.isLoading())})),E(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return g(t,e),s(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",r({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.value,i=r.children,s=he(i),a=ce(o,s,n,"START"),l=ce(o,s,u,"END"),c=e.clipboardData.getData("text/react-mentions"),f=e.clipboardData.getData("text/plain"),p=fe(o,a,l,c||f).replace(/\r/g,""),d=le(p,s),g={target:ke({},e.target,{value:p})};this.executeOnChange(g,p,d,pe(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,i=r.value,s=he(o),a=ce(i,s,n,"START"),l=ce(i,s,u,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,u)),e.clipboardData.setData("text/react-mentions",i.slice(a,l))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,i=r.value,s=he(o),a=ce(i,s,n,"START"),l=ce(i,s,u,"END"),c=[i.slice(0,a),i.slice(l)].join(""),f=le(c,s),p={target:ke({},e.target,{value:f})};this.executeOnChange(p,c,f,pe(i,s))}}}]),t}(v().Component);E(_e,"propTypes",Re),E(_e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Ne=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},Ze=De({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:ke({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(_e),ze={fontWeight:"inherit"},He=function(e){var t=e.display,n=e.style,u=e.className,r=e.classNames,o=Q(ze,{style:n,className:u,classNames:r});return v().createElement("strong",o,t)};He.propTypes={onAdd:G().func,onRemove:G().func,renderSuggestion:G().func,trigger:G().oneOfType([G().string,G().instanceOf(RegExp)]),markup:G().string,displayTransform:G().func,allowSpaceInQuery:G().bool,isLoading:G().bool},He.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}}}]);
2
- //# sourceMappingURL=7741.js.map
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7776],{15223:(e,t,n)=>{n.d(t,{Z:()=>c});var u=n(7896),r=n(59740),o=n(56666),s=n(24328),i=(n(13980),n(6277)),a=n(15459),l=s.forwardRef((function(e,t){var n=e.classes,o=e.className,a=e.component,l=void 0===a?"div":a,c=e.disableGutters,f=void 0!==c&&c,p=e.variant,g=void 0===p?"regular":p,d=(0,r.Z)(e,["classes","className","component","disableGutters","variant"]);return s.createElement(l,(0,u.Z)({className:(0,i.Z)(n.root,n[g],o,!f&&n.gutters),ref:t},d))}));const c=(0,a.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:(0,o.Z)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(l)},98989:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),r.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.Z=o},80079:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm21 19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2"}),r.default.createElement("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"})),"BrokenImage");t.Z=o},81556:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=o},33375:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=o},94438:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=o},22983:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=o},4426:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=o},96971:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=o},35292:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=o},20404:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.Z=o},45203:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=o},15762:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=o},52669:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked");t.Z=o},73115:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M3 9h4V5H3v4zm0 5h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zM8 9h4V5H8v4zm5-4v4h4V5h-4zm5 9h4v-4h-4v4zM3 19h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zm5 0h4v-4h-4v4zm0-14v4h4V5h-4z"}),"ViewComfy");t.Z=o},47677:e=>{e.exports=function(e,t,n,u,r,o,s,i){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,u,r,o,s,i],c=0;(a=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},2271:(e,t,n)=>{function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},r.apply(this,arguments)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){return l="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?c(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>He,r:()=>ze});var h=n(24328),v=n.n(h),m=n(47677),y=n.n(m);var b=n(56666),A=n(68079),C=function(e){return e===Object(e)?Object.keys(e):[]},F=function(e){return e===Object(e)?Object.values(e):[]};function D(e,t){var n=Object.assign({},e);return w(e)&&w(t)&&C(t).forEach((function(u){w(t[u])&&u in e?n[u]=D(e[u],t[u]):Object.assign(n,(0,b.Z)({},u,t[u]))})),n}var S=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return n.reduce((function(e,t){return D(e,t)}),e)},O=function(e,t){var n=Object.assign({},e);if(t)for(var u=0;u<t.length;u++)delete n[t[u]];return n},w=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},x=function(e){return(e||[]).filter(Boolean)},B=function(e){return"&"===e[0]},P=function(e){return!B(e)},j=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},T=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=C(e),u={},r=0,o=n.length;r<o;r+=1){var s=n[r],i="[object Object]"!==Object.prototype.toString.call(e[s])||":"===s[0]||"@"===s[0]||t.indexOf(s)>=0;i&&(u[s]=e[s])}return u},L=function(e,t){for(var n=t.map(j),u=C(e),r={},o=0,s=u.length;o<s;o+=1){var i=u[o];(t.indexOf(i)>=0||n.indexOf(j(i))>=0)&&(r[i]=e[i])}return r},k=function e(t,n){for(var u=S.apply(void 0,[{},O(t,n)].concat((0,A.Z)(F(L(t,n))))),r=C(u).filter(B),o=0,s=r.length;o<s;o+=1){var i=r[o],a=e(u[i],n);n.indexOf(i)>=0?(delete u[i],u=S({},u,a)):u[i]=a}return u};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=["animationName"];const _=function(e){var t=e.style,n=e.className;return I(I({},t?{style:T(t,R)}:{}),n?{className:n}:{})};var N=(0,h.createContext)(_);N.Provider;const z=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return C(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var Z={};const H=function(e){return function(t,n){var u,r=n||Z;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?u=e.memoize.get(r):(u={},e.memoize.set(r,u));var o=z(t).join(" ");return o in u?u[o]:u[o]=e(t||[],n)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(e){var t=e&&C(e)[0];return t&&t.split("__")[0].split("--")[0]},W=function(e,t,n){if(e){var u=e.split(" ")[0],r=[].concat((0,A.Z)(0===t.length?n.map((function(e){return"".concat(u,"--").concat(e.substring(1))})):[]),(0,A.Z)(t.map((function(e){return"".concat(u,"__").concat(e)}))));return 0===t.length?[e].concat((0,A.Z)(r)):r}};const K=function e(t){var n=t.style,u=t.className,r=t.classNames,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,s=u||U(r)||(null==n?void 0:n.className),i="function"==typeof n?n:H((function(t,u){var i=z(t);y()(Array.isArray(i),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),y()(!u||w(u),"Optional second parameter must be a plain object.");var a=i.filter(B),l=i.filter(P),c=l.length>0?function(e){return F(L(e,l))}:function(e){return[e]},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(k(e,a))},p=W(s,l,a);return e(V(V(V({},(n||u)&&{style:S.apply(void 0,[{}].concat((0,A.Z)(f(u)),(0,A.Z)(f(n))))}),p&&{className:p.join(" ")}),r&&{classNames:r}),o)})),a=V({},"function"==typeof n?n:{style:n}),l=(0,A.Z)(new Set([].concat((0,A.Z)(a.className?a.className.split(" "):[]),(0,A.Z)(s?s.split(" "):[])))),c=r?x(l.map((function(e){return r[e]}))):l,f=o(V(V({},a),c.length>0?{className:c.join(" ")}:{}));return Object.assign(i,f),i},Q=function(e,t,n){var u=t.style,r=t.className,o=t.classNames,s=(0,h.useContext)(N);return(0,h.useMemo)((function(){return K({style:u,className:r,classNames:o},s)}),[u,r,o,s])(n,e)};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G=n(13980),J=n.n(G),X=n(75047),ee=n.n(X),te=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},ne="__id__",ue="__display__",re=function(e,t){y()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(ue),u=e.indexOf(ne);return n<0&&(n=null),u<0&&(u=null),y()(null!==n||null!==u,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==u?"id"===t&&u<=n||"display"===t&&n<=u?0:1:0},oe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,u,r=(n=t.exec(e.toString()),u=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],u=!0,r=!1,o=void 0;try{for(var s,i=e[Symbol.iterator]();!(u=(s=i.next()).done)&&(n.push(s.value),!t||n.length!==t);u=!0);}catch(e){r=!0,o=e}finally{try{u||null==i.return||i.return()}finally{if(r)throw o}}return n}(n,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=r[1],s=r[2];return y()(!s,"RegExp flags are not supported. Change /".concat(o,"/").concat(s," into /").concat(o,"/")),"(".concat(o,")")})).join("|"),"g")},se=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ie=function(){},ae=function(e,t,n){for(var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ie,o=oe(t.map((function(e){return e.regex}))),s=2,i=t.map((function(e){var t=e.markup,n=s;return s+=se(t)+1,n})),a=0,l=0;null!==(u=o.exec(e));){var c=i.find((function(e){return!!u[e]})),f=i.indexOf(c),p=t[f],g=p.markup,d=p.displayTransform,E=c+re(g,"id"),h=c+re(g,"display"),v=u[E],m=d(v,u[h]),y=e.substring(a,u.index);r(y,a,l),l+=y.length,n(u[0],u.index,l,v,m,f,a),l+=m.length,a=o.lastIndex}a<e.length&&r(e.substring(a),a,l)},le=function(e,t){var n="";return ae(e,t,(function(e,t,u,r,o){n+=o}),(function(e){n+=e})),n},ce=function(e,t,n){var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===u&&r+e.length>=n&&(u=t+n-r)},s=function(e,t,o,s,i,a,l){void 0===u&&o+i.length>n&&(u="NULL"===r?null:t+("END"===r?e.length:0))};return ae(e,t,s,o),void 0===u?e.length:u},fe=function(e,t,n,u){return e.substring(0,t)+u+e.substring(n)},pe=function(e,t){var n=[];return ae(e,t,(function(e,t,u,r,o,s,i){n.push({id:r,display:o,childIndex:s,index:t,plainTextIndex:u})})),n},ge=function(e,t){return"".concat(e,"-").concat(t)},de=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Ee=function(e){var t=te(e),n=e[e.indexOf(ue)+ue.length],u=e[e.indexOf(ne)+ne.length];return new RegExp(t.replace(ue,"([^".concat(te(n||""),"]+?)")).replace(ne,"([^".concat(te(u||""),"]+?)")))},he=function(e){return h.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,u=t.regex,r=t.displayTransform;return{markup:n,regex:u?ve(u,n):Ee(n),displayTransform:r||function(e,t){return t||e}}}))},ve=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,u=se(t);return y()(n===u,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(u,")")),e},me=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],ye=function(e){return function(e){var t=e;return me.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},be=function(e,t,n){return n?ye(e).indexOf(ye(t)):e.toLowerCase().indexOf(t.toLowerCase())},Ae=function(e){return"number"==typeof e},Ce=function(e){return e===Object(e)?Object.keys(e):[]},Fe=function(e){for(var t,n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];var o=(t=[]).concat.apply(t,u);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function De(e,t){return function(n){var u=function(u){var o=u.style,s=u.className,i=u.classNames,a=function(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n,u,r={},o=Object.keys(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(u,["style","className","classNames"]),l=t?t(a):void 0,c=Q(e,{style:o,className:s,classNames:i},l);return v().createElement(n,r({},a,{style:c}))},o=n.displayName||n.name||"Component";return u.displayName="defaultStyle(".concat(o,")"),u}}var Se=function(e){function t(){var e;return o(this,t),E(c(e=f(this,p(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return d(t,e),i(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var u={left:t,top:n};this.setState(u),this.props.onCaretPositionChange(u)}}}},{key:"render",value:function(){var e,t=this,n=this.props,u=n.selectionStart,o=n.selectionEnd,s=n.value,i=n.style,a=n.children,l=n.containerRef,c=he(a);u===o&&(e=ce(s,c,u,"START"));var f=[],p={},g=f,d=0;return ae(s,c,(function(e,n,u,r,o,s,i){var a=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,r);g.push(t.getMentionComponentForMatch(r,o,s,a))}),(function(n,u,r){if(Ae(e)&&e>=u&&e<=u+n.length){var o=e-u;g.push(t.renderSubstring(n.substring(0,o),d)),g=[t.renderSubstring(n.substring(o),d)]}else g.push(t.renderSubstring(n,d));d++})),g.push(" "),g!==f&&f.push(this.renderHighlighterCaret(g)),v().createElement("div",r({},i,{ref:l}),f)}},{key:"renderSubstring",value:function(e,t){return v().createElement("span",r({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,u){var r={id:e,display:t,key:u},o=h.Children.toArray(this.props.children)[n];return v().cloneElement(o,r)}},{key:"renderHighlighterCaret",value:function(e){return v().createElement("span",r({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(h.Component);E(Se,"propTypes",{selectionStart:J().number,selectionEnd:J().number,value:J().string.isRequired,onCaretPositionChange:J().func.isRequired,containerRef:J().oneOfType([J().func,J().shape({current:"undefined"==typeof Element?J().any:J().instanceOf(Element)})]),children:J().oneOfType([J().element,J().arrayOf(J().element)]).isRequired}),E(Se,"defaultProps",{value:""});var Oe=De({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(Se),we=function(e){function t(){return o(this,t),f(this,p(t).apply(this,arguments))}return d(t,e),i(t,[{key:"render",value:function(){var e=Fe(this.props,["style","classNames","className"],Ce(t.propTypes));return v().createElement("li",r({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,u=e.suggestion,r=e.index,o=e.focused,s=this.getDisplay(),i=this.renderHighlightedDisplay(s,t);return n?n(u,t,i,r,o):i}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,u=t.query,r=t.style,o=be(e,u,n);return-1===o?v().createElement("span",r("display"),e):v().createElement("span",r("display"),e.substring(0,o),v().createElement("b",r("highlight"),e.substring(o,o+u.length)),e.substring(o+u.length))}}]),t}(h.Component);E(we,"propTypes",{id:J().string.isRequired,query:J().string.isRequired,index:J().number.isRequired,ignoreAccents:J().bool,suggestion:J().oneOfType([J().string,J().shape({id:J().oneOfType([J().string,J().number]).isRequired,display:J().string})]).isRequired,renderSuggestion:J().func,focused:J().bool});var xe=De({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(we);function Be(){var e=Q(),t=e("spinner");return v().createElement("div",e,v().createElement("div",t,v().createElement("div",t(["element","element1"])),v().createElement("div",t(["element","element2"])),v().createElement("div",t(["element","element3"])),v().createElement("div",t(["element","element4"])),v().createElement("div",t(["element","element5"]))))}var Pe=function(e){function t(){var e,n;o(this,t);for(var u=arguments.length,r=new Array(u),s=0;s<u;s++)r[s]=arguments[s];return E(c(n=f(this,(e=p(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),E(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),E(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return d(t,e),i(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,u=t.bottom,r=this.ulElement.getBoundingClientRect().top;u=u-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:u>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=u-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,u=e.isOpened,o=e.style,s=e.onMouseDown,i=e.containerRef,a=e.position,l=e.left,c=e.top;return u?v().createElement("div",r({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return $($($({},e),"function"==typeof t?t:{}),{},{style:$($({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:a||"absolute",left:l,top:c},o),{onMouseDown:s,ref:i}),v().createElement("ul",r({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},o("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,o=n.queryInfo;return[].concat(u(t),u(r.map((function(n,u){return e.renderSuggestion(n,o,t.length+u)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var u=this,r=n===this.props.focusIndex,o=t.childIndex,s=t.query,i=h.Children.toArray(this.props.children)[o].props.renderSuggestion,a=this.props.ignoreAccents;return v().createElement(xe,{style:this.props.style("item"),key:"".concat(o,"-").concat(je(e)),id:ge(this.props.id,n),query:s,index:n,ignoreAccents:a,renderSuggestion:i,suggestion:e,focused:r,onClick:function(){return u.select(e,t)},onMouseEnter:function(){return u.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(Be,{style:this.props.style("loadingIndicator")})}}]),t}(h.Component);E(Pe,"propTypes",{id:J().string.isRequired,suggestions:J().object.isRequired,a11ySuggestionsListLabel:J().string,focusIndex:J().number,position:J().string,left:J().number,top:J().number,scrollFocusedIntoView:J().bool,isLoading:J().bool,isOpened:J().bool.isRequired,onSelect:J().func,ignoreAccents:J().bool,containerRef:J().oneOfType([J().func,J().shape({current:"undefined"==typeof Element?J().any:J().instanceOf(Element)})]),children:J().oneOfType([J().element,J().arrayOf(J().element)]).isRequired}),E(Pe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var je=function(e){return"string"==typeof e?e:e.id},Te=De({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Pe);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Ie=!1,Re={singleLine:J().bool,allowSpaceInQuery:J().bool,allowSuggestionsAboveCursor:J().bool,forceSuggestionsAboveCursor:J().bool,ignoreAccents:J().bool,a11ySuggestionsListLabel:J().string,value:J().string,onKeyDown:J().func,onSelect:J().func,onBlur:J().func,onChange:J().func,suggestionsPortalHost:"undefined"==typeof Element?J().any:J().PropTypes.instanceOf(Element),inputRef:J().oneOfType([J().func,J().shape({current:"undefined"==typeof Element?J().any:J().instanceOf(Element)})]),children:J().oneOfType([J().element,J().arrayOf(J().element)]).isRequired},_e=function(e){function t(e){var n;return o(this,t),E(c(n=f(this,p(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),E(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,u=e.disabled,r=e.style;return ke({},Fe(n.props,["style","classNames","className"],Ce(Re)),{},r("input"),{value:n.getPlainText()},!t&&!u&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":ge(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),E(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,u=e.style,r=n.getInputProps();return v().createElement("div",u("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),E(c(n),"renderInput",(function(e){return v().createElement("input",r({type:"text",ref:n.setInputRef},e))})),E(c(n),"renderTextarea",(function(e){return v().createElement("textarea",r({ref:n.setInputRef},e))})),E(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),E(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),E(c(n),"renderSuggestionsOverlay",(function(){if(!Ae(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,u=e.left,r=e.top,o=v().createElement(Te,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:u,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ee().createPortal(o,n.props.suggestionsPortalHost):o})),E(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,u=e.selectionEnd,r=n.props,o=r.singleLine,s=r.children,i=r.value,a=r.style;return v().createElement(Oe,{containerRef:n.setHighlighterElement,style:a("highlighter"),value:i,singleLine:o,selectionStart:t,selectionEnd:u,onCaretPositionChange:n.handleCaretPositionChange},s)})),E(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),E(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),E(c(n),"getPlainText",(function(){return le(n.props.value||"",he(n.props.children))})),E(c(n),"executeOnChange",(function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),r=1;r<t;r++)u[r-1]=arguments[r];var o,s;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(u)):n.props.valueLink?(s=n.props.valueLink).requestChange.apply(s,[e.target.value].concat(u)):void 0})),E(c(n),"handleChange",(function(e){if(Ie=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",u=he(n.props.children),r=e.target.value,o=function(e,t,n,u){var r=n.selectionStartBefore,o=n.selectionEndBefore,s=n.selectionEndAfter,i=le(e,u),a=i.length-t.length;"undefined"===r&&(r=s+a),"undefined"===o&&(o=r),r===o&&o===s&&i.length===t.length&&(r-=1);var l=t.slice(r,s),c=Math.min(r,s),f=o;r===s&&(f=Math.max(o,r+a));var p=ce(e,u,c,"START"),g=ce(e,u,f,"END"),d=ce(e,u,c,"NULL"),E=ce(e,u,f,"NULL"),h=null===d||null===E,v=fe(e,p,g,l);if(!h){var m=le(v,u);if(m!==t){for(c=0;t[c]===m[c];)c++;l=t.slice(c,s),f=i.lastIndexOf(t.substring(s)),p=ce(e,u,c,"START"),g=ce(e,u,f,"END"),v=fe(e,p,g,l)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},u);r=le(o,u);var s=e.target.selectionStart,i=e.target.selectionEnd,a=!1,l=function(e,t,n){var u=n,r=!1;if(ae(e,t,(function(e,t,o,s,i,a,l){o<=n&&o+i.length>n&&(u=o,r=!0)})),r)return u}(t,u,s);void 0!==l&&n.state.selectionEnd>l&&(i=s=l,a=!0),n.setState({selectionStart:s,selectionEnd:i,setSelectionAfterMentionChange:a});var c=pe(o,u),f={target:{value:o}};n.executeOnChange(f,o,r,c)}})),E(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Ie){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),E(c(n),"handleKeyDown",(function(e){if(0!==de(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Me).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Me.ESC:return void n.clearSuggestions();case Me.DOWN:return void n.shiftFocus(1);case Me.UP:return void n.shiftFocus(-1);case Me.RETURN:case Me.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),E(c(n),"shiftFocus",(function(e){var t=de(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),E(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,o=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(u(e),u(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],s=o.result,i=o.queryInfo;n.addMention(s,i),n.setState({focusIndex:0})})),E(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),E(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),E(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),E(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,u=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var s=n.suggestionsElement,i=n.highlighterElement,a=i.getBoundingClientRect(),l=Ne(i,"font-size"),c={left:a.left+e.left,top:a.top+e.top+l},f=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(s){var p={};if(u){p.position="fixed";var g=c.left,d=c.top;g-=Ne(s,"margin-left"),d-=Ne(s,"margin-top"),g-=i.scrollLeft,d-=i.scrollTop;var E=Math.max(document.documentElement.clientWidth,window.innerWidth||0);g+s.offsetWidth>E?p.left=Math.max(0,E-s.offsetWidth):p.left=g,r&&d+s.offsetHeight>f&&s.offsetHeight<d-l||o?p.top=Math.max(0,d-s.offsetHeight-l):p.top=d}else{var h=e.left-i.scrollLeft,v=e.top-i.scrollTop;h+s.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=h,r&&c.top-i.scrollTop+s.offsetHeight>f&&s.offsetHeight<a.top-l-i.scrollTop?p.top=v-s.offsetHeight-l:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),E(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),E(c(n),"handleCompositionStart",(function(){Ie=!0})),E(c(n),"handleCompositionEnd",(function(){Ie=!1})),E(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var u=n.inputElement;if(u.setSelectionRange)u.setSelectionRange(e,t);else if(u.createTextRange){var r=u.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),E(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var u=n.props.value||"",r=n.props.children,o=he(r),s=ce(u,o,t,"NULL");if(null!==s){var i=function(e,t){var n=pe(e,t),u=n[n.length-1];return u?u.plainTextIndex+u.display.length:0}(u.substring(0,s),o),a=e.substring(i,t);v().Children.forEach(r,(function(t,u){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,u=te(e);return new RegExp("(?:^|\\s)(".concat(u,"([^").concat(n?"":"\\s").concat(u,"]*))$"))}(t.props.trigger,n.props),o=a.match(r);if(o){var s=i+a.indexOf(o[1],o.index);n.queryData(o[2],u,s,s+o[1].length,e)}}}))}})),E(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),E(c(n),"queryData",(function(e,t,u,r,o){var s=n.props,i=s.children,a=s.ignoreAccents,l=function(e,t){return e instanceof Array?function(n,u){for(var r=[],o=0,s=e.length;o<s;++o){var i=e[o].display||e[o].id;be(i,n,t)>=0&&r.push(e[o])}return r}:e}(h.Children.toArray(i)[t].props.data,a),c=l(e,n.updateSuggestions.bind(null,n._queryId,t,e,u,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,u,r,o,c)})),E(c(n),"updateSuggestions",(function(e,t,u,r,o,s,i){if(e===n._queryId){n.suggestions=ke({},n.suggestions,E({},t,{queryInfo:{childIndex:t,query:u,querySequenceStart:r,querySequenceEnd:o,plainTextValue:s},results:i}));var a=n.state.focusIndex,l=de(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:a>=l?Math.max(l-1,0):a})}})),E(c(n),"addMention",(function(e,t){var u=e.id,r=e.display,o=t.childIndex,s=t.querySequenceStart,i=t.querySequenceEnd,a=t.plainTextValue,l=n.props.value||"",c=he(n.props.children),f=h.Children.toArray(n.props.children)[o].props,p=f.markup,g=f.displayTransform,d=f.appendSpaceOnAdd,E=f.onAdd,v=ce(l,c,s,"START"),m=v+i-s,y=function(e,t,n){return e.replace(ne,t).replace(ue,n)}(p,u,r);d&&(y+=" ");var b=fe(l,v,m,y);n.inputElement.focus();var A=g(u,r);d&&(A+=" ");var C=s+A.length;n.setState({selectionStart:C,selectionEnd:C,setSelectionAfterMentionChange:!0});var F={target:{value:b}},D=pe(b,c),S=fe(a,s,i,A);n.executeOnChange(F,b,S,D),E&&E(u,r,v,m),n.clearSuggestions()})),E(c(n),"isLoading",(function(){var e=!1;return v().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),E(c(n),"isOpened",(function(){return Ae(n.state.selectionStart)&&(0!==de(n.state.suggestions)||n.isLoading())})),E(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return d(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",r({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.value,s=r.children,i=he(s),a=ce(o,i,n,"START"),l=ce(o,i,u,"END"),c=e.clipboardData.getData("text/react-mentions"),f=e.clipboardData.getData("text/plain"),p=fe(o,a,l,c||f).replace(/\r/g,""),g=le(p,i),d={target:ke({},e.target,{value:p})};this.executeOnChange(d,p,g,pe(p,i))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,u)),e.clipboardData.setData("text/react-mentions",s.slice(a,l))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END"),c=[s.slice(0,a),s.slice(l)].join(""),f=le(c,i),p={target:ke({},e.target,{value:f})};this.executeOnChange(p,c,f,pe(s,i))}}}]),t}(v().Component);E(_e,"propTypes",Re),E(_e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Ne=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},ze=De({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:ke({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(_e),Ze={fontWeight:"inherit"},He=function(e){var t=e.display,n=e.style,u=e.className,r=e.classNames,o=Q(Ze,{style:n,className:u,classNames:r});return v().createElement("strong",o,t)};He.propTypes={onAdd:J().func,onRemove:J().func,renderSuggestion:J().func,trigger:J().oneOfType([J().string,J().instanceOf(RegExp)]),markup:J().string,displayTransform:J().func,allowSpaceInQuery:J().bool,isLoading:J().bool},He.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}}}]);
2
+ //# sourceMappingURL=7776.js.map