@reltio/remotes 1.4.1647 → 1.4.1649
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.
- package/1039.js +1 -1
- package/1088.js +1 -1
- package/1146.js +1 -1
- package/1148.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1488.js +2 -0
- package/1488.js.map +1 -0
- package/1572.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1790.js +5 -5
- package/1790.js.map +1 -1
- package/1840.js +2 -0
- package/1840.js.map +1 -0
- package/1984.js +1 -1
- package/2066.js +1 -1
- package/2400.js +1 -1
- package/281.js +2 -0
- package/281.js.map +1 -0
- package/2966.js +1 -1
- package/3096.js +1 -1
- package/3348.js +1 -1
- package/3358.js +1 -1
- package/3373.js +1 -1
- package/3381.js +1 -1
- package/3383.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/356.js +1 -1
- package/3854.js +1 -1
- package/3902.js +1 -1
- package/3902.js.map +1 -1
- package/3912.js +1 -1
- package/3926.js +1 -1
- package/415.js +1 -1
- package/4212.js +1 -1
- package/{829.css → 4390.css} +1 -1
- package/4390.css.map +1 -0
- package/4390.js +2 -0
- package/4390.js.map +1 -0
- package/4481.js +1 -1
- package/4609.js +1 -1
- package/4610.js +1 -1
- package/4703.js +1 -1
- package/4780.js +2 -0
- package/4780.js.map +1 -0
- package/4806.js +1 -1
- package/4838.js +1 -1
- package/50.js +1 -1
- package/5039.js +1 -1
- package/5039.js.map +1 -1
- package/5053.js +1 -1
- package/5053.js.map +1 -1
- package/5108.js +1 -1
- package/5108.js.map +1 -1
- package/5163.js +1 -1
- package/5163.js.map +1 -1
- package/5292.js +1 -1
- package/5383.js +1 -1
- package/5617.js +1 -1
- package/6020.js +1 -1
- package/6287.js +1 -1
- package/636.js +1 -1
- package/6606.js +1 -1
- package/6606.js.map +1 -1
- package/6799.js +1 -1
- package/6844.js +1 -1
- package/6860.js +3 -0
- package/6860.js.map +1 -0
- package/6903.js +1 -1
- package/7128.js +1 -1
- package/7340.js +1 -1
- package/735.js +1 -1
- package/7422.js +1 -1
- package/{7303.css → 7605.css} +1 -1
- package/{7303.css.map → 7605.css.map} +1 -1
- package/7605.js +2 -0
- package/7605.js.map +1 -0
- package/7626.js +29 -0
- package/7626.js.map +1 -0
- package/{446.js → 764.js} +2 -2
- package/764.js.map +1 -0
- package/7744.js +1 -1
- package/7744.js.map +1 -1
- package/7896.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8565.js +1 -1
- package/870.css +635 -0
- package/870.css.map +1 -0
- package/870.js +2 -0
- package/870.js.map +1 -0
- package/8741.js +1 -1
- package/9016.js +1 -1
- package/9050.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9464.js +1 -1
- package/9719.js +1 -1
- package/9736.js +1 -1
- package/9861.js +1 -1
- package/987.js +1 -1
- package/99.js +29 -0
- package/99.js.map +1 -0
- package/9952.js +1 -1
- package/9960.js +1 -1
- package/main.js +1 -1
- package/main.js.map +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/3785.js +0 -2
- package/3785.js.map +0 -1
- package/3880.js +0 -2
- package/3880.js.map +0 -1
- package/446.js.map +0 -1
- package/672.js +0 -2
- package/672.js.map +0 -1
- package/7303.js +0 -2
- package/7303.js.map +0 -1
- package/7963.js +0 -3
- package/7963.js.map +0 -1
- package/829.css.map +0 -1
- package/829.js +0 -2
- package/829.js.map +0 -1
- package/8344.js +0 -29
- package/8344.js.map +0 -1
- package/9109.js +0 -2
- package/9109.js.map +0 -1
- package/938.js +0 -29
- package/938.js.map +0 -1
- /package/{7963.js.LICENSE.txt → 6860.js.LICENSE.txt} +0 -0
package/870.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"870.js","mappings":"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","sources":["webpack://@reltio/remotes/../components/src/components/StepNavigation/styles.ts","webpack://@reltio/remotes/../components/src/components/StepNavigation/ProgressButton.tsx","webpack://@reltio/remotes/../components/src/components/StepNavigation/StepNavigation.tsx","webpack://@reltio/remotes/../components/src/icons/Tenant.tsx","webpack://@reltio/remotes/../components/src/components/TenantLabel/styles.ts","webpack://@reltio/remotes/../components/src/components/TenantLabel/TenantLabel.tsx","webpack://@reltio/remotes/../components/src/icons/Reassign.tsx","webpack://@reltio/remotes/../components/src/components/workflow/components/ReassignButton/styles.ts","webpack://@reltio/remotes/../components/src/components/workflow/components/ReassignButton/ReassignDialog.tsx","webpack://@reltio/remotes/../components/src/components/workflow/components/ReassignButton/ReassignButton.tsx","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/styles.ts","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/DialogHeader.tsx","webpack://@reltio/remotes/../authoring/src/components/Content/hooks/useLayouts.ts","webpack://@reltio/remotes/../authoring/src/components/Content/Content.tsx","webpack://@reltio/remotes/../authoring/src/perspective/styles.ts","webpack://@reltio/remotes/./src/authoring.ts","webpack://@reltio/remotes/../authoring/src/perspective/index.tsx","webpack://@reltio/remotes/../authoring/src/perspective/helpers.ts"],"sourcesContent":["import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n container: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '100%'\n },\n placeholder: {\n flex: 1\n },\n stepper: {\n padding: '0 24px',\n flex: 2\n },\n stepButton: {\n margin: '-20px -16px',\n padding: '20px 16px',\n '& svg text': {\n textAnchor: 'middle'\n }\n },\n buttons: {\n flex: 1,\n display: 'flex',\n justifyContent: 'flex-end'\n },\n backButton: {\n marginRight: '8px',\n border: '1px solid rgba(0, 0, 0, 0.23)'\n },\n progressButtonWrapper: {\n position: 'relative'\n },\n progress: {\n position: 'absolute',\n left: 'calc(50% - 12px)',\n top: 'calc(50% - 12px)'\n }\n}));\n\nexport {useStyles};\n","import React from 'react';\nimport classnames from 'classnames';\nimport Button from '@mui/material/Button';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport {useStyles} from './styles';\n\ntype Props = {\n isInProgress: boolean;\n disabled: boolean;\n onClick: () => void;\n circularColor?: 'primary' | 'secondary' | 'inherit';\n children: React.ReactNode;\n className?: string;\n [key: string]: any;\n};\n\nconst ProgressButton = ({\n isInProgress,\n disabled,\n circularColor = 'primary' as const,\n className,\n children,\n onClick,\n ...otherButtonProps\n}: Props) => {\n const styles = useStyles();\n\n return (\n <Button\n {...otherButtonProps}\n className={classnames(styles.progressButtonWrapper, className)}\n onClick={onClick}\n disabled={disabled || isInProgress}\n >\n {children}\n {isInProgress && (\n <div className={styles.progress} data-reltio-id=\"reltio-circular-load-indicator\">\n <CircularProgress size={24} color={circularColor} />\n </div>\n )}\n </Button>\n );\n};\n\nexport default ProgressButton;\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport {any, drop, propOr} from 'ramda';\nimport Stepper from '@mui/material/Stepper';\nimport Step from '@mui/material/Step';\nimport StepButton from '@mui/material/StepButton';\nimport Button from '@mui/material/Button';\nimport ProgressButton from './ProgressButton';\nimport {useStyles} from './styles';\n\ntype Props = {\n activeStep: number;\n steps: Array<{\n label: string;\n enabled?: boolean;\n }>;\n isPending?: boolean;\n onConfirm?: () => void;\n onChangeStep: (step: number) => void;\n};\n\nconst StepNavigation = ({activeStep, steps, isPending = false, onConfirm, onChangeStep}: Props) => {\n const styles = useStyles();\n\n const isLastStep = activeStep === steps.length - 1;\n const setActiveStep = (step) => {\n if (step !== activeStep) {\n onChangeStep(step);\n }\n };\n\n const isEnabled = propOr(true, 'enabled');\n\n const onBack = (currentStep) => {\n if (currentStep > 0) {\n const prevStep = currentStep - 1;\n if (isEnabled(steps[prevStep])) {\n setActiveStep(prevStep);\n } else {\n onBack(prevStep);\n }\n }\n };\n\n const onNext = (currentStep) => {\n if (currentStep < steps.length - 1) {\n const nextStep = currentStep + 1;\n if (isEnabled(steps[nextStep])) {\n setActiveStep(nextStep);\n } else {\n onNext(nextStep);\n }\n }\n };\n\n const showConfirm = isLastStep && !!onConfirm;\n const isNextButtonEnabled = showConfirm || any(isEnabled, drop(activeStep + 1, steps));\n\n return (\n <div className={styles.container}>\n <div className={styles.placeholder} />\n <Stepper nonLinear activeStep={activeStep} className={styles.stepper}>\n {steps.map(({label, enabled = true}, index) => {\n const disabledStep = !enabled || isPending;\n const completedStep = !disabledStep && index < activeStep;\n return (\n <Step key={label} completed={completedStep} disabled={disabledStep}>\n <StepButton\n className={styles.stepButton}\n onClick={() => setActiveStep(index)}\n data-reltio-id={`reltio-search-bulk-update-${index}`}\n >\n {label}\n </StepButton>\n </Step>\n );\n })}\n </Stepper>\n <div className={styles.buttons}>\n {activeStep > 0 && (\n <Button\n variant=\"outlined\"\n className={styles.backButton}\n onClick={() => onBack(activeStep)}\n disabled={isPending}\n data-reltio-id=\"reltio-search-bulk-update-back\"\n >\n {i18n.text('Back')}\n </Button>\n )}\n <ProgressButton\n variant=\"contained\"\n color=\"primary\"\n disabled={!isNextButtonEnabled}\n isInProgress={isPending}\n onClick={isLastStep ? onConfirm : () => onNext(activeStep)}\n data-reltio-id={`reltio-search-bulk-update-${isLastStep ? 'confirm' : 'continue'}`}\n >\n {showConfirm ? i18n.text('Confirm') : i18n.text('Continue')}\n </ProgressButton>\n </div>\n </div>\n );\n};\n\nexport default StepNavigation;\n","import React from 'react';\n\nconst SvgTenant: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {\n return (\n <svg width={24} height={24} viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M2 0h13v2H8v19h12V6h-9V4h11v19H2V0zm9 8h7v2h-7V8zm0 4h7v2h-7v-2zm0 4h7v2h-7v-2zM4 4v2h2V4H4zm0 8v2h2v-2H4zm0-4v2h2V8H4zm0 8v2h2v-2H4z\"\n fill=\"#000\"\n stroke=\"none\"\n strokeWidth={1}\n fillRule=\"evenodd\"\n />\n </svg>\n );\n};\n\nexport default SvgTenant;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n labelWrapper: {\n height: '24px',\n display: 'inline-flex',\n alignItems: 'center'\n },\n tenantIcon: {\n height: '24px',\n width: '24px',\n marginRight: '4px',\n opacity: 0.38\n },\n tenantLabel: {\n lineHeight: '15px',\n fontSize: '13px',\n color: 'rgba(0,0,0,0.38)'\n }\n}));\n","import React from 'react';\nimport Typography from '@mui/material/Typography';\nimport classnames from 'classnames';\nimport TenantIcon from '../../icons/Tenant';\nimport {useStyles} from './styles';\nimport {useMdmEnvironment, useMdmTenantName} from '../../contexts';\n\ntype Props = {\n className?: string;\n};\n\nconst TenantLabel = ({className}: Props) => {\n const styles = useStyles();\n const customerTenantLabel = useMdmTenantName();\n const environmentName = useMdmEnvironment();\n const tenantLabelWithEnv = `${customerTenantLabel}${environmentName ? ' - ' + environmentName.toUpperCase() : ''}`;\n return (\n <div className={classnames(styles.labelWrapper, className)}>\n <TenantIcon className={styles.tenantIcon} data-reltio-id=\"reltio-tenant-icon\" />\n <Typography className={styles.tenantLabel}>{tenantLabelWithEnv}</Typography>\n </div>\n );\n};\n\nexport default TenantLabel;\n","import React from 'react';\n\nconst SvgReassign: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {\n return (\n <svg width={24} height={18} viewBox=\"0 0 24 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z\"\n fill=\"#757575\"\n />\n </svg>\n );\n};\n\nexport default SvgReassign;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n caption: {\n fontSize: '12px',\n color: theme.palette.text.secondary\n },\n currentAssignee: {\n fontSize: '14px',\n color: theme.palette.text.primary\n },\n dialogText: {\n marginBottom: '16px'\n },\n title: {\n padding: '12px 24px'\n },\n dialogContent: {\n paddingTop: '0px',\n minWidth: '500px'\n },\n disabled: {\n fill: theme.palette.text.disabled\n }\n}));\n","import React, {useEffect, useState} from 'react';\nimport i18n from 'ui-i18n';\nimport Button from '@mui/material/Button';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport Typography from '@mui/material/Typography';\nimport Divider from '@mui/material/Divider';\nimport {getTasksForEntity, updateAssigneeForTask, WorkflowTaskData} from '@reltio/mdm-sdk';\nimport AssigneeSelector from '../../components/AssigneeSelector/AssigneeSelector';\nimport {useWorkflowAssignee} from '../../hooks/useWorkflowAssignee';\nimport {useSafePromise} from '../../../../hooks';\nimport {useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath} from '../../../../contexts';\nimport LinearLoadIndicator from '../../../../components/LinearLoadIndicator/LinearLoadIndicator';\nimport {showWorkflowError} from '../../helpers/errors';\n\nimport {useStyles} from './styles';\n\ntype Props = {\n isOpen: boolean;\n onClose: () => void;\n changeRequestURI: string;\n};\n\nconst ReassignDialog = ({isOpen, onClose, changeRequestURI}: Props) => {\n const styles = useStyles();\n\n const workflowPath = useMdmWorkflowPath();\n const environment = useMdmWorkflowEnvironmentUrl();\n const tenant = useMdmTenant();\n\n const [task, setTask] = useState<WorkflowTaskData>(null);\n const [loading, setLoading] = useState(false);\n\n const safePromise = useSafePromise();\n const {assignee: currentAssignee, taskId} = task || {};\n const [assignee, setAssignee] = useState<string>(null);\n\n const handleClose = () => {\n setAssignee(null);\n onClose();\n };\n\n const {readOnly} = useWorkflowAssignee({\n taskId,\n assignee: '',\n isOpen: task?.isOpen\n });\n\n const handleReassign = () => {\n if (!readOnly) {\n setLoading(true);\n updateAssigneeForTask({\n taskId,\n workflowPath,\n environment,\n tenant,\n assignee\n })\n .then(() => {\n setTask({...task, assignee});\n handleClose();\n })\n .catch(showWorkflowError)\n .finally(() => {\n setLoading(false);\n });\n }\n };\n\n useEffect(() => {\n if (changeRequestURI) {\n setLoading(true);\n safePromise(\n getTasksForEntity({\n entityUri: changeRequestURI,\n workflowPath,\n environment,\n tenant,\n includeClosed: false\n })\n )\n .then((response) => {\n const tasks = response.data;\n setTask(tasks ? tasks[0] : null);\n })\n .finally(() => {\n setLoading(false);\n });\n }\n }, [changeRequestURI, environment, safePromise, tenant, workflowPath]);\n\n return (\n <Dialog open={isOpen} onClose={handleClose}>\n <DialogTitle>{i18n.text('Reassign task')}</DialogTitle>\n <DialogContent className={styles.dialogContent}>\n {loading && <LinearLoadIndicator />}\n <div className={styles.dialogText}>\n <Typography className={styles.caption}>{i18n.text('Assigned to')}</Typography>\n <Typography className={styles.currentAssignee}>{currentAssignee}</Typography>\n </div>\n {!readOnly && (\n <AssigneeSelector\n taskId={taskId}\n isTaskOpen={isOpen}\n label={i18n.text('Reassign to')}\n assignee={currentAssignee}\n showCurrentAssignee={false}\n onChange={setAssignee}\n />\n )}\n </DialogContent>\n <Divider />\n <DialogActions>\n <Button onClick={handleClose}>{i18n.text('Cancel')}</Button>\n <Button color=\"primary\" onClick={handleReassign} disabled={readOnly || !assignee || loading}>\n {i18n.text('Reassign')}\n </Button>\n </DialogActions>\n </Dialog>\n );\n};\n\nexport default ReassignDialog;\n","import React, {useState} from 'react';\n\nimport i18n from 'ui-i18n';\nimport {SmallIconButtonWithTooltip} from '../../../SmallIconButton';\nimport ReassignIcon from '../../../../icons/Reassign';\nimport ReassignDialog from './ReassignDialog';\n\ntype Props = {\n changeRequestURI: string;\n disabled?: boolean;\n};\n\nconst ReassignButton = ({disabled, changeRequestURI}: Props) => {\n const [isDialogOpen, setIsDialogOpen] = useState(false);\n\n const handleOpenDialog = () => {\n setIsDialogOpen(true);\n };\n\n const handleCloseDialog = () => {\n setIsDialogOpen(false);\n };\n\n return (\n <>\n <SmallIconButtonWithTooltip\n data-reltio-id=\"reltio-reassign-button\"\n showForDisabled={true}\n tooltipTitle={i18n.text('Reassign task')}\n aria-label={i18n.text('Reassign task')}\n icon={ReassignIcon}\n onClick={handleOpenDialog}\n size=\"L\"\n disabled={disabled || !changeRequestURI}\n />\n <ReassignDialog isOpen={isDialogOpen} onClose={handleCloseDialog} changeRequestURI={changeRequestURI} />\n </>\n );\n};\n\nexport default ReassignButton;\n","import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n appbar: {\n zIndex: 1,\n boxShadow: 'none'\n },\n\n toolbar: {\n background: 'white',\n paddingLeft: '21px',\n justifyContent: 'space-between',\n borderBottom: '1px solid rgba(0,0,0,0.1)',\n boxSizing: 'border-box'\n },\n\n toolbarHeader: {\n display: 'flex',\n alignItems: 'center'\n },\n\n toolbarHeaderActions: {\n flexShrink: 0\n },\n\n toolbarButton: {\n margin: '0 4px'\n },\n\n closeButton: {\n marginRight: '10px'\n },\n\n tenantLabel: {\n marginLeft: '23px'\n }\n}));\n\nexport {useStyles};\n","import React from 'react';\nimport {useDispatch, useSelector} from 'react-redux';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Button from '@mui/material/Button';\nimport i18n from 'ui-i18n';\nimport {project} from 'ramda';\nimport {ReassignButton, SmallIconButtonWithTooltip, StepNavigation, TenantLabel} from '@reltio/components';\nimport mdmModule, {profile} from '@reltio/mdm-module';\nimport {AuthoringItem, Mode, Operation} from '@reltio/mdm-sdk';\nimport {useStyles} from './styles';\n\ntype Props = {\n activeStep: number;\n onChangeStep: (step: number) => void;\n changeRequestURI: string;\n onClose: () => void;\n config: AuthoringItem[];\n};\n\nexport const DialogHeader = ({onClose, config, changeRequestURI, activeStep, onChangeStep}: Props) => {\n const styles = useStyles();\n const dispatch = useDispatch();\n const profileOperation = useSelector(mdmModule.selectors.getProfileOperation);\n const isOperationSaving = profileOperation === Operation.Saving;\n const isDisabledButtons = isOperationSaving;\n\n const handleSave = () => {\n dispatch(profile.mode.actions.modeUpdated(Mode.Editing));\n dispatch(profile.actions.saveProfile());\n };\n\n return (\n <AppBar position=\"static\" color=\"default\" className={styles.appbar}>\n <Toolbar className={styles.toolbar}>\n <div className={styles.toolbarHeader}>\n <SmallIconButtonWithTooltip\n disabled={isDisabledButtons}\n tooltipTitle={i18n.text('Close')}\n aria-label={i18n.text('Close')}\n icon={CloseIcon}\n onClick={onClose}\n className={styles.closeButton}\n size=\"L\"\n />\n <Typography variant=\"h6\">{i18n.text('Create Item: <No Label>')}</Typography>\n <TenantLabel className={styles.tenantLabel} />\n </div>\n <div className={styles.toolbarHeaderActions}>\n <Button onClick={() => {}} disabled={isDisabledButtons} className={styles.toolbarButton}>\n {i18n.text('Cancel')}\n </Button>\n <Button\n color=\"primary\"\n disabled={isDisabledButtons}\n onClick={() => {}}\n className={styles.toolbarButton}\n >\n {i18n.text('Suggest')}\n </Button>\n <Button\n color=\"primary\"\n disabled={isDisabledButtons}\n onClick={handleSave}\n className={styles.toolbarButton}\n >\n {i18n.text('Save')}\n </Button>\n <ReassignButton disabled={isDisabledButtons} changeRequestURI={changeRequestURI} />\n </div>\n </Toolbar>\n <Toolbar className={styles.toolbar}>\n <StepNavigation\n activeStep={activeStep}\n steps={project(['label'], config)}\n onChangeStep={onChangeStep}\n />\n </Toolbar>\n </AppBar>\n );\n};\n","import {useEffect, useState} from 'react';\nimport {AuthoringViews, ReltioGridLayoutItem} from '@reltio/mdm-sdk';\n\nexport const useLayouts = (views: (AuthoringViews | AuthoringViews[])[]) => {\n const [layout, setLayout] = useState<ReltioGridLayoutItem[]>([]);\n\n useEffect(() => {\n const processedLayout = (views || []).flatMap((view, index) => {\n if (!Array.isArray(view)) {\n return {\n x: 0,\n y: index,\n height: 5,\n width: 4,\n id: view.id,\n isStatic: false,\n autosizing: true\n };\n }\n return view.map((item, itemIndex) => ({\n x: itemIndex * 2,\n y: index,\n height: 5,\n width: 2,\n id: item.id,\n isStatic: false,\n autosizing: true\n }));\n });\n setLayout(processedLayout);\n }, [views]);\n\n return {\n layout,\n handleLayoutChange: setLayout\n };\n};\n","import React from 'react';\nimport {AuthoringViews} from '@reltio/mdm-sdk';\nimport {ProfileLayout} from '@reltio/profile';\nimport {useLayouts} from './hooks/useLayouts';\n\nconst MIN_WIDTH = 512;\n\ntype Props = {\n views: (AuthoringViews | AuthoringViews[])[][];\n activeStep: number;\n};\n\nexport const Content = ({views, activeStep}: Props) => {\n const currentViews = views[activeStep];\n const {layout, handleLayoutChange} = useLayouts(currentViews);\n\n return (\n <ProfileLayout\n key={activeStep}\n views={currentViews?.flat()}\n layout={layout}\n onLayoutChanged={handleLayoutChange}\n minWidth={MIN_WIDTH}\n frozen\n />\n );\n};\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n contentWrapper: {\n backgroundColor: theme.palette.background.default\n }\n}));\n","import {AuthoringView} from '@reltio/authoring';\n\nexport default AuthoringView;\n","import React, {useEffect, useMemo, useState} from 'react';\nimport {useDispatch, useSelector} from 'react-redux';\nimport Dialog from '@mui/material/Dialog';\nimport DialogContent from '@mui/material/DialogContent';\nimport {AdapterMoment} from '@mui/x-date-pickers/AdapterMoment';\nimport {LocalizationProvider} from '@mui/x-date-pickers/LocalizationProvider';\nimport mdmModule, {ui, profile} from '@reltio/mdm-module';\nimport {Metadata} from '@reltio/mdm-sdk';\nimport {DialogHeader} from '../components/DialogHeader/DialogHeader';\nimport {Content} from '../components/Content/Content';\nimport {getPreparedViews} from './helpers';\nimport {useStyles} from './styles';\n\nexport const AuthoringPerspective = ({changeRequestURI}: {changeRequestURI?: string}) => {\n const styles = useStyles();\n const dispatch = useDispatch();\n const entity = useSelector(mdmModule.selectors.getEntity);\n const authoringConfig = useSelector((state) => mdmModule.selectors.getAuhoringByEntityType(state, entity.type));\n\n const onClose = () => {\n dispatch(ui.actions.openPreviousPage());\n };\n const [activeStep, setActiveStep] = useState(0);\n const metadata: Metadata = useSelector(mdmModule.selectors.getMetadata);\n const preparedViews = useMemo(\n () => getPreparedViews(metadata, authoringConfig, entity.type),\n [metadata, authoringConfig, entity.type]\n );\n\n useEffect(() => {\n const views = authoringConfig.map((item) => item.views).flat(3);\n dispatch(profile.views.actions.profileViewsSet(views));\n }, [authoringConfig, dispatch]);\n\n return (\n <LocalizationProvider dateAdapter={AdapterMoment}>\n <Dialog fullScreen open={true}>\n <DialogHeader\n activeStep={activeStep}\n onChangeStep={setActiveStep}\n onClose={onClose}\n config={authoringConfig}\n changeRequestURI={changeRequestURI}\n />\n <DialogContent className={styles.contentWrapper}>\n <Content activeStep={activeStep} views={preparedViews} />\n </DialogContent>\n </Dialog>\n </LocalizationProvider>\n );\n};\n","import {pipe, pluck} from 'ramda';\nimport {\n AttributeViewConfig,\n AuthoringItem,\n Metadata,\n ProfileViewTypes,\n getRequiredAttributeTypesByTypeUri,\n isEmptyValue\n} from '@reltio/mdm-sdk';\n\nexport const getPreparedViews = (metadata: Metadata, config: AuthoringItem[], entityTypeUri: string) => {\n const getDefaultView = () => {\n const includeUris = pipe(getRequiredAttributeTypesByTypeUri, pluck('uri'))(metadata, entityTypeUri, false);\n return {\n id: 'default',\n class: ProfileViewTypes.Attributes,\n includeUris,\n caption: 'Attributes View'\n } as AttributeViewConfig;\n };\n return config.map(({views}, index) => (index === 0 && isEmptyValue(views) ? [getDefaultView()] : views));\n};\n"],"names":["useStyles","makeStyles","container","display","alignItems","justifyContent","width","placeholder","flex","stepper","padding","stepButton","margin","textAnchor","buttons","backButton","marginRight","border","progressButtonWrapper","position","progress","left","top","isInProgress","disabled","circularColor","className","children","onClick","otherButtonProps","styles","Button","classnames","CircularProgress","size","color","activeStep","steps","isPending","onConfirm","onChangeStep","isLastStep","length","setActiveStep","step","isEnabled","propOr","onBack","currentStep","prevStep","onNext","nextStep","showConfirm","isNextButtonEnabled","any","drop","Stepper","nonLinear","map","index","label","enabled","disabledStep","completedStep","Step","key","completed","StepButton","variant","i18n","props","height","viewBox","xmlns","d","fill","stroke","strokeWidth","fillRule","labelWrapper","tenantIcon","opacity","tenantLabel","lineHeight","fontSize","customerTenantLabel","useMdmTenantName","environmentName","useMdmEnvironment","tenantLabelWithEnv","toUpperCase","Tenant","Typography","theme","caption","palette","text","secondary","currentAssignee","primary","dialogText","marginBottom","title","dialogContent","paddingTop","minWidth","isOpen","onClose","changeRequestURI","workflowPath","useMdmWorkflowPath","environment","useMdmWorkflowEnvironmentUrl","tenant","useMdmTenant","task","setTask","useState","loading","setLoading","safePromise","useSafePromise","assignee","taskId","setAssignee","handleClose","readOnly","useWorkflowAssignee","useEffect","getTasksForEntity","entityUri","includeClosed","then","response","tasks","data","finally","Dialog","open","DialogTitle","DialogContent","LinearLoadIndicator","AssigneeSelector","isTaskOpen","showCurrentAssignee","onChange","Divider","DialogActions","updateAssigneeForTask","catch","showWorkflowError","isDialogOpen","setIsDialogOpen","SmallIconButton","showForDisabled","tooltipTitle","icon","ReassignIcon","appbar","zIndex","boxShadow","toolbar","background","paddingLeft","borderBottom","boxSizing","toolbarHeader","toolbarHeaderActions","flexShrink","toolbarButton","closeButton","marginLeft","DialogHeader","config","dispatch","useDispatch","isDisabledButtons","useSelector","mdmModule","Operation","AppBar","Toolbar","CloseIcon","TenantLabel","profile","Mode","ReassignButton","StepNavigation","project","Content","views","currentViews","layout","handleLayoutChange","setLayout","processedLayout","flatMap","view","Array","isArray","item","itemIndex","x","y","id","isStatic","autosizing","useLayouts","flat","onLayoutChanged","frozen","contentWrapper","backgroundColor","default","entity","authoringConfig","state","type","metadata","preparedViews","useMemo","entityTypeUri","getDefaultView","includeUris","pipe","getRequiredAttributeTypesByTypeUri","pluck","class","ProfileViewTypes","isEmptyValue","getPreparedViews","LocalizationProvider","dateAdapter","AdapterMoment","fullScreen","ui"],"sourceRoot":""}
|
package/8741.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="16dd8732-4bd0-4f94-82ee-1f6ddd185971",e._sentryDebugIdIdentifier="sentry-dbid-16dd8732-4bd0-4f94-82ee-1f6ddd185971")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1648"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8741],{14625:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(31421),i=n(42639),a=n(14596);const s=(0,n(72342).makeStyles)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),c=e=>{let{group:t,metadata:n}=e;const r=s(),c=(0,a.$H)(),d=(0,l.XH8)(n,{type:t.id}),u=(0,l.vPL)(c,d);return o().createElement(i.Z,{className:r.icon,icon:u,avatarText:t.title[0]})}},12933:(e,t,n)=>{n.d(t,{Z:()=>M});var r=n(24328),o=n.n(r),l=n(2507),i=n.n(l),a=n(71153),s=n.n(a),c=n(50914),d=n(22311),u=n(26638),p=n(65643),m=n(40007),f=n(40435),b=n(72342);const h=(0,b.makeStyles)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:n=g,onSelectAttributeClick:r,disabled:l=!1}=e;const a=h(),c=t&&n(t);return o().createElement("div",{onClick:l?void 0:r,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(f.Z,{size:"M",icon:p.Z,disabled:l}))};var x=n(31421);function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){v(e,t,n[t])}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,r);return[{item:r?w({},e,{filterText:r}):e,level:o,groupId:t,groupName:n}].concat(e.children?e.children.filter((e=>l||i||I(e,r))).flatMap((e=>j(e,t,n,r,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((n=>j(n,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=n(35488),N=n(33117),R=n(63485),L=n(94792),D=n(14625),Z=n(14596);const A=(0,b.makeStyles)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){W(e,t,n[t])}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $=(0,r.memo)((e=>{let{selectedAttributes:t,onItemClick:n,focusIndex:r,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=A(),s=(0,Z.AH)();return o().createElement(R.Z,F({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:d,groupName:u}=i;const p=C(s,t),m=a===r;return o().createElement(N.Z,{key:`item-${d}-${s.fieldName}`,onClick:n,checked:p,data:B({},s,{groupName:u}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(L.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:d,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(T.ZP,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(D.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:r},i))}));var z=n(41008);const H=(0,b.makeStyles)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),M=(0,r.memo)((e=>{let{className:t,itemsGroups:n,value:l,getLabel:a,onSelect:p,onRestoreFocus:m=c.identity,onOpenPopup:f=c.identity,disableRestoreFocus:b=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,r.useState)(null),N=(0,r.useCallback)((()=>T(null)),[]),R=!!j,[L,D]=(0,r.useState)(""),Z=(0,r.useCallback)((()=>D("")),[]),[A,F]=(0,r.useState)([]),B=(0,r.useCallback)((()=>F([])),[]),W=(0,r.useMemo)((()=>P(L,n)),[n,L]),M=(0,r.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),z.LG)(W)),[x,W]),V=(0,r.useMemo)((()=>Math.max(k(W),308)),[W]),_=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,Z,N)),m),G=(0,r.useRef)(),U=(0,r.useCallback)(((e,t)=>{p({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),_({})):(F((e=>{let{attribute:t,selectedAttributes:n,checked:r}=e;return r?n.concat(t):n.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),G.current&&G.current.focus())}),[A,p,g,_,G]),K=(0,r.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:n}=e;return e=>{let{item:r,groupData:o}=e;const l=C(r,n);t(w({},r,{groupName:o.groupName}),!l)}})({onListItemClick:U,selectedAttributes:A}),[U,A]),{focusIndex:X,handleKeyDown:q}=(0,u.t)({items:M,open:R,onSelectFocusedItem:K,selectedItems:A,onClose:_});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{f(),T(e.currentTarget)},disabled:v}),o().createElement(d.Z,{open:R,anchorEl:j,onClose:_,onSearch:D,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:G,disableRestoreFocus:b,disableEnforceFocus:h},o().createElement($,{items:M,onItemClick:U,selectedAttributes:A,width:V,height:400,focusIndex:X,hideCheckBox:S})))}))},91431:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(3073),s=n(28831),c=n(71153),d=n.n(c);const u=(0,n(72342).makeStyles)((()=>({hidden:{visibility:"hidden"}}))),p=e=>{let{rowIndex:t,rowValue:n,className:l}=e;const i=u(),{toggleRowCollapse:c,getIsRowCollapsible:p,getIsRowCollapsed:m}=(0,r.useContext)(a.x),f=p(n),b=m(t);return o().createElement(s.Z,{className:d()(l,{[i.hidden]:!f}),isOpen:!b,onClick:e=>{c(t),e.stopPropagation()}})};p.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=p},89902:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),l=n(71153),i=n.n(l),a=n(50914);const s=(0,n(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),d=e=>{let{className:t,width:n=0,maxWidth:l}=e;const a=s(),d=(0,r.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return n?o().createElement("div",{className:i()(a.bar,t),style:{width:c(n)?d(n):n}}):null}},80560:(e,t,n)=>{n.d(t,{Z:()=>S});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(2507),s=n.n(a),c=n(71153),d=n.n(c),u=n(50914),p=n(31421),m=n(22311),f=n(33117),b=n(41008),h=n(63485),g=n(26638),y=n(94792);const x=(0,n(72342).makeStyles)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const C=e=>{let{open:t,anchorEl:n,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,r.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,r.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,r.useMemo)((()=>{const e=(0,u.curry)(((e,n,r,o)=>[{item:v({},n,{filterText:c}),level:e,groupId:r,groupName:o},...t(n.children||[],r,o,e+1)])),t=function(t,n,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,n,r),i=t.filter(j);return(I?u.map:u.chain)(l,i)};return t}),[c,I,j]),T=(0,r.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,r.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),R=(0,r.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),L=(0,r.useMemo)((()=>(0,b.LG)(R)),[R]),{focusIndex:D,handleKeyDown:Z}=(0,g.t)({items:L,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,r.useRef)(null);A.current=D;const F=(0,r.useCallback)(((e,t,n)=>{let{item:r,level:l=0}=t;const i=!!C.find((e=>e.id===r.id||e.id.includes(`${r.id}.`))),a=A.current===n;return o().createElement(f.Z,{key:r.id,onClick:O,checked:i,level:l,data:r,label:o().createElement(y.Z,{text:r.label,highlight:r.filterText}),labelInText:r.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:r.notSelectable,LogoIcon:r.LogoIcon})}),[S,O,C]),B=(0,p.fW1)("label")(R)||308,W=x();return o().createElement(m.Z,w({open:t,className:d()(W.container,W.popupContainer),anchorEl:n,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:Z},E),o().createElement(h.Z,{height:300,renderItem:F,items:L,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:D,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},87086:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(28207),i=n(47746);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:n}=e,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","children"]);const[c,d]=(0,r.useState)(t),u=(0,i.Z)().transitions.duration.leavingScreen;return(0,r.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{d(!1)}),u);return()=>clearTimeout(e)}d(!0)}}),[t,u,c]),o().createElement(l.ZP,a({open:t},s),c&&n)};s.displayName="Drawer";const c=s},92934:(e,t,n)=>{n.d(t,{Q:()=>c});var r=n(24328),o=n.n(r),l=n(2507),i=n.n(l),a=n(31421),s=n(72108);const c=(0,r.memo)((e=>{let{entityTypes:t,selectedEntityTypes:n,single:l,placeholder:c,enableEmptyValueUnderline:d,onChange:u,classes:p={},ListLabelProps:m={},disabled:f=!1}=e;const b=(0,r.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:b,selectedItemsUris:n,single:l,placeholder:c,enableEmptyValueUnderline:d,onChange:u,classes:p,ListLabelProps:m,disabled:f,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},72108:(e,t,n)=>{n.d(t,{S:()=>N});var r=n(24328),o=n.n(r),l=n(71153),i=n.n(l),a=n(50914),s=n(31421),c=n(53242),d=n(65643),u=n(23883),p=n(72342);const m=(0,p.makeStyles)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),f=(e,t)=>{const{childNodes:n,clientLeft:r,clientWidth:o}=t;if(n.length>0){const[t]=Array.from(n),l=document.createRange();l.setStart(t,0);for(let n=0;n<e.length;n++){l.setEnd(t,l.endOffset+e[n].length);const{width:i}=l.getBoundingClientRect();if(r+i>o)return n;n!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),h=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,g=e=>{let{list:t,maxWidth:n}=e;const l=m(),i=(0,r.useRef)(),[a,s]=(0,r.useState)(0);(0,r.useEffect)((()=>{s(((e,t)=>{const n=e.length,r=((e,t)=>{if(t){const n=f(e,t);return-1===n?0:e.length-n}return 0})(e,t);return n-Math.max(1,n-r)})(t,i.current))}),[t]);const c=b(t),d=a>0,p=d?b(t.slice(0,-a)):c;return o().createElement(u.Z,{title:d?c:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:h(n)},className:l.listLabel,ref:i},c),o().createElement("div",{className:l.visibleItemsLabel},p),d&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var y=n(40435),x=n(22311),w=n(26638),v=n(33117),O=n(94792),C=n(63485);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}const I=(0,a.always)(32),E=(0,r.memo)((e=>{let{selectedItems:t,onItemClick:n,focusIndex:r,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(C.Z,S({getItemSize:I,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===r;return o().createElement(v.Z,{key:a.uri,onClick:n,checked:s,data:a,label:o().createElement(O.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:r,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));E.displayName="SelectMetadataTypesList";const k=(0,p.makeStyles)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",cursor:"pointer",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&.Mui-disabled":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px",cursor:"pointer","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const N=(0,r.memo)((e=>{let{placeholder:t,classes:n={},items:l,selectedItemsUris:u,onChange:p,ListLabelProps:m={},disabled:f,enableEmptyValueUnderline:b,single:h,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=k(),[I,T]=(0,r.useState)(!1),N=(0,r.useCallback)((()=>T(!0)),[]),R=(0,r.useCallback)((()=>T(!1)),[]),[L,D]=(0,r.useState)(""),Z=(0,r.useCallback)((()=>D("")),[]),A=(0,r.useCallback)((0,a.pipe)(Z,R),[R,Z]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,L)})).map(((e,t)=>({item:{item:P({},e,{filterText:L})},index:t}))),B=(0,r.useMemo)((()=>u.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[u,l]),W=(0,r.useCallback)(((e,t)=>{h?(p(t?[e.uri]:[]),A()):p(t?u.concat(e.uri):u.filter((t=>t!==e.uri)))}),[u,p,h,A]),$=(0,r.useCallback)((e=>{let{item:t}=e;const n=!u.includes(t.uri);W(t,n)}),[u,W]),{focusIndex:z,handleKeyDown:H}=(0,w.t)({items:F,open:I,onSelectFocusedItem:$,selectedItems:u,onClose:A}),M=(0,r.useRef)(),V=M.current?M.current.getBoundingClientRect().width:0,_=Math.max(V,255),G=0===u.length;return o().createElement(o().Fragment,null,o().createElement(c.Z,{label:v,ref:M,InputProps:{startAdornment:G&&!t?null:o().createElement("div",{className:i()(S.inputText,n.inputText)},G?o().createElement("div",null,t):o().createElement(g,j({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,n.input,{[S.emptyInput]:G&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:f}),underline:S.disabledUnderline},endAdornment:o().createElement(y.Z,{size:"L",icon:d.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:I}),disabled:f}),readOnly:!0,disableUnderline:G&&!b},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,n.label)}},value:"",onClick:f?void 0:N,classes:{root:i()(S.root,n.root)},size:"small",variant:"filled",disabled:f,"data-reltio-id":O}),o().createElement(x.Z,{open:I,anchorEl:M.current,onClose:A,onSearch:D,title:C,containerWidth:_,containerHeight:355,searchInputOnKeyDown:H,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(E,{items:F,onItemClick:W,selectedItems:u,width:_,height:245,focusIndex:z})))}));N.displayName="MetadataTypesSelector"},79145:(e,t,n)=>{n.d(t,{Z:()=>O});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(71153),s=n.n(a),c=n(2507),d=n.n(c),u=n(72342);const p="46px",m=(0,u.makeStyles)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:p},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:p}})));var f=n(7342);const b=e=>{let{className:t,rowData:n}=e;const r=m();return o().createElement("div",{className:s()(r.readOnlyLogicOperatorContainer,t)},n&&n.operator?(0,f.Z)(n.operator):d().text("Where"))};b.propTypes={className:i().string,rowData:i().object};const h=b;var g=n(31421);const y=e=>{let{className:t,rowData:n}=e;const r=m();return o().createElement("div",{className:s()(r.readOnlyFilter,t)},n&&n.filter?(0,g.XS2)(n.filter):d().text("equals"))};var x=n(53862);const w=(0,u.makeStyles)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:n,previousRowData:r,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:d,filterSelectorRef:u,attributeSelectorProps:p={}}=e,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const f=w();return o().createElement("div",{className:s()(f.row,t.root),"data-reltio-id":"query-builder-row"},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:r}),o().createElement("div",{className:s()(f.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:p,rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:u,rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,f.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,t.actionsContainer,{[f.hidden]:!n})},o().createElement(d,{rowContext:m,rowData:n})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,r.memo)(v)},51586:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(50914),s=n(79145),c=n(53862);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const u=e=>{let{className:t,rowClasses:n,rowsData:r,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const p=(e,t,r)=>{const p=t>0?(0,a.path)([t-1],r):null,m=t===r.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,d({key:e&&e.id,rowData:e,previousRowData:p,classes:n,filterSelectorRef:t===c?i:void 0},u,m))};return o().createElement("div",{className:t},r.map(p),p(null,r.length,r))};u.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const p=(0,r.memo)(u)},2633:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(54573),o=n(50914);const l={BY_LABEL:(0,r.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="16dd8732-4bd0-4f94-82ee-1f6ddd185971",e._sentryDebugIdIdentifier="sentry-dbid-16dd8732-4bd0-4f94-82ee-1f6ddd185971")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1650"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8741],{14625:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(31421),i=n(42639),a=n(14596);const s=(0,n(72342).makeStyles)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),c=e=>{let{group:t,metadata:n}=e;const r=s(),c=(0,a.$H)(),d=(0,l.XH8)(n,{type:t.id}),u=(0,l.vPL)(c,d);return o().createElement(i.Z,{className:r.icon,icon:u,avatarText:t.title[0]})}},12933:(e,t,n)=>{n.d(t,{Z:()=>M});var r=n(24328),o=n.n(r),l=n(2507),i=n.n(l),a=n(71153),s=n.n(a),c=n(50914),d=n(22311),u=n(26638),p=n(65643),m=n(40007),f=n(40435),b=n(72342);const h=(0,b.makeStyles)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:n=g,onSelectAttributeClick:r,disabled:l=!1}=e;const a=h(),c=t&&n(t);return o().createElement("div",{onClick:l?void 0:r,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(f.Z,{size:"M",icon:p.Z,disabled:l}))};var x=n(31421);function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){v(e,t,n[t])}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,r);return[{item:r?w({},e,{filterText:r}):e,level:o,groupId:t,groupName:n}].concat(e.children?e.children.filter((e=>l||i||I(e,r))).flatMap((e=>j(e,t,n,r,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((n=>j(n,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=n(35488),N=n(33117),R=n(63485),L=n(94792),D=n(14625),Z=n(14596);const A=(0,b.makeStyles)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){W(e,t,n[t])}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $=(0,r.memo)((e=>{let{selectedAttributes:t,onItemClick:n,focusIndex:r,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=A(),s=(0,Z.AH)();return o().createElement(R.Z,F({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:d,groupName:u}=i;const p=C(s,t),m=a===r;return o().createElement(N.Z,{key:`item-${d}-${s.fieldName}`,onClick:n,checked:p,data:B({},s,{groupName:u}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(L.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:d,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(T.ZP,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(D.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:r},i))}));var z=n(41008);const H=(0,b.makeStyles)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),M=(0,r.memo)((e=>{let{className:t,itemsGroups:n,value:l,getLabel:a,onSelect:p,onRestoreFocus:m=c.identity,onOpenPopup:f=c.identity,disableRestoreFocus:b=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,r.useState)(null),N=(0,r.useCallback)((()=>T(null)),[]),R=!!j,[L,D]=(0,r.useState)(""),Z=(0,r.useCallback)((()=>D("")),[]),[A,F]=(0,r.useState)([]),B=(0,r.useCallback)((()=>F([])),[]),W=(0,r.useMemo)((()=>P(L,n)),[n,L]),M=(0,r.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),z.LG)(W)),[x,W]),V=(0,r.useMemo)((()=>Math.max(k(W),308)),[W]),_=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,Z,N)),m),G=(0,r.useRef)(),U=(0,r.useCallback)(((e,t)=>{p({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),_({})):(F((e=>{let{attribute:t,selectedAttributes:n,checked:r}=e;return r?n.concat(t):n.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),G.current&&G.current.focus())}),[A,p,g,_,G]),K=(0,r.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:n}=e;return e=>{let{item:r,groupData:o}=e;const l=C(r,n);t(w({},r,{groupName:o.groupName}),!l)}})({onListItemClick:U,selectedAttributes:A}),[U,A]),{focusIndex:X,handleKeyDown:q}=(0,u.t)({items:M,open:R,onSelectFocusedItem:K,selectedItems:A,onClose:_});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{f(),T(e.currentTarget)},disabled:v}),o().createElement(d.Z,{open:R,anchorEl:j,onClose:_,onSearch:D,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:G,disableRestoreFocus:b,disableEnforceFocus:h},o().createElement($,{items:M,onItemClick:U,selectedAttributes:A,width:V,height:400,focusIndex:X,hideCheckBox:S})))}))},91431:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(3073),s=n(28831),c=n(71153),d=n.n(c);const u=(0,n(72342).makeStyles)((()=>({hidden:{visibility:"hidden"}}))),p=e=>{let{rowIndex:t,rowValue:n,className:l}=e;const i=u(),{toggleRowCollapse:c,getIsRowCollapsible:p,getIsRowCollapsed:m}=(0,r.useContext)(a.x),f=p(n),b=m(t);return o().createElement(s.Z,{className:d()(l,{[i.hidden]:!f}),isOpen:!b,onClick:e=>{c(t),e.stopPropagation()}})};p.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=p},89902:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),l=n(71153),i=n.n(l),a=n(50914);const s=(0,n(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),d=e=>{let{className:t,width:n=0,maxWidth:l}=e;const a=s(),d=(0,r.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return n?o().createElement("div",{className:i()(a.bar,t),style:{width:c(n)?d(n):n}}):null}},80560:(e,t,n)=>{n.d(t,{Z:()=>S});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(2507),s=n.n(a),c=n(71153),d=n.n(c),u=n(50914),p=n(31421),m=n(22311),f=n(33117),b=n(41008),h=n(63485),g=n(26638),y=n(94792);const x=(0,n(72342).makeStyles)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const C=e=>{let{open:t,anchorEl:n,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,r.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,r.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,r.useMemo)((()=>{const e=(0,u.curry)(((e,n,r,o)=>[{item:v({},n,{filterText:c}),level:e,groupId:r,groupName:o},...t(n.children||[],r,o,e+1)])),t=function(t,n,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,n,r),i=t.filter(j);return(I?u.map:u.chain)(l,i)};return t}),[c,I,j]),T=(0,r.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,r.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),R=(0,r.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),L=(0,r.useMemo)((()=>(0,b.LG)(R)),[R]),{focusIndex:D,handleKeyDown:Z}=(0,g.t)({items:L,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,r.useRef)(null);A.current=D;const F=(0,r.useCallback)(((e,t,n)=>{let{item:r,level:l=0}=t;const i=!!C.find((e=>e.id===r.id||e.id.includes(`${r.id}.`))),a=A.current===n;return o().createElement(f.Z,{key:r.id,onClick:O,checked:i,level:l,data:r,label:o().createElement(y.Z,{text:r.label,highlight:r.filterText}),labelInText:r.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:r.notSelectable,LogoIcon:r.LogoIcon})}),[S,O,C]),B=(0,p.fW1)("label")(R)||308,W=x();return o().createElement(m.Z,w({open:t,className:d()(W.container,W.popupContainer),anchorEl:n,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:Z},E),o().createElement(h.Z,{height:300,renderItem:F,items:L,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:D,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},87086:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(28207),i=n(47746);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:n}=e,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","children"]);const[c,d]=(0,r.useState)(t),u=(0,i.Z)().transitions.duration.leavingScreen;return(0,r.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{d(!1)}),u);return()=>clearTimeout(e)}d(!0)}}),[t,u,c]),o().createElement(l.ZP,a({open:t},s),c&&n)};s.displayName="Drawer";const c=s},92934:(e,t,n)=>{n.d(t,{Q:()=>c});var r=n(24328),o=n.n(r),l=n(2507),i=n.n(l),a=n(31421),s=n(72108);const c=(0,r.memo)((e=>{let{entityTypes:t,selectedEntityTypes:n,single:l,placeholder:c,enableEmptyValueUnderline:d,onChange:u,classes:p={},ListLabelProps:m={},disabled:f=!1}=e;const b=(0,r.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:b,selectedItemsUris:n,single:l,placeholder:c,enableEmptyValueUnderline:d,onChange:u,classes:p,ListLabelProps:m,disabled:f,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},72108:(e,t,n)=>{n.d(t,{S:()=>N});var r=n(24328),o=n.n(r),l=n(71153),i=n.n(l),a=n(50914),s=n(31421),c=n(53242),d=n(65643),u=n(23883),p=n(72342);const m=(0,p.makeStyles)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),f=(e,t)=>{const{childNodes:n,clientLeft:r,clientWidth:o}=t;if(n.length>0){const[t]=Array.from(n),l=document.createRange();l.setStart(t,0);for(let n=0;n<e.length;n++){l.setEnd(t,l.endOffset+e[n].length);const{width:i}=l.getBoundingClientRect();if(r+i>o)return n;n!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),h=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,g=e=>{let{list:t,maxWidth:n}=e;const l=m(),i=(0,r.useRef)(),[a,s]=(0,r.useState)(0);(0,r.useEffect)((()=>{s(((e,t)=>{const n=e.length,r=((e,t)=>{if(t){const n=f(e,t);return-1===n?0:e.length-n}return 0})(e,t);return n-Math.max(1,n-r)})(t,i.current))}),[t]);const c=b(t),d=a>0,p=d?b(t.slice(0,-a)):c;return o().createElement(u.Z,{title:d?c:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:h(n)},className:l.listLabel,ref:i},c),o().createElement("div",{className:l.visibleItemsLabel},p),d&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var y=n(40435),x=n(22311),w=n(26638),v=n(33117),O=n(94792),C=n(63485);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}const I=(0,a.always)(32),E=(0,r.memo)((e=>{let{selectedItems:t,onItemClick:n,focusIndex:r,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(C.Z,S({getItemSize:I,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===r;return o().createElement(v.Z,{key:a.uri,onClick:n,checked:s,data:a,label:o().createElement(O.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:r,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));E.displayName="SelectMetadataTypesList";const k=(0,p.makeStyles)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",cursor:"pointer",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&.Mui-disabled":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px",cursor:"pointer","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const N=(0,r.memo)((e=>{let{placeholder:t,classes:n={},items:l,selectedItemsUris:u,onChange:p,ListLabelProps:m={},disabled:f,enableEmptyValueUnderline:b,single:h,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=k(),[I,T]=(0,r.useState)(!1),N=(0,r.useCallback)((()=>T(!0)),[]),R=(0,r.useCallback)((()=>T(!1)),[]),[L,D]=(0,r.useState)(""),Z=(0,r.useCallback)((()=>D("")),[]),A=(0,r.useCallback)((0,a.pipe)(Z,R),[R,Z]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,L)})).map(((e,t)=>({item:{item:P({},e,{filterText:L})},index:t}))),B=(0,r.useMemo)((()=>u.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[u,l]),W=(0,r.useCallback)(((e,t)=>{h?(p(t?[e.uri]:[]),A()):p(t?u.concat(e.uri):u.filter((t=>t!==e.uri)))}),[u,p,h,A]),$=(0,r.useCallback)((e=>{let{item:t}=e;const n=!u.includes(t.uri);W(t,n)}),[u,W]),{focusIndex:z,handleKeyDown:H}=(0,w.t)({items:F,open:I,onSelectFocusedItem:$,selectedItems:u,onClose:A}),M=(0,r.useRef)(),V=M.current?M.current.getBoundingClientRect().width:0,_=Math.max(V,255),G=0===u.length;return o().createElement(o().Fragment,null,o().createElement(c.Z,{label:v,ref:M,InputProps:{startAdornment:G&&!t?null:o().createElement("div",{className:i()(S.inputText,n.inputText)},G?o().createElement("div",null,t):o().createElement(g,j({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,n.input,{[S.emptyInput]:G&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:f}),underline:S.disabledUnderline},endAdornment:o().createElement(y.Z,{size:"L",icon:d.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:I}),disabled:f}),readOnly:!0,disableUnderline:G&&!b},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,n.label)}},value:"",onClick:f?void 0:N,classes:{root:i()(S.root,n.root)},size:"small",variant:"filled",disabled:f,"data-reltio-id":O}),o().createElement(x.Z,{open:I,anchorEl:M.current,onClose:A,onSearch:D,title:C,containerWidth:_,containerHeight:355,searchInputOnKeyDown:H,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(E,{items:F,onItemClick:W,selectedItems:u,width:_,height:245,focusIndex:z})))}));N.displayName="MetadataTypesSelector"},79145:(e,t,n)=>{n.d(t,{Z:()=>O});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(71153),s=n.n(a),c=n(2507),d=n.n(c),u=n(72342);const p="46px",m=(0,u.makeStyles)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:p},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:p}})));var f=n(7342);const b=e=>{let{className:t,rowData:n}=e;const r=m();return o().createElement("div",{className:s()(r.readOnlyLogicOperatorContainer,t)},n&&n.operator?(0,f.Z)(n.operator):d().text("Where"))};b.propTypes={className:i().string,rowData:i().object};const h=b;var g=n(31421);const y=e=>{let{className:t,rowData:n}=e;const r=m();return o().createElement("div",{className:s()(r.readOnlyFilter,t)},n&&n.filter?(0,g.XS2)(n.filter):d().text("equals"))};var x=n(53862);const w=(0,u.makeStyles)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:n,previousRowData:r,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:d,filterSelectorRef:u,attributeSelectorProps:p={}}=e,m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const f=w();return o().createElement("div",{className:s()(f.row,t.root),"data-reltio-id":"query-builder-row"},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:r}),o().createElement("div",{className:s()(f.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:p,rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:u,rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,f.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:n})),o().createElement("div",{className:s()(f.rowItem,t.actionsContainer,{[f.hidden]:!n})},o().createElement(d,{rowContext:m,rowData:n})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,r.memo)(v)},51586:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),l=n(13980),i=n.n(l),a=n(50914),s=n(79145),c=n(53862);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const u=e=>{let{className:t,rowClasses:n,rowsData:r,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const p=(e,t,r)=>{const p=t>0?(0,a.path)([t-1],r):null,m=t===r.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,d({key:e&&e.id,rowData:e,previousRowData:p,classes:n,filterSelectorRef:t===c?i:void 0},u,m))};return o().createElement("div",{className:t},r.map(p),p(null,r.length,r))};u.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const p=(0,r.memo)(u)},2633:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(54573),o=n(50914);const l={BY_LABEL:(0,r.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
2
2
|
//# sourceMappingURL=8741.js.map
|
package/9016.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see 9016.js.LICENSE.txt */
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a29390b4-82d6-42af-a84b-4acac3401254",e._sentryDebugIdIdentifier="sentry-dbid-a29390b4-82d6-42af-a84b-4acac3401254")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1648"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9016,3463],{40855:(e,t,r)=>{r.d(t,{tP:()=>h,NU:()=>y,ZP:()=>v});var n=r(7896),i=r(31461),s=r(24328),o=r(70882),a=r(54426),l=r(59938),u=r(52322);const c=["children","injectFirst","disableGeneration"],f=(0,o.Ue)((0,l.Z)()),d=(0,a.Z)(),h=new Map,p={disableGeneration:!1,generateClassName:d,jss:f,sheetsCache:null,sheetsManager:h,sheetsRegistry:null},y=s.createContext(p);let m;function v(e){const{children:t,injectFirst:r=!1,disableGeneration:a=!1}=e,f=(0,i.Z)(e,c),d=s.useContext(y),{generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S}=(0,n.Z)({},d,f),x=s.useMemo((()=>{const e={disableGeneration:a,generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S};if(!e.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!m){const e=document.head;m=document.createComment("mui-inject-first"),e.insertBefore(m,e.firstChild)}e.jss=(0,o.Ue)({plugins:(0,l.Z)().plugins,insertionPoint:m})}return e}),[r,a,h,p,v,g,b,S]);return(0,u.jsx)(y.Provider,{value:x,children:t})}},54426:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(53227);const i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function s(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:s=""}=e,o=""===s?"":`${s}-`;let a=0;const l=()=>(a+=1,a);return(e,a)=>{const u=a.options.name;if(u&&0===u.indexOf("Mui")&&!a.options.link&&!t){if(-1!==i.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${u}-${e.key}`;return a.options.theme[n.Z]&&""===s?`${t}-${l()}`:t}return`${o}${r}${l()}`}}},61041:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e){const{theme:t,name:r,props:i}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return i;const s=(0,n.Z)({},i),o=t.components[r].defaultProps;let a;for(a in o)void 0===s[a]&&(s[a]=o[a]);return s}},59938:(e,t,r)=>{r.d(t,{Z:()=>Ae});var n=r(70882),i=Date.now(),s="fnValues"+i,o="fnStyle"+ ++i;var a=r(7896),l="@global",u="@global ",c=function(){function e(e,t,r){for(var i in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new n.RB((0,a.Z)({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,r){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(u.length);this.rule=r.jss.createRule(n,t,(0,a.Z)({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function h(e,t){for(var r=e.split(d),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var p=/\s*,\s*/g,y=/&/g,m=/\$([\w-]+)/g;const v=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(p),n=e.split(p),i="",s=0;s<r.length;s++)for(var o=r[s],a=0;a<n.length;a++){var l=n[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(y,o):o+" "+l}return i}function r(e,t,r){if(r)return(0,a.Z)({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=(0,a.Z)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,s){if("style"!==i.type)return n;var o,l,u=i,c=u.options.parent;for(var f in n){var d=-1!==f.indexOf("&"),h="@"===f[0];if(d||h){if(o=r(u,c,o),d){var p=t(f,u.selector);l||(l=e(c,s)),p=p.replace(m,l);var y=u.key+"-"+f;"replaceRule"in c?c.replaceRule(y,n[f],(0,a.Z)({},o,{selector:p})):c.addRule(y,n[f],(0,a.Z)({},o,{selector:p}))}else h&&c.addRule(f,{},o).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}};var g=/[A-Z]/g,b=/^ms-/,S={};function x(e){return"-"+e.toLowerCase()}const k=function(e){if(S.hasOwnProperty(e))return S[e];var t=e.replace(g,x);return S[e]=b.test(t)?"-"+t:t};function w(e){var t={};for(var r in e)t[0===r.indexOf("--")?r:k(r)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(w):t.fallbacks=w(e.fallbacks)),t}var P=n.HZ&&CSS?CSS.px:"px",R=n.HZ&&CSS?CSS.ms:"ms",C=n.HZ&&CSS?CSS.percent:"%";function Z(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var j=Z({"animation-delay":R,"animation-duration":R,"background-position":P,"background-position-x":P,"background-position-y":P,"background-size":P,border:P,"border-bottom":P,"border-bottom-left-radius":P,"border-bottom-right-radius":P,"border-bottom-width":P,"border-left":P,"border-left-width":P,"border-radius":P,"border-right":P,"border-right-width":P,"border-top":P,"border-top-left-radius":P,"border-top-right-radius":P,"border-top-width":P,"border-width":P,"border-block":P,"border-block-end":P,"border-block-end-width":P,"border-block-start":P,"border-block-start-width":P,"border-block-width":P,"border-inline":P,"border-inline-end":P,"border-inline-end-width":P,"border-inline-start":P,"border-inline-start-width":P,"border-inline-width":P,"border-start-start-radius":P,"border-start-end-radius":P,"border-end-start-radius":P,"border-end-end-radius":P,margin:P,"margin-bottom":P,"margin-left":P,"margin-right":P,"margin-top":P,"margin-block":P,"margin-block-end":P,"margin-block-start":P,"margin-inline":P,"margin-inline-end":P,"margin-inline-start":P,padding:P,"padding-bottom":P,"padding-left":P,"padding-right":P,"padding-top":P,"padding-block":P,"padding-block-end":P,"padding-block-start":P,"padding-inline":P,"padding-inline-end":P,"padding-inline-start":P,"mask-position-x":P,"mask-position-y":P,"mask-size":P,height:P,width:P,"min-height":P,"max-height":P,"min-width":P,"max-width":P,bottom:P,left:P,top:P,right:P,inset:P,"inset-block":P,"inset-block-end":P,"inset-block-start":P,"inset-inline":P,"inset-inline-end":P,"inset-inline-start":P,"box-shadow":P,"text-shadow":P,"column-gap":P,"column-rule":P,"column-rule-width":P,"column-width":P,"font-size":P,"font-size-delta":P,"letter-spacing":P,"text-decoration-thickness":P,"text-indent":P,"text-stroke":P,"text-stroke-width":P,"word-spacing":P,motion:P,"motion-offset":P,outline:P,"outline-offset":P,"outline-width":P,perspective:P,"perspective-origin-x":C,"perspective-origin-y":C,"transform-origin":C,"transform-origin-x":C,"transform-origin-y":C,"transform-origin-z":C,"transition-delay":R,"transition-duration":R,"vertical-align":P,"flex-basis":P,"shape-margin":P,size:P,gap:P,grid:P,"grid-gap":P,"row-gap":P,"grid-row-gap":P,"grid-column-gap":P,"grid-template-rows":P,"grid-template-columns":P,"grid-auto-rows":P,"grid-auto-columns":P,"box-shadow-x":P,"box-shadow-y":P,"box-shadow-blur":P,"box-shadow-spread":P,"font-line-height":P,"text-shadow-x":P,"text-shadow-y":P,"text-shadow-blur":P});function O(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=O(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=O(i,t[i],r);else for(var s in t)t[s]=O(e+"-"+s,t[s],r);else if("number"==typeof t&&!1===isNaN(t)){var o=r[e]||j[e];return!o||0===t&&o===P?t.toString():"function"==typeof o?o(t).toString():""+t+o}return t}const $=function(e){void 0===e&&(e={});var t=Z(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=O(n,e[n],t);return e},onChangeValue:function(e,r){return O(r,e,t)}}};var A=r(20653),M=r(38777),N="",E="",I="",T="",_=A.Z&&"ontouchstart"in document.documentElement;if(A.Z){var G={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},z=document.createElement("p").style;for(var V in G)if(V+"Transform"in z){N=V,E=G[V];break}"Webkit"===N&&"msHyphens"in z&&(N="ms",E=G.ms,T="edge"),"Webkit"===N&&"-apple-trailing-word"in z&&(I="apple")}var q=N,U=E,F=I,W=T,D=_,J={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===q?"-webkit-"+e:U+e)}},H={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===q?U+"print-"+e:e)}},B=/[-\s]+(.)?/g;function L(e,t){return t?t.toUpperCase():""}function K(e){return e.replace(B,L)}function Y(e){return K("-"+e)}var Q,X={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===q){var r="mask-image";if(K(r)in t)return e;if(q+Y(r)in t)return U+e}return e}},ee={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==F||D?e:U+e)}},te={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:U+e)}},re={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:U+e)}},ne={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===q||"ms"===q&&"edge"!==W?U+e:e)}},ie={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===q||"ms"===q||"apple"===F?U+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===q?"WebkitColumn"+Y(e)in t&&U+"column-"+e:"Moz"===q&&"page"+Y(e)in t&&"page-"+e)}},oe={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===q)return e;var r=e.replace("-inline","");return q+Y(r)in t&&U+r}},ae={supportedProperty:function(e,t){return K(e)in t&&e}},le={supportedProperty:function(e,t){var r=Y(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:q+r in t?U+e:"Webkit"!==q&&"Webkit"+r in t&&"-webkit-"+e}},ue={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===q?""+U+e:e)}},ce={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===q?U+"scroll-chaining":e)}},fe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},de={supportedProperty:function(e,t){var r=fe[e];return!!r&&q+Y(r)in t&&U+r}},he={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},pe=Object.keys(he),ye=function(e){return U+e},me={supportedProperty:function(e,t,r){var n=r.multiple;if(pe.indexOf(e)>-1){var i=he[e];if(!Array.isArray(i))return q+Y(i)in t&&U+i;if(!n)return!1;for(var s=0;s<i.length;s++)if(!(q+Y(i[0])in t))return!1;return i.map(ye)}return!1}},ve=[J,H,X,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,de,me],ge=ve.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),be=ve.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,M.Z)(t.noPrefill)),e}),[]),Se={};if(A.Z){Q=document.createElement("p");var xe=window.getComputedStyle(document.documentElement,"");for(var ke in xe)isNaN(ke)||(Se[xe[ke]]=xe[ke]);be.forEach((function(e){return delete Se[e]}))}function we(e,t){if(void 0===t&&(t={}),!Q)return e;if(null!=Se[e])return Se[e];"transition"!==e&&"transform"!==e||(t[e]=e in Q.style);for(var r=0;r<ge.length&&(Se[e]=ge[r](e,Q.style,t),!Se[e]);r++);try{Q.style[e]=""}catch(e){return!1}return Se[e]}var Pe,Re={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ze=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":(t?we(t):", "+we(r))||t||r}function Oe(e,t){var r=t;if(!Pe||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Re[n])return Re[n];try{Pe.style[e]=r}catch(e){return Re[n]=!1,!1}if(Ce[e])r=r.replace(Ze,je);else if(""===Pe.style[e]&&("-ms-flex"===(r=U+r)&&(Pe.style[e]="-ms-flexbox"),Pe.style[e]=r,""===Pe.style[e]))return Re[n]=!1,!1;return Pe.style[e]="",Re[n]=r,Re[n]}A.Z&&(Pe=document.createElement("p"));const $e=function(){function e(t){for(var r in t){var i=t[r];if("fallbacks"===r&&Array.isArray(i))t[r]=i.map(e);else{var s=!1,o=we(r);o&&o!==r&&(s=!0);var a=!1,l=Oe(o,(0,n.EK)(i));l&&l!==i&&(a=!0),(s||a)&&(s&&delete t[r],t[o||r]=l||i)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===q?e:"@"+U+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Oe(t,(0,n.EK)(e))||e}}};function Ae(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var i=(0,n.JH)(e,{},r);return i[o]=t,i},onProcessStyle:function(e,t){if(s in t||o in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[s]=r,e},onUpdate:function(e,t,r,n){var i=t,a=i[o];a&&(i.style=a(e)||{});var l=i[s];if(l)for(var u in l)i.prop(u,l[u](e),n)}},{onCreateRule:function(e,t,r){if(!e)return null;if(e===l)return new c(e,t,r);if("@"===e[0]&&e.substr(0,u.length)===u)return new f(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[l]:null;if(i){for(var s in i)t.addRule(s,i[s],(0,a.Z)({},r,{selector:h(s,e.selector)}));delete n[l]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,l.length)===l){var s=h(i.substr(l.length),e.selector);t.addRule(s,n[i],(0,a.Z)({},r,{selector:s})),delete n[i]}}(e,t))}},v(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e}return w(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=k(t);return t===n?e:(r.prop(n,e),null)}},$(),"undefined"==typeof window?null:$e(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),s=0;s<i.length;s++)n[i[s]]=t[i[s]];return n}})]};var e}},24142:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(31461),i=r(7896),s=r(24328),o=r(70882),a=r(14691);const l=(e,t,r,n)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)},u=(e,t,r)=>{const n=e.get(t);return n?n.get(r):void 0},c=(e,t,r)=>{e.get(t).delete(r)};var f=r(96170),d=r(40855);let h=-1e9;var p=r(48970),y=r(93298);const m={},v=["name","classNamePrefix","Component","defaultTheme"];function g(e,t={}){const{name:r,classNamePrefix:g,Component:b,defaultTheme:S=m}=t,x=(0,n.Z)(t,v),k=function(e){const t="function"==typeof e;return{create:(r,n)=>{let s;try{s=t?e(r):e}catch(e){throw e}if(!n||!r.components||!r.components[n]||!r.components[n].styleOverrides&&!r.components[n].variants)return s;const o=r.components[n].styleOverrides||{},a=r.components[n].variants||[],l=(0,i.Z)({},s);return Object.keys(o).forEach((e=>{l[e]=(0,p.Z)(l[e]||{},o[e])})),a.forEach((e=>{const t=(0,y.Z)(e.props);l[t]=(0,p.Z)(l[t]||{},e.style)})),l},options:{}}}(e),w=r||g||"makeStyles";return k.options={index:(h+=1,h),name:r,meta:w,classNamePrefix:w},(e={})=>{const t=(0,f.Z)()||S,n=(0,i.Z)({},s.useContext(d.NU),x),h=s.useRef(),p=s.useRef();!function(f,d){const y=s.useRef([]);let m;const v=s.useMemo((()=>({})),d);y.current!==v&&(y.current=v,m=(()=>{const s={name:r,state:{},stylesCreator:k,stylesOptions:n,theme:t};return function({state:e,theme:t,stylesOptions:r,stylesCreator:n,name:s},c){if(r.disableGeneration)return;let f=u(r.sheetsManager,n,t);f||(f={refs:0,staticSheet:null,dynamicStyles:null},l(r.sheetsManager,n,t,f));const d=(0,i.Z)({},n.options,r,{theme:t,flip:"boolean"==typeof r.flip?r.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const h=r.sheetsRegistry;if(0===f.refs){let e;r.sheetsCache&&(e=u(r.sheetsCache,n,t));const a=n.create(t,s);e||(e=r.jss.createStyleSheet(a,(0,i.Z)({link:!1},d)),e.attach(),r.sheetsCache&&l(r.sheetsCache,n,t,e)),h&&h.add(e),f.staticSheet=e,f.dynamicStyles=(0,o._$)(a)}if(f.dynamicStyles){const t=r.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=(0,a.Z)({baseClasses:f.staticSheet.classes,newClasses:t.classes}),h&&h.add(t)}else e.classes=f.staticSheet.classes;f.refs+=1}(s,e),p.current=!1,h.current=s,()=>{!function({state:e,theme:t,stylesOptions:r,stylesCreator:n}){if(r.disableGeneration)return;const i=u(r.sheetsManager,n,t);i.refs-=1;const s=r.sheetsRegistry;0===i.refs&&(c(r.sheetsManager,n,t),r.jss.removeStyleSheet(i.staticSheet),s&&s.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),s&&s.remove(e.dynamicSheet))}(s)}})()),s.useEffect((()=>()=>{m&&m()}),[v])}(0,[t,k]),s.useEffect((()=>{p.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(h.current,e),p.current=!0}));const y=function({state:e,stylesOptions:t},r,n){if(t.disableGeneration)return r||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),r!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=r,i=!0),i&&(e.cacheClasses.value=(0,a.Z)({baseClasses:e.cacheClasses.lastJSS,newClasses:r,Component:n})),e.cacheClasses.value}(h.current,e.classes,b);return y}}},14691:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e={}){const{baseClasses:t,newClasses:r,Component:i}=e;if(!r)return t;const s=(0,n.Z)({},t);return Object.keys(r).forEach((e=>{r[e]&&(s[e]=`${t[e]} ${r[e]}`)})),s}},93298:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(31461),i=r(1290);const s=["variant"];function o(e){return 0===e.length}function a(e){const{variant:t}=e,r=(0,n.Z)(e,s);let a=t||"";return Object.keys(r).sort().forEach((t=>{a+="color"===t?o(a)?e[t]:(0,i.Z)(e[t]):`${o(a)?t:(0,i.Z)(t)}${(0,i.Z)(e[t].toString())}`})),a}},96170:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(47903);function i(){var e;const t=(0,n.Z)();return null!=(e=null==t?void 0:t.$$material)?e:t}},79016:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(7896),i=r(31461),s=r(24328),o=r(73463),a=r.n(o),l=r(24142),u=r(61041),c=r(96170),f=r(52322);const d=["defaultTheme","withTheme","name"],h=["classes"],p=(e,t={})=>r=>{const{defaultTheme:o,withTheme:p=!1,name:y}=t,m=(0,i.Z)(t,d);let v=y;const g=(0,l.Z)(e,(0,n.Z)({defaultTheme:o,Component:r,name:y||r.displayName,classNamePrefix:v},m)),b=s.forwardRef((function(e,t){const s=(0,i.Z)(e,h),a=g((0,n.Z)({},r.defaultProps,e));let l,d=s;return("string"==typeof y||p)&&(l=(0,c.Z)()||o,y&&(d=(0,u.Z)({theme:l,name:y,props:s})),p&&!d.theme&&(d.theme=l)),(0,f.jsx)(r,(0,n.Z)({ref:t,classes:a},d))}));return a()(b,r),b}},73463:(e,t,r)=>{var n=r(48570),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var a=l(t),y=l(r),m=0;m<o.length;++m){var v=o[m];if(!(s[v]||n&&n[v]||y&&y[v]||a&&a[v])){var g=d(r,v);try{u(t,v,g)}catch(e){}}}}return t}},20653:(e,t,r)=>{r.d(t,{Z:()=>i});var n="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};const i="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType},70882:(e,t,r)=>{r.d(t,{RB:()=>B,xE:()=>Y,Ue:()=>ye,JH:()=>f,_$:()=>ve,HZ:()=>me,EK:()=>h});var n=r(7896),i=r(20653),s=r(87371),o=r(81665),a=r(80753),l=r(31461),u={}.constructor;function c(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var r in e)t[r]=c(e[r]);return t}function f(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=c(t);return n.plugins.onCreateRule(e,i,r)||(e[0],null)}var d=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},h=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=d(e[r]," ");else t=d(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function p(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function m(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,s=void 0===i?0:i,o=t.fallbacks;!1===r.format&&(s=-1/0);var a=p(r),l=a.linebreak,u=a.space;if(e&&s++,o)if(Array.isArray(o))for(var c=0;c<o.length;c++){var f=o[c];for(var d in f){var m=f[d];null!=m&&(n&&(n+=l),n+=y(d+":"+u+h(m)+";",s))}}else for(var v in o){var g=o[v];null!=g&&(n&&(n+=l),n+=y(v+":"+u+h(g)+";",s))}for(var b in t){var S=t[b];null!=S&&"fallbacks"!==b&&(n&&(n+=l),n+=y(b+":"+u+h(S)+";",s))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),y(""+e+u+"{"+n,--s)+y("}",s)):n}var v=/([[\].#*$><+~=|^:(),"'`\s])/g,g="undefined"!=typeof CSS&&CSS.escape,b=function(e){return g?g(e):e.replace(v,"\\$1")},S=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var s=null==i||!1===i,o=e in this.style;if(s&&!o&&!n)return this;var a=s&&o;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),x=function(e){function t(t,r,n){var i;i=e.call(this,t,r,n)||this;var s=n.selector,o=n.scoped,l=n.sheet,u=n.generateId;return s?i.selectorText=s:!1!==o&&(i.id=u((0,a.Z)((0,a.Z)(i)),l),i.selectorText="."+b(i.id)),i}(0,o.Z)(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=h(r))}return e},r.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.selectorText,this.style,r)},(0,s.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;r&&t&&(t.setSelector(r,e)||t.replaceRule(r,this))}},get:function(){return this.selectorText}}]),t}(S),k={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new x(e,t,r)}},w={indent:1,children:!0},P=/@([\w-]+)/,R=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(P);for(var s in this.at=i?i[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(s,t[s]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=w);var t=p(e).linebreak;if(null==e.indent&&(e.indent=w.indent),null==e.children&&(e.children=w.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),C=/@container|@media|@supports\s+/,Z={onCreateRule:function(e,t,r){return C.test(e)?new R(e,t,r):null}},j={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,$=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(O);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var s=r.scoped,o=r.sheet,a=r.generateId;for(var l in this.id=!1===s?this.name:b(a(this,o)),this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(l,t[l],(0,n.Z)({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=j);var t=p(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),A=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(e,t){return"string"==typeof e?e.replace(M,(function(e,r){return r in t?t[r]:e})):e},E=function(e,t,r){var n=e[t],i=N(n,r);i!==n&&(e[t]=i)},I={onCreateRule:function(e,t,r){return"string"==typeof e&&A.test(e)?new $(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&E(e,"animation-name",r.keyframes),"animation"in e&&E(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return N(e,n.keyframes);default:return e}}},T=function(e){function t(){return e.apply(this,arguments)||this}return(0,o.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.key,this.style,r)},t}(S),_={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new T(e,t,r):null}},G=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=p(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=m(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return m(this.at,this.style,e)},e}(),z=/@font-face/,V={onCreateRule:function(e,t,r){return z.test(e)?new G(e,t,r):null}},q=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return m(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new q(e,t,r):null}},F=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),W={"@charset":!0,"@import":!0,"@namespace":!0},D=[k,Z,I,_,V,U,{onCreateRule:function(e,t,r){return e in W?new F(e,t,r):null}}],J={process:!0},H={force:!0,process:!0},B=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var i=this.options,s=i.parent,o=i.sheet,a=i.jss,l=i.Renderer,u=i.generateId,c=i.scoped,d=(0,n.Z)({classes:this.classes,parent:s,sheet:o,jss:a,Renderer:l,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},r),h=e;e in this.raw&&(h=e+"-d"+this.counter++),this.raw[h]=t,h in this.classes&&(d.selector="."+b(this.classes[h]));var p=f(h,t,d);if(!p)return null;this.register(p);var y=void 0===d.index?this.index.length:d.index;return this.index.splice(y,0,p),p},t.replace=function(e,t,r){var i=this.get(e),s=this.index.indexOf(i);i&&this.remove(i);var o=r;return-1!==s&&(o=(0,n.Z)({},r,{index:s})),this.add(e,t,o)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof x?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof $&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof x?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof $&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=J);var i=this.options,s=i.jss.plugins,o=i.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var a=t.style;if(s.onUpdate(r,t,o,n),n.process&&a&&a!==t.style){for(var l in s.onProcessStyle(t.style,t,o),t.style){var u=t.style[l];u!==a[l]&&t.prop(l,u,H)}for(var c in a){var f=t.style[c],d=a[c];null==f&&f!==d&&t.prop(c,null,H)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=p(e).linebreak,s=0;s<this.index.length;s++){var o=this.index[s].toString(e);(o||n)&&(t&&(t+=i),t+=o)}return t},e}(),L=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,n.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new B(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var i=this.rules.replace(e,t,r);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?n.renderable&&this.renderer.replaceRule(n.renderable,i):this.renderer.deleteRule(n)),i):i:(this.deployed=!1,i)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),K=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Y=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=(0,l.Z)(t,["attached"]),i=p(n).linebreak,s="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(s&&(s+=i),s+=a.toString(n))}return s},(0,s.Z)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Q=new Y,X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ee="2f1acc6c3a606b082e5eef5e54414ffb";null==X[ee]&&(X[ee]=0);var te=X[ee]++,re=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",s="";return n&&(n.options.classNamePrefix&&(s=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(s||"c")+te+i+t:s+r.key+"-"+te+(i?"-"+i:"")+"-"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},ie=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},se=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=h(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var i=n?n.indexOf("!important"):-1,s=i>-1?n.substr(0,i-1):n;e.style.setProperty(t,s,i>-1?"important":"")}}catch(e){return!1}return!0},oe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ae=function(e,t){return e.selectorText=t,e.selectorText===t},le=ne((function(){return document.querySelector("head")}));var ue=ne((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ce=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},fe=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},de=function(){function e(e){this.getPropertyValue=ie,this.setProperty=se,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Q.add(e),this.sheet=e;var t,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,s=r.element;this.element=s||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var o=ue();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=function(e){var t=Q.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=le(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,s=i.parentNode;s&&s.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;if("conditional"===e.type||"keyframes"===e.type){var s=fe(r,t);if(!1===(i=ce(r,n.toString({children:!1}),s)))return!1;this.refCssRule(e,s,i)}return this.insertRules(n.rules,i),i}var o=e.toString();if(!o)return!1;var a=fe(r,t),l=ce(r,o,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof L&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),he=0,pe=function(){function e(e){this.id=he++,this.version="10.10.0",this.plugins=new K,this.options={id:{minify:!1},createGenerateId:re,Renderer:i.Z?de:null,plugins:[]},this.generateId=re({minify:!1});for(var t=0;t<D.length;t++)this.plugins.use(D[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,n.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Q.index?0:Q.index+1);var i=new L(e,(0,n.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),Q.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var i=(0,n.Z)({},r,{name:e,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=f(e,t,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),ye=function(e){return new pe(e)},me="object"==typeof CSS&&null!=CSS&&"number"in CSS;function ve(e){var t=null;for(var r in e){var n=e[r],i=typeof n;if("function"===i)t||(t={}),t[r]=n;else if("object"===i&&null!==n&&!Array.isArray(n)){var s=ve(n);s&&(t||(t={}),t[r]=s)}}return t}ye()},66866:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case s:case a:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case m:case y:case l:return e;default:return t}}case i:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===s},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===f||e===a||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===S||e.$$typeof===v)},t.typeOf=x},48570:(e,t,r)=>{e.exports=r(66866)},926:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:()=>n})},87371:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(45850);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,n.Z)(i.key),i)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},38777:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(926),i=r(59147);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},45850:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t);if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},86522:(e,t,r)=>{function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},59147:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(926);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}}}]);
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a29390b4-82d6-42af-a84b-4acac3401254",e._sentryDebugIdIdentifier="sentry-dbid-a29390b4-82d6-42af-a84b-4acac3401254")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1650"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9016,3463],{40855:(e,t,r)=>{r.d(t,{tP:()=>h,NU:()=>y,ZP:()=>v});var n=r(7896),i=r(31461),s=r(24328),o=r(70882),a=r(54426),l=r(59938),u=r(52322);const c=["children","injectFirst","disableGeneration"],f=(0,o.Ue)((0,l.Z)()),d=(0,a.Z)(),h=new Map,p={disableGeneration:!1,generateClassName:d,jss:f,sheetsCache:null,sheetsManager:h,sheetsRegistry:null},y=s.createContext(p);let m;function v(e){const{children:t,injectFirst:r=!1,disableGeneration:a=!1}=e,f=(0,i.Z)(e,c),d=s.useContext(y),{generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S}=(0,n.Z)({},d,f),x=s.useMemo((()=>{const e={disableGeneration:a,generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S};if(!e.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!m){const e=document.head;m=document.createComment("mui-inject-first"),e.insertBefore(m,e.firstChild)}e.jss=(0,o.Ue)({plugins:(0,l.Z)().plugins,insertionPoint:m})}return e}),[r,a,h,p,v,g,b,S]);return(0,u.jsx)(y.Provider,{value:x,children:t})}},54426:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(53227);const i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function s(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:s=""}=e,o=""===s?"":`${s}-`;let a=0;const l=()=>(a+=1,a);return(e,a)=>{const u=a.options.name;if(u&&0===u.indexOf("Mui")&&!a.options.link&&!t){if(-1!==i.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${u}-${e.key}`;return a.options.theme[n.Z]&&""===s?`${t}-${l()}`:t}return`${o}${r}${l()}`}}},61041:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e){const{theme:t,name:r,props:i}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return i;const s=(0,n.Z)({},i),o=t.components[r].defaultProps;let a;for(a in o)void 0===s[a]&&(s[a]=o[a]);return s}},59938:(e,t,r)=>{r.d(t,{Z:()=>Ae});var n=r(70882),i=Date.now(),s="fnValues"+i,o="fnStyle"+ ++i;var a=r(7896),l="@global",u="@global ",c=function(){function e(e,t,r){for(var i in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new n.RB((0,a.Z)({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,r){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(u.length);this.rule=r.jss.createRule(n,t,(0,a.Z)({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function h(e,t){for(var r=e.split(d),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var p=/\s*,\s*/g,y=/&/g,m=/\$([\w-]+)/g;const v=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(p),n=e.split(p),i="",s=0;s<r.length;s++)for(var o=r[s],a=0;a<n.length;a++){var l=n[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(y,o):o+" "+l}return i}function r(e,t,r){if(r)return(0,a.Z)({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=(0,a.Z)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,s){if("style"!==i.type)return n;var o,l,u=i,c=u.options.parent;for(var f in n){var d=-1!==f.indexOf("&"),h="@"===f[0];if(d||h){if(o=r(u,c,o),d){var p=t(f,u.selector);l||(l=e(c,s)),p=p.replace(m,l);var y=u.key+"-"+f;"replaceRule"in c?c.replaceRule(y,n[f],(0,a.Z)({},o,{selector:p})):c.addRule(y,n[f],(0,a.Z)({},o,{selector:p}))}else h&&c.addRule(f,{},o).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}};var g=/[A-Z]/g,b=/^ms-/,S={};function x(e){return"-"+e.toLowerCase()}const k=function(e){if(S.hasOwnProperty(e))return S[e];var t=e.replace(g,x);return S[e]=b.test(t)?"-"+t:t};function w(e){var t={};for(var r in e)t[0===r.indexOf("--")?r:k(r)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(w):t.fallbacks=w(e.fallbacks)),t}var P=n.HZ&&CSS?CSS.px:"px",R=n.HZ&&CSS?CSS.ms:"ms",C=n.HZ&&CSS?CSS.percent:"%";function Z(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var j=Z({"animation-delay":R,"animation-duration":R,"background-position":P,"background-position-x":P,"background-position-y":P,"background-size":P,border:P,"border-bottom":P,"border-bottom-left-radius":P,"border-bottom-right-radius":P,"border-bottom-width":P,"border-left":P,"border-left-width":P,"border-radius":P,"border-right":P,"border-right-width":P,"border-top":P,"border-top-left-radius":P,"border-top-right-radius":P,"border-top-width":P,"border-width":P,"border-block":P,"border-block-end":P,"border-block-end-width":P,"border-block-start":P,"border-block-start-width":P,"border-block-width":P,"border-inline":P,"border-inline-end":P,"border-inline-end-width":P,"border-inline-start":P,"border-inline-start-width":P,"border-inline-width":P,"border-start-start-radius":P,"border-start-end-radius":P,"border-end-start-radius":P,"border-end-end-radius":P,margin:P,"margin-bottom":P,"margin-left":P,"margin-right":P,"margin-top":P,"margin-block":P,"margin-block-end":P,"margin-block-start":P,"margin-inline":P,"margin-inline-end":P,"margin-inline-start":P,padding:P,"padding-bottom":P,"padding-left":P,"padding-right":P,"padding-top":P,"padding-block":P,"padding-block-end":P,"padding-block-start":P,"padding-inline":P,"padding-inline-end":P,"padding-inline-start":P,"mask-position-x":P,"mask-position-y":P,"mask-size":P,height:P,width:P,"min-height":P,"max-height":P,"min-width":P,"max-width":P,bottom:P,left:P,top:P,right:P,inset:P,"inset-block":P,"inset-block-end":P,"inset-block-start":P,"inset-inline":P,"inset-inline-end":P,"inset-inline-start":P,"box-shadow":P,"text-shadow":P,"column-gap":P,"column-rule":P,"column-rule-width":P,"column-width":P,"font-size":P,"font-size-delta":P,"letter-spacing":P,"text-decoration-thickness":P,"text-indent":P,"text-stroke":P,"text-stroke-width":P,"word-spacing":P,motion:P,"motion-offset":P,outline:P,"outline-offset":P,"outline-width":P,perspective:P,"perspective-origin-x":C,"perspective-origin-y":C,"transform-origin":C,"transform-origin-x":C,"transform-origin-y":C,"transform-origin-z":C,"transition-delay":R,"transition-duration":R,"vertical-align":P,"flex-basis":P,"shape-margin":P,size:P,gap:P,grid:P,"grid-gap":P,"row-gap":P,"grid-row-gap":P,"grid-column-gap":P,"grid-template-rows":P,"grid-template-columns":P,"grid-auto-rows":P,"grid-auto-columns":P,"box-shadow-x":P,"box-shadow-y":P,"box-shadow-blur":P,"box-shadow-spread":P,"font-line-height":P,"text-shadow-x":P,"text-shadow-y":P,"text-shadow-blur":P});function O(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=O(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=O(i,t[i],r);else for(var s in t)t[s]=O(e+"-"+s,t[s],r);else if("number"==typeof t&&!1===isNaN(t)){var o=r[e]||j[e];return!o||0===t&&o===P?t.toString():"function"==typeof o?o(t).toString():""+t+o}return t}const $=function(e){void 0===e&&(e={});var t=Z(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=O(n,e[n],t);return e},onChangeValue:function(e,r){return O(r,e,t)}}};var A=r(20653),M=r(38777),N="",E="",I="",T="",_=A.Z&&"ontouchstart"in document.documentElement;if(A.Z){var G={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},z=document.createElement("p").style;for(var V in G)if(V+"Transform"in z){N=V,E=G[V];break}"Webkit"===N&&"msHyphens"in z&&(N="ms",E=G.ms,T="edge"),"Webkit"===N&&"-apple-trailing-word"in z&&(I="apple")}var q=N,U=E,F=I,W=T,D=_,J={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===q?"-webkit-"+e:U+e)}},H={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===q?U+"print-"+e:e)}},B=/[-\s]+(.)?/g;function L(e,t){return t?t.toUpperCase():""}function K(e){return e.replace(B,L)}function Y(e){return K("-"+e)}var Q,X={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===q){var r="mask-image";if(K(r)in t)return e;if(q+Y(r)in t)return U+e}return e}},ee={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==F||D?e:U+e)}},te={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:U+e)}},re={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:U+e)}},ne={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===q||"ms"===q&&"edge"!==W?U+e:e)}},ie={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===q||"ms"===q||"apple"===F?U+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===q?"WebkitColumn"+Y(e)in t&&U+"column-"+e:"Moz"===q&&"page"+Y(e)in t&&"page-"+e)}},oe={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===q)return e;var r=e.replace("-inline","");return q+Y(r)in t&&U+r}},ae={supportedProperty:function(e,t){return K(e)in t&&e}},le={supportedProperty:function(e,t){var r=Y(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:q+r in t?U+e:"Webkit"!==q&&"Webkit"+r in t&&"-webkit-"+e}},ue={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===q?""+U+e:e)}},ce={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===q?U+"scroll-chaining":e)}},fe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},de={supportedProperty:function(e,t){var r=fe[e];return!!r&&q+Y(r)in t&&U+r}},he={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},pe=Object.keys(he),ye=function(e){return U+e},me={supportedProperty:function(e,t,r){var n=r.multiple;if(pe.indexOf(e)>-1){var i=he[e];if(!Array.isArray(i))return q+Y(i)in t&&U+i;if(!n)return!1;for(var s=0;s<i.length;s++)if(!(q+Y(i[0])in t))return!1;return i.map(ye)}return!1}},ve=[J,H,X,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,de,me],ge=ve.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),be=ve.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,M.Z)(t.noPrefill)),e}),[]),Se={};if(A.Z){Q=document.createElement("p");var xe=window.getComputedStyle(document.documentElement,"");for(var ke in xe)isNaN(ke)||(Se[xe[ke]]=xe[ke]);be.forEach((function(e){return delete Se[e]}))}function we(e,t){if(void 0===t&&(t={}),!Q)return e;if(null!=Se[e])return Se[e];"transition"!==e&&"transform"!==e||(t[e]=e in Q.style);for(var r=0;r<ge.length&&(Se[e]=ge[r](e,Q.style,t),!Se[e]);r++);try{Q.style[e]=""}catch(e){return!1}return Se[e]}var Pe,Re={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ze=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":(t?we(t):", "+we(r))||t||r}function Oe(e,t){var r=t;if(!Pe||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Re[n])return Re[n];try{Pe.style[e]=r}catch(e){return Re[n]=!1,!1}if(Ce[e])r=r.replace(Ze,je);else if(""===Pe.style[e]&&("-ms-flex"===(r=U+r)&&(Pe.style[e]="-ms-flexbox"),Pe.style[e]=r,""===Pe.style[e]))return Re[n]=!1,!1;return Pe.style[e]="",Re[n]=r,Re[n]}A.Z&&(Pe=document.createElement("p"));const $e=function(){function e(t){for(var r in t){var i=t[r];if("fallbacks"===r&&Array.isArray(i))t[r]=i.map(e);else{var s=!1,o=we(r);o&&o!==r&&(s=!0);var a=!1,l=Oe(o,(0,n.EK)(i));l&&l!==i&&(a=!0),(s||a)&&(s&&delete t[r],t[o||r]=l||i)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===q?e:"@"+U+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Oe(t,(0,n.EK)(e))||e}}};function Ae(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var i=(0,n.JH)(e,{},r);return i[o]=t,i},onProcessStyle:function(e,t){if(s in t||o in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[s]=r,e},onUpdate:function(e,t,r,n){var i=t,a=i[o];a&&(i.style=a(e)||{});var l=i[s];if(l)for(var u in l)i.prop(u,l[u](e),n)}},{onCreateRule:function(e,t,r){if(!e)return null;if(e===l)return new c(e,t,r);if("@"===e[0]&&e.substr(0,u.length)===u)return new f(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[l]:null;if(i){for(var s in i)t.addRule(s,i[s],(0,a.Z)({},r,{selector:h(s,e.selector)}));delete n[l]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,l.length)===l){var s=h(i.substr(l.length),e.selector);t.addRule(s,n[i],(0,a.Z)({},r,{selector:s})),delete n[i]}}(e,t))}},v(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e}return w(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=k(t);return t===n?e:(r.prop(n,e),null)}},$(),"undefined"==typeof window?null:$e(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),s=0;s<i.length;s++)n[i[s]]=t[i[s]];return n}})]};var e}},24142:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(31461),i=r(7896),s=r(24328),o=r(70882),a=r(14691);const l=(e,t,r,n)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)},u=(e,t,r)=>{const n=e.get(t);return n?n.get(r):void 0},c=(e,t,r)=>{e.get(t).delete(r)};var f=r(96170),d=r(40855);let h=-1e9;var p=r(48970),y=r(93298);const m={},v=["name","classNamePrefix","Component","defaultTheme"];function g(e,t={}){const{name:r,classNamePrefix:g,Component:b,defaultTheme:S=m}=t,x=(0,n.Z)(t,v),k=function(e){const t="function"==typeof e;return{create:(r,n)=>{let s;try{s=t?e(r):e}catch(e){throw e}if(!n||!r.components||!r.components[n]||!r.components[n].styleOverrides&&!r.components[n].variants)return s;const o=r.components[n].styleOverrides||{},a=r.components[n].variants||[],l=(0,i.Z)({},s);return Object.keys(o).forEach((e=>{l[e]=(0,p.Z)(l[e]||{},o[e])})),a.forEach((e=>{const t=(0,y.Z)(e.props);l[t]=(0,p.Z)(l[t]||{},e.style)})),l},options:{}}}(e),w=r||g||"makeStyles";return k.options={index:(h+=1,h),name:r,meta:w,classNamePrefix:w},(e={})=>{const t=(0,f.Z)()||S,n=(0,i.Z)({},s.useContext(d.NU),x),h=s.useRef(),p=s.useRef();!function(f,d){const y=s.useRef([]);let m;const v=s.useMemo((()=>({})),d);y.current!==v&&(y.current=v,m=(()=>{const s={name:r,state:{},stylesCreator:k,stylesOptions:n,theme:t};return function({state:e,theme:t,stylesOptions:r,stylesCreator:n,name:s},c){if(r.disableGeneration)return;let f=u(r.sheetsManager,n,t);f||(f={refs:0,staticSheet:null,dynamicStyles:null},l(r.sheetsManager,n,t,f));const d=(0,i.Z)({},n.options,r,{theme:t,flip:"boolean"==typeof r.flip?r.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const h=r.sheetsRegistry;if(0===f.refs){let e;r.sheetsCache&&(e=u(r.sheetsCache,n,t));const a=n.create(t,s);e||(e=r.jss.createStyleSheet(a,(0,i.Z)({link:!1},d)),e.attach(),r.sheetsCache&&l(r.sheetsCache,n,t,e)),h&&h.add(e),f.staticSheet=e,f.dynamicStyles=(0,o._$)(a)}if(f.dynamicStyles){const t=r.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=(0,a.Z)({baseClasses:f.staticSheet.classes,newClasses:t.classes}),h&&h.add(t)}else e.classes=f.staticSheet.classes;f.refs+=1}(s,e),p.current=!1,h.current=s,()=>{!function({state:e,theme:t,stylesOptions:r,stylesCreator:n}){if(r.disableGeneration)return;const i=u(r.sheetsManager,n,t);i.refs-=1;const s=r.sheetsRegistry;0===i.refs&&(c(r.sheetsManager,n,t),r.jss.removeStyleSheet(i.staticSheet),s&&s.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),s&&s.remove(e.dynamicSheet))}(s)}})()),s.useEffect((()=>()=>{m&&m()}),[v])}(0,[t,k]),s.useEffect((()=>{p.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(h.current,e),p.current=!0}));const y=function({state:e,stylesOptions:t},r,n){if(t.disableGeneration)return r||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),r!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=r,i=!0),i&&(e.cacheClasses.value=(0,a.Z)({baseClasses:e.cacheClasses.lastJSS,newClasses:r,Component:n})),e.cacheClasses.value}(h.current,e.classes,b);return y}}},14691:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e={}){const{baseClasses:t,newClasses:r,Component:i}=e;if(!r)return t;const s=(0,n.Z)({},t);return Object.keys(r).forEach((e=>{r[e]&&(s[e]=`${t[e]} ${r[e]}`)})),s}},93298:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(31461),i=r(1290);const s=["variant"];function o(e){return 0===e.length}function a(e){const{variant:t}=e,r=(0,n.Z)(e,s);let a=t||"";return Object.keys(r).sort().forEach((t=>{a+="color"===t?o(a)?e[t]:(0,i.Z)(e[t]):`${o(a)?t:(0,i.Z)(t)}${(0,i.Z)(e[t].toString())}`})),a}},96170:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(47903);function i(){var e;const t=(0,n.Z)();return null!=(e=null==t?void 0:t.$$material)?e:t}},79016:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(7896),i=r(31461),s=r(24328),o=r(73463),a=r.n(o),l=r(24142),u=r(61041),c=r(96170),f=r(52322);const d=["defaultTheme","withTheme","name"],h=["classes"],p=(e,t={})=>r=>{const{defaultTheme:o,withTheme:p=!1,name:y}=t,m=(0,i.Z)(t,d);let v=y;const g=(0,l.Z)(e,(0,n.Z)({defaultTheme:o,Component:r,name:y||r.displayName,classNamePrefix:v},m)),b=s.forwardRef((function(e,t){const s=(0,i.Z)(e,h),a=g((0,n.Z)({},r.defaultProps,e));let l,d=s;return("string"==typeof y||p)&&(l=(0,c.Z)()||o,y&&(d=(0,u.Z)({theme:l,name:y,props:s})),p&&!d.theme&&(d.theme=l)),(0,f.jsx)(r,(0,n.Z)({ref:t,classes:a},d))}));return a()(b,r),b}},73463:(e,t,r)=>{var n=r(48570),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var a=l(t),y=l(r),m=0;m<o.length;++m){var v=o[m];if(!(s[v]||n&&n[v]||y&&y[v]||a&&a[v])){var g=d(r,v);try{u(t,v,g)}catch(e){}}}}return t}},20653:(e,t,r)=>{r.d(t,{Z:()=>i});var n="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};const i="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType},70882:(e,t,r)=>{r.d(t,{RB:()=>B,xE:()=>Y,Ue:()=>ye,JH:()=>f,_$:()=>ve,HZ:()=>me,EK:()=>h});var n=r(7896),i=r(20653),s=r(87371),o=r(81665),a=r(80753),l=r(31461),u={}.constructor;function c(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var r in e)t[r]=c(e[r]);return t}function f(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=c(t);return n.plugins.onCreateRule(e,i,r)||(e[0],null)}var d=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},h=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=d(e[r]," ");else t=d(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function p(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function m(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,s=void 0===i?0:i,o=t.fallbacks;!1===r.format&&(s=-1/0);var a=p(r),l=a.linebreak,u=a.space;if(e&&s++,o)if(Array.isArray(o))for(var c=0;c<o.length;c++){var f=o[c];for(var d in f){var m=f[d];null!=m&&(n&&(n+=l),n+=y(d+":"+u+h(m)+";",s))}}else for(var v in o){var g=o[v];null!=g&&(n&&(n+=l),n+=y(v+":"+u+h(g)+";",s))}for(var b in t){var S=t[b];null!=S&&"fallbacks"!==b&&(n&&(n+=l),n+=y(b+":"+u+h(S)+";",s))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),y(""+e+u+"{"+n,--s)+y("}",s)):n}var v=/([[\].#*$><+~=|^:(),"'`\s])/g,g="undefined"!=typeof CSS&&CSS.escape,b=function(e){return g?g(e):e.replace(v,"\\$1")},S=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var s=null==i||!1===i,o=e in this.style;if(s&&!o&&!n)return this;var a=s&&o;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),x=function(e){function t(t,r,n){var i;i=e.call(this,t,r,n)||this;var s=n.selector,o=n.scoped,l=n.sheet,u=n.generateId;return s?i.selectorText=s:!1!==o&&(i.id=u((0,a.Z)((0,a.Z)(i)),l),i.selectorText="."+b(i.id)),i}(0,o.Z)(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=h(r))}return e},r.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.selectorText,this.style,r)},(0,s.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;r&&t&&(t.setSelector(r,e)||t.replaceRule(r,this))}},get:function(){return this.selectorText}}]),t}(S),k={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new x(e,t,r)}},w={indent:1,children:!0},P=/@([\w-]+)/,R=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(P);for(var s in this.at=i?i[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(s,t[s]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=w);var t=p(e).linebreak;if(null==e.indent&&(e.indent=w.indent),null==e.children&&(e.children=w.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),C=/@container|@media|@supports\s+/,Z={onCreateRule:function(e,t,r){return C.test(e)?new R(e,t,r):null}},j={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,$=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(O);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var s=r.scoped,o=r.sheet,a=r.generateId;for(var l in this.id=!1===s?this.name:b(a(this,o)),this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(l,t[l],(0,n.Z)({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=j);var t=p(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),A=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(e,t){return"string"==typeof e?e.replace(M,(function(e,r){return r in t?t[r]:e})):e},E=function(e,t,r){var n=e[t],i=N(n,r);i!==n&&(e[t]=i)},I={onCreateRule:function(e,t,r){return"string"==typeof e&&A.test(e)?new $(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&E(e,"animation-name",r.keyframes),"animation"in e&&E(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return N(e,n.keyframes);default:return e}}},T=function(e){function t(){return e.apply(this,arguments)||this}return(0,o.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.key,this.style,r)},t}(S),_={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new T(e,t,r):null}},G=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=p(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=m(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return m(this.at,this.style,e)},e}(),z=/@font-face/,V={onCreateRule:function(e,t,r){return z.test(e)?new G(e,t,r):null}},q=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return m(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new q(e,t,r):null}},F=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),W={"@charset":!0,"@import":!0,"@namespace":!0},D=[k,Z,I,_,V,U,{onCreateRule:function(e,t,r){return e in W?new F(e,t,r):null}}],J={process:!0},H={force:!0,process:!0},B=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var i=this.options,s=i.parent,o=i.sheet,a=i.jss,l=i.Renderer,u=i.generateId,c=i.scoped,d=(0,n.Z)({classes:this.classes,parent:s,sheet:o,jss:a,Renderer:l,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},r),h=e;e in this.raw&&(h=e+"-d"+this.counter++),this.raw[h]=t,h in this.classes&&(d.selector="."+b(this.classes[h]));var p=f(h,t,d);if(!p)return null;this.register(p);var y=void 0===d.index?this.index.length:d.index;return this.index.splice(y,0,p),p},t.replace=function(e,t,r){var i=this.get(e),s=this.index.indexOf(i);i&&this.remove(i);var o=r;return-1!==s&&(o=(0,n.Z)({},r,{index:s})),this.add(e,t,o)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof x?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof $&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof x?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof $&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=J);var i=this.options,s=i.jss.plugins,o=i.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var a=t.style;if(s.onUpdate(r,t,o,n),n.process&&a&&a!==t.style){for(var l in s.onProcessStyle(t.style,t,o),t.style){var u=t.style[l];u!==a[l]&&t.prop(l,u,H)}for(var c in a){var f=t.style[c],d=a[c];null==f&&f!==d&&t.prop(c,null,H)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=p(e).linebreak,s=0;s<this.index.length;s++){var o=this.index[s].toString(e);(o||n)&&(t&&(t+=i),t+=o)}return t},e}(),L=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,n.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new B(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var i=this.rules.replace(e,t,r);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?n.renderable&&this.renderer.replaceRule(n.renderable,i):this.renderer.deleteRule(n)),i):i:(this.deployed=!1,i)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),K=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Y=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=(0,l.Z)(t,["attached"]),i=p(n).linebreak,s="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(s&&(s+=i),s+=a.toString(n))}return s},(0,s.Z)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Q=new Y,X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ee="2f1acc6c3a606b082e5eef5e54414ffb";null==X[ee]&&(X[ee]=0);var te=X[ee]++,re=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",s="";return n&&(n.options.classNamePrefix&&(s=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(s||"c")+te+i+t:s+r.key+"-"+te+(i?"-"+i:"")+"-"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},ie=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},se=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=h(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var i=n?n.indexOf("!important"):-1,s=i>-1?n.substr(0,i-1):n;e.style.setProperty(t,s,i>-1?"important":"")}}catch(e){return!1}return!0},oe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ae=function(e,t){return e.selectorText=t,e.selectorText===t},le=ne((function(){return document.querySelector("head")}));var ue=ne((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ce=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},fe=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},de=function(){function e(e){this.getPropertyValue=ie,this.setProperty=se,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Q.add(e),this.sheet=e;var t,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,s=r.element;this.element=s||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var o=ue();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=function(e){var t=Q.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=le(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,s=i.parentNode;s&&s.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;if("conditional"===e.type||"keyframes"===e.type){var s=fe(r,t);if(!1===(i=ce(r,n.toString({children:!1}),s)))return!1;this.refCssRule(e,s,i)}return this.insertRules(n.rules,i),i}var o=e.toString();if(!o)return!1;var a=fe(r,t),l=ce(r,o,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof L&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),he=0,pe=function(){function e(e){this.id=he++,this.version="10.10.0",this.plugins=new K,this.options={id:{minify:!1},createGenerateId:re,Renderer:i.Z?de:null,plugins:[]},this.generateId=re({minify:!1});for(var t=0;t<D.length;t++)this.plugins.use(D[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,n.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Q.index?0:Q.index+1);var i=new L(e,(0,n.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),Q.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var i=(0,n.Z)({},r,{name:e,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=f(e,t,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),ye=function(e){return new pe(e)},me="object"==typeof CSS&&null!=CSS&&"number"in CSS;function ve(e){var t=null;for(var r in e){var n=e[r],i=typeof n;if("function"===i)t||(t={}),t[r]=n;else if("object"===i&&null!==n&&!Array.isArray(n)){var s=ve(n);s&&(t||(t={}),t[r]=s)}}return t}ye()},66866:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case s:case a:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case m:case y:case l:return e;default:return t}}case i:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===s},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===f||e===a||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===S||e.$$typeof===v)},t.typeOf=x},48570:(e,t,r)=>{e.exports=r(66866)},926:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:()=>n})},87371:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(45850);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,n.Z)(i.key),i)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},38777:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(926),i=r(59147);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},45850:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t);if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},86522:(e,t,r)=>{function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},59147:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(926);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}}}]);
|
|
3
3
|
//# sourceMappingURL=9016.js.map
|
package/9050.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="857af6c9-37fc-4007-9909-e3dc44a90ad9",e._sentryDebugIdIdentifier="sentry-dbid-857af6c9-37fc-4007-9909-e3dc44a90ad9")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1648"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9050],{20827:(e,t,o)=>{o.d(t,{Z:()=>b});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(1497),c=o(83015),d=o(43853),p=o(65992),v=o(21949),u=o(52322);const m=["active","children","className","component","completed","disabled","expanded","index","last"],Z=(0,p.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((({ownerState:e})=>(0,a.Z)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"}))),b=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStep"}),{active:p,children:b,className:f,component:x="div",completed:h,disabled:S,expanded:L=!1,index:w,last:g}=o,y=(0,n.Z)(o,m),{activeStep:C,connector:M,alternativeLabel:R,orientation:N,nonLinear:j}=r.useContext(s.Z);let[P=!1,z=!1,I=!1]=[p,h,S];C===w?P=void 0===p||p:!j&&C>w?z=void 0===h||h:!j&&C<w&&(I=void 0===S||S);const $=r.useMemo((()=>({index:w,last:g,expanded:L,icon:w+1,active:P,completed:z,disabled:I})),[w,g,L,P,z,I]),_=(0,a.Z)({},o,{active:P,orientation:N,alternativeLabel:R,completed:z,disabled:I,expanded:L,component:x}),k=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e,r={root:["root",o,n&&"alternativeLabel",a&&"completed"]};return(0,l.Z)(r,v.$,t)})(_),D=(0,u.jsxs)(Z,(0,a.Z)({as:x,className:(0,i.default)(k.root,f),ref:t,ownerState:_},y,{children:[M&&R&&0!==w?M:null,b]}));return(0,u.jsx)(c.Z.Provider,{value:$,children:M&&!R&&0!==w?(0,u.jsxs)(r.Fragment,{children:[M,D]}):D})}))},83015:(e,t,o)=>{o.d(t,{s:()=>r,Z:()=>i});var n=o(24328);const a=n.createContext({});function r(){return n.useContext(a)}const i=a},21949:(e,t,o)=>{o.d(t,{$:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStep",e)}const i=(0,n.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"])},22165:(e,t,o)=>{o.d(t,{Z:()=>h});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(13705),p=o(6774),v=o(37717),u=o(1497),m=o(83015),Z=o(41748),b=o(52322);const f=["children","className","icon","optional"],x=(0,s.ZP)(d.Z,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Z.Z.touchRipple}`]:t.touchRipple},t.root,t[o.orientation]]}})((({ownerState:e})=>(0,a.Z)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${Z.Z.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),h=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepButton"}),{children:s,className:d,icon:h,optional:S}=o,L=(0,n.Z)(o,f),{disabled:w,active:g}=r.useContext(m.Z),{orientation:y}=r.useContext(u.Z),C=(0,a.Z)({},o,{orientation:y}),M=(e=>{const{classes:t,orientation:o}=e,n={root:["root",o],touchRipple:["touchRipple"]};return(0,l.Z)(n,Z.w,t)})(C),R={icon:h,optional:S},N=(0,v.Z)(s,["StepLabel"])?r.cloneElement(s,R):(0,b.jsx)(p.Z,(0,a.Z)({},R,{children:s}));return(0,b.jsx)(x,(0,a.Z)({focusRipple:!0,disabled:w,TouchRippleProps:{className:M.touchRipple},className:(0,i.default)(M.root,d),ref:t,ownerState:C,"aria-current":g?"step":void 0},L,{children:N}))}))},41748:(e,t,o)=>{o.d(t,{w:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepButton",e)}const i=(0,n.Z)("MuiStepButton",["root","horizontal","vertical","touchRipple"])},12629:(e,t,o)=>{o.d(t,{Z:()=>x});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(7342),c=o(65992),d=o(43853),p=o(1497),v=o(83015),u=o(49597),m=o(52322);const Z=["className"],b=(0,c.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((({ownerState:e})=>(0,a.Z)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),f=(0,c.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,s.Z)(o.orientation)}`]]}})((({ownerState:e,theme:t})=>{const o="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,a.Z)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),x=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStepConnector"}),{className:c}=o,x=(0,n.Z)(o,Z),{alternativeLabel:h,orientation:S="horizontal"}=r.useContext(p.Z),{active:L,disabled:w,completed:g}=r.useContext(v.Z),y=(0,a.Z)({},o,{alternativeLabel:h,orientation:S,active:L,completed:g,disabled:w}),C=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:r,disabled:i}=e,c={root:["root",o,n&&"alternativeLabel",a&&"active",r&&"completed",i&&"disabled"],line:["line",`line${(0,s.Z)(o)}`]};return(0,l.Z)(c,u.M,t)})(y);return(0,m.jsx)(b,(0,a.Z)({className:(0,i.default)(C.root,c),ref:t,ownerState:y},x,{children:(0,m.jsx)(f,{className:C.line,ownerState:y})}))}))},49597:(e,t,o)=>{o.d(t,{M:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepConnector",e)}const i=(0,n.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},2993:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(7896),a=o(31461),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(6620),p=o(52322);const v=(0,d.Z)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),u=(0,d.Z)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var m,Z=o(15328),b=o(77816);const f=["active","className","completed","error","icon"],x=(0,s.ZP)(Z.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${b.Z.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.Z.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),h=(0,s.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),S=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:s,completed:d=!1,error:Z=!1,icon:S}=o,L=(0,a.Z)(o,f),w=(0,n.Z)({},o,{active:r,completed:d,error:Z}),g=(e=>{const{classes:t,active:o,completed:n,error:a}=e,r={root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]};return(0,l.Z)(r,b.M,t)})(w);if("number"==typeof S||"string"==typeof S){const e=(0,i.default)(s,g.root);return Z?(0,p.jsx)(x,(0,n.Z)({as:u,className:e,ref:t,ownerState:w},L)):d?(0,p.jsx)(x,(0,n.Z)({as:v,className:e,ref:t,ownerState:w},L)):(0,p.jsxs)(x,(0,n.Z)({className:e,ref:t,ownerState:w},L,{children:[m||(m=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(h,{className:g.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:w,children:S})]}))}return S}))},77816:(e,t,o)=>{o.d(t,{M:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepIcon",e)}const i=(0,n.Z)("MuiStepIcon",["root","active","completed","error","text"])},6774:(e,t,o)=>{o.d(t,{Z:()=>L});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(2993),p=o(1497),v=o(83015),u=o(35304),m=o(52322);const Z=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],b=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})((({ownerState:e})=>(0,a.Z)({display:"flex",alignItems:"center",[`&.${u.Z.alternativeLabel}`]:{flexDirection:"column"},[`&.${u.Z.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),f=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>(0,a.Z)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${u.Z.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.Z.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.Z.alternativeLabel}`]:{marginTop:16},[`&.${u.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),x=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${u.Z.alternativeLabel}`]:{paddingRight:0}}))),h=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${u.Z.alternativeLabel}`]:{textAlign:"center"}}))),S=r.forwardRef((function(e,t){var o;const s=(0,c.Z)({props:e,name:"MuiStepLabel"}),{children:S,className:L,componentsProps:w={},error:g=!1,icon:y,optional:C,slotProps:M={},StepIconComponent:R,StepIconProps:N}=s,j=(0,n.Z)(s,Z),{alternativeLabel:P,orientation:z}=r.useContext(p.Z),{active:I,disabled:$,completed:_,icon:k}=r.useContext(v.Z),D=y||k;let E=R;D&&!E&&(E=d.Z);const T=(0,a.Z)({},s,{active:I,alternativeLabel:P,completed:_,disabled:$,error:g,orientation:z}),B=(e=>{const{classes:t,orientation:o,active:n,completed:a,error:r,disabled:i,alternativeLabel:s}=e,c={root:["root",o,r&&"error",i&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",r&&"error",i&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",r&&"error",i&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,l.Z)(c,u.H,t)})(T),A=null!=(o=M.label)?o:w.label;return(0,m.jsxs)(b,(0,a.Z)({className:(0,i.default)(B.root,L),ref:t,ownerState:T},j,{children:[D||E?(0,m.jsx)(x,{className:B.iconContainer,ownerState:T,children:(0,m.jsx)(E,(0,a.Z)({completed:_,active:I,error:g,icon:D},N))}):null,(0,m.jsxs)(h,{className:B.labelContainer,ownerState:T,children:[S?(0,m.jsx)(f,(0,a.Z)({ownerState:T},A,{className:(0,i.default)(B.label,null==A?void 0:A.className),children:S})):null,C]})]}))}));S.muiName="StepLabel";const L=S},35304:(e,t,o)=>{o.d(t,{H:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepLabel",e)}const i=(0,n.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"])},35988:(e,t,o)=>{o.d(t,{Z:()=>f});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(43853),c=o(65992),d=o(44901),p=o(12629),v=o(1497),u=o(52322);const m=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Z=(0,c.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>(0,a.Z)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),b=(0,u.jsx)(p.Z,{}),f=r.forwardRef((function(e,t){const o=(0,s.Z)({props:e,name:"MuiStepper"}),{activeStep:c=0,alternativeLabel:p=!1,children:f,className:x,component:h="div",connector:S=b,nonLinear:L=!1,orientation:w="horizontal"}=o,g=(0,n.Z)(o,m),y=(0,a.Z)({},o,{alternativeLabel:p,orientation:w,component:h}),C=(e=>{const{orientation:t,alternativeLabel:o,classes:n}=e,a={root:["root",t,o&&"alternativeLabel"]};return(0,l.Z)(a,d.c,n)})(y),M=r.Children.toArray(f).filter(Boolean),R=M.map(((e,t)=>r.cloneElement(e,(0,a.Z)({index:t,last:t+1===M.length},e.props)))),N=r.useMemo((()=>({activeStep:c,alternativeLabel:p,connector:S,nonLinear:L,orientation:w})),[c,p,S,L,w]);return(0,u.jsx)(v.Z.Provider,{value:N,children:(0,u.jsx)(Z,(0,a.Z)({as:h,ownerState:y,className:(0,i.default)(C.root,x),ref:t},g,{children:R}))})}))},1497:(e,t,o)=>{o.d(t,{s:()=>r,Z:()=>i});var n=o(24328);const a=n.createContext({});function r(){return n.useContext(a)}const i=a},44901:(e,t,o)=>{o.d(t,{c:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepper",e)}const i=(0,n.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"])}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="857af6c9-37fc-4007-9909-e3dc44a90ad9",e._sentryDebugIdIdentifier="sentry-dbid-857af6c9-37fc-4007-9909-e3dc44a90ad9")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1650"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9050],{20827:(e,t,o)=>{o.d(t,{Z:()=>b});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(1497),c=o(83015),d=o(43853),p=o(65992),v=o(21949),u=o(52322);const m=["active","children","className","component","completed","disabled","expanded","index","last"],Z=(0,p.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((({ownerState:e})=>(0,a.Z)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"}))),b=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStep"}),{active:p,children:b,className:f,component:x="div",completed:h,disabled:S,expanded:L=!1,index:w,last:g}=o,y=(0,n.Z)(o,m),{activeStep:C,connector:M,alternativeLabel:R,orientation:N,nonLinear:j}=r.useContext(s.Z);let[P=!1,z=!1,I=!1]=[p,h,S];C===w?P=void 0===p||p:!j&&C>w?z=void 0===h||h:!j&&C<w&&(I=void 0===S||S);const $=r.useMemo((()=>({index:w,last:g,expanded:L,icon:w+1,active:P,completed:z,disabled:I})),[w,g,L,P,z,I]),_=(0,a.Z)({},o,{active:P,orientation:N,alternativeLabel:R,completed:z,disabled:I,expanded:L,component:x}),k=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e,r={root:["root",o,n&&"alternativeLabel",a&&"completed"]};return(0,l.Z)(r,v.$,t)})(_),D=(0,u.jsxs)(Z,(0,a.Z)({as:x,className:(0,i.default)(k.root,f),ref:t,ownerState:_},y,{children:[M&&R&&0!==w?M:null,b]}));return(0,u.jsx)(c.Z.Provider,{value:$,children:M&&!R&&0!==w?(0,u.jsxs)(r.Fragment,{children:[M,D]}):D})}))},83015:(e,t,o)=>{o.d(t,{s:()=>r,Z:()=>i});var n=o(24328);const a=n.createContext({});function r(){return n.useContext(a)}const i=a},21949:(e,t,o)=>{o.d(t,{$:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStep",e)}const i=(0,n.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"])},22165:(e,t,o)=>{o.d(t,{Z:()=>h});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(13705),p=o(6774),v=o(37717),u=o(1497),m=o(83015),Z=o(41748),b=o(52322);const f=["children","className","icon","optional"],x=(0,s.ZP)(d.Z,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Z.Z.touchRipple}`]:t.touchRipple},t.root,t[o.orientation]]}})((({ownerState:e})=>(0,a.Z)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${Z.Z.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),h=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepButton"}),{children:s,className:d,icon:h,optional:S}=o,L=(0,n.Z)(o,f),{disabled:w,active:g}=r.useContext(m.Z),{orientation:y}=r.useContext(u.Z),C=(0,a.Z)({},o,{orientation:y}),M=(e=>{const{classes:t,orientation:o}=e,n={root:["root",o],touchRipple:["touchRipple"]};return(0,l.Z)(n,Z.w,t)})(C),R={icon:h,optional:S},N=(0,v.Z)(s,["StepLabel"])?r.cloneElement(s,R):(0,b.jsx)(p.Z,(0,a.Z)({},R,{children:s}));return(0,b.jsx)(x,(0,a.Z)({focusRipple:!0,disabled:w,TouchRippleProps:{className:M.touchRipple},className:(0,i.default)(M.root,d),ref:t,ownerState:C,"aria-current":g?"step":void 0},L,{children:N}))}))},41748:(e,t,o)=>{o.d(t,{w:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepButton",e)}const i=(0,n.Z)("MuiStepButton",["root","horizontal","vertical","touchRipple"])},12629:(e,t,o)=>{o.d(t,{Z:()=>x});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(7342),c=o(65992),d=o(43853),p=o(1497),v=o(83015),u=o(49597),m=o(52322);const Z=["className"],b=(0,c.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((({ownerState:e})=>(0,a.Z)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),f=(0,c.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,s.Z)(o.orientation)}`]]}})((({ownerState:e,theme:t})=>{const o="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,a.Z)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),x=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStepConnector"}),{className:c}=o,x=(0,n.Z)(o,Z),{alternativeLabel:h,orientation:S="horizontal"}=r.useContext(p.Z),{active:L,disabled:w,completed:g}=r.useContext(v.Z),y=(0,a.Z)({},o,{alternativeLabel:h,orientation:S,active:L,completed:g,disabled:w}),C=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:r,disabled:i}=e,c={root:["root",o,n&&"alternativeLabel",a&&"active",r&&"completed",i&&"disabled"],line:["line",`line${(0,s.Z)(o)}`]};return(0,l.Z)(c,u.M,t)})(y);return(0,m.jsx)(b,(0,a.Z)({className:(0,i.default)(C.root,c),ref:t,ownerState:y},x,{children:(0,m.jsx)(f,{className:C.line,ownerState:y})}))}))},49597:(e,t,o)=>{o.d(t,{M:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepConnector",e)}const i=(0,n.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},2993:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(7896),a=o(31461),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(6620),p=o(52322);const v=(0,d.Z)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),u=(0,d.Z)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var m,Z=o(15328),b=o(77816);const f=["active","className","completed","error","icon"],x=(0,s.ZP)(Z.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${b.Z.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.Z.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${b.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),h=(0,s.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),S=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:s,completed:d=!1,error:Z=!1,icon:S}=o,L=(0,a.Z)(o,f),w=(0,n.Z)({},o,{active:r,completed:d,error:Z}),g=(e=>{const{classes:t,active:o,completed:n,error:a}=e,r={root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]};return(0,l.Z)(r,b.M,t)})(w);if("number"==typeof S||"string"==typeof S){const e=(0,i.default)(s,g.root);return Z?(0,p.jsx)(x,(0,n.Z)({as:u,className:e,ref:t,ownerState:w},L)):d?(0,p.jsx)(x,(0,n.Z)({as:v,className:e,ref:t,ownerState:w},L)):(0,p.jsxs)(x,(0,n.Z)({className:e,ref:t,ownerState:w},L,{children:[m||(m=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(h,{className:g.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:w,children:S})]}))}return S}))},77816:(e,t,o)=>{o.d(t,{M:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepIcon",e)}const i=(0,n.Z)("MuiStepIcon",["root","active","completed","error","text"])},6774:(e,t,o)=>{o.d(t,{Z:()=>L});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(2993),p=o(1497),v=o(83015),u=o(35304),m=o(52322);const Z=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],b=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})((({ownerState:e})=>(0,a.Z)({display:"flex",alignItems:"center",[`&.${u.Z.alternativeLabel}`]:{flexDirection:"column"},[`&.${u.Z.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),f=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>(0,a.Z)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${u.Z.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.Z.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${u.Z.alternativeLabel}`]:{marginTop:16},[`&.${u.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),x=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${u.Z.alternativeLabel}`]:{paddingRight:0}}))),h=(0,s.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${u.Z.alternativeLabel}`]:{textAlign:"center"}}))),S=r.forwardRef((function(e,t){var o;const s=(0,c.Z)({props:e,name:"MuiStepLabel"}),{children:S,className:L,componentsProps:w={},error:g=!1,icon:y,optional:C,slotProps:M={},StepIconComponent:R,StepIconProps:N}=s,j=(0,n.Z)(s,Z),{alternativeLabel:P,orientation:z}=r.useContext(p.Z),{active:I,disabled:$,completed:_,icon:k}=r.useContext(v.Z),D=y||k;let E=R;D&&!E&&(E=d.Z);const T=(0,a.Z)({},s,{active:I,alternativeLabel:P,completed:_,disabled:$,error:g,orientation:z}),B=(e=>{const{classes:t,orientation:o,active:n,completed:a,error:r,disabled:i,alternativeLabel:s}=e,c={root:["root",o,r&&"error",i&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",r&&"error",i&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",r&&"error",i&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,l.Z)(c,u.H,t)})(T),A=null!=(o=M.label)?o:w.label;return(0,m.jsxs)(b,(0,a.Z)({className:(0,i.default)(B.root,L),ref:t,ownerState:T},j,{children:[D||E?(0,m.jsx)(x,{className:B.iconContainer,ownerState:T,children:(0,m.jsx)(E,(0,a.Z)({completed:_,active:I,error:g,icon:D},N))}):null,(0,m.jsxs)(h,{className:B.labelContainer,ownerState:T,children:[S?(0,m.jsx)(f,(0,a.Z)({ownerState:T},A,{className:(0,i.default)(B.label,null==A?void 0:A.className),children:S})):null,C]})]}))}));S.muiName="StepLabel";const L=S},35304:(e,t,o)=>{o.d(t,{H:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepLabel",e)}const i=(0,n.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"])},35988:(e,t,o)=>{o.d(t,{Z:()=>f});var n=o(31461),a=o(7896),r=o(24328),i=o(6277),l=o(69075),s=o(43853),c=o(65992),d=o(44901),p=o(12629),v=o(1497),u=o(52322);const m=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Z=(0,c.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>(0,a.Z)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),b=(0,u.jsx)(p.Z,{}),f=r.forwardRef((function(e,t){const o=(0,s.Z)({props:e,name:"MuiStepper"}),{activeStep:c=0,alternativeLabel:p=!1,children:f,className:x,component:h="div",connector:S=b,nonLinear:L=!1,orientation:w="horizontal"}=o,g=(0,n.Z)(o,m),y=(0,a.Z)({},o,{alternativeLabel:p,orientation:w,component:h}),C=(e=>{const{orientation:t,alternativeLabel:o,classes:n}=e,a={root:["root",t,o&&"alternativeLabel"]};return(0,l.Z)(a,d.c,n)})(y),M=r.Children.toArray(f).filter(Boolean),R=M.map(((e,t)=>r.cloneElement(e,(0,a.Z)({index:t,last:t+1===M.length},e.props)))),N=r.useMemo((()=>({activeStep:c,alternativeLabel:p,connector:S,nonLinear:L,orientation:w})),[c,p,S,L,w]);return(0,u.jsx)(v.Z.Provider,{value:N,children:(0,u.jsx)(Z,(0,a.Z)({as:h,ownerState:y,className:(0,i.default)(C.root,x),ref:t},g,{children:R}))})}))},1497:(e,t,o)=>{o.d(t,{s:()=>r,Z:()=>i});var n=o(24328);const a=n.createContext({});function r(){return n.useContext(a)}const i=a},44901:(e,t,o)=>{o.d(t,{c:()=>r,Z:()=>i});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiStepper",e)}const i=(0,n.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"])}}]);
|
|
2
2
|
//# sourceMappingURL=9050.js.map
|