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IAAKA,EAAIvU,EAAgB,IAARuU,KAEf,IAAKH,EAAMC,EADXtH,EAAMgH,EAAKQ,IACQD,EAAEvH,IAAO,OAAO,EAGrC,OAAO,CACT,CAEA,OAAOsH,IAAIA,GAAKC,IAAIA,CACtB,C","sources":["../node_modules/@civicplus/preamble-ui/lib/ErrorHandlingFormHelperText/ErrorHandlingFormHelperText.js","../node_modules/@civicplus/preamble-ui/lib/FormControl/FormControl.js","../node_modules/@civicplus/preamble-ui/lib/Validations/Validations.js","../node_modules/@civicplus/preamble-ui/lib/Validations/enhanceWithValidation.js","../node_modules/@material-ui/core/esm/FormControl/FormControl.js","../node_modules/@material-ui/core/esm/FormControl/FormControlContext.js","../node_modules/@material-ui/core/esm/FormControl/formControlState.js","../node_modules/@material-ui/core/esm/FormControl/useFormControl.js","../node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js","../node_modules/@material-ui/core/esm/FormLabel/FormLabel.js","../node_modules/@material-ui/core/esm/InputBase/utils.js","../node_modules/@material-ui/icons/Error.js","../node_modules/fast-deep-equal/index.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport FormHelperText from \"@material-ui/core/FormHelperText\";\nimport classNames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Component } from \"react\";\nexport class ErrorHandlingFormHelperText extends Component {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"render\", () => {\n const {\n muiFormControl\n } = this.context;\n const {\n id,\n helperText,\n errorMessage,\n className\n } = this.props;\n let {\n error,\n disabled\n } = this.props;\n if (muiFormControl) {\n if (muiFormControl.error !== undefined) {\n error = muiFormControl.error;\n }\n if (muiFormControl.disabled !== undefined) {\n disabled = muiFormControl.disabled;\n }\n }\n return helperText || error && errorMessage ? /*#__PURE__*/React.createElement(FormHelperText, {\n id: `${id}-helper-text`,\n error: error,\n disabled: disabled,\n className: classNames(\"prmbl-errorHandlingFormHelperText\", className)\n }, error ? errorMessage : helperText) : \"\";\n });\n }\n}\n_defineProperty(ErrorHandlingFormHelperText, \"propTypes\", {\n /**\n * Classes to apply to the root\n */\n className: PropTypes.string,\n /**\n * If `true` the label, input, and helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true` the label will be displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * The contents of the helper text when `error` is true\n */\n errorMessage: PropTypes.node,\n /**\n * The contents of the helper text when `error` is false\n */\n helperText: PropTypes.node,\n /**\n * The html id\n */\n id: PropTypes.string\n});\n_defineProperty(ErrorHandlingFormHelperText, \"contextTypes\", {\n muiFormControl: PropTypes.object\n});\nexport default ErrorHandlingFormHelperText;","import _extends from \"@babel/runtime/helpers/extends\";\nimport React from \"react\";\nimport MuiFormControl from \"@material-ui/core/FormControl\";\nimport classNames from \"classnames\";\nexport const FormControl = props => {\n const {\n id,\n className,\n disabled,\n children,\n ...otherProps\n } = props;\n return /*#__PURE__*/React.createElement(MuiFormControl, _extends({\n id: id ? `${id}-form-control` : undefined,\n className: classNames(\"prmbl-formControl\", className),\n disabled: disabled,\n \"aria-disabled\": disabled,\n margin: \"normal\"\n }, otherProps), children);\n};\nexport default FormControl;","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// This is done so that documentation can be generated\nconst validationPropTypes = {\n /**\n * The aspect ratio of an image\n */\n aspectRatio: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number\n }),\n /**\n * Override default error messages, this supports all the validations found in the enumeration.\n *\n * `import { validationNames } from \"../Validations\"`\n */\n errorMessages: PropTypes.object,\n /**\n * The maximum height for an image\n */\n maxHeight: PropTypes.number,\n /**\n * The minimum height for an image\n */\n minHeight: PropTypes.number,\n /**\n * The maximum value for the input required\n */\n maxLength: PropTypes.number,\n /**\n * The minimum value for the input required\n */\n minLength: PropTypes.number,\n /**\n * The maximum value allows for the input\n */\n maxValue: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),\n /**\n * The minimum value allowed for the input\n */\n minValue: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),\n /**\n * The maximum width of an image\n */\n maxWidth: PropTypes.number,\n /**\n * The minimum width of an image\n */\n minWidth: PropTypes.number,\n /**\n * The regular expression used to validated the value of the input. We expect the regular expression to be escaped. Please see examples below.\n *\n * - Not Escaped: `^\\d{5}([\\-]\\d{4})?$`\n *\n * - Escaped: `^\\\\d{5}([\\\\-]\\\\d{4})?$`\n */\n regExpPattern: PropTypes.oneOfType([PropTypes.instanceOf(RegExp), PropTypes.string]),\n /**\n * If `true` the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n /**\n * Validations to apply to the field.\n *\n * `async (value, props, component) => { return { error: ..., message: ..., validationName: ... } }`\n */\n validations: PropTypes.arrayOf(PropTypes.func),\n /**\n * The value of the component.\n */\n value: PropTypes.any\n};\n\n// This is done so that documentation can be generated\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nclass Validations extends React.Component {}\n_defineProperty(Validations, \"propTypes\", validationPropTypes);\nexport default validationPropTypes;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport deepEquals from \"fast-deep-equal\";\nimport React from \"react\";\nimport { recurrenceTypes } from \"../DateTimeRange/recurrenceTypes\";\nimport { formatDate } from \"../Utilities/DateHelper\";\nimport { hasSpecialCharacters, isNullOrWhiteSpace, isValidEmail } from \"../Utilities/StringHelper\";\nimport validationPropTypes from \"./Validations\";\nimport { getImage } from \"../Utilities/FileHelper\";\nconst prefix = {\n from: \"from\",\n to: \"to\"\n};\nconst shouldValidateImagePixelDimensions = file => {\n let shouldValidate = false;\n if (file.isImage && file.fileExtension !== \"svg\") {\n shouldValidate = true;\n }\n return shouldValidate;\n};\nexport const validationNames = {\n required: \"required\",\n requiredArray: \"requiredArray\",\n regExpPattern: \"regExpPattern\",\n minLength: \"minLength\",\n maxLength: \"maxLength\",\n minValue: \"minValue\",\n maxValue: \"maxValue\",\n validDateFormat: \"validDateFormat\",\n minValueDateValidation: \"minValueDateValidation\",\n maxValueDateValidation: \"maxValueDateValidation\",\n rangeRequired: \"RangeRequired\",\n fromRangeRequired: `${prefix.from}RangeRequired`,\n toRangeRequired: `${prefix.to}RangeRequired`,\n numberRangeMinValue: \"numberRangeMinValue\",\n fromNumberRangeMinValue: `${prefix.from}NumberRangeMinValue`,\n toNumberRangeMinValue: `${prefix.to}NumberRangeMinValue`,\n numberRangeMaxValue: \"numberRangeMaxValue\",\n fromNumberRangeMaxValue: `${prefix.from}NumberRangeMaxValue`,\n toNumberRangeMaxValue: `${prefix.to}NumberRangeMaxValue`,\n numberRangeBoundary: \"numberRangeBoundary\",\n datesValidRangeValidation: \"datesValidRangeValidation\",\n fromValidDateRangeValidation: `${prefix.from}validDateRangeValidation`,\n toValidDateRangeValidation: `${prefix.to}validDateRangeValidation`,\n dateRangeBoundary: \"dateRangeBoundary\",\n dateRangeMinValueValidation: \"dateRangeMinValueValidation\",\n fromDateRangeMinValueValidation: `${prefix.from}DateRangeMinValueValidation`,\n toDateRangeMinValueValidation: `${prefix.to}DateRangeMinValueValidation`,\n dateRangeMaxValueValidation: \"dateRangeMaxValueValidation\",\n fromDateRangeMaxValueValidation: `${prefix.from}DateRangeMaxValueValidation`,\n toDateRangeMaxValueValidation: `${prefix.to}DateRangeMaxValueValidation`,\n imageMaxHeightValidation: \"imageMaxHeightValidation\",\n imageMinHeightValidation: \"imageMinHeightValidation\",\n imageMaxWidthValidation: \"imageMaxWidthValidation\",\n imageMinWidthValidation: \"imageMinWidthValidation\",\n maxSizeValidation: \"maxSizeValidation\",\n minSizeValidation: \"minSizeValidation\",\n imageAspectRatioValidation: \"imageAspectRatioValidation\",\n mustBeImageValidation: \"mustBeImageValidation\",\n rejectedFilesValidation: \"rejectedFilesValidation\",\n referenceMaxItems: \"referenceMaxItems\",\n referenceMinItems: \"referenceMinItems\",\n allowedExtensionsValidation: \"allowedExtensionsValidation\",\n childComponentValidation: \"childComponentValidation\",\n wrappedFieldRendererValidation: \"wrappedFieldRendererValidation\",\n emailValidation: \"emailValidation\",\n specialCharactersValidation: \"specialCharactersValidation\",\n isRegExpValidation: \"isRegExpValidation\",\n recurrenceValidation: \"recurrenceValidation\"\n};\nexport const errorMessage = (validation, errorMessages, defaultMessage) => {\n const customMessage = errorMessages ? errorMessages[validation] : undefined;\n return customMessage || defaultMessage;\n};\nexport const requiredValidation = (value, props, component) => {\n const requiredValue = typeof value === \"undefined\" || value === null || value === \"\" || (Array.isArray(value) ? value?.length === 0 : false);\n const result = {\n error: requiredValue,\n message: errorMessage(validationNames.required, props.errorMessages, \"This field cannot be blank.\"),\n validationName: validationNames.required\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const requiredArrayValidation = (value, props, component) => {\n const result = {\n error: value === undefined || value === null || value.length === 0,\n message: errorMessage(validationNames.requiredArray, props.errorMessages, \"This field cannot be blank.\"),\n validationName: validationNames.requiredArray\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const isRegExpValidation = (value, props, component) => {\n let isRegex = true;\n try {\n new RegExp(value);\n } catch {\n isRegex = false;\n }\n const result = {\n error: !isRegex,\n message: errorMessage(validationNames.isRegExpValidation, props.errorMessages, \"This field must be a valid regular expression.\"),\n validationName: validationNames.isRegExpValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const regExpValidation = (value, props, component) => {\n const {\n regExpPattern\n } = props;\n if (regExpPattern === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.regExpPattern\n });\n }\n const result = {\n error: value && !isNullOrWhiteSpace(regExpPattern) ? !RegExp(regExpPattern).test(value) : false,\n message: errorMessage(validationNames.regExpPattern, props.errorMessages, \"This field did not match the regular expression provided.\"),\n validationName: validationNames.regExpPattern\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const minLengthValidation = (value, props, component) => {\n const {\n minLength\n } = props;\n const minLengthValue = props[\"data-minLength\"] ? parseFloat(props[\"data-minLength\"]) : minLength;\n const result = {\n error: minLengthValue !== undefined && (minLengthValue > value?.length ?? 0),\n message: errorMessage(validationNames.minLength, props.errorMessages, `${value?.length} does not meet the minimum length of ${minLengthValue}.`),\n validationName: validationNames.minLength\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const maxLengthValidation = (value, props, component) => {\n const {\n maxLength\n } = props;\n const maxLengthValue = props[\"data-maxLength\"] ? parseFloat(props[\"data-maxLength\"]) : maxLength;\n const result = {\n error: maxLengthValue !== undefined && (maxLengthValue < value?.length ?? 0),\n message: errorMessage(validationNames.maxLength, props.errorMessages, `${value?.length} does not meet the maximum length of ${maxLengthValue}.`),\n validationName: validationNames.maxLength\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const minValueValidation = (value, props, component) => {\n const {\n minValue\n } = props;\n if (minValue === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.minValue\n });\n }\n const result = {\n error: value ? minValue > value : false,\n message: errorMessage(validationNames.minValue, props.errorMessages, `A minimum value of ${minValue} is required.`),\n validationName: validationNames.minValue\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const maxValueValidation = (value, props, component) => {\n const {\n maxValue\n } = props;\n if (maxValue === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.validDateFormat\n });\n }\n const result = {\n error: value ? maxValue < value : false,\n message: errorMessage(validationNames.maxValue, props.errorMessages, `The maximum value allowed is ${maxValue}.`),\n validationName: validationNames.maxValue\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const validDateValidation = (value, props, component) => {\n if (value) {\n const parsedDate = Date.parse(value);\n const timeUnit = props && props.pickerType === \"time\" ? \"time\" : \"date\";\n const result = {\n error: isNaN(parsedDate),\n message: errorMessage(validationNames.validDateFormat, props.errorMessages, `Please enter a valid ${timeUnit}.`),\n validationName: validationNames.validDateFormat\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n }\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.validDateFormat\n });\n};\nexport const minValueDateValidation = (value, props, component) => {\n const {\n minValue,\n format\n } = props;\n if (minValue === undefined || format === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.minValueDateValidation\n });\n }\n const parsedDate = Date.parse(value);\n const parsedMinValue = Date.parse(minValue);\n const result = {\n error: Boolean(parsedMinValue) && parsedDate < parsedMinValue,\n message: errorMessage(validationNames.minValueDateValidation, props.errorMessages, `Date must be after, ${formatDate(minValue, format)}`),\n validationName: validationNames.minValueDateValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const maxValueDateValidation = (value, props, component) => {\n const {\n maxValue,\n format\n } = props;\n if (maxValue === undefined || format === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.maxValueDateValidation\n });\n }\n const parsedDate = Date.parse(value);\n const parsedMaxValue = Date.parse(maxValue ?? \"0\");\n const result = {\n error: Boolean(parsedMaxValue) && parsedDate > parsedMaxValue,\n message: errorMessage(validationNames.maxValueDateValidation, props.errorMessages, `Date must be before, ${formatDate(maxValue, format)}`),\n validationName: validationNames.maxValueDateValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const numberRangeMinValue = async (value, props, component) => {\n const {\n from,\n to\n } = getValue(props, component);\n const {\n errorMessages,\n fromProps,\n toProps\n } = props;\n const fromResult = await minValueValidation(from, props, component).catch(result => result);\n const toResult = await minValueValidation(to, props, component).catch(result => result);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.numberRangeMinValue, errorMessages, \"This field are less than the minimum value allowed.\"),\n messageTo: errorMessage(validationNames.numberRangeMinValue, errorMessages, \"This field are less than the minimum value allowed.\"),\n validationName: validationNames.numberRangeMinValue\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromNumberRangeMinValue, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} is less than the minimum value of ${props.minValue}.`),\n validationName: validationNames.fromNumberRangeMinValue\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toNumberRangeMinValue, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} is less than the minimum value of ${props.minValue}.`),\n validationName: validationNames.toNumberRangeMinValue\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.numberRangeMinValue\n });\n }\n};\nexport const numberRangeMaxValue = async (value, props, component) => {\n const {\n from,\n to\n } = getValue(props, component);\n const {\n errorMessages,\n fromProps,\n toProps\n } = props;\n const fromResult = await maxValueValidation(from, props, component).catch(result => result);\n const toResult = await maxValueValidation(to, props, component).catch(result => result);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.numberRangeMaxValue, errorMessages, \"This field are greater than the maximum value allowed.\"),\n messageTo: errorMessage(validationNames.numberRangeMaxValue, errorMessages, \"This field are greater than the maximum value allowed.\"),\n validationName: validationNames.numberRangeMaxValue\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromNumberRangeMaxValue, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} is greater than the maximum value of ${props.maxValue}.`),\n validationName: validationNames.fromNumberRangeMaxValue\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toNumberRangeMaxValue, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} is greater than the maximum value of ${props.maxValue}.`),\n validationName: validationNames.toNumberRangeMaxValue\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.numberRangeMaxValue\n });\n }\n};\nexport const rangeRequiredValidation = async (value, props, component) => {\n const {\n from,\n to\n } = value;\n const {\n errorMessages,\n fromProps,\n toProps,\n required\n } = props;\n if (!required && !from && !to) return Promise.resolve({\n error: false,\n messagesFrom: \"\",\n messagesTo: \"\",\n validationName: validationNames.rangeRequired\n });\n const fromResult = await requiredValidation(from, props, component).catch(result => result);\n const toResult = await requiredValidation(to, props, component).catch(result => result);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.rangeRequired, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} cannot be blank.`),\n messageTo: errorMessage(validationNames.rangeRequired, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} cannot be blank.`),\n validationName: validationNames.rangeRequired\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromRangeRequired, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} cannot be blank.`),\n validationName: validationNames.fromRangeRequired\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toRangeRequired, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} cannot be blank.`),\n validationName: validationNames.toRangeRequired\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.rangeRequired\n });\n }\n};\nexport const numberRangeBoundaryValidation = async (value, props, component) => {\n const {\n from,\n to\n } = getValue(props, component);\n const {\n errorMessages,\n fromProps,\n toProps\n } = props;\n if (from && to && Number(from) > Number(to)) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.numberRangeBoundary, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} cannot be greater than ${toProps && toProps.label ? toProps.label : \"To field\"}.`),\n validationName: validationNames.numberRangeBoundary\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.numberRangeBoundary\n });\n }\n};\n\n/**\n * @deprecated numberRangeBoundryValidation has been deprecated as it was misspelled. Please use numberRangeBoundaryValidation instead.\n */\nexport const numberRangeBoundryValidation = async (value, props, component) => {\n // eslint-disable-next-line no-console\n console.warn(\"numberRangeBoundryValidation has been deprecated as it was misspelled. Please use numberRangeBoundaryValidation instead.\");\n return numberRangeBoundaryValidation(value, props, component);\n};\nexport const dateRangeMinValueValidation = async (value, props, component) => {\n const {\n from,\n to\n } = value;\n const {\n errorMessages,\n fromProps,\n toProps,\n minValue,\n format\n } = component.props;\n const fromResult = await minValueDateValidation(from, props, component).catch(result => result);\n const toResult = await minValueDateValidation(to, props, component).catch(result => result);\n const formattedMinValue = formatDate(minValue, format);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.dateRangeMinValueValidation, errorMessages, `Fields cannot be before ${formattedMinValue}`),\n messageTo: errorMessage(validationNames.dateRangeMinValueValidation, errorMessages, `Fields cannot be before ${formattedMinValue}`),\n validationName: validationNames.dateRangeMinValueValidation\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromDateRangeMinValueValidation, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} cannot be before ${formattedMinValue}.`),\n validationName: validationNames.fromDateRangeMinValueValidation\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toDateRangeMinValueValidation, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} cannot be before ${formattedMinValue}.`),\n validationName: validationNames.fromDateRangeMinValueValidation\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.dateRangeMinValueValidation\n });\n }\n};\nexport const dateRangeMaxValueValidation = async (value, props, component) => {\n const {\n from,\n to\n } = value;\n const {\n errorMessages,\n fromProps,\n toProps,\n maxValue,\n format\n } = component.props;\n const fromResult = await maxValueDateValidation(from, props, component).catch(result => result);\n const toResult = await maxValueDateValidation(to, props, component).catch(result => result);\n const formattedMaxDate = formatDate(maxValue, format);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.dateRangeMaxValueValidation, errorMessages, `Fields cannot be after ${formattedMaxDate}`),\n messageTo: errorMessage(validationNames.dateRangeMaxValueValidation, errorMessages, `Fields cannot be after ${formattedMaxDate}`),\n validationName: validationNames.dateRangeMaxValueValidation\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromDateRangeMaxValueValidation, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} cannot be after ${formattedMaxDate}.`),\n validationName: validationNames.fromDateRangeMaxValueValidation\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toDateRangeMaxValueValidation, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} cannot be after ${formattedMaxDate}.`),\n validationName: validationNames.toDateRangeMaxValueValidation\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.dateRangeMaxValueValidation\n });\n }\n};\nexport const dateRangeValidDateValidation = async (value, props, component) => {\n const {\n from,\n to\n } = value;\n const {\n errorMessages,\n fromProps,\n toProps\n } = props;\n const fromResult = await validDateValidation(from, props, component).catch(result => result);\n const toResult = await validDateValidation(to, props, component).catch(result => result);\n if (fromResult.error && toResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.datesValidRangeValidation, errorMessages, \"This field requires a valid date format.\"),\n messageTo: errorMessage(validationNames.datesValidRangeValidation, errorMessages, \"This field requires a valid date format.\"),\n validationName: validationNames.datesValidRangeValidation\n });\n } else if (fromResult.error) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.fromValidDateRangeValidation, errorMessages, `${fromProps && fromProps.label ? fromProps.label : \"From field\"} requires a valid date format.`),\n validationName: validationNames.fromValidDateRangeValidation\n });\n } else if (toResult.error) {\n return Promise.reject({\n error: true,\n messageTo: errorMessage(validationNames.toValidDateRangeValidation, errorMessages, `${toProps && toProps.label ? toProps.label : \"To field\"} requires a valid date format.`),\n validationName: validationNames.toValidDateRangeValidation\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.datesValidRangeValidation\n });\n }\n};\nexport const dateRangeBoundaryValidation = async (value, props, component) => {\n const {\n from,\n to\n } = value;\n const {\n errorMessages,\n fromProps,\n toProps\n } = props;\n const fromResult = Date.parse(from);\n const toResult = Date.parse(to);\n if (fromResult > toResult) {\n return Promise.reject({\n error: true,\n messageFrom: errorMessage(validationNames.dateRangeBoundary, errorMessages, `The ${fromProps && fromProps.label ? fromProps.label : \"From field\"} must be before the ${toProps && toProps.label ? toProps.label : \"To field\"}.`),\n validationName: validationNames.dateRangeBoundary\n });\n } else {\n return Promise.resolve({\n error: false,\n messageFrom: \"\",\n messageTo: \"\",\n validationName: validationNames.dateRangeBoundary\n });\n }\n};\n\n/**\n * @deprecated dateRangeBoundryValidation has been deprecated as it was misspelled. Please use dateRangeBoundaryValidation instead.\n */\nexport const dateRangeBoundryValidation = async (value, props, component) => {\n // eslint-disable-next-line no-console\n console.warn(\"dateRangeBoundryValidation has been deprecated as it was misspelled. Please use dateRangeBoundaryValidation instead.\");\n return dateRangeBoundaryValidation(value, props);\n};\nexport const imageMinWidthValidation = async (value, props, component) => {\n const minWidth = props.minWidth;\n const badFiles = [];\n if (minWidth) {\n for (const file of value) {\n if (shouldValidateImagePixelDimensions(file)) {\n if (file.pixelWidth) {\n if (file.pixelWidth < minWidth) badFiles.push(`\"${file.name}\"`);\n } else {\n const dim = await getImage(file);\n if (dim.width < minWidth) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n }\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.imageMinWidthValidation, props.errorMessages, `Width of ${badFiles.join(\", \")} must be at least ${minWidth}px.`),\n validationName: validationNames.imageMinWidthValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const imageMaxWidthValidation = async (value, props, component) => {\n const maxWidth = props.maxWidth;\n const badFiles = [];\n if (maxWidth) {\n for (const file of value) {\n if (shouldValidateImagePixelDimensions(file)) {\n if (file.pixelWidth) {\n if (file.pixelWidth > maxWidth) badFiles.push(`\"${file.name}\"`);\n } else {\n const dim = await getImage(file);\n if (dim.width > maxWidth) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n }\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.imageMaxWidthValidation, props.errorMessages, `Width of ${badFiles.join(\", \")} must be no more than ${maxWidth}px.`),\n validationName: validationNames.imageMaxWidthValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const imageMinHeightValidation = async (value, props, component) => {\n const minHeight = props.minHeight;\n const badFiles = [];\n if (minHeight) {\n for (const file of value) {\n if (shouldValidateImagePixelDimensions(file)) {\n if (file.pixelHeight) {\n if (file.pixelHeight < minHeight) badFiles.push(`\"${file.name}\"`);\n } else {\n const dim = await getImage(file);\n if (dim.height < minHeight) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n }\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.imageMinHeightValidation, props.errorMessages, `Height of ${badFiles.toString().replace(/,/g, \", \")} must be at least ${minHeight}px.`),\n validationName: validationNames.imageMinHeightValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const imageMaxHeightValidation = async (value, props, component) => {\n const maxHeight = props.maxHeight;\n const badFiles = [];\n if (maxHeight) {\n for (const file of value) {\n if (shouldValidateImagePixelDimensions(file)) {\n if (file.pixelHeight) {\n if (file.pixelHeight > maxHeight) badFiles.push(`\"${file.name}\"`);\n } else {\n const dim = await getImage(file);\n if (dim.height > maxHeight) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n }\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.imageMaxHeightValidation, props.errorMessages, `Height of ${badFiles.toString().replace(/,/g, \", \")} must be no more than ${maxHeight}px.`),\n validationName: validationNames.imageMaxHeightValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const imageAspectRatioValidation = async (value, props, component) => {\n const aspectRatio = props.aspectRatio;\n const badFiles = [];\n const gcd = (a, b) => {\n if (!b) {\n return a;\n }\n return gcd(b, a % b);\n };\n for (const file of value) {\n if (shouldValidateImagePixelDimensions(file)) {\n if (file.pixelHeight && file.pixelWidth) {\n const div = gcd(file.pixelWidth, file.pixelHeight);\n const ratioWidth = file.pixelWidth / div;\n const ratioHeight = file.pixelHeight / div;\n if (aspectRatio?.width !== ratioWidth || aspectRatio.height !== ratioHeight) {\n badFiles.push(`\"${file.name}\"`);\n }\n } else {\n const dim = await getImage(file);\n const div = gcd(dim.width, dim.height);\n const ratioWidth = dim.width / div;\n const ratioHeight = dim.height / div;\n if (aspectRatio?.width !== ratioWidth || aspectRatio.height !== ratioHeight) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.imageAspectRatioValidation, props.errorMessages, `Aspect ratio of ${badFiles.toString().replace(/,/g, \", \")} is not a ${aspectRatio?.width}:${aspectRatio?.height} image.`),\n validationName: validationNames.imageMaxHeightValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const mustBeImageValidation = async (value, props, component) => {\n const mustBeImage = props.mustBeImage;\n const badFiles = [];\n if (mustBeImage) {\n for (const file of value) {\n if (!file.isImage) badFiles.push(`\"${file.name}\"`);\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.mustBeImageValidation, props.errorMessages, `${badFiles.join(\", \")} ${badFiles.length > 1 ? \"must be images.\" : \"must be an image.\"}`),\n validationName: validationNames.mustBeImageValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const minSizeValidation = async (value, props, component) => {\n const minSize = props.minSize;\n const badFiles = [];\n if (minSize === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.minSizeValidation\n });\n }\n for (const file of value) {\n if (minSize && file.fileSize && file.fileSize < minSize) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.minSizeValidation, props.errorMessages, `${badFiles.join(\", \")} ${badFiles.length > 1 ? \"are\" : \"is\"} less than the minimum size of ${Math.round(minSize * 100.0 / 1000) / 100}KB.`),\n validationName: validationNames.minSizeValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const maxSizeValidation = async (value, props, component) => {\n const maxSize = props.maxSize;\n const badFiles = [];\n if (maxSize === undefined) {\n return Promise.resolve({\n error: false,\n message: undefined,\n validationName: validationNames.maxSizeValidation\n });\n }\n for (const file of value) {\n if (maxSize && file.fileSize && file.fileSize > maxSize) {\n badFiles.push(`\"${file.name}\"`);\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: errorMessage(validationNames.maxSizeValidation, props.errorMessages, `${badFiles.join(\", \")} ${badFiles.length > 1 ? \"are\" : \"is\"} greater than the maximum size of ${Math.round(maxSize * 100.0 / 1000) / 100}KB.`),\n validationName: validationNames.maxSizeValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const rejectedFilesValidation = async (value, props, component) => {\n const defaultMessages = [];\n if (Array.isArray(props.filesRejected)) {\n for (const index in props.filesRejected) {\n const file = props.filesRejected[index].file;\n if (props.maxSize && file.size > props.maxSize) {\n defaultMessages.push(`${file.name} is greater than the maximum size of ${Math.round(props.maxSize / 1000)}KB`);\n }\n if (props.minSize && file.size < props.minSize) {\n defaultMessages.push(`${file.name} is less than the minimum size of ${Math.round(props.minSize / 1000)}KB`);\n }\n if (props.fileTypes && !props.fileTypes.includes(file.type)) {\n const friendlyFileTypes = Array.isArray(props.fileTypes) ? props.fileTypes.join(\", \") : props.fileTypes;\n defaultMessages.push(`${file.name} does not match the expected file extensions of ${friendlyFileTypes}`);\n }\n if (props.mustBeImage && !file.type.includes(\"image\")) {\n defaultMessages.push(`${file.name} is not an image file.`);\n }\n }\n }\n const result = {\n error: Array.isArray(props.filesRejected) && props.filesRejected.length > 0,\n message: errorMessage(validationNames.rejectedFilesValidation, props.errorMessages, defaultMessages.join(\" | \")),\n validationName: validationNames.imageMaxHeightValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const referenceMaxItems = async (value, props, component) => {\n const result = {\n error: value && value.length > component.props.maxItems,\n message: `Records exceeded maximum allowed of (${component.props.maxItems})`,\n validationName: validationNames.referenceMaxItems\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const referenceMinItems = async (value, props, component) => {\n const result = {\n error: value && value.length < component.props.minItems,\n message: `Records are less than the minimum requirement of (${component.props.minItems}).`,\n validationName: validationNames.referenceMinItems\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const allowedExtensionsValidation = async (value, props, component) => {\n const fileTypes = props.fileTypes;\n const badFiles = [];\n if (fileTypes) {\n for (const file of value) {\n if (file.fileExtension && !fileTypes.includes(file.fileExtension)) badFiles.push(`\"${file.name}\"`);\n }\n }\n const result = {\n error: badFiles.length > 0,\n message: `Only the following files types are allowed: ${fileTypes}`,\n validationName: validationNames.allowedExtensionsValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const geoLocationRequireValidation = (value, props, component) => {\n const message = [];\n let hasError = false;\n if (props.fields?.showAddress1 && !value.address1) {\n message.push(\"Street Address\");\n }\n if (props.fields?.showCity && !value.city) {\n message.push(\"City\");\n }\n if (props.fields?.showState && !value.state) {\n message.push(\"State\");\n }\n if (props.fields?.showZipCode && !value.zip) {\n message.push(\"ZIP code\");\n }\n let formattedErrorMessage = message.join(\", \");\n if (message.length > 1) {\n const replacement = \" and\";\n formattedErrorMessage = formattedErrorMessage.replace(/,([^,]*)$/, replacement + \"$1\");\n }\n hasError = !value || message.length > 0;\n const result = {\n error: hasError,\n message: hasError ? errorMessage(validationNames.required, props.errorMessages, `${formattedErrorMessage} is required.`) : \"\",\n validationName: validationNames.required\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const childComponentValidation = async (value, props, component) => {\n /**\n * Component utilizing this validator needs to have an array of referenced components\n * that are of type `enhanceWithValidation`. This will give us the ability to iterate\n * through those components and call the `enhanceWithValidation.validate()` function.\n *\n * If there is an error in any of the child components, we will then return the array,\n * otherwise we return false.\n */\n let componentResult;\n const results = [];\n let hasError = false;\n if (component.childComponents && component.childComponents.length > 0) {\n for (const childComponent of component.childComponents) {\n if (childComponent.current && childComponent.current.validate) {\n componentResult = await childComponent.current.validate();\n hasError = hasError || componentResult.error;\n results.push(componentResult);\n }\n }\n }\n const result = {\n error: hasError ? results : false,\n message: \"\",\n validationName: validationNames.childComponentValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst getValue = (value, component) => {\n return value?.value ?? value ?? component.props.value;\n};\nexport const recurrenceValidation = (value, props, component) => {\n let error = !props.allowRecurring && !value;\n let message = \"These fields cannot be blank.\";\n const recurrence = getValue(value, component)?.recurrence;\n // If recurrence is being used, check its fields\n if (recurrence && recurrence.type !== recurrenceTypes.NONE) {\n // falsy check for occurrences is ok because its a string value\n if (!recurrence.until && !recurrence.occurrences) {\n error = true;\n }\n if (!error && !recurrence.until && recurrence.occurrences && recurrence.occurrences < 1) {\n error = true;\n message = \"The number of occurrences must be greater than 0.\";\n }\n // The interval must be above 1, anything below that doesn't make sense.\n if (!recurrence.interval) {\n error = true;\n }\n if (!error && recurrence.interval < 1) {\n error = true;\n message = \"The interval must be greater than 0.\";\n }\n\n // WEEKLY\n if (recurrence.type === recurrenceTypes.WEEKLY) {\n // Weekdays must be selected.\n if (!recurrence.weekdays || recurrence.weekdays.length === 0) {\n error = true;\n message = \"Weekdays must be selected.\";\n }\n }\n\n //MONTHLY\n if (recurrence.type === recurrenceTypes.MONTHLY) {\n // if offset is empty, this means the toggle is set to repeatOn so there should be a dayOfMonth.\n if (!recurrence.dayOfMonth && !recurrence.offset || recurrence.dayOfMonth && recurrence.dayOfMonth < 1 || recurrence.dayOfMonth > 31) {\n error = true;\n message = '\"Each\" field must be a valid day of the month.';\n }\n }\n }\n const result = {\n error: error,\n message: errorMessage(validationNames.required, props.errorMessages, message),\n validationName: validationNames.recurrenceValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const linkFieldValidation = (value, props, component) => {\n const result = {\n error: Boolean(props.required) && !value.url,\n message: errorMessage(validationNames.required, props.errorMessages, \"This field cannot be blank.\"),\n validationName: validationNames.required\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const wrappedFieldRendererValidation = async (value, props, component) => {\n const isValid = await component.handleValidation();\n const result = {\n error: !isValid,\n message: \"\",\n validationName: validationNames.wrappedFieldRendererValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const specialCharactersValidation = (value, props, component) => {\n const result = {\n error: hasSpecialCharacters(value),\n message: errorMessage(validationNames.required, props.errorMessages, \"This field cannot include special characters.\"),\n validationName: validationNames.specialCharactersValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\nexport const emailValidation = (value, props, component) => {\n const result = {\n error: !isValidEmail(value),\n message: errorMessage(validationNames.required, props.errorMessages, \"This field must be a valid Email Address.\"),\n validationName: validationNames.emailValidation\n };\n return result.error ? Promise.reject(result) : Promise.resolve(result);\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function enhanceWithValidation(WrappedComponent) {\n var _class;\n return _class = class ValidationComponent extends React.Component {\n constructor(props) {\n super(props);\n _defineProperty(this, \"wrappedComponentRef\", void 0);\n _defineProperty(this, \"onBlur\", e => {\n if (this.props.onlyValidateOnBlur && !this.props.doNotValidate) {\n this.validate();\n }\n this.props.onBlur && this.props.onBlur(e);\n });\n _defineProperty(this, \"validate\", async value => {\n // doNotValidate prop does not go here, but in the functions consuming it.\n // This way, the validate function can be called directly within the component, and still work.\n const {\n validations,\n ...others\n } = this.props;\n value = typeof value === \"undefined\" ? this.props.value : value;\n const messages = [];\n const messagesFrom = [];\n const messagesTo = [];\n const validationNames = [];\n for (const validation of validations ? validations : []) {\n try {\n await validation(value, {\n ...others\n }, this.wrappedComponentRef.current);\n } catch (result) {\n if (result && typeof result === \"object\") {\n const typedResult = result;\n if (typedResult.messageFrom) messagesFrom.push(typedResult.messageFrom);\n if (typedResult.messageTo) messagesTo.push(typedResult.messageTo);\n if (typedResult.message) messages.push(typedResult.message);\n if (typedResult.validationName) validationNames.push(typedResult.validationName);\n }\n }\n }\n let result;\n if (messagesFrom.length === 0 && messagesTo.length === 0) {\n result = messages.length > 0 ? {\n error: true,\n message: messages.join(\" \"),\n validationName: validationNames.join(\", \")\n } : {\n error: false,\n message: \"\",\n validationName: null\n };\n } else {\n result = {\n error: {\n from: false,\n to: false\n },\n message: {\n from: messagesFrom.join(\" \"),\n to: messagesTo.join(\" \")\n },\n validationName: validationNames.join(\", \")\n };\n if (result.message) {\n if (messages.length > 0) {\n result.message[\"from\"] += \" \" + messages.join(\" \");\n result.message[\"to\"] += \" \" + messages.join(\" \");\n }\n if (result.message[\"from\"].length > 0) result.error[\"from\"] = true;\n if (result.message[\"to\"].length > 0) result.error[\"to\"] = true;\n }\n }\n this.setState(result);\n if (typeof this.props.onValidation === \"function\") {\n this.props.onValidation(result);\n }\n return result;\n });\n this.state = {\n error: false,\n message: \"\",\n validationName: \"\"\n };\n this.wrappedComponentRef = /*#__PURE__*/React.createRef();\n }\n async componentDidMount() {\n const haveValue = this.props.value || this.props.zeroIsValidValue && this.props.value === 0;\n if (haveValue && !this.props.doNotValidate && !this.props.onlyValidateOnBlur) {\n await this.validate();\n }\n return Promise.resolve();\n }\n componentDidUpdate(prevProps, prevState) {\n if (this.props.onlyValidateOnBlur || this.props.doNotValidate) {\n return;\n }\n if (!deepEquals(this.props.value, prevProps.value)) {\n this.validate();\n } else if (this.props.filesRejected && !deepEquals(this.props.filesRejected, prevProps.filesRejected)) {\n this.validate();\n }\n }\n render() {\n return /*#__PURE__*/React.createElement(WrappedComponent, _extends({\n ref: this.wrappedComponentRef,\n innerRef: ref => {\n this.wrappedComponentRef = {\n current: ref\n };\n }\n }, this.props, {\n onBlur: this.onBlur,\n executeValidation: this.validate,\n error: this.state.error || this.props.error,\n errorMessage: this.state.message,\n validationName: this.state.validationName\n }));\n }\n }, _defineProperty(_class, \"propTypes\", validationPropTypes), _defineProperty(_class, \"defaultProps\", {\n error: false,\n format: \"M/d/yyyy\" // hot-fix for DateTimePicker FC\n }), _class;\n}\nexport default enhanceWithValidation;","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 * \n * Email address\n * \n * We'll never share your email.\n * \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 * as React from 'react';\nimport FormControlContext from './FormControlContext';\nexport default function useFormControl() {\n return React.useContext(FormControlContext);\n}","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends({\n color: theme.palette.text.secondary\n }, theme.typography.caption, {\n textAlign: 'left',\n marginTop: 3,\n margin: 0,\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 4\n },\n\n /* Styles applied to the root element if `variant=\"filled\"` or `variant=\"outlined\"`. */\n contained: {\n marginLeft: 14,\n marginRight: 14\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {}\n };\n};\nvar FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'p' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n margin = props.margin,\n required = props.required,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"margin\", \"required\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant', 'margin', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, (fcs.variant === 'filled' || fcs.variant === 'outlined') && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === 'dense' && classes.marginDense),\n ref: ref\n }, other), children === ' ' ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: '​'\n }\n }) : children);\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.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 content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\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 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 helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormHelperText'\n})(FormHelperText);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends({\n color: theme.palette.text.secondary\n }, theme.typography.body1, {\n lineHeight: 1,\n padding: 0,\n '&$focused': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused': {\n color: theme.palette.secondary.main\n }\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {},\n\n /* Styles applied to the asterisk element. */\n asterisk: {\n '&$error': {\n color: theme.palette.error.main\n }\n }\n };\n};\nvar FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n color = props.color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'label' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n required = props.required,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"required\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),\n ref: ref\n }, other), children, fcs.required && /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n className: clsx(classes.asterisk, fcs.error && classes.error)\n }, \"\\u2009\", '*'));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.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 content of the component.\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 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 label should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormLabel'\n})(FormLabel);","// 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}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\"\n}), 'Error');\n\nexports.default = _default;","'use strict';\n\nvar isArray = Array.isArray;\nvar keyList = Object.keys;\nvar hasProp = Object.prototype.hasOwnProperty;\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = isArray(a)\n , arrB = isArray(b)\n , i\n , length\n , key;\n\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = a instanceof Date\n , dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n\n var regexpA = a instanceof RegExp\n , regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n\n var keys = keyList(a);\n length = keys.length;\n\n if (length !== keyList(b).length)\n return false;\n\n for (i = length; i-- !== 0;)\n if (!hasProp.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n return a!==a && b!==b;\n};\n"],"names":["ErrorHandlingFormHelperText","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","muiFormControl","context","_this$props","props","id","helperText","errorMessage","className","_this$props2","error","disabled","undefined","React","FormHelperText","classNames","_createClass","Component","PropTypes","children","otherProps","_objectWithoutProperties","_excluded","MuiFormControl","_extends","margin","validationPropTypes","aspectRatio","width","height","errorMessages","maxHeight","minHeight","maxLength","minLength","maxValue","Date","minValue","maxWidth","minWidth","regExpPattern","RegExp","required","validations","value","Validations","_React$Component","prefix","validationNames","requiredArray","validDateFormat","minValueDateValidation","maxValueDateValidation","rangeRequired","fromRangeRequired","toRangeRequired","numberRangeMinValue","fromNumberRangeMinValue","toNumberRangeMinValue","numberRangeMaxValue","fromNumberRangeMaxValue","toNumberRangeMaxValue","numberRangeBoundary","datesValidRangeValidation","fromValidDateRangeValidation","toValidDateRangeValidation","dateRangeBoundary","dateRangeMinValueValidation","fromDateRangeMinValueValidation","toDateRangeMinValueValidation","dateRangeMaxValueValidation","fromDateRangeMaxValueValidation","toDateRangeMaxValueValidation","imageMaxHeightValidation","imageMinHeightValidation","imageMaxWidthValidation","imageMinWidthValidation","maxSizeValidation","minSizeValidation","imageAspectRatioValidation","mustBeImageValidation","rejectedFilesValidation","referenceMaxItems","referenceMinItems","allowedExtensionsValidation","childComponentValidation","wrappedFieldRendererValidation","emailValidation","specialCharactersValidation","isRegExpValidation","recurrenceValidation","validation","defaultMessage","requiredValidation","component","result","isArray","message","validationName","Promise","reject","resolve","validDateValidation","parsedDate","parse","timeUnit","pickerType","isNaN","format","parsedMinValue","Boolean","formatDate","parsedMaxValue","_x16","_x17","_x18","_ref8","_asyncToGenerator","_regeneratorRuntime","mark","_callee6","from","to","_component$props","fromProps","toProps","fromResult","toResult","formattedMinValue","wrap","_context6","prev","next","catch","sent","abrupt","messageFrom","messageTo","label","stop","_x19","_x20","_x21","_ref9","_callee7","_component$props2","formattedMaxDate","_context7","dateRangeValidDateValidation","_x22","_x23","_x24","_ref10","_callee8","_context8","dateRangeBoundaryValidation","_x25","_x26","_x27","_ref11","_callee9","_context9","isValidEmail","WrappedComponent","_class","_componentDidMount","ValidationComponent","_ref28","e","onlyValidateOnBlur","doNotValidate","validate","onBlur","_x73","_callee25","others","messages","messagesFrom","messagesTo","_iterator11","_step11","typedResult","_context25","_createForOfIteratorHelper","s","n","done","_objectSpread","wrappedComponentRef","current","t0","push","t1","f","finish","join","setState","onValidation","state","key","_callee26","_context26","this","zeroIsValidValue","prevProps","prevState","deepEquals","filesRejected","_this2","ref","innerRef","executeValidation","FormControl","classes","_props$color","color","_props$component","_props$disabled","_props$error","_props$fullWidth","fullWidth","visuallyFocused","focused","_props$hiddenLabel","hiddenLabel","_props$margin","_props$required","size","_props$variant","variant","other","_React$useState","initialAdornedStart","forEach","child","isMuiElement","input","isAdornedStart","adornedStart","setAdornedStart","_React$useState2","initialFilled","isFilled","filled","setFilled","_React$useState3","_focused","setFocused","onFilled","childContext","onEmpty","onFocus","registerEffect","FormControlContext","Provider","clsx","root","capitalize","withStyles","display","flexDirection","position","padding","border","verticalAlign","marginNormal","marginTop","marginBottom","marginDense","name","useFormControl","formControlState","_ref","states","reduce","acc","fcs","contained","dangerouslySetInnerHTML","__html","theme","palette","text","secondary","typography","caption","textAlign","main","marginLeft","marginRight","FormLabel","asterisk","body1","lineHeight","primary","colorSecondary","hasValue","obj","SSR","defaultValue","startAdornment","_interopRequireDefault","require","_interopRequireWildcard","exports","_default","default","createElement","d","keyList","Object","keys","hasProp","prototype","hasOwnProperty","module","equal","a","b","i","arrA","arrB","dateA","dateB","getTime","regexpA","regexpB","toString"],"sourceRoot":""}