@e-llm-studio/instant-learning 0.0.91 → 0.0.92
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/dist/_virtual/index.js +1 -1
- package/dist/_virtual/index10.js +1 -1
- package/dist/_virtual/index11.js +1 -1
- package/dist/_virtual/index12.js +1 -1
- package/dist/_virtual/index13.js +1 -1
- package/dist/_virtual/index14.js +1 -1
- package/dist/_virtual/index15.js +1 -1
- package/dist/_virtual/index16.js +1 -1
- package/dist/_virtual/index17.js +1 -1
- package/dist/_virtual/index18.js +1 -1
- package/dist/_virtual/index19.js +1 -1
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/index20.js +1 -1
- package/dist/_virtual/index21.js +1 -1
- package/dist/_virtual/index22.js +1 -1
- package/dist/_virtual/index23.js +1 -1
- package/dist/_virtual/index24.js +1 -1
- package/dist/_virtual/index25.js +1 -1
- package/dist/_virtual/index27.js +1 -1
- package/dist/_virtual/index28.js +1 -1
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index7.js +1 -1
- package/dist/_virtual/index8.js +1 -1
- package/dist/_virtual/index9.js +1 -1
- package/dist/cjs/_virtual/index.js +1 -1
- package/dist/cjs/_virtual/index10.js +1 -1
- package/dist/cjs/_virtual/index11.js +1 -1
- package/dist/cjs/_virtual/index12.js +1 -1
- package/dist/cjs/_virtual/index13.js +1 -1
- package/dist/cjs/_virtual/index14.js +1 -1
- package/dist/cjs/_virtual/index15.js +1 -1
- package/dist/cjs/_virtual/index16.js +1 -1
- package/dist/cjs/_virtual/index17.js +1 -1
- package/dist/cjs/_virtual/index18.js +1 -1
- package/dist/cjs/_virtual/index19.js +1 -1
- package/dist/cjs/_virtual/index2.js +1 -1
- package/dist/cjs/_virtual/index20.js +1 -1
- package/dist/cjs/_virtual/index21.js +1 -1
- package/dist/cjs/_virtual/index22.js +1 -1
- package/dist/cjs/_virtual/index23.js +1 -1
- package/dist/cjs/_virtual/index24.js +1 -1
- package/dist/cjs/_virtual/index25.js +1 -1
- package/dist/cjs/_virtual/index27.js +1 -1
- package/dist/cjs/_virtual/index28.js +1 -1
- package/dist/cjs/_virtual/index3.js +1 -1
- package/dist/cjs/_virtual/index4.js +1 -1
- package/dist/cjs/_virtual/index5.js +1 -1
- package/dist/cjs/_virtual/index6.js +1 -1
- package/dist/cjs/_virtual/index7.js +1 -1
- package/dist/cjs/_virtual/index8.js +1 -1
- package/dist/cjs/_virtual/index9.js +1 -1
- package/dist/cjs/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/cjs/features/WtaWnta/WtaWnta.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/ValidationCard.js +1 -1
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
- package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
- package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/index.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/merge.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Alert/Alert.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Alert/Alert.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/Badge.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/Badge.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/useBadge.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Box/Box.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Box/Box.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Button/Button.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Button/Button.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Card/Card.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Card/Card.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Chip/Chip.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Chip/Chip.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Container/Container.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Container/Container.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Divider/Divider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Divider/Divider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Fab/Fab.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Fab/Fab.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Fade/Fade.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Fade/Fade.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Grid/Grid.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Grid/Grid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Grow/Grow.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Grow/Grow.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Icon/Icon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Icon/Icon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Input/Input.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Input/Input.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
- package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/Link.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/Link.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/List/List.js +1 -1
- package/dist/cjs/node_modules/@mui/material/List/List.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Menu/Menu.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Menu/Menu.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/Modal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/Modal.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/ModalManager.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Paper/Paper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Paper/Paper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popover/Popover.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popover/Popover.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/Popper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/Popper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Portal/Portal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Portal/Portal.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/Radio.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/Radio.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Rating/Rating.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Rating/Rating.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/Select.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/Select.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slide/Slide.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slide/Slide.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/Slider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/Slider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Stack/Stack.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Stack/Stack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Step/Step.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Step/Step.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Switch/Switch.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Switch/Switch.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tab/Tab.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tab/Tab.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Table/Table.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Table/Table.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TextField/TextField.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TextField/TextField.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Typography/Typography.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Typography/Typography.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
- package/dist/cjs/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/useTheme.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/useTheme.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/colorManipulator.js +1 -1
- package/dist/cjs/node_modules/@mui/system/createStyled.js +1 -1
- package/dist/cjs/node_modules/@mui/system/createStyled.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/graphql-ws/lib/index.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/json5/dist/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
- package/dist/cjs/node_modules/uuid/dist/cjs-browser/index.js +1 -1
- package/dist/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/features/WtaWnta/WtaWnta.js +1 -1
- package/dist/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
- package/dist/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
- package/dist/features/WtaWnta/_components/ValidationCard.js +1 -1
- package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
- package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
- package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/index.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/merge.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/spacing.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
- package/dist/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/refType.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert.js +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar.js +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge.js +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/useBadge.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box.js +1 -1
- package/dist/node_modules/@mui/material/Box/Box.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button.js +1 -1
- package/dist/node_modules/@mui/material/Button/Button.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card.js +1 -1
- package/dist/node_modules/@mui/material/Card/Card.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions.js +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent.js +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip.js +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container.js +1 -1
- package/dist/node_modules/@mui/material/Container/Container.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider.js +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab.js +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade.js +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid.js +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon.js +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList.js +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input.js +1 -1
- package/dist/node_modules/@mui/material/Input/Input.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link.js +1 -1
- package/dist/node_modules/@mui/material/Link/Link.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List.js +1 -1
- package/dist/node_modules/@mui/material/List/List.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem.js +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu.js +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal.js +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/ModalManager.js +1 -1
- package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination.js +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover.js +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper.js +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal.js +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio.js +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating.js +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select.js +1 -1
- package/dist/node_modules/@mui/material/Select/Select.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput.js +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide.js +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider.js +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack.js +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step.js +1 -1
- package/dist/node_modules/@mui/material/Step/Step.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton.js +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent.js +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch.js +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab.js +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table.js +1 -1
- package/dist/node_modules/@mui/material/Table/Table.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody.js +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell.js +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead.js +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow.js +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField.js +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography.js +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
- package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom.js +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
- package/dist/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
- package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme.js +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +1 -1
- package/dist/node_modules/@mui/system/createStyled.js +1 -1
- package/dist/node_modules/@mui/system/createStyled.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Box/Box.js +1 -1
- package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/Container.js +1 -1
- package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/graphql-ws/lib/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/json5/dist/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/lib/ast-to-react.js +1 -1
- package/dist/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
- package/dist/node_modules/react-markdown/lib/react-markdown.js +1 -1
- package/dist/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
- package/dist/node_modules/uuid/dist/cjs-browser/index.js +1 -1
- package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/ContextualLearningForm.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("../../../../_virtual/index9.js"),n=require("../../../graphql-ws/lib/index.js"),a=require("../../../axios/dist/browser/axios.cjs.js"),o=require("../node_modules/ws/browser.js"),r=require("../../../uuid/dist/cjs-browser/index.js"),s=require("./helperClasses/clientManager.js"),i=require("../../../utf8/utf8.js");exports.__require=function(){return e||(e=1,function(e){var l=t.__exports&&t.__exports.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),c=t.__exports&&t.__exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),d=t.__exports&&t.__exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return c(t,e),t},u=t.__exports&&t.__exports.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(o,r){function s(e){try{l(a.next(e))}catch(e){r(e)}}function i(e){try{l(a.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,i)}l((a=a.apply(e,t||[])).next())}))},h=t.__exports&&t.__exports.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(n){t[n]=e[n]&&function(t){return new Promise((function(a,o){(function(e,t,n,a){Promise.resolve(a).then((function(t){e({value:t,done:n})}),t)})(a,o,(t=e[n](t)).done,t.value)}))}}},m=t.__exports&&t.__exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getAssistantObj=e.explainabilityMap=e.ChatbotService=e.resetChatHistory=e.getChatHistory=e.deleteImage=e.uploadImage=e.stopStreaming=e.startChatStream=e.encodeParam=void 0,e.replaceAsteriskInAnchor=S;const g=n.__require(),p=m(a.__require()),y=m(o.__require()),v=r.__require(),f=m(s.__require()),_=d(i.__require());function S(e){return null==e?void 0:e.replace(/<a [^>]*>.*?<\/a>/g,(e=>null==e?void 0:e.replace(/\*/g,"*")))}e.encodeParam=e=>_.encode(e);e.startChatStream=t=>u(void 0,void 0,void 0,(function*(){var n,a,o,r,s,i,l,c,d;const{WEBSOCKET_URL:u,organizationName:m,chatAssistantName:p,selectedAIModel:_,replyMessage:S="",userName:b,userEmailId:$,userId:I,query:R,requestId:C,customPrompt:w="",customRootOrchestratorModelName:x,customRootOrchestratorModelType:M,enableForBackend:k=!1,images:q,guestSessionId:E,chatPreviewId:P,isDocumentRetrieval:A,onStreamEvent:T,onStreamEnd:O,onError:N,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}=t;try{const t=(0,g.createClient)(Object.assign({url:null!=u?u:""},k?{webSocketImpl:y.default}:{}));f.default.setClient(t,C);const H=t.iterate({query:"subscription Subscription($sessionId: String!,\n $name:String!,\n $organizationName:String!,\n $aiModel:String!, \n $prompt:String!, \n $userName:String!, \n $userEmailId:String!, \n $userId:String!, \n $requestId:String!,\n $replyMessage:String!,\n $customPrompt:String,\n $customRootOrchestratorModelName:String,\n $customRootOrchestratorModelType:String,\n $notificationSessionId:String, \n $images:String,\n $chatPreviewId:String,\n $guestSessionId:String,\n $isDocumentRetrieval:Boolean,\n $customMetaData: JSON,\n $multiAgentToggle: Boolean, \n $selectedAgent: String,\n $runtimeAgents: [JSON]) {\n chatStream(sessionId: $sessionId, \n name:$name, \n organizationName:$organizationName, \n aiModel:$aiModel, \n prompt:$prompt, \n userName:$userName,\n userEmailId:$userEmailId, \n userId:$userId, \n requestId:$requestId, \n replyMessage:$replyMessage, \n customPrompt:$customPrompt,\n customRootOrchestratorModelName:$customRootOrchestratorModelName,\n customRootOrchestratorModelType:$customRootOrchestratorModelType,\n notificationSessionId:$notificationSessionId, \n images:$images,\n isDocumentRetrieval:$isDocumentRetrieval,\n chatPreviewId:$chatPreviewId,\n guestSessionId: $guestSessionId,\n customMetaData: $customMetaData,\n multiAgentToggle: $multiAgentToggle, \n selectedAgent: $selectedAgent,\n runtimeAgents: $runtimeAgents) {\n \n continueChatResult {\n isEnd\n thinking_break\n is_orchestrator\n is_agent\n responded_by\n header_message\n error_state\n confidenceScore\n requestId\n replyMessage\n confidenceScore\n requestId\n sessionId\n message {\n citations {\n citation_number\n customMetaData\n title\n url\n description\n metadata {\n page_index\n display_url\n display_name\n }\n }\n annotations {\n citations {\n citation_number\n title\n url\n description\n metadata {\n page_index\n display_url\n display_name\n }\n }\n text\n }\n citationDisplayType\n next_query_suggestions {\n query\n }\n response_type\n content\n id\n }\n resourceId\n }\n }\n }",variables:{sessionId:`${m}-${p}-${(0,v.v4)()}`,name:(0,e.encodeParam)(p),organizationName:(0,e.encodeParam)(m),guestSessionId:null!==(s=(0,e.encodeParam)(null!=E?E:""))&&void 0!==s?s:"",chatPreviewId:null!==(i=(0,e.encodeParam)(null!=P?P:""))&&void 0!==i?i:"",aiModel:(0,e.encodeParam)(_),prompt:""===S?R:(0,e.encodeParam)(S+"\n"+R),userName:(0,e.encodeParam)(b),userEmailId:(0,e.encodeParam)($),userId:(0,e.encodeParam)(I),requestId:(0,e.encodeParam)(C),replyMessage:S,customPrompt:w,customRootOrchestratorModelName:x,customRootOrchestratorModelType:M,notificationSessionId:`chat-session-${(0,v.v4)()}`,images:JSON.stringify(q),isDocumentRetrieval:A,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}});try{try{for(var F,L=!0,U=h(H);!(n=(F=yield U.next()).done);L=!0){r=F.value,L=!1;const e=r;console.log("event:",e),console.log("event.data:",null==e?void 0:e.data);const n=e.data;if(T(n),null===(d=null===(c=null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.chatStream)||void 0===c?void 0:c.continueChatResult)||void 0===d?void 0:d.isEnd){O&&O(n),yield t.dispose(),f.default.clearClient();break}}}catch(e){a={error:e}}finally{try{L||n||!(o=U.return)||(yield o.call(U))}finally{if(a)throw a.error}}}catch(e){N&&N(e),yield t.dispose(),f.default.clearClient()}finally{f.default.matchesRequestId(C)&&(t.dispose(),f.default.clearClient())}}catch(e){console.log("Streaming error:",e),N&&N(e)}}));e.stopStreaming=(e,t,...n)=>u(void 0,[e,t,...n],void 0,(function*(e,t,n=!1){let a=null;try{if(f.default.matchesRequestId(e)){const e=f.default.getClient();if(e)try{yield e.dispose(),f.default.clearClient()}catch(e){console.error("Error disposing original client:",e)}}a=(0,g.createClient)(Object.assign({url:t},n?{webSocketImpl:y.default}:{}));const o=a.iterate({query:"subscription ReceiveRequestId($requestId: String!) {\n receiveRequestId(requestId: $requestId) {\n requestId\n message\n }\n }",variables:{requestId:e}});let r=!1;try{const e=new Promise(((e,t)=>{setTimeout((()=>t(new Error("Stop streaming timeout"))),1500)}));return yield Promise.race([u(void 0,void 0,void 0,(function*(){var e,t,n,a;try{for(var s,i=!0,l=h(o);!(e=(s=yield l.next()).done);i=!0)return a=s.value,i=!1,r=!0,a}catch(e){t={error:e}}finally{try{i||e||!(n=l.return)||(yield n.call(l))}finally{if(t)throw t.error}}})),e]),{success:!0,message:"Streaming stopped successfully",stopCompleted:r}}catch(t){if(!1===f.default.matchesRequestId(e))return{success:!0,message:"Stream stopped via client disposal",stopCompleted:!0};throw t}}catch(t){return"Stop streaming timeout"!==t.message||f.default.matchesRequestId(e)?(console.error("Error in stopStreaming:",t),{success:!1,error:t.message||"Unknown error occurred"}):{success:!0,message:"Stream stopped successfully despite timeout",stopCompleted:!0}}finally{if(a)try{yield a.dispose()}catch(e){console.error("Error disposing stop client:",e)}}}));e.uploadImage=(e,t)=>u(void 0,void 0,void 0,(function*(){try{const n=new FormData;n.append("file",t);return(yield p.default.post(`${e}/api/chatbot/storeImageData`,n,{headers:{"Content-Type":"multipart/form-data"}})).data.message}catch(e){throw console.error("Error uploading image:",e),new Error("Image upload failed")}}));e.deleteImage=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.post(`${e}/api/chatbot/deleteImage`,{name:t,fileName:n})).data}catch(e){throw console.error("Error deleting image:",e),new Error("Image deletion failed")}}));e.getChatHistory=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.get(`${e}/api/chat/history`,{params:{name:t,organizationName:n}})).data}catch(e){throw console.error("Error getting chat history:",e),new Error("Failed to get chat history")}}));e.resetChatHistory=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.get(`${e}/api/chat/resetHistory`,{params:{name:t,organizationName:n}})).data}catch(e){throw console.error("Error resetting chat history:",e),new Error("Failed to reset chat history")}}));e.ChatbotService=class{constructor(e,t,n){this.accessToken=null,this.baseUrl=e,this.username=t,this.password=n}login(){return u(this,void 0,void 0,(function*(){var e,t;const n=`${this.baseUrl}/auth/signInPackage`,a={credentials:{username:this.username,password:this.password}};try{const e=yield p.default.post(n,a,{headers:{"Content-Type":"application/json"}});this.accessToken=e.data.accessToken}catch(n){const a=(null===(t=null===(e=n.response)||void 0===e?void 0:e.data)||void 0===t?void 0:t.message)||n.message||"Login failed";throw new Error(`Login failed: ${a}`)}}))}ensureLoggedIn(){return u(this,void 0,void 0,(function*(){this.accessToken||(yield this.login())}))}toggleConsultativeMode(e,t,n,a){return u(this,arguments,void 0,(function*(e,t,n,a,o=!1,r){var s;yield this.ensureLoggedIn();const i={authorization:`Bearer ${this.accessToken}`},l={chatBotId:e,consultativeMode:o?r:!r,consultativeModePrompt:t||"You are responsible for understanding the user’s needs by making sure that you gather enough relevant information before responding to achieve the goal described above. To achieve this, you will always ask clarifying follow-up questions, making sure to ask only one question at a time to maintain a focused and organized conversation. The follow-up questions should be short and crisp within 2 lines only. You should always follow a CARE framework which is about Curious:- being curious and interested to know about user needs, Acknowledge the responses given by the user and Respond with Empathy. Do not ask too many unnecessary questions."};try{const e=yield p.default.post(`${this.baseUrl}/api/chatbot/toggleConsultativeMode?name=${n}&organizationName=${a}`,l,{headers:i});return(null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.isConsultativeMode)||!1}catch(e){throw console.error("Error toggling consultative mode:",e),new Error("Failed to toggle consultative mode")}}))}deleteChatMessage(e,t){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const n={authorization:`Bearer ${this.accessToken}`},a={guest_id:e,message_id:t};try{const e=yield p.default.delete(`${this.baseUrl}/api/chat/delete-message`,{headers:n,data:a});return null==e?void 0:e.data}catch(e){throw console.error("Error deleting chat message:",e),new Error("Failed to delete chat message")}}))}inheritanceflow(e,t,n,a,o,r,s,i,l,c,d,h){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const u={authorization:`Bearer ${this.accessToken}`},m={name:e,organizationName:t,description:n,assistant_type:h,vector_db:i,aiModel:l,source:c,target:d,agents:a,agentsData:o,prompt:s,selectedAssistants:r};try{const e=yield p.default.post(`${this.baseUrl}/api/chatbot/createAndInheritAssistant`,m,{headers:u});return null==e?void 0:e.data}catch(e){throw console.error("Error creating and ineheriting assistant:",e),new Error("Failed to create and inherit assistant")}}))}getAgentSettings(e,t){return u(this,void 0,void 0,(function*(){var n;yield this.ensureLoggedIn();const a=(yield p.default.get(`${this.baseUrl}/api/chatbot/getAgentSettingsId?name=${e}&organizationName=${t}`,{headers:{Authorization:`Bearer ${this.accessToken}`}})).data,o=yield p.default.get(`${this.baseUrl}/api/agent/getAgentSettings?agentSettingsId=${a.agentSettingsId}`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null===(n=null==o?void 0:o.data)||void 0===n?void 0:n.agentSettings}))}getModels(){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const e=yield p.default.get(`${this.baseUrl}/api/agent/getAgentModels`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null==e?void 0:e.data}))}getChatbotData(e,t){return u(this,void 0,void 0,(function*(){try{yield this.ensureLoggedIn();const n=yield p.default.get(`${this.baseUrl}/api/chatbot/getChatbot?name=${e}&organizationName=${t}`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null==n?void 0:n.data}catch(e){throw console.error("Error fetching chatbot data:",e),e}}))}getAccessToken(e,t){return u(this,void 0,void 0,(function*(){var n,a;const o=`${this.baseUrl}/auth/signInPackage`,r={credentials:{username:e,password:t}};try{const e=yield p.default.post(o,r,{headers:{"Content-Type":"application/json"}});return this.accessToken=e.data.accessToken}catch(e){const t=(null===(a=null===(n=e.response)||void 0===n?void 0:n.data)||void 0===a?void 0:a.message)||e.message||"Login failed";throw new Error(`Login failed: ${t}`)}}))}},e.explainabilityMap=new Map;e.getAssistantObj=(t,n)=>{var a,o,r,s;if((0,v.v4)(),!1===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd&&S(t.chatStream.continueChatResult.message.content),!0===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd&&n.push({responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1}),!1===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!0===t.chatStream.continueChatResult.isEnd&&S(t.chatStream.continueChatResult.message.content),!1===t.chatStream.continueChatResult.thinking_break&&!1===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd){const r=t.chatStream.continueChatResult;if(r.explainability_id&&r.responded_by){const t=r.explainability_id,a=r.responded_by;e.explainabilityMap.has(t)||e.explainabilityMap.set(t,{responded_by:a,index:n.length})}if(e.explainabilityMap.has(t.chatStream.continueChatResult.explainability_id)){const o=e.explainabilityMap.get(t.chatStream.continueChatResult.explainability_id);n[null==o?void 0:o.index]={responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(a=t.chatStream.continueChatResult.explainability_id)&&void 0!==a?a:"",isParallelToolResponse:!0}}else n=[...n,{responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(o=t.chatStream.continueChatResult.explainability_id)&&void 0!==o?o:"",isParallelToolResponse:!1}]}if(!0===t.chatStream.continueChatResult.thinking_break&&!1===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd){const a=t.chatStream.continueChatResult;if(a.explainability_id&&a.responded_by){const t=a.explainability_id,o=a.responded_by;e.explainabilityMap.has(t)||e.explainabilityMap.set(t,{responded_by:o,index:n.length})}if(e.explainabilityMap.has(t.chatStream.continueChatResult.explainability_id)){const a=e.explainabilityMap.get(t.chatStream.continueChatResult.explainability_id);n[null==a?void 0:a.index]={responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(r=t.chatStream.continueChatResult.explainability_id)&&void 0!==r?r:"",isParallelToolResponse:!0}}else n.push({responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(s=t.chatStream.continueChatResult.explainability_id)&&void 0!==s?s:"",isParallelToolResponse:!1})}return{orchestratorAndAgentsMessages:n}}}(t.__exports)),t.__exports};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("../../../../_virtual/index25.js"),n=require("../../../graphql-ws/lib/index.js"),a=require("../../../axios/dist/browser/axios.cjs.js"),o=require("../node_modules/ws/browser.js"),r=require("../../../uuid/dist/cjs-browser/index.js"),s=require("./helperClasses/clientManager.js"),i=require("../../../utf8/utf8.js");exports.__require=function(){return e||(e=1,function(e){var l=t.__exports&&t.__exports.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),c=t.__exports&&t.__exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),d=t.__exports&&t.__exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return c(t,e),t},u=t.__exports&&t.__exports.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(o,r){function s(e){try{l(a.next(e))}catch(e){r(e)}}function i(e){try{l(a.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,i)}l((a=a.apply(e,t||[])).next())}))},h=t.__exports&&t.__exports.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(n){t[n]=e[n]&&function(t){return new Promise((function(a,o){(function(e,t,n,a){Promise.resolve(a).then((function(t){e({value:t,done:n})}),t)})(a,o,(t=e[n](t)).done,t.value)}))}}},m=t.__exports&&t.__exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getAssistantObj=e.explainabilityMap=e.ChatbotService=e.resetChatHistory=e.getChatHistory=e.deleteImage=e.uploadImage=e.stopStreaming=e.startChatStream=e.encodeParam=void 0,e.replaceAsteriskInAnchor=S;const g=n.__require(),p=m(a.__require()),y=m(o.__require()),v=r.__require(),f=m(s.__require()),_=d(i.__require());function S(e){return null==e?void 0:e.replace(/<a [^>]*>.*?<\/a>/g,(e=>null==e?void 0:e.replace(/\*/g,"*")))}e.encodeParam=e=>_.encode(e);e.startChatStream=t=>u(void 0,void 0,void 0,(function*(){var n,a,o,r,s,i,l,c,d;const{WEBSOCKET_URL:u,organizationName:m,chatAssistantName:p,selectedAIModel:_,replyMessage:S="",userName:b,userEmailId:$,userId:I,query:R,requestId:C,customPrompt:w="",customRootOrchestratorModelName:x,customRootOrchestratorModelType:M,enableForBackend:k=!1,images:q,guestSessionId:E,chatPreviewId:P,isDocumentRetrieval:A,onStreamEvent:T,onStreamEnd:O,onError:N,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}=t;try{const t=(0,g.createClient)(Object.assign({url:null!=u?u:""},k?{webSocketImpl:y.default}:{}));f.default.setClient(t,C);const H=t.iterate({query:"subscription Subscription($sessionId: String!,\n $name:String!,\n $organizationName:String!,\n $aiModel:String!, \n $prompt:String!, \n $userName:String!, \n $userEmailId:String!, \n $userId:String!, \n $requestId:String!,\n $replyMessage:String!,\n $customPrompt:String,\n $customRootOrchestratorModelName:String,\n $customRootOrchestratorModelType:String,\n $notificationSessionId:String, \n $images:String,\n $chatPreviewId:String,\n $guestSessionId:String,\n $isDocumentRetrieval:Boolean,\n $customMetaData: JSON,\n $multiAgentToggle: Boolean, \n $selectedAgent: String,\n $runtimeAgents: [JSON]) {\n chatStream(sessionId: $sessionId, \n name:$name, \n organizationName:$organizationName, \n aiModel:$aiModel, \n prompt:$prompt, \n userName:$userName,\n userEmailId:$userEmailId, \n userId:$userId, \n requestId:$requestId, \n replyMessage:$replyMessage, \n customPrompt:$customPrompt,\n customRootOrchestratorModelName:$customRootOrchestratorModelName,\n customRootOrchestratorModelType:$customRootOrchestratorModelType,\n notificationSessionId:$notificationSessionId, \n images:$images,\n isDocumentRetrieval:$isDocumentRetrieval,\n chatPreviewId:$chatPreviewId,\n guestSessionId: $guestSessionId,\n customMetaData: $customMetaData,\n multiAgentToggle: $multiAgentToggle, \n selectedAgent: $selectedAgent,\n runtimeAgents: $runtimeAgents) {\n \n continueChatResult {\n isEnd\n thinking_break\n is_orchestrator\n is_agent\n responded_by\n header_message\n error_state\n confidenceScore\n requestId\n replyMessage\n confidenceScore\n requestId\n sessionId\n message {\n citations {\n citation_number\n customMetaData\n title\n url\n description\n metadata {\n page_index\n display_url\n display_name\n }\n }\n annotations {\n citations {\n citation_number\n title\n url\n description\n metadata {\n page_index\n display_url\n display_name\n }\n }\n text\n }\n citationDisplayType\n next_query_suggestions {\n query\n }\n response_type\n content\n id\n }\n resourceId\n }\n }\n }",variables:{sessionId:`${m}-${p}-${(0,v.v4)()}`,name:(0,e.encodeParam)(p),organizationName:(0,e.encodeParam)(m),guestSessionId:null!==(s=(0,e.encodeParam)(null!=E?E:""))&&void 0!==s?s:"",chatPreviewId:null!==(i=(0,e.encodeParam)(null!=P?P:""))&&void 0!==i?i:"",aiModel:(0,e.encodeParam)(_),prompt:""===S?R:(0,e.encodeParam)(S+"\n"+R),userName:(0,e.encodeParam)(b),userEmailId:(0,e.encodeParam)($),userId:(0,e.encodeParam)(I),requestId:(0,e.encodeParam)(C),replyMessage:S,customPrompt:w,customRootOrchestratorModelName:x,customRootOrchestratorModelType:M,notificationSessionId:`chat-session-${(0,v.v4)()}`,images:JSON.stringify(q),isDocumentRetrieval:A,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}});try{try{for(var F,L=!0,U=h(H);!(n=(F=yield U.next()).done);L=!0){r=F.value,L=!1;const e=r;console.log("event:",e),console.log("event.data:",null==e?void 0:e.data);const n=e.data;if(T(n),null===(d=null===(c=null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.chatStream)||void 0===c?void 0:c.continueChatResult)||void 0===d?void 0:d.isEnd){O&&O(n),yield t.dispose(),f.default.clearClient();break}}}catch(e){a={error:e}}finally{try{L||n||!(o=U.return)||(yield o.call(U))}finally{if(a)throw a.error}}}catch(e){N&&N(e),yield t.dispose(),f.default.clearClient()}finally{f.default.matchesRequestId(C)&&(t.dispose(),f.default.clearClient())}}catch(e){console.log("Streaming error:",e),N&&N(e)}}));e.stopStreaming=(e,t,...n)=>u(void 0,[e,t,...n],void 0,(function*(e,t,n=!1){let a=null;try{if(f.default.matchesRequestId(e)){const e=f.default.getClient();if(e)try{yield e.dispose(),f.default.clearClient()}catch(e){console.error("Error disposing original client:",e)}}a=(0,g.createClient)(Object.assign({url:t},n?{webSocketImpl:y.default}:{}));const o=a.iterate({query:"subscription ReceiveRequestId($requestId: String!) {\n receiveRequestId(requestId: $requestId) {\n requestId\n message\n }\n }",variables:{requestId:e}});let r=!1;try{const e=new Promise(((e,t)=>{setTimeout((()=>t(new Error("Stop streaming timeout"))),1500)}));return yield Promise.race([u(void 0,void 0,void 0,(function*(){var e,t,n,a;try{for(var s,i=!0,l=h(o);!(e=(s=yield l.next()).done);i=!0)return a=s.value,i=!1,r=!0,a}catch(e){t={error:e}}finally{try{i||e||!(n=l.return)||(yield n.call(l))}finally{if(t)throw t.error}}})),e]),{success:!0,message:"Streaming stopped successfully",stopCompleted:r}}catch(t){if(!1===f.default.matchesRequestId(e))return{success:!0,message:"Stream stopped via client disposal",stopCompleted:!0};throw t}}catch(t){return"Stop streaming timeout"!==t.message||f.default.matchesRequestId(e)?(console.error("Error in stopStreaming:",t),{success:!1,error:t.message||"Unknown error occurred"}):{success:!0,message:"Stream stopped successfully despite timeout",stopCompleted:!0}}finally{if(a)try{yield a.dispose()}catch(e){console.error("Error disposing stop client:",e)}}}));e.uploadImage=(e,t)=>u(void 0,void 0,void 0,(function*(){try{const n=new FormData;n.append("file",t);return(yield p.default.post(`${e}/api/chatbot/storeImageData`,n,{headers:{"Content-Type":"multipart/form-data"}})).data.message}catch(e){throw console.error("Error uploading image:",e),new Error("Image upload failed")}}));e.deleteImage=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.post(`${e}/api/chatbot/deleteImage`,{name:t,fileName:n})).data}catch(e){throw console.error("Error deleting image:",e),new Error("Image deletion failed")}}));e.getChatHistory=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.get(`${e}/api/chat/history`,{params:{name:t,organizationName:n}})).data}catch(e){throw console.error("Error getting chat history:",e),new Error("Failed to get chat history")}}));e.resetChatHistory=(e,t,n)=>u(void 0,void 0,void 0,(function*(){try{return(yield p.default.get(`${e}/api/chat/resetHistory`,{params:{name:t,organizationName:n}})).data}catch(e){throw console.error("Error resetting chat history:",e),new Error("Failed to reset chat history")}}));e.ChatbotService=class{constructor(e,t,n){this.accessToken=null,this.baseUrl=e,this.username=t,this.password=n}login(){return u(this,void 0,void 0,(function*(){var e,t;const n=`${this.baseUrl}/auth/signInPackage`,a={credentials:{username:this.username,password:this.password}};try{const e=yield p.default.post(n,a,{headers:{"Content-Type":"application/json"}});this.accessToken=e.data.accessToken}catch(n){const a=(null===(t=null===(e=n.response)||void 0===e?void 0:e.data)||void 0===t?void 0:t.message)||n.message||"Login failed";throw new Error(`Login failed: ${a}`)}}))}ensureLoggedIn(){return u(this,void 0,void 0,(function*(){this.accessToken||(yield this.login())}))}toggleConsultativeMode(e,t,n,a){return u(this,arguments,void 0,(function*(e,t,n,a,o=!1,r){var s;yield this.ensureLoggedIn();const i={authorization:`Bearer ${this.accessToken}`},l={chatBotId:e,consultativeMode:o?r:!r,consultativeModePrompt:t||"You are responsible for understanding the user’s needs by making sure that you gather enough relevant information before responding to achieve the goal described above. To achieve this, you will always ask clarifying follow-up questions, making sure to ask only one question at a time to maintain a focused and organized conversation. The follow-up questions should be short and crisp within 2 lines only. You should always follow a CARE framework which is about Curious:- being curious and interested to know about user needs, Acknowledge the responses given by the user and Respond with Empathy. Do not ask too many unnecessary questions."};try{const e=yield p.default.post(`${this.baseUrl}/api/chatbot/toggleConsultativeMode?name=${n}&organizationName=${a}`,l,{headers:i});return(null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.isConsultativeMode)||!1}catch(e){throw console.error("Error toggling consultative mode:",e),new Error("Failed to toggle consultative mode")}}))}deleteChatMessage(e,t){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const n={authorization:`Bearer ${this.accessToken}`},a={guest_id:e,message_id:t};try{const e=yield p.default.delete(`${this.baseUrl}/api/chat/delete-message`,{headers:n,data:a});return null==e?void 0:e.data}catch(e){throw console.error("Error deleting chat message:",e),new Error("Failed to delete chat message")}}))}inheritanceflow(e,t,n,a,o,r,s,i,l,c,d,h){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const u={authorization:`Bearer ${this.accessToken}`},m={name:e,organizationName:t,description:n,assistant_type:h,vector_db:i,aiModel:l,source:c,target:d,agents:a,agentsData:o,prompt:s,selectedAssistants:r};try{const e=yield p.default.post(`${this.baseUrl}/api/chatbot/createAndInheritAssistant`,m,{headers:u});return null==e?void 0:e.data}catch(e){throw console.error("Error creating and ineheriting assistant:",e),new Error("Failed to create and inherit assistant")}}))}getAgentSettings(e,t){return u(this,void 0,void 0,(function*(){var n;yield this.ensureLoggedIn();const a=(yield p.default.get(`${this.baseUrl}/api/chatbot/getAgentSettingsId?name=${e}&organizationName=${t}`,{headers:{Authorization:`Bearer ${this.accessToken}`}})).data,o=yield p.default.get(`${this.baseUrl}/api/agent/getAgentSettings?agentSettingsId=${a.agentSettingsId}`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null===(n=null==o?void 0:o.data)||void 0===n?void 0:n.agentSettings}))}getModels(){return u(this,void 0,void 0,(function*(){yield this.ensureLoggedIn();const e=yield p.default.get(`${this.baseUrl}/api/agent/getAgentModels`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null==e?void 0:e.data}))}getChatbotData(e,t){return u(this,void 0,void 0,(function*(){try{yield this.ensureLoggedIn();const n=yield p.default.get(`${this.baseUrl}/api/chatbot/getChatbot?name=${e}&organizationName=${t}`,{headers:{Authorization:`Bearer ${this.accessToken}`}});return null==n?void 0:n.data}catch(e){throw console.error("Error fetching chatbot data:",e),e}}))}getAccessToken(e,t){return u(this,void 0,void 0,(function*(){var n,a;const o=`${this.baseUrl}/auth/signInPackage`,r={credentials:{username:e,password:t}};try{const e=yield p.default.post(o,r,{headers:{"Content-Type":"application/json"}});return this.accessToken=e.data.accessToken}catch(e){const t=(null===(a=null===(n=e.response)||void 0===n?void 0:n.data)||void 0===a?void 0:a.message)||e.message||"Login failed";throw new Error(`Login failed: ${t}`)}}))}},e.explainabilityMap=new Map;e.getAssistantObj=(t,n)=>{var a,o,r,s;if((0,v.v4)(),!1===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd&&S(t.chatStream.continueChatResult.message.content),!0===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd&&n.push({responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1}),!1===t.chatStream.continueChatResult.thinking_break&&!0===t.chatStream.continueChatResult.is_orchestrator&&!0===t.chatStream.continueChatResult.isEnd&&S(t.chatStream.continueChatResult.message.content),!1===t.chatStream.continueChatResult.thinking_break&&!1===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd){const r=t.chatStream.continueChatResult;if(r.explainability_id&&r.responded_by){const t=r.explainability_id,a=r.responded_by;e.explainabilityMap.has(t)||e.explainabilityMap.set(t,{responded_by:a,index:n.length})}if(e.explainabilityMap.has(t.chatStream.continueChatResult.explainability_id)){const o=e.explainabilityMap.get(t.chatStream.continueChatResult.explainability_id);n[null==o?void 0:o.index]={responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(a=t.chatStream.continueChatResult.explainability_id)&&void 0!==a?a:"",isParallelToolResponse:!0}}else n=[...n,{responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(o=t.chatStream.continueChatResult.explainability_id)&&void 0!==o?o:"",isParallelToolResponse:!1}]}if(!0===t.chatStream.continueChatResult.thinking_break&&!1===t.chatStream.continueChatResult.is_orchestrator&&!1===t.chatStream.continueChatResult.isEnd){const a=t.chatStream.continueChatResult;if(a.explainability_id&&a.responded_by){const t=a.explainability_id,o=a.responded_by;e.explainabilityMap.has(t)||e.explainabilityMap.set(t,{responded_by:o,index:n.length})}if(e.explainabilityMap.has(t.chatStream.continueChatResult.explainability_id)){const a=e.explainabilityMap.get(t.chatStream.continueChatResult.explainability_id);n[null==a?void 0:a.index]={responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(r=t.chatStream.continueChatResult.explainability_id)&&void 0!==r?r:"",isParallelToolResponse:!0}}else n.push({responsedata:t.chatStream.continueChatResult.message.content,responseFrom:t.chatStream.continueChatResult.responded_by,header_message:t.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(s=t.chatStream.continueChatResult.explainability_id)&&void 0!==s?s:"",isParallelToolResponse:!1})}return{orchestratorAndAgentsMessages:n}}}(t.__exports)),t.__exports};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@e-llm-studio/streaming-response/dist/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAssistantObj = exports.explainabilityMap = exports.ChatbotService = exports.resetChatHistory = exports.getChatHistory = exports.deleteImage = exports.uploadImage = exports.stopStreaming = exports.startChatStream = exports.encodeParam = void 0;\nexports.replaceAsteriskInAnchor = replaceAsteriskInAnchor;\nconst graphql_ws_1 = require(\"graphql-ws\");\nconst axios_1 = __importDefault(require(\"axios\"));\nconst ws_1 = __importDefault(require(\"ws\"));\nconst uuid_1 = require(\"uuid\");\nconst clientManager_1 = __importDefault(require(\"./helperClasses/clientManager\"));\nconst utf8 = __importStar(require(\"utf8\"));\n// Utils\nfunction replaceAsteriskInAnchor(inputString) {\n // Regular expression to match an anchor tag with asterisk inside\n const regex = /<a [^>]*>.*?<\\/a>/g;\n // Check if the inputString contains an anchor tag with asterisk and replace it\n const replacedString = inputString === null || inputString === void 0 ? void 0 : inputString.replace(regex, (match) => {\n // Replace asterisk inside the anchor tag with *\n return match === null || match === void 0 ? void 0 : match.replace(/\\*/g, \"*\");\n });\n return replacedString;\n}\nconst encodeParam = (param) => {\n return utf8.encode(param);\n};\nexports.encodeParam = encodeParam;\n/**\n * Main function to start streaming chat messages.\n * It returns a continuous stream of event data, and the user can handle the stream data with the provided callbacks.\n */\nconst startChatStream = (params) => __awaiter(void 0, void 0, void 0, function* () {\n var _a, e_1, _b, _c;\n var _d, _e, _f, _g, _h;\n const { WEBSOCKET_URL, organizationName, chatAssistantName, selectedAIModel, replyMessage = \"\", userName, userEmailId, userId, query, requestId, customPrompt = \"\", customRootOrchestratorModelName, customRootOrchestratorModelType, \n // notificationSessionId = '',\n enableForBackend = false, images, guestSessionId, chatPreviewId, isDocumentRetrieval, onStreamEvent, onStreamEnd, onError, customMetaData, multiAgentToggle, selectedAgent, runtimeAgents, } = params;\n try {\n const client = (0, graphql_ws_1.createClient)(Object.assign({ url: WEBSOCKET_URL !== null && WEBSOCKET_URL !== void 0 ? WEBSOCKET_URL : \"\" }, (enableForBackend ? { webSocketImpl: ws_1.default } : {})));\n clientManager_1.default.setClient(client, requestId);\n const subscription = client.iterate({\n query: `subscription Subscription($sessionId: String!,\r\n $name:String!,\r\n $organizationName:String!,\r\n $aiModel:String!, \r\n $prompt:String!, \r\n $userName:String!, \r\n $userEmailId:String!, \r\n $userId:String!, \r\n $requestId:String!,\r\n $replyMessage:String!,\r\n $customPrompt:String,\r\n $customRootOrchestratorModelName:String,\r\n $customRootOrchestratorModelType:String,\r\n $notificationSessionId:String, \r\n $images:String,\r\n $chatPreviewId:String,\r\n $guestSessionId:String,\r\n $isDocumentRetrieval:Boolean,\r\n $customMetaData: JSON,\r\n $multiAgentToggle: Boolean, \r\n $selectedAgent: String,\r\n $runtimeAgents: [JSON]) {\r\n chatStream(sessionId: $sessionId, \r\n name:$name, \r\n organizationName:$organizationName, \r\n aiModel:$aiModel, \r\n prompt:$prompt, \r\n userName:$userName,\r\n userEmailId:$userEmailId, \r\n userId:$userId, \r\n requestId:$requestId, \r\n replyMessage:$replyMessage, \r\n customPrompt:$customPrompt,\r\n customRootOrchestratorModelName:$customRootOrchestratorModelName,\r\n customRootOrchestratorModelType:$customRootOrchestratorModelType,\r\n notificationSessionId:$notificationSessionId, \r\n images:$images,\r\n isDocumentRetrieval:$isDocumentRetrieval,\r\n chatPreviewId:$chatPreviewId,\r\n guestSessionId: $guestSessionId,\r\n customMetaData: $customMetaData,\r\n multiAgentToggle: $multiAgentToggle, \r\n selectedAgent: $selectedAgent,\r\n runtimeAgents: $runtimeAgents) {\r\n \r\n continueChatResult {\r\n isEnd\r\n thinking_break\r\n is_orchestrator\r\n is_agent\r\n responded_by\r\n header_message\r\n error_state\r\n confidenceScore\r\n requestId\r\n replyMessage\r\n confidenceScore\r\n requestId\r\n sessionId\r\n message {\r\n citations {\r\n citation_number\r\n customMetaData\r\n title\r\n url\r\n description\r\n metadata {\r\n page_index\r\n display_url\r\n display_name\r\n }\r\n }\r\n annotations {\r\n citations {\r\n citation_number\r\n title\r\n url\r\n description\r\n metadata {\r\n page_index\r\n display_url\r\n display_name\r\n }\r\n }\r\n text\r\n }\r\n citationDisplayType\r\n next_query_suggestions {\r\n query\r\n }\r\n response_type\r\n content\r\n id\r\n }\r\n resourceId\r\n }\r\n }\r\n }`,\n variables: {\n sessionId: `${organizationName}-${chatAssistantName}-${(0, uuid_1.v4)()}`,\n name: (0, exports.encodeParam)(chatAssistantName),\n organizationName: (0, exports.encodeParam)(organizationName),\n guestSessionId: (_d = (0, exports.encodeParam)(guestSessionId !== null && guestSessionId !== void 0 ? guestSessionId : \"\")) !== null && _d !== void 0 ? _d : \"\",\n chatPreviewId: (_e = (0, exports.encodeParam)(chatPreviewId !== null && chatPreviewId !== void 0 ? chatPreviewId : \"\")) !== null && _e !== void 0 ? _e : \"\",\n aiModel: (0, exports.encodeParam)(selectedAIModel),\n prompt: replyMessage === \"\"\n ? query\n : (0, exports.encodeParam)(replyMessage + \"\\n\" + query),\n userName: (0, exports.encodeParam)(userName),\n userEmailId: (0, exports.encodeParam)(userEmailId),\n userId: (0, exports.encodeParam)(userId),\n requestId: (0, exports.encodeParam)(requestId),\n replyMessage: replyMessage,\n customPrompt: customPrompt,\n customRootOrchestratorModelName: customRootOrchestratorModelName,\n customRootOrchestratorModelType: customRootOrchestratorModelType,\n notificationSessionId: `chat-session-${(0, uuid_1.v4)()}`,\n images: JSON.stringify(images),\n isDocumentRetrieval: isDocumentRetrieval,\n customMetaData: customMetaData,\n multiAgentToggle: multiAgentToggle,\n selectedAgent: selectedAgent,\n runtimeAgents: runtimeAgents,\n },\n });\n try {\n try {\n for (var _j = true, _k = __asyncValues(subscription), _l; _l = yield _k.next(), _a = _l.done, !_a; _j = true) {\n _c = _l.value;\n _j = false;\n const event = _c;\n // if (!ClientManager.matchesRequestId(requestId)) {\n // await client.dispose();\n // ClientManager.clearClient();\n // break;\n // }\n console.log(\"event:\", event);\n console.log(\"event.data:\", event === null || event === void 0 ? void 0 : event.data);\n const chatStreamData = event.data;\n // Trigger user callback with the new stream event data\n onStreamEvent(chatStreamData);\n if ((_h = (_g = (_f = event === null || event === void 0 ? void 0 : event.data) === null || _f === void 0 ? void 0 : _f.chatStream) === null || _g === void 0 ? void 0 : _g.continueChatResult) === null || _h === void 0 ? void 0 : _h.isEnd) {\n if (onStreamEnd) {\n onStreamEnd(chatStreamData);\n }\n yield client.dispose();\n clientManager_1.default.clearClient();\n break;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (!_j && !_a && (_b = _k.return)) yield _b.call(_k);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n catch (subscriptionError) {\n if (onError)\n onError(subscriptionError);\n // Clean up on error\n yield client.dispose();\n clientManager_1.default.clearClient();\n }\n finally {\n // Clean up if the loop breaks\n if (clientManager_1.default.matchesRequestId(requestId)) {\n client.dispose();\n clientManager_1.default.clearClient();\n }\n }\n }\n catch (error) {\n console.log(\"Streaming error:\", error);\n if (onError) {\n onError(error);\n }\n }\n});\nexports.startChatStream = startChatStream;\nconst stopStreaming = (reqid_1, WEBSOCKET_URL_1, ...args_1) => __awaiter(void 0, [reqid_1, WEBSOCKET_URL_1, ...args_1], void 0, function* (reqid, WEBSOCKET_URL, enableForBackend = false) {\n let stopClient = null;\n try {\n // First, try to close the original streaming connection\n if (clientManager_1.default.matchesRequestId(reqid)) {\n const originalClient = clientManager_1.default.getClient();\n if (originalClient) {\n try {\n yield originalClient.dispose();\n clientManager_1.default.clearClient();\n }\n catch (disposeError) {\n console.error('Error disposing original client:', disposeError);\n }\n }\n }\n // Create a new client instance for the stop request\n stopClient = (0, graphql_ws_1.createClient)(Object.assign({ url: WEBSOCKET_URL }, (enableForBackend ? { webSocketImpl: ws_1.default } : {})));\n const subscription = stopClient.iterate({\n query: `subscription ReceiveRequestId($requestId: String!) {\r\n receiveRequestId(requestId: $requestId) {\r\n requestId\r\n message\r\n }\r\n }`,\n variables: {\n requestId: reqid,\n },\n });\n let stopCompleted = false;\n try {\n // Set a shorter timeout for the stop request\n const timeoutPromise = new Promise((_, reject) => {\n setTimeout(() => reject(new Error('Stop streaming timeout')), 1500);\n });\n // Race between subscription and timeout\n yield Promise.race([\n (() => __awaiter(void 0, void 0, void 0, function* () {\n var _a, e_2, _b, _c;\n try {\n for (var _d = true, subscription_1 = __asyncValues(subscription), subscription_1_1; subscription_1_1 = yield subscription_1.next(), _a = subscription_1_1.done, !_a; _d = true) {\n _c = subscription_1_1.value;\n _d = false;\n const event = _c;\n stopCompleted = true;\n return event;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (!_d && !_a && (_b = subscription_1.return)) yield _b.call(subscription_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }))(),\n timeoutPromise\n ]);\n // If we reached here without an error, consider it a success\n return {\n success: true,\n message: 'Streaming stopped successfully',\n stopCompleted\n };\n }\n catch (subError) {\n // If original client was disposed, consider it a success despite subscription timeout\n if (clientManager_1.default.matchesRequestId(reqid) === false) {\n return {\n success: true,\n message: 'Stream stopped via client disposal',\n stopCompleted: true\n };\n }\n throw subError;\n }\n }\n catch (error) {\n // Only return error if it's not a timeout and original client wasn't disposed\n if (error.message !== 'Stop streaming timeout' || clientManager_1.default.matchesRequestId(reqid)) {\n console.error(\"Error in stopStreaming:\", error);\n return { success: false, error: error.message || 'Unknown error occurred' };\n }\n // If we got here with a timeout but original client was disposed, it's still a success\n return {\n success: true,\n message: 'Stream stopped successfully despite timeout',\n stopCompleted: true\n };\n }\n finally {\n // Clean up the stop client\n if (stopClient) {\n try {\n yield stopClient.dispose();\n }\n catch (disposeError) {\n console.error('Error disposing stop client:', disposeError);\n }\n }\n }\n});\nexports.stopStreaming = stopStreaming;\n/**\n * Upload an image file to the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {File} imageFile - The image file to be uploaded.\n * @returns {Promise<string>} - A success message if the image is uploaded successfully.\n */\nconst uploadImage = (baseURL, imageFile) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const formData = new FormData();\n formData.append(\"file\", imageFile);\n const response = yield axios_1.default.post(`${baseURL}/api/chatbot/storeImageData`, formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n });\n return response.data.message;\n }\n catch (error) {\n console.error(\"Error uploading image:\", error);\n throw new Error(\"Image upload failed\");\n }\n});\nexports.uploadImage = uploadImage;\n/**\n * Delete an image from the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} name - The user or entity name associated with the image.\n * @param {string} fileName - The name of the image file to delete.\n * @returns {Promise<string>} - A success message if the image is deleted successfully.\n */\nconst deleteImage = (baseURL, name, fileName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.post(`${baseURL}/api/chatbot/deleteImage`, {\n name,\n fileName,\n });\n return response.data;\n }\n catch (error) {\n console.error(\"Error deleting image:\", error);\n throw new Error(\"Image deletion failed\");\n }\n});\nexports.deleteImage = deleteImage;\n/**\n * Get chat history from the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} chatAssistantName - The name of the chat assistant.\n * @param {string} organizationName - The name of the organization.\n * @returns {Promise<any[]>} - The chat history as an array.\n */\nconst getChatHistory = (baseURL, chatAssistantName, organizationName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.get(`${baseURL}/api/chat/history`, {\n params: { name: chatAssistantName, organizationName },\n });\n return response.data; // The response is expected to be an array\n }\n catch (error) {\n console.error(\"Error getting chat history:\", error);\n throw new Error(\"Failed to get chat history\");\n }\n});\nexports.getChatHistory = getChatHistory;\n/**\n * Reset chat history on the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} chatAssistantName - The name of the chat assistant.\n * @param {string} organizationName - The name of the organization.\n * @returns {Promise<string>} - A success message if the chat history is reset successfully.\n */\nconst resetChatHistory = (baseURL, chatAssistantName, organizationName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.get(`${baseURL}/api/chat/resetHistory`, {\n params: { name: chatAssistantName, organizationName },\n });\n return response.data; // The response is expected to be \"Chat History Reset\"\n }\n catch (error) {\n console.error(\"Error resetting chat history:\", error);\n throw new Error(\"Failed to reset chat history\");\n }\n});\nexports.resetChatHistory = resetChatHistory;\nclass ChatbotService {\n constructor(baseUrl, username, password) {\n this.accessToken = null;\n this.baseUrl = baseUrl;\n this.username = username;\n this.password = password;\n }\n // Login method to obtain the access token\n login() {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b;\n const url = `${this.baseUrl}/auth/signInPackage`;\n const loginPayload = {\n credentials: {\n username: this.username,\n password: this.password,\n },\n };\n try {\n const response = yield axios_1.default.post(url, loginPayload, {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n this.accessToken = response.data.accessToken;\n }\n catch (err) {\n const errorMessage = ((_b = (_a = err.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || err.message || \"Login failed\";\n throw new Error(`Login failed: ${errorMessage}`);\n }\n });\n }\n ensureLoggedIn() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.accessToken) {\n yield this.login();\n }\n });\n }\n toggleConsultativeMode(chatBotId_1, consultativeModePrompt_1, name_1, organizationName_1) {\n return __awaiter(this, arguments, void 0, function* (chatBotId, consultativeModePrompt, name, organizationName, isFetch = false, currentMode) {\n var _a;\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const defaultPrompt = `You are responsible for understanding the user’s needs by making sure that you gather enough relevant information before responding to achieve the goal described above. To achieve this, you will always ask clarifying follow-up questions, making sure to ask only one question at a time to maintain a focused and organized conversation. The follow-up questions should be short and crisp within 2 lines only. You should always follow a CARE framework which is about Curious:- being curious and interested to know about user needs, Acknowledge the responses given by the user and Respond with Empathy. Do not ask too many unnecessary questions.`;\n const body = {\n chatBotId,\n consultativeMode: isFetch ? currentMode : !currentMode,\n consultativeModePrompt: consultativeModePrompt || defaultPrompt,\n };\n try {\n const response = yield axios_1.default.post(`${this.baseUrl}/api/chatbot/toggleConsultativeMode?name=${name}&organizationName=${organizationName}`, body, { headers });\n return ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.isConsultativeMode) || false;\n }\n catch (error) {\n console.error(\"Error toggling consultative mode:\", error);\n throw new Error(\"Failed to toggle consultative mode\");\n }\n });\n }\n // Function to delete a chat message\n deleteChatMessage(guest_id, message_id) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const body = {\n guest_id,\n message_id,\n };\n try {\n const response = yield axios_1.default.delete(`${this.baseUrl}/api/chat/delete-message`, {\n headers,\n data: body,\n });\n return response === null || response === void 0 ? void 0 : response.data;\n }\n catch (error) {\n console.error(\"Error deleting chat message:\", error);\n throw new Error(\"Failed to delete chat message\");\n }\n });\n }\n inheritanceflow(name, organizationName, description, agents, agentsData, selectedAssistants, prompt, vector_db, aiModel, source, target, assistant_type) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const body = {\n name,\n organizationName,\n description,\n assistant_type,\n vector_db,\n aiModel,\n source,\n target,\n agents,\n agentsData,\n prompt,\n selectedAssistants,\n };\n try {\n const response = yield axios_1.default.post(`${this.baseUrl}/api/chatbot/createAndInheritAssistant`, body, { headers });\n return response === null || response === void 0 ? void 0 : response.data;\n }\n catch (error) {\n console.error(\"Error creating and ineheriting assistant:\", error);\n throw new Error(\"Failed to create and inherit assistant\");\n }\n });\n }\n getAgentSettings(name, organizationName) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n yield this.ensureLoggedIn();\n const agentSettingsIdResponse = yield axios_1.default.get(`${this.baseUrl}/api/chatbot/getAgentSettingsId?name=${name}&organizationName=${organizationName}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n const chatbotDetails = agentSettingsIdResponse.data;\n const agentSettingsResponse = yield axios_1.default.get(`${this.baseUrl}/api/agent/getAgentSettings?agentSettingsId=${chatbotDetails.agentSettingsId}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n const data = (_a = agentSettingsResponse === null || agentSettingsResponse === void 0 ? void 0 : agentSettingsResponse.data) === null || _a === void 0 ? void 0 : _a.agentSettings;\n return data;\n });\n }\n getModels() {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const modelsResponse = yield axios_1.default.get(`${this.baseUrl}/api/agent/getAgentModels`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n }\n });\n const data = modelsResponse === null || modelsResponse === void 0 ? void 0 : modelsResponse.data;\n return data;\n });\n }\n getChatbotData(chatAssistantName, organizationName) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield this.ensureLoggedIn();\n const chatBotData = yield axios_1.default.get(`${this.baseUrl}/api/chatbot/getChatbot?name=${chatAssistantName}&organizationName=${organizationName}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n return chatBotData === null || chatBotData === void 0 ? void 0 : chatBotData.data;\n }\n catch (error) {\n console.error('Error fetching chatbot data:', error);\n throw error;\n }\n });\n }\n getAccessToken(username, password) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b;\n const url = `${this.baseUrl}/auth/signInPackage`;\n const loginPayload = {\n credentials: {\n username: username,\n password: password,\n },\n };\n try {\n const response = yield axios_1.default.post(url, loginPayload, {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n return this.accessToken = response.data.accessToken;\n }\n catch (err) {\n const errorMessage = ((_b = (_a = err.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || err.message || \"Login failed\";\n throw new Error(`Login failed: ${errorMessage}`);\n }\n });\n }\n}\nexports.ChatbotService = ChatbotService;\nexports.explainabilityMap = new Map();\nconst getAssistantObj = (data, accordianMessageArray) => {\n var _a, _b, _c, _d;\n let streamedresponse = { role: \"assistant\", content: \"\", id: (0, uuid_1.v4)() };\n //orchestrator is sending message, we initially set it as normal message\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === false) {\n streamedresponse.content = replaceAsteriskInAnchor(data.chatStream.continueChatResult.message.content);\n }\n //orchestrator is sending message and thinking break is there, we add it to accordian\n if (data.chatStream.continueChatResult.thinking_break === true &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === false) {\n //check for wait message deletion\n streamedresponse.content = \"\";\n accordianMessageArray.push({\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n });\n }\n //orchestrator replied with the final message, this is the final response, no need for accordian\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === true) {\n streamedresponse.content = replaceAsteriskInAnchor(data.chatStream.continueChatResult.message.content);\n }\n //agent responded it will directly be shown in collapsed form\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === false &&\n data.chatStream.continueChatResult.isEnd === false) {\n const continueChatResult = data.chatStream.continueChatResult;\n // Check for explainability_id and responded_by, and update the map\n if (continueChatResult.explainability_id &&\n continueChatResult.responded_by) {\n const explainabilityId = continueChatResult.explainability_id;\n const respondedBy = continueChatResult.responded_by;\n // Only set the value if the map does not already contain the explainabilityId\n if (!exports.explainabilityMap.has(explainabilityId)) {\n exports.explainabilityMap.set(explainabilityId, {\n responded_by: respondedBy,\n index: accordianMessageArray.length,\n });\n }\n }\n if (exports.explainabilityMap.has(data.chatStream.continueChatResult.explainability_id)) {\n const targetedIndexId = exports.explainabilityMap.get(data.chatStream.continueChatResult.explainability_id);\n const index = targetedIndexId === null || targetedIndexId === void 0 ? void 0 : targetedIndexId.index;\n //@ts-ignore\n accordianMessageArray[index] = {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: true,\n explainability_id: (_a = data.chatStream.continueChatResult.explainability_id) !== null && _a !== void 0 ? _a : \"\",\n isParallelToolResponse: true,\n };\n }\n else {\n accordianMessageArray = [\n ...accordianMessageArray,\n {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: true,\n explainability_id: (_b = data.chatStream.continueChatResult.explainability_id) !== null && _b !== void 0 ? _b : \"\",\n isParallelToolResponse: false,\n },\n ];\n }\n }\n //final response from agent\n if (data.chatStream.continueChatResult.thinking_break === true &&\n data.chatStream.continueChatResult.is_orchestrator === false &&\n data.chatStream.continueChatResult.isEnd === false) {\n const continueChatResult = data.chatStream.continueChatResult;\n // Check for explainability_id and responded_by, and update the map\n if (continueChatResult.explainability_id &&\n continueChatResult.responded_by) {\n const explainabilityId = continueChatResult.explainability_id;\n const respondedBy = continueChatResult.responded_by;\n // Only set the value if the map does not already contain the explainabilityId\n if (!exports.explainabilityMap.has(explainabilityId)) {\n exports.explainabilityMap.set(explainabilityId, {\n responded_by: respondedBy,\n index: accordianMessageArray.length,\n });\n }\n }\n if (exports.explainabilityMap.has(data.chatStream.continueChatResult.explainability_id)) {\n const targetedIndexId = exports.explainabilityMap.get(data.chatStream.continueChatResult.explainability_id);\n const index = targetedIndexId === null || targetedIndexId === void 0 ? void 0 : targetedIndexId.index;\n //@ts-ignore\n accordianMessageArray[index] = {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n explainability_id: (_c = data.chatStream.continueChatResult.explainability_id) !== null && _c !== void 0 ? _c : \"\",\n isParallelToolResponse: true,\n };\n }\n else {\n accordianMessageArray.push({\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n explainability_id: (_d = data.chatStream.continueChatResult.explainability_id) !== null && _d !== void 0 ? _d : \"\",\n isParallelToolResponse: false,\n });\n }\n }\n let assistantObj = {\n orchestratorAndAgentsMessages: accordianMessageArray,\n };\n return assistantObj;\n};\nexports.getAssistantObj = getAssistantObj;\n"],"names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","__exports","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","e","rejected","done","then","apply","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","d","settle","__importDefault","default","exports","getAssistantObj","explainabilityMap","ChatbotService","resetChatHistory","getChatHistory","deleteImage","stopStreaming","startChatStream","encodeParam","replaceAsteriskInAnchor","graphql_ws_1","require$$0","axios_1","ws_1","require$$2","uuid_1","require$$3","clientManager_1","require$$4","utf8","require$$5","inputString","replace","match","param","encode","params","_a","e_1","_b","_c","_d","_e","_f","_g","_h","WEBSOCKET_URL","organizationName","chatAssistantName","selectedAIModel","replyMessage","userName","userEmailId","userId","query","requestId","customPrompt","customRootOrchestratorModelName","customRootOrchestratorModelType","enableForBackend","images","guestSessionId","chatPreviewId","isDocumentRetrieval","onStreamEvent","onStreamEnd","onError","customMetaData","multiAgentToggle","selectedAgent","runtimeAgents","client","createClient","assign","url","webSocketImpl","setClient","subscription","iterate","variables","sessionId","v4","name","aiModel","prompt","notificationSessionId","JSON","stringify","_l","_j","_k","event","console","log","data","chatStreamData","chatStream","continueChatResult","isEnd","dispose","clearClient","e_1_1","error","return","subscriptionError","matchesRequestId","reqid_1","WEBSOCKET_URL_1","args_1","reqid","stopClient","originalClient","getClient","disposeError","stopCompleted","timeoutPromise","_","setTimeout","Error","race","e_2","subscription_1_1","subscription_1","e_2_1","success","message","subError","uploadImage","baseURL","imageFile","formData","FormData","append","post","headers","fileName","constructor","baseUrl","username","password","accessToken","login","loginPayload","credentials","response","err","errorMessage","ensureLoggedIn","toggleConsultativeMode","chatBotId_1","consultativeModePrompt_1","name_1","organizationName_1","arguments","chatBotId","consultativeModePrompt","isFetch","currentMode","authorization","body","consultativeMode","isConsultativeMode","deleteChatMessage","guest_id","message_id","delete","inheritanceflow","description","agents","agentsData","selectedAssistants","vector_db","source","target","assistant_type","getAgentSettings","chatbotDetails","Authorization","agentSettingsResponse","agentSettingsId","agentSettings","getModels","modelsResponse","getChatbotData","chatBotData","getAccessToken","Map","accordianMessageArray","thinking_break","is_orchestrator","content","push","responsedata","responseFrom","responded_by","header_message","finalResponseStatus","explainability_id","explainabilityId","respondedBy","has","set","index","length","targetedIndexId","isParallelToolResponse","orchestratorAndAgentsMessages"],"mappings":"mcACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAKD,kBAAqBE,OAAOC,OAAM,SAAaC,EAAGC,EAAGC,EAAGC,QAC7EC,IAAPD,IAAkBA,EAAKD,GAC3B,IAAIG,EAAOP,OAAOQ,yBAAyBL,EAAGC,GACzCG,KAAS,QAASA,GAAQJ,EAAEM,WAAaF,EAAKG,UAAYH,EAAKI,gBAClEJ,EAAO,CAAEK,YAAY,EAAMC,IAAK,WAAa,OAAOV,EAAEC,EAAG,IAE3DJ,OAAOc,eAAeZ,EAAGG,EAAIE,EAChC,EAAA,SAAcL,EAAGC,EAAGC,EAAGC,QACTC,IAAPD,IAAkBA,EAAKD,GAC3BF,EAAEG,GAAMF,EAAEC,EACb,GACGW,EAAsBhB,EAAIiB,WAAIjB,YAAKgB,qBAAwBf,OAAOC,OAAM,SAAaC,EAAGe,GACxFjB,OAAOc,eAAeZ,EAAG,UAAW,CAAEU,YAAY,EAAMM,MAAOD,GAClE,EAAI,SAASf,EAAGe,GACbf,EAAW,QAAIe,CACnB,GACIE,EAAgBpB,EAAIiB,WAAIjB,EAAIiB,UAACG,cAAiB,SAAUC,GACxD,GAAIA,GAAOA,EAAIX,WAAY,OAAOW,EAClC,IAAIC,EAAS,CAAA,EACb,GAAW,MAAPD,EAAa,IAAK,IAAIhB,KAAKgB,EAAe,YAANhB,GAAmBJ,OAAOsB,UAAUC,eAAeC,KAAKJ,EAAKhB,IAAIN,EAAgBuB,EAAQD,EAAKhB,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mB4F,kBACU,IAA7C/F,EAAKE,WAAWC,mBAAmBC,MAAiB,CACpD,MAAMD,EAAqBH,EAAKE,WAAWC,mBAE3C,GAAIA,EAAmBoG,mBACnBpG,EAAmBiG,aAAc,CACjC,MAAMI,EAAmBrG,EAAmBoG,kBACtCE,EAActG,EAAmBiG,aAElCzL,EAAQE,kBAAkB6L,IAAIF,IAC/B7L,EAAQE,kBAAkB8L,IAAIH,EAAkB,CAC5CJ,aAAcK,EACdG,MAAOf,EAAsBgB,QAGjD,CACQ,GAAIlM,EAAQE,kBAAkB6L,IAAI1G,EAAKE,WAAWC,mBAAmBoG,mBAAoB,CACrF,MAAMO,EAAkBnM,EAAQE,kBAAkB3C,IAAI8H,EAAKE,WAAWC,mBAAmBoG,mBAGzFV,EAFciB,aAAyD,EAASA,EAAgBF,OAEjE,CAC3BV,aAAclG,EAAKE,WAAWC,mBAAmB4B,QAAQiE,QACzDG,aAAcnG,EAAKE,WAAWC,mBAAmBiG,aACjDC,eAAgBrG,EAAKE,WAAWC,mBAAmBkG,eACnDC,qBAAqB,EACrBC,kBAAmF,QAA/D7J,EAAKsD,EAAKE,WAAWC,mBAAmBoG,yBAAsC,IAAP7J,EAAgBA,EAAK,GAChHqK,wBAAwB,EAExC,MAEYlB,EAAsBI,KAAK,CACvBC,aAAclG,EAAKE,WAAWC,mBAAmB4B,QAAQiE,QACzDG,aAAcnG,EAAKE,WAAWC,mBAAmBiG,aACjDC,eAAgBrG,EAAKE,WAAWC,mBAAmBkG,eACnDC,qBAAqB,EACrBC,kBAAmF,QAA/D5J,EAAKqD,EAAKE,WAAWC,mBAAmBoG,yBAAsC,IAAP5J,EAAgBA,EAAK,GAChHoK,wBAAwB,GAGxC,CAII,MAHmB,CACfC,8BAA+BnB,EAEhB"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@e-llm-studio/streaming-response/dist/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAssistantObj = exports.explainabilityMap = exports.ChatbotService = exports.resetChatHistory = exports.getChatHistory = exports.deleteImage = exports.uploadImage = exports.stopStreaming = exports.startChatStream = exports.encodeParam = void 0;\nexports.replaceAsteriskInAnchor = replaceAsteriskInAnchor;\nconst graphql_ws_1 = require(\"graphql-ws\");\nconst axios_1 = __importDefault(require(\"axios\"));\nconst ws_1 = __importDefault(require(\"ws\"));\nconst uuid_1 = require(\"uuid\");\nconst clientManager_1 = __importDefault(require(\"./helperClasses/clientManager\"));\nconst utf8 = __importStar(require(\"utf8\"));\n// Utils\nfunction replaceAsteriskInAnchor(inputString) {\n // Regular expression to match an anchor tag with asterisk inside\n const regex = /<a [^>]*>.*?<\\/a>/g;\n // Check if the inputString contains an anchor tag with asterisk and replace it\n const replacedString = inputString === null || inputString === void 0 ? void 0 : inputString.replace(regex, (match) => {\n // Replace asterisk inside the anchor tag with *\n return match === null || match === void 0 ? void 0 : match.replace(/\\*/g, \"*\");\n });\n return replacedString;\n}\nconst encodeParam = (param) => {\n return utf8.encode(param);\n};\nexports.encodeParam = encodeParam;\n/**\n * Main function to start streaming chat messages.\n * It returns a continuous stream of event data, and the user can handle the stream data with the provided callbacks.\n */\nconst startChatStream = (params) => __awaiter(void 0, void 0, void 0, function* () {\n var _a, e_1, _b, _c;\n var _d, _e, _f, _g, _h;\n const { WEBSOCKET_URL, organizationName, chatAssistantName, selectedAIModel, replyMessage = \"\", userName, userEmailId, userId, query, requestId, customPrompt = \"\", customRootOrchestratorModelName, customRootOrchestratorModelType, \n // notificationSessionId = '',\n enableForBackend = false, images, guestSessionId, chatPreviewId, isDocumentRetrieval, onStreamEvent, onStreamEnd, onError, customMetaData, multiAgentToggle, selectedAgent, runtimeAgents, } = params;\n try {\n const client = (0, graphql_ws_1.createClient)(Object.assign({ url: WEBSOCKET_URL !== null && WEBSOCKET_URL !== void 0 ? WEBSOCKET_URL : \"\" }, (enableForBackend ? { webSocketImpl: ws_1.default } : {})));\n clientManager_1.default.setClient(client, requestId);\n const subscription = client.iterate({\n query: `subscription Subscription($sessionId: String!,\r\n $name:String!,\r\n $organizationName:String!,\r\n $aiModel:String!, \r\n $prompt:String!, \r\n $userName:String!, \r\n $userEmailId:String!, \r\n $userId:String!, \r\n $requestId:String!,\r\n $replyMessage:String!,\r\n $customPrompt:String,\r\n $customRootOrchestratorModelName:String,\r\n $customRootOrchestratorModelType:String,\r\n $notificationSessionId:String, \r\n $images:String,\r\n $chatPreviewId:String,\r\n $guestSessionId:String,\r\n $isDocumentRetrieval:Boolean,\r\n $customMetaData: JSON,\r\n $multiAgentToggle: Boolean, \r\n $selectedAgent: String,\r\n $runtimeAgents: [JSON]) {\r\n chatStream(sessionId: $sessionId, \r\n name:$name, \r\n organizationName:$organizationName, \r\n aiModel:$aiModel, \r\n prompt:$prompt, \r\n userName:$userName,\r\n userEmailId:$userEmailId, \r\n userId:$userId, \r\n requestId:$requestId, \r\n replyMessage:$replyMessage, \r\n customPrompt:$customPrompt,\r\n customRootOrchestratorModelName:$customRootOrchestratorModelName,\r\n customRootOrchestratorModelType:$customRootOrchestratorModelType,\r\n notificationSessionId:$notificationSessionId, \r\n images:$images,\r\n isDocumentRetrieval:$isDocumentRetrieval,\r\n chatPreviewId:$chatPreviewId,\r\n guestSessionId: $guestSessionId,\r\n customMetaData: $customMetaData,\r\n multiAgentToggle: $multiAgentToggle, \r\n selectedAgent: $selectedAgent,\r\n runtimeAgents: $runtimeAgents) {\r\n \r\n continueChatResult {\r\n isEnd\r\n thinking_break\r\n is_orchestrator\r\n is_agent\r\n responded_by\r\n header_message\r\n error_state\r\n confidenceScore\r\n requestId\r\n replyMessage\r\n confidenceScore\r\n requestId\r\n sessionId\r\n message {\r\n citations {\r\n citation_number\r\n customMetaData\r\n title\r\n url\r\n description\r\n metadata {\r\n page_index\r\n display_url\r\n display_name\r\n }\r\n }\r\n annotations {\r\n citations {\r\n citation_number\r\n title\r\n url\r\n description\r\n metadata {\r\n page_index\r\n display_url\r\n display_name\r\n }\r\n }\r\n text\r\n }\r\n citationDisplayType\r\n next_query_suggestions {\r\n query\r\n }\r\n response_type\r\n content\r\n id\r\n }\r\n resourceId\r\n }\r\n }\r\n }`,\n variables: {\n sessionId: `${organizationName}-${chatAssistantName}-${(0, uuid_1.v4)()}`,\n name: (0, exports.encodeParam)(chatAssistantName),\n organizationName: (0, exports.encodeParam)(organizationName),\n guestSessionId: (_d = (0, exports.encodeParam)(guestSessionId !== null && guestSessionId !== void 0 ? guestSessionId : \"\")) !== null && _d !== void 0 ? _d : \"\",\n chatPreviewId: (_e = (0, exports.encodeParam)(chatPreviewId !== null && chatPreviewId !== void 0 ? chatPreviewId : \"\")) !== null && _e !== void 0 ? _e : \"\",\n aiModel: (0, exports.encodeParam)(selectedAIModel),\n prompt: replyMessage === \"\"\n ? query\n : (0, exports.encodeParam)(replyMessage + \"\\n\" + query),\n userName: (0, exports.encodeParam)(userName),\n userEmailId: (0, exports.encodeParam)(userEmailId),\n userId: (0, exports.encodeParam)(userId),\n requestId: (0, exports.encodeParam)(requestId),\n replyMessage: replyMessage,\n customPrompt: customPrompt,\n customRootOrchestratorModelName: customRootOrchestratorModelName,\n customRootOrchestratorModelType: customRootOrchestratorModelType,\n notificationSessionId: `chat-session-${(0, uuid_1.v4)()}`,\n images: JSON.stringify(images),\n isDocumentRetrieval: isDocumentRetrieval,\n customMetaData: customMetaData,\n multiAgentToggle: multiAgentToggle,\n selectedAgent: selectedAgent,\n runtimeAgents: runtimeAgents,\n },\n });\n try {\n try {\n for (var _j = true, _k = __asyncValues(subscription), _l; _l = yield _k.next(), _a = _l.done, !_a; _j = true) {\n _c = _l.value;\n _j = false;\n const event = _c;\n // if (!ClientManager.matchesRequestId(requestId)) {\n // await client.dispose();\n // ClientManager.clearClient();\n // break;\n // }\n console.log(\"event:\", event);\n console.log(\"event.data:\", event === null || event === void 0 ? void 0 : event.data);\n const chatStreamData = event.data;\n // Trigger user callback with the new stream event data\n onStreamEvent(chatStreamData);\n if ((_h = (_g = (_f = event === null || event === void 0 ? void 0 : event.data) === null || _f === void 0 ? void 0 : _f.chatStream) === null || _g === void 0 ? void 0 : _g.continueChatResult) === null || _h === void 0 ? void 0 : _h.isEnd) {\n if (onStreamEnd) {\n onStreamEnd(chatStreamData);\n }\n yield client.dispose();\n clientManager_1.default.clearClient();\n break;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (!_j && !_a && (_b = _k.return)) yield _b.call(_k);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n catch (subscriptionError) {\n if (onError)\n onError(subscriptionError);\n // Clean up on error\n yield client.dispose();\n clientManager_1.default.clearClient();\n }\n finally {\n // Clean up if the loop breaks\n if (clientManager_1.default.matchesRequestId(requestId)) {\n client.dispose();\n clientManager_1.default.clearClient();\n }\n }\n }\n catch (error) {\n console.log(\"Streaming error:\", error);\n if (onError) {\n onError(error);\n }\n }\n});\nexports.startChatStream = startChatStream;\nconst stopStreaming = (reqid_1, WEBSOCKET_URL_1, ...args_1) => __awaiter(void 0, [reqid_1, WEBSOCKET_URL_1, ...args_1], void 0, function* (reqid, WEBSOCKET_URL, enableForBackend = false) {\n let stopClient = null;\n try {\n // First, try to close the original streaming connection\n if (clientManager_1.default.matchesRequestId(reqid)) {\n const originalClient = clientManager_1.default.getClient();\n if (originalClient) {\n try {\n yield originalClient.dispose();\n clientManager_1.default.clearClient();\n }\n catch (disposeError) {\n console.error('Error disposing original client:', disposeError);\n }\n }\n }\n // Create a new client instance for the stop request\n stopClient = (0, graphql_ws_1.createClient)(Object.assign({ url: WEBSOCKET_URL }, (enableForBackend ? { webSocketImpl: ws_1.default } : {})));\n const subscription = stopClient.iterate({\n query: `subscription ReceiveRequestId($requestId: String!) {\r\n receiveRequestId(requestId: $requestId) {\r\n requestId\r\n message\r\n }\r\n }`,\n variables: {\n requestId: reqid,\n },\n });\n let stopCompleted = false;\n try {\n // Set a shorter timeout for the stop request\n const timeoutPromise = new Promise((_, reject) => {\n setTimeout(() => reject(new Error('Stop streaming timeout')), 1500);\n });\n // Race between subscription and timeout\n yield Promise.race([\n (() => __awaiter(void 0, void 0, void 0, function* () {\n var _a, e_2, _b, _c;\n try {\n for (var _d = true, subscription_1 = __asyncValues(subscription), subscription_1_1; subscription_1_1 = yield subscription_1.next(), _a = subscription_1_1.done, !_a; _d = true) {\n _c = subscription_1_1.value;\n _d = false;\n const event = _c;\n stopCompleted = true;\n return event;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (!_d && !_a && (_b = subscription_1.return)) yield _b.call(subscription_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }))(),\n timeoutPromise\n ]);\n // If we reached here without an error, consider it a success\n return {\n success: true,\n message: 'Streaming stopped successfully',\n stopCompleted\n };\n }\n catch (subError) {\n // If original client was disposed, consider it a success despite subscription timeout\n if (clientManager_1.default.matchesRequestId(reqid) === false) {\n return {\n success: true,\n message: 'Stream stopped via client disposal',\n stopCompleted: true\n };\n }\n throw subError;\n }\n }\n catch (error) {\n // Only return error if it's not a timeout and original client wasn't disposed\n if (error.message !== 'Stop streaming timeout' || clientManager_1.default.matchesRequestId(reqid)) {\n console.error(\"Error in stopStreaming:\", error);\n return { success: false, error: error.message || 'Unknown error occurred' };\n }\n // If we got here with a timeout but original client was disposed, it's still a success\n return {\n success: true,\n message: 'Stream stopped successfully despite timeout',\n stopCompleted: true\n };\n }\n finally {\n // Clean up the stop client\n if (stopClient) {\n try {\n yield stopClient.dispose();\n }\n catch (disposeError) {\n console.error('Error disposing stop client:', disposeError);\n }\n }\n }\n});\nexports.stopStreaming = stopStreaming;\n/**\n * Upload an image file to the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {File} imageFile - The image file to be uploaded.\n * @returns {Promise<string>} - A success message if the image is uploaded successfully.\n */\nconst uploadImage = (baseURL, imageFile) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const formData = new FormData();\n formData.append(\"file\", imageFile);\n const response = yield axios_1.default.post(`${baseURL}/api/chatbot/storeImageData`, formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n });\n return response.data.message;\n }\n catch (error) {\n console.error(\"Error uploading image:\", error);\n throw new Error(\"Image upload failed\");\n }\n});\nexports.uploadImage = uploadImage;\n/**\n * Delete an image from the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} name - The user or entity name associated with the image.\n * @param {string} fileName - The name of the image file to delete.\n * @returns {Promise<string>} - A success message if the image is deleted successfully.\n */\nconst deleteImage = (baseURL, name, fileName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.post(`${baseURL}/api/chatbot/deleteImage`, {\n name,\n fileName,\n });\n return response.data;\n }\n catch (error) {\n console.error(\"Error deleting image:\", error);\n throw new Error(\"Image deletion failed\");\n }\n});\nexports.deleteImage = deleteImage;\n/**\n * Get chat history from the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} chatAssistantName - The name of the chat assistant.\n * @param {string} organizationName - The name of the organization.\n * @returns {Promise<any[]>} - The chat history as an array.\n */\nconst getChatHistory = (baseURL, chatAssistantName, organizationName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.get(`${baseURL}/api/chat/history`, {\n params: { name: chatAssistantName, organizationName },\n });\n return response.data; // The response is expected to be an array\n }\n catch (error) {\n console.error(\"Error getting chat history:\", error);\n throw new Error(\"Failed to get chat history\");\n }\n});\nexports.getChatHistory = getChatHistory;\n/**\n * Reset chat history on the server.\n * @param {string} baseURL - The base URL of the API.\n * @param {string} chatAssistantName - The name of the chat assistant.\n * @param {string} organizationName - The name of the organization.\n * @returns {Promise<string>} - A success message if the chat history is reset successfully.\n */\nconst resetChatHistory = (baseURL, chatAssistantName, organizationName) => __awaiter(void 0, void 0, void 0, function* () {\n try {\n const response = yield axios_1.default.get(`${baseURL}/api/chat/resetHistory`, {\n params: { name: chatAssistantName, organizationName },\n });\n return response.data; // The response is expected to be \"Chat History Reset\"\n }\n catch (error) {\n console.error(\"Error resetting chat history:\", error);\n throw new Error(\"Failed to reset chat history\");\n }\n});\nexports.resetChatHistory = resetChatHistory;\nclass ChatbotService {\n constructor(baseUrl, username, password) {\n this.accessToken = null;\n this.baseUrl = baseUrl;\n this.username = username;\n this.password = password;\n }\n // Login method to obtain the access token\n login() {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b;\n const url = `${this.baseUrl}/auth/signInPackage`;\n const loginPayload = {\n credentials: {\n username: this.username,\n password: this.password,\n },\n };\n try {\n const response = yield axios_1.default.post(url, loginPayload, {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n this.accessToken = response.data.accessToken;\n }\n catch (err) {\n const errorMessage = ((_b = (_a = err.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || err.message || \"Login failed\";\n throw new Error(`Login failed: ${errorMessage}`);\n }\n });\n }\n ensureLoggedIn() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.accessToken) {\n yield this.login();\n }\n });\n }\n toggleConsultativeMode(chatBotId_1, consultativeModePrompt_1, name_1, organizationName_1) {\n return __awaiter(this, arguments, void 0, function* (chatBotId, consultativeModePrompt, name, organizationName, isFetch = false, currentMode) {\n var _a;\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const defaultPrompt = `You are responsible for understanding the user’s needs by making sure that you gather enough relevant information before responding to achieve the goal described above. To achieve this, you will always ask clarifying follow-up questions, making sure to ask only one question at a time to maintain a focused and organized conversation. The follow-up questions should be short and crisp within 2 lines only. You should always follow a CARE framework which is about Curious:- being curious and interested to know about user needs, Acknowledge the responses given by the user and Respond with Empathy. Do not ask too many unnecessary questions.`;\n const body = {\n chatBotId,\n consultativeMode: isFetch ? currentMode : !currentMode,\n consultativeModePrompt: consultativeModePrompt || defaultPrompt,\n };\n try {\n const response = yield axios_1.default.post(`${this.baseUrl}/api/chatbot/toggleConsultativeMode?name=${name}&organizationName=${organizationName}`, body, { headers });\n return ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.isConsultativeMode) || false;\n }\n catch (error) {\n console.error(\"Error toggling consultative mode:\", error);\n throw new Error(\"Failed to toggle consultative mode\");\n }\n });\n }\n // Function to delete a chat message\n deleteChatMessage(guest_id, message_id) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const body = {\n guest_id,\n message_id,\n };\n try {\n const response = yield axios_1.default.delete(`${this.baseUrl}/api/chat/delete-message`, {\n headers,\n data: body,\n });\n return response === null || response === void 0 ? void 0 : response.data;\n }\n catch (error) {\n console.error(\"Error deleting chat message:\", error);\n throw new Error(\"Failed to delete chat message\");\n }\n });\n }\n inheritanceflow(name, organizationName, description, agents, agentsData, selectedAssistants, prompt, vector_db, aiModel, source, target, assistant_type) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const headers = {\n authorization: `Bearer ${this.accessToken}`,\n };\n const body = {\n name,\n organizationName,\n description,\n assistant_type,\n vector_db,\n aiModel,\n source,\n target,\n agents,\n agentsData,\n prompt,\n selectedAssistants,\n };\n try {\n const response = yield axios_1.default.post(`${this.baseUrl}/api/chatbot/createAndInheritAssistant`, body, { headers });\n return response === null || response === void 0 ? void 0 : response.data;\n }\n catch (error) {\n console.error(\"Error creating and ineheriting assistant:\", error);\n throw new Error(\"Failed to create and inherit assistant\");\n }\n });\n }\n getAgentSettings(name, organizationName) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n yield this.ensureLoggedIn();\n const agentSettingsIdResponse = yield axios_1.default.get(`${this.baseUrl}/api/chatbot/getAgentSettingsId?name=${name}&organizationName=${organizationName}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n const chatbotDetails = agentSettingsIdResponse.data;\n const agentSettingsResponse = yield axios_1.default.get(`${this.baseUrl}/api/agent/getAgentSettings?agentSettingsId=${chatbotDetails.agentSettingsId}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n const data = (_a = agentSettingsResponse === null || agentSettingsResponse === void 0 ? void 0 : agentSettingsResponse.data) === null || _a === void 0 ? void 0 : _a.agentSettings;\n return data;\n });\n }\n getModels() {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.ensureLoggedIn();\n const modelsResponse = yield axios_1.default.get(`${this.baseUrl}/api/agent/getAgentModels`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n }\n });\n const data = modelsResponse === null || modelsResponse === void 0 ? void 0 : modelsResponse.data;\n return data;\n });\n }\n getChatbotData(chatAssistantName, organizationName) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield this.ensureLoggedIn();\n const chatBotData = yield axios_1.default.get(`${this.baseUrl}/api/chatbot/getChatbot?name=${chatAssistantName}&organizationName=${organizationName}`, {\n headers: {\n Authorization: `Bearer ${this.accessToken}`,\n },\n });\n return chatBotData === null || chatBotData === void 0 ? void 0 : chatBotData.data;\n }\n catch (error) {\n console.error('Error fetching chatbot data:', error);\n throw error;\n }\n });\n }\n getAccessToken(username, password) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b;\n const url = `${this.baseUrl}/auth/signInPackage`;\n const loginPayload = {\n credentials: {\n username: username,\n password: password,\n },\n };\n try {\n const response = yield axios_1.default.post(url, loginPayload, {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n return this.accessToken = response.data.accessToken;\n }\n catch (err) {\n const errorMessage = ((_b = (_a = err.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || err.message || \"Login failed\";\n throw new Error(`Login failed: ${errorMessage}`);\n }\n });\n }\n}\nexports.ChatbotService = ChatbotService;\nexports.explainabilityMap = new Map();\nconst getAssistantObj = (data, accordianMessageArray) => {\n var _a, _b, _c, _d;\n let streamedresponse = { role: \"assistant\", content: \"\", id: (0, uuid_1.v4)() };\n //orchestrator is sending message, we initially set it as normal message\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === false) {\n streamedresponse.content = replaceAsteriskInAnchor(data.chatStream.continueChatResult.message.content);\n }\n //orchestrator is sending message and thinking break is there, we add it to accordian\n if (data.chatStream.continueChatResult.thinking_break === true &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === false) {\n //check for wait message deletion\n streamedresponse.content = \"\";\n accordianMessageArray.push({\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n });\n }\n //orchestrator replied with the final message, this is the final response, no need for accordian\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === true &&\n data.chatStream.continueChatResult.isEnd === true) {\n streamedresponse.content = replaceAsteriskInAnchor(data.chatStream.continueChatResult.message.content);\n }\n //agent responded it will directly be shown in collapsed form\n if (data.chatStream.continueChatResult.thinking_break === false &&\n data.chatStream.continueChatResult.is_orchestrator === false &&\n data.chatStream.continueChatResult.isEnd === false) {\n const continueChatResult = data.chatStream.continueChatResult;\n // Check for explainability_id and responded_by, and update the map\n if (continueChatResult.explainability_id &&\n continueChatResult.responded_by) {\n const explainabilityId = continueChatResult.explainability_id;\n const respondedBy = continueChatResult.responded_by;\n // Only set the value if the map does not already contain the explainabilityId\n if (!exports.explainabilityMap.has(explainabilityId)) {\n exports.explainabilityMap.set(explainabilityId, {\n responded_by: respondedBy,\n index: accordianMessageArray.length,\n });\n }\n }\n if (exports.explainabilityMap.has(data.chatStream.continueChatResult.explainability_id)) {\n const targetedIndexId = exports.explainabilityMap.get(data.chatStream.continueChatResult.explainability_id);\n const index = targetedIndexId === null || targetedIndexId === void 0 ? void 0 : targetedIndexId.index;\n //@ts-ignore\n accordianMessageArray[index] = {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: true,\n explainability_id: (_a = data.chatStream.continueChatResult.explainability_id) !== null && _a !== void 0 ? _a : \"\",\n isParallelToolResponse: true,\n };\n }\n else {\n accordianMessageArray = [\n ...accordianMessageArray,\n {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: true,\n explainability_id: (_b = data.chatStream.continueChatResult.explainability_id) !== null && _b !== void 0 ? _b : \"\",\n isParallelToolResponse: false,\n },\n ];\n }\n }\n //final response from agent\n if (data.chatStream.continueChatResult.thinking_break === true &&\n data.chatStream.continueChatResult.is_orchestrator === false &&\n data.chatStream.continueChatResult.isEnd === false) {\n const continueChatResult = data.chatStream.continueChatResult;\n // Check for explainability_id and responded_by, and update the map\n if (continueChatResult.explainability_id &&\n continueChatResult.responded_by) {\n const explainabilityId = continueChatResult.explainability_id;\n const respondedBy = continueChatResult.responded_by;\n // Only set the value if the map does not already contain the explainabilityId\n if (!exports.explainabilityMap.has(explainabilityId)) {\n exports.explainabilityMap.set(explainabilityId, {\n responded_by: respondedBy,\n index: accordianMessageArray.length,\n });\n }\n }\n if (exports.explainabilityMap.has(data.chatStream.continueChatResult.explainability_id)) {\n const targetedIndexId = exports.explainabilityMap.get(data.chatStream.continueChatResult.explainability_id);\n const index = targetedIndexId === null || targetedIndexId === void 0 ? void 0 : targetedIndexId.index;\n //@ts-ignore\n accordianMessageArray[index] = {\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n explainability_id: (_c = data.chatStream.continueChatResult.explainability_id) !== null && _c !== void 0 ? _c : \"\",\n isParallelToolResponse: true,\n };\n }\n else {\n accordianMessageArray.push({\n responsedata: data.chatStream.continueChatResult.message.content,\n responseFrom: data.chatStream.continueChatResult.responded_by,\n header_message: data.chatStream.continueChatResult.header_message,\n finalResponseStatus: false,\n explainability_id: (_d = data.chatStream.continueChatResult.explainability_id) !== null && _d !== void 0 ? _d : \"\",\n isParallelToolResponse: false,\n });\n }\n }\n let assistantObj = {\n orchestratorAndAgentsMessages: accordianMessageArray,\n };\n return assistantObj;\n};\nexports.getAssistantObj = getAssistantObj;\n"],"names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","__exports","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","e","rejected","done","then","apply","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","d","settle","__importDefault","default","exports","getAssistantObj","explainabilityMap","ChatbotService","resetChatHistory","getChatHistory","deleteImage","stopStreaming","startChatStream","encodeParam","replaceAsteriskInAnchor","graphql_ws_1","require$$0","axios_1","ws_1","require$$2","uuid_1","require$$3","clientManager_1","require$$4","utf8","require$$5","inputString","replace","match","param","encode","params","_a","e_1","_b","_c","_d","_e","_f","_g","_h","WEBSOCKET_URL","organizationName","chatAssistantName","selectedAIModel","replyMessage","userName","userEmailId","userId","query","requestId","customPrompt","customRootOrchestratorModelName","customRootOrchestratorModelType","enableForBackend","images","guestSessionId","chatPreviewId","isDocumentRetrieval","onStreamEvent","onStreamEnd","onError","customMetaData","multiAgentToggle","selectedAgent","runtimeAgents","client","createClient","assign","url","webSocketImpl","setClient","subscription","iterate","variables","sessionId","v4","name","aiModel","prompt","notificationSessionId","JSON","stringify","_l","_j","_k","event","console","log","data","chatStreamData","chatStream","continueChatResult","isEnd","dispose","clearClient","e_1_1","error","return","subscriptionError","matchesRequestId","reqid_1","WEBSOCKET_URL_1","args_1","reqid","stopClient","originalClient","getClient","disposeError","stopCompleted","timeoutPromise","_","setTimeout","Error","race","e_2","subscription_1_1","subscription_1","e_2_1","success","message","subError","uploadImage","baseURL","imageFile","formData","FormData","append","post","headers","fileName","constructor","baseUrl","username","password","accessToken","login","loginPayload","credentials","response","err","errorMessage","ensureLoggedIn","toggleConsultativeMode","chatBotId_1","consultativeModePrompt_1","name_1","organizationName_1","arguments","chatBotId","consultativeModePrompt","isFetch","currentMode","authorization","body","consultativeMode","isConsultativeMode","deleteChatMessage","guest_id","message_id","delete","inheritanceflow","description","agents","agentsData","selectedAssistants","vector_db","source","target","assistant_type","getAgentSettings","chatbotDetails","Authorization","agentSettingsResponse","agentSettingsId","agentSettings","getModels","modelsResponse","getChatbotData","chatBotData","getAccessToken","Map","accordianMessageArray","thinking_break","is_orchestrator","content","push","responsedata","responseFrom","responded_by","header_message","finalResponseStatus","explainability_id","explainabilityId","respondedBy","has","set","index","length","targetedIndexId","isParallelToolResponse","orchestratorAndAgentsMessages"],"mappings":"ocACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAKD,kBAAqBE,OAAOC,OAAM,SAAaC,EAAGC,EAAGC,EAAGC,QAC7EC,IAAPD,IAAkBA,EAAKD,GAC3B,IAAIG,EAAOP,OAAOQ,yBAAyBL,EAAGC,GACzCG,KAAS,QAASA,GAAQJ,EAAEM,WAAaF,EAAKG,UAAYH,EAAKI,gBAClEJ,EAAO,CAAEK,YAAY,EAAMC,IAAK,WAAa,OAAOV,EAAEC,EAAG,IAE3DJ,OAAOc,eAAeZ,EAAGG,EAAIE,EAChC,EAAA,SAAcL,EAAGC,EAAGC,EAAGC,QACTC,IAAPD,IAAkBA,EAAKD,GAC3BF,EAAEG,GAAMF,EAAEC,EACb,GACGW,EAAsBhB,EAAIiB,WAAIjB,YAAKgB,qBAAwBf,OAAOC,OAAM,SAAaC,EAAGe,GACxFjB,OAAOc,eAAeZ,EAAG,UAAW,CAAEU,YAAY,EAAMM,MAA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E,WAAWC,mBAAmBkG,eACnDC,qBAAqB,EACrBC,kBAAmF,QAA/D5J,EAAKqD,EAAKE,WAAWC,mBAAmBoG,yBAAsC,IAAP5J,EAAgBA,EAAK,GAChHoK,wBAAwB,GAGxC,CAII,MAHmB,CACfC,8BAA+BnB,EAEhB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=require("react"),i=require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=require("react"),i=require("../../../../../_virtual/index.js"),o=require("../../../../clsx/dist/clsx.m.js"),l=require("../../../utils/esm/chainPropTypes.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var n=require("../styles/withStyles.js"),a=require("../utils/capitalize.js");function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var c=s(r),u=function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}},d=c.forwardRef((function(r,i){var l=r.children,n=r.classes,s=r.className,u=r.color,d=void 0===u?"inherit":u,f=r.component,m=void 0===f?"svg":f,p=r.fontSize,h=void 0===p?"medium":p,y=r.htmlColor,v=r.titleAccess,g=r.viewBox,S=void 0===g?"0 0 24 24":g,j=t.default(r,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return c.createElement(m,e.default({className:o.clsx(n.root,s,"inherit"!==d&&n["color".concat(a.default(d))],"default"!==h&&"medium"!==h&&n["fontSize".concat(a.default(h))]),focusable:"false",viewBox:S,color:y,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:i},j),l,v?c.createElement("title",null,v):null)}));"production"!==process.env.NODE_ENV&&(d.propTypes={children:i.default.node,classes:i.default.object,className:i.default.string,color:i.default.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:i.default.elementType,fontSize:l.default(i.default.oneOf(["default","inherit","large","medium","small"]),(function(e){if("default"===e.fontSize)throw new Error('Material-UI: `fontSize="default"` is deprecated. Use `fontSize="medium"` instead.');return null})),htmlColor:i.default.string,shapeRendering:i.default.string,titleAccess:i.default.string,viewBox:i.default.string}),d.muiName="SvgIcon";var f=n.default(u,{name:"MuiSvgIcon"})(d);exports.default=f,exports.styles=u;
|
|
2
2
|
//# sourceMappingURL=SvgIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgIcon.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: theme.typography.pxToRem(24),\n transition: theme.transitions.create('fill', {\n duration: theme.transitions.duration.shorter\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"action\"`. */\n colorAction: {\n color: theme.palette.action.active\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `color=\"disabled\"`. */\n colorDisabled: {\n color: theme.palette.action.disabled\n },\n\n /* Styles applied to the root element if `fontSize=\"inherit\"`. */\n fontSizeInherit: {\n fontSize: 'inherit'\n },\n\n /* Styles applied to the root element if `fontSize=\"small\"`. */\n fontSizeSmall: {\n fontSize: theme.typography.pxToRem(20)\n },\n\n /* Styles applied to the root element if `fontSize=\"large\"`. */\n fontSizeLarge: {\n fontSize: theme.typography.pxToRem(35)\n }\n };\n};\nvar SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'inherit' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'svg' : _props$component,\n _props$fontSize = props.fontSize,\n fontSize = _props$fontSize === void 0 ? 'medium' : _props$fontSize,\n htmlColor = props.htmlColor,\n titleAccess = props.titleAccess,\n _props$viewBox = props.viewBox,\n viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"titleAccess\", \"viewBox\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], fontSize !== 'default' && fontSize !== 'medium' && classes[\"fontSize\".concat(capitalize(fontSize))]),\n focusable: \"false\",\n viewBox: viewBox,\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, other), children, titleAccess ? /*#__PURE__*/React.createElement(\"title\", null, titleAccess) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n */\n color: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n */\n fontSize: chainPropTypes(PropTypes.oneOf(['default', 'inherit', 'large', 'medium', 'small']), function (props) {\n var fontSize = props.fontSize;\n\n if (fontSize === 'default') {\n throw new Error('Material-UI: `fontSize=\"default\"` is deprecated. Use `fontSize=\"medium\"` instead.');\n }\n\n return null;\n }),\n\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this property.\n */\n shapeRendering: PropTypes.string,\n\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default withStyles(styles, {\n name: 'MuiSvgIcon'\n})(SvgIcon);"],"names":["styles","theme","root","userSelect","width","height","display","fill","flexShrink","fontSize","typography","pxToRem","transition","transitions","create","duration","shorter","colorPrimary","color","palette","primary","main","colorSecondary","secondary","colorAction","action","active","colorError","error","colorDisabled","disabled","fontSizeInherit","fontSizeSmall","fontSizeLarge","SvgIcon","React","forwardRef","props","ref","children","classes","className","_props$color","_props$component","component","Component","_props$fontSize","htmlColor","titleAccess","_props$viewBox","viewBox","other","_objectWithoutProperties","createElement","_extends","clsx","concat","capitalize","focusable","undefined","role","process","env","NODE_ENV","propTypes","PropTypes","node","object","string","oneOf","elementType","chainPropTypes","Error","shapeRendering","muiName","withStyles","name"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SvgIcon.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: theme.typography.pxToRem(24),\n transition: theme.transitions.create('fill', {\n duration: theme.transitions.duration.shorter\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"action\"`. */\n colorAction: {\n color: theme.palette.action.active\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `color=\"disabled\"`. */\n colorDisabled: {\n color: theme.palette.action.disabled\n },\n\n /* Styles applied to the root element if `fontSize=\"inherit\"`. */\n fontSizeInherit: {\n fontSize: 'inherit'\n },\n\n /* Styles applied to the root element if `fontSize=\"small\"`. */\n fontSizeSmall: {\n fontSize: theme.typography.pxToRem(20)\n },\n\n /* Styles applied to the root element if `fontSize=\"large\"`. */\n fontSizeLarge: {\n fontSize: theme.typography.pxToRem(35)\n }\n };\n};\nvar SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'inherit' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'svg' : _props$component,\n _props$fontSize = props.fontSize,\n fontSize = _props$fontSize === void 0 ? 'medium' : _props$fontSize,\n htmlColor = props.htmlColor,\n titleAccess = props.titleAccess,\n _props$viewBox = props.viewBox,\n viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"titleAccess\", \"viewBox\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], fontSize !== 'default' && fontSize !== 'medium' && classes[\"fontSize\".concat(capitalize(fontSize))]),\n focusable: \"false\",\n viewBox: viewBox,\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, other), children, titleAccess ? /*#__PURE__*/React.createElement(\"title\", null, titleAccess) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n */\n color: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n */\n fontSize: chainPropTypes(PropTypes.oneOf(['default', 'inherit', 'large', 'medium', 'small']), function (props) {\n var fontSize = props.fontSize;\n\n if (fontSize === 'default') {\n throw new Error('Material-UI: `fontSize=\"default\"` is deprecated. Use `fontSize=\"medium\"` instead.');\n }\n\n return null;\n }),\n\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this property.\n */\n shapeRendering: PropTypes.string,\n\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default withStyles(styles, {\n name: 'MuiSvgIcon'\n})(SvgIcon);"],"names":["styles","theme","root","userSelect","width","height","display","fill","flexShrink","fontSize","typography","pxToRem","transition","transitions","create","duration","shorter","colorPrimary","color","palette","primary","main","colorSecondary","secondary","colorAction","action","active","colorError","error","colorDisabled","disabled","fontSizeInherit","fontSizeSmall","fontSizeLarge","SvgIcon","React","forwardRef","props","ref","children","classes","className","_props$color","_props$component","component","Component","_props$fontSize","htmlColor","titleAccess","_props$viewBox","viewBox","other","_objectWithoutProperties","createElement","_extends","clsx","concat","capitalize","focusable","undefined","role","process","env","NODE_ENV","propTypes","PropTypes","node","object","string","oneOf","elementType","chainPropTypes","Error","shapeRendering","muiName","withStyles","name"],"mappings":"k+BAQWA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,WAAY,OACZC,MAAO,MACPC,OAAQ,MACRC,QAAS,eACTC,KAAM,eACNC,WAAY,EACZC,SAAUR,EAAMS,WAAWC,QAAQ,IACnCC,WAAYX,EAAMY,YAAYC,OAAO,OAAQ,CAC3CC,SAAUd,EAAMY,YAAYE,SAASC,WAKzCC,aAAc,CACZC,MAAOjB,EAAMkB,QAAQC,QAAQC,MAI/BC,eAAgB,CACdJ,MAAOjB,EAAMkB,QAAQI,UAAUF,MAIjCG,YAAa,CACXN,MAAOjB,EAAMkB,QAAQM,OAAOC,QAI9BC,WAAY,CACVT,MAAOjB,EAAMkB,QAAQS,MAAMP,MAI7BQ,cAAe,CACbX,MAAOjB,EAAMkB,QAAQM,OAAOK,UAI9BC,gBAAiB,CACftB,SAAU,WAIZuB,cAAe,CACbvB,SAAUR,EAAMS,WAAWC,QAAQ,KAIrCsB,cAAe,CACbxB,SAAUR,EAAMS,WAAWC,QAAQ,KAGzC,EACIuB,EAAuBC,EAAMC,YAAW,SAAiBC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SAGnB,MAAM,IAAI+D,MAAM,qFAGlB,OAAO,IACX,IAKEzB,UAAWkB,EAAS,QAACG,OAOrBK,eAAgBR,EAAS,QAACG,OAM1BpB,YAAaiB,EAAS,QAACG,OASvBlB,QAASe,EAAS,QAACG,SAErBlC,EAAQwC,QAAU,UAClB,IAAeC,EAAAA,EAAAA,QAAW3E,EAAQ,CAChC4E,KAAM,cADOD,CAEZzC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js");var e=require("../../../utils/esm/formatMuiErrorMessage.js");function r(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"production"!==process.env.NODE_ENV&&(e<r||e>t)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(r,", ").concat(t,"].")),Math.min(Math.max(r,e),t)}function t(e){e=e.substr(1);var r=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),t=e.match(r);return t&&1===t[0].length&&(t=t.map((function(e){return e+e}))),t?"rgb".concat(4===t.length?"a":"","(").concat(t.map((function(e,r){return r<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function n(e){var r=(e=o(e)).values,t=r[0],n=r[1]/100,s=r[2]/100,u=n*Math.min(s,1-s),i=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return s-u*Math.max(Math.min(r-3,9-r,1),-1)},l="rgb",c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",c.push(r[3])),a({type:l,values:c})}function o(r){if(r.type)return r;if("#"===r.charAt(0))return o(t(r));var n=r.indexOf("("),a=r.substring(0,n);if(-1===["rgb","rgba","hsl","hsla"].indexOf(a))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: Unsupported `".concat(r,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):e.default(3,r));var s=r.substring(n+1,r.length-1).split(",");return{type:a,values:s=s.map((function(e){return parseFloat(e)}))}}function a(e){var r=e.type,t=e.values;return-1!==r.indexOf("rgb")?t=t.map((function(e,r){return r<3?parseInt(e,10):e})):-1!==r.indexOf("hsl")&&(t[1]="".concat(t[1],"%"),t[2]="".concat(t[2],"%")),"".concat(r,"(").concat(t.join(", "),")")}function s(e){var r="hsl"===(e=o(e)).type?o(n(e)).values:e.values;return r=r.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js");var e=require("../../../utils/esm/formatMuiErrorMessage.js");function r(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"production"!==process.env.NODE_ENV&&(e<r||e>t)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(r,", ").concat(t,"].")),Math.min(Math.max(r,e),t)}function t(e){e=e.substr(1);var r=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),t=e.match(r);return t&&1===t[0].length&&(t=t.map((function(e){return e+e}))),t?"rgb".concat(4===t.length?"a":"","(").concat(t.map((function(e,r){return r<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function n(e){var r=(e=o(e)).values,t=r[0],n=r[1]/100,s=r[2]/100,u=n*Math.min(s,1-s),i=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return s-u*Math.max(Math.min(r-3,9-r,1),-1)},l="rgb",c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",c.push(r[3])),a({type:l,values:c})}function o(r){if(r.type)return r;if("#"===r.charAt(0))return o(t(r));var n=r.indexOf("("),a=r.substring(0,n);if(-1===["rgb","rgba","hsl","hsla"].indexOf(a))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: Unsupported `".concat(r,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):e.default(3,r));var s=r.substring(n+1,r.length-1).split(",");return{type:a,values:s=s.map((function(e){return parseFloat(e)}))}}function a(e){var r=e.type,t=e.values;return-1!==r.indexOf("rgb")?t=t.map((function(e,r){return r<3?parseInt(e,10):e})):-1!==r.indexOf("hsl")&&(t[1]="".concat(t[1],"%"),t[2]="".concat(t[2],"%")),"".concat(r,"(").concat(t.join(", "),")")}function s(e){var r="hsl"===(e=o(e)).type?o(n(e)).values:e.values;return r=r.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js"),exports.darken=function(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)},exports.decomposeColor=o,exports.getContrastRatio=function(e,r){var t=s(e),n=s(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)},exports.getLuminance=s,exports.hexToRgb=t,exports.hslToRgb=n,exports.lighten=function(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)},exports.recomposeColor=a;
|
|
2
2
|
//# sourceMappingURL=colorManipulator.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),r=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../utils/esm/deepmerge.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js");var a=require("../../../utils/esm/formatMuiErrorMessage.js");require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),r=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../utils/esm/deepmerge.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js");var a=require("../../../utils/esm/formatMuiErrorMessage.js");require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var o=require("../colors/common.js"),i=require("../colors/grey.js"),n=require("../colors/indigo.js"),s=require("../colors/pink.js"),l=require("../colors/red.js"),d=require("../colors/orange.js"),c=require("../colors/blue.js"),u=require("../colors/green.js"),f=require("./colorManipulator.js"),p={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},g={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,r,t,a){var o=a.light||a,i=a.dark||1.5*a;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:"light"===r?e.light=f.lighten(e.main,o):"dark"===r&&(e.dark=f.darken(e.main,i)))}exports.dark=g,exports.default=function(h){var b=h.primary,v=void 0===b?{light:n.default[300],main:n.default[500],dark:n.default[700]}:b,y=h.secondary,j=void 0===y?{light:s.default.A200,main:s.default.A400,dark:s.default.A700}:y,O=h.error,k=void 0===O?{light:l.default[300],main:l.default[500],dark:l.default[700]}:O,q=h.warning,w=void 0===q?{light:d.default[300],main:d.default[500],dark:d.default[700]}:q,T=h.info,x=void 0===T?{light:c.default[300],main:c.default[500],dark:c.default[700]}:T,E=h.success,A=void 0===E?{light:u.default[300],main:u.default[500],dark:u.default[700]}:E,N=h.type,C=void 0===N?"light":N,M=h.contrastThreshold,_=void 0===M?3:M,R=h.tonalOffset,D=void 0===R?.2:R,I=r.default(h,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function U(e){var r=f.getContrastRatio(e,g.text.primary)>=_?g.text.primary:p.text.primary;if("production"!==process.env.NODE_ENV){var t=f.getContrastRatio(e,r);t<3&&console.error(["Material-UI: The contrast ratio of ".concat(t,":1 for ").concat(r," on ").concat(e),"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return r}var V=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(r=e.default({},r)).main&&r[t]&&(r.main=r[t]),!r.main)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(t,"` property."):a.default(4,t));if("string"!=typeof r.main)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(r.main),'` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@material-ui/core/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });'):a.default(5,JSON.stringify(r.main)));return m(r,"light",o,D),m(r,"dark",i,D),r.contrastText||(r.contrastText=U(r.main)),r},G={dark:g,light:p};return"production"!==process.env.NODE_ENV&&(G[C]||console.error("Material-UI: The palette type `".concat(C,"` is not supported."))),t.default(e.default({common:o.default,type:C,primary:V(v),secondary:V(j,"A400","A200","A700"),error:V(k),warning:V(w),info:V(x),success:V(A),grey:i.default,contrastThreshold:_,getContrastText:U,augmentColor:V,tonalOffset:D},G[C]),I)},exports.light=p;
|
|
2
2
|
//# sourceMappingURL=createPalette.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../system/esm/borders.js"),require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../system/esm/borders.js"),require("../../../../../_virtual/index.js"),require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js"),require("../../../system/esm/display.js"),require("../../../system/esm/flexbox.js"),require("../../../system/esm/grid.js"),require("../../../system/esm/palette.js"),require("../../../system/esm/positions.js"),require("../../../system/esm/shadows.js"),require("../../../system/esm/sizing.js");var e,r=require("../../../system/esm/spacing.js");require("../../../system/esm/responsivePropType.js"),require("../../../system/esm/typography.js"),exports.default=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(s.mui)return s;var t=r.createUnarySpacing({spacing:s}),i=function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];return"production"!==process.env.NODE_ENV&&(r.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(r.length))),0===r.length?t(1):1===r.length?t(r[0]):r.map((function(e){if("string"==typeof e)return e;var r=t(e);return"number"==typeof r?"".concat(r,"px"):r})).join(" ")};return Object.defineProperty(i,"unit",{get:function(){return"production"!==process.env.NODE_ENV&&(e&&"test"!==process.env.NODE_ENV||console.error(["Material-UI: theme.spacing.unit usage has been deprecated.","It will be removed in v5.","You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.","","You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother."].join("\n")),e=!0),s}}),i.mui=!0,i};
|
|
2
2
|
//# sourceMappingURL=createSpacing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSpacing.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/styles/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from '@material-ui/system';\nvar warnOnce;\nexport default function createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = createUnarySpacing({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n console.error(['Material-UI: theme.spacing.unit usage has been deprecated.', 'It will be removed in v5.', 'You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.', '', 'You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother.'].join('\\n'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}"],"names":["warnOnce","spacingInput","arguments","length","undefined","mui","transform","createUnarySpacing","spacing","_len","args","Array","_key","process","env","NODE_ENV","console","error","concat","map","argument","output","join","Object","defineProperty","get"],"mappings":"
|
|
1
|
+
{"version":3,"file":"createSpacing.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/styles/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from '@material-ui/system';\nvar warnOnce;\nexport default function createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = createUnarySpacing({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n console.error(['Material-UI: theme.spacing.unit usage has been deprecated.', 'It will be removed in v5.', 'You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.', '', 'You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother.'].join('\\n'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}"],"names":["warnOnce","spacingInput","arguments","length","undefined","mui","transform","createUnarySpacing","spacing","_len","args","Array","_key","process","env","NODE_ENV","console","error","concat","map","argument","output","join","Object","defineProperty","get"],"mappings":"urBACIA,gKACW,WACb,IAAIC,EAAeC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAGvF,GAAID,EAAaI,IACf,OAAOJ,EAMT,IAAIK,EAAYC,EAAAA,mBAAmB,CACjCC,QAASP,IAGPO,EAAU,WACZ,IAAK,IAAIC,EAAOP,UAAUC,OAAQO,EAAO,IAAIC,MAAMF,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAC/EF,EAAKE,GAAQV,UAAUU,GASzB,MAN6B,eAAzBC,QAAQC,IAAIC,WACRL,EAAKP,QAAU,GACnBa,QAAQC,MAAM,2EAA2EC,OAAOR,EAAKP,UAIrF,IAAhBO,EAAKP,OACAG,EAAU,GAGC,IAAhBI,EAAKP,OACAG,EAAUI,EAAK,IAGjBA,EAAKS,KAAI,SAAUC,GACxB,GAAwB,iBAAbA,EACT,OAAOA,EAGT,IAAIC,EAASf,EAAUc,GACvB,MAAyB,iBAAXC,EAAsB,GAAGH,OAAOG,EAAQ,MAAQA,CACpE,IAAOC,KAAK,IACZ,EAiBE,OAdAC,OAAOC,eAAehB,EAAS,OAAQ,CACrCiB,IAAK,WASH,MAR6B,eAAzBZ,QAAQC,IAAIC,WACTf,GAAqC,SAAzBa,QAAQC,IAAIC,UAC3BC,QAAQC,MAAM,CAAC,6DAA8D,4BAA6B,oEAAqE,GAAI,gLAAgLK,KAAK,OAG1WtB,GAAW,GAGNC,CACR,IAEHO,EAAQH,KAAM,EACPG,CACT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/defineProperty.js"),r=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../utils/esm/deepmerge.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/defineProperty.js"),r=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../utils/esm/deepmerge.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var i=require("./createBreakpoints.js"),s=require("./createMixins.js"),n=require("./createPalette.js"),a=require("./createTypography.js"),o=require("./shadows.js"),u=require("./shape.js"),l=require("./createSpacing.js"),d=require("./transitions.js"),c=require("./zIndex.js");exports.default=function(){for(var p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=p.breakpoints,h=void 0===f?{}:f,j=p.mixins,y=void 0===j?{}:j,m=p.palette,v=void 0===m?{}:m,g=p.spacing,q=p.typography,b=void 0===q?{}:q,x=r.default(p,["breakpoints","mixins","palette","spacing","typography"]),O=n.default(v),k=i.default(h),N=l.default(g),S=t.default({breakpoints:k,direction:"ltr",mixins:s.default(k,N,y),overrides:{},palette:O,props:{},shadows:o.default,typography:a.default(O,b),spacing:N,shape:u.default,transitions:d.default,zIndex:c.default},x),_=arguments.length,E=new Array(_>1?_-1:0),I=1;I<_;I++)E[I-1]=arguments[I];if(S=E.reduce((function(e,r){return t.default(e,r)}),S),"production"!==process.env.NODE_ENV){var M=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];!function r(t,i){var s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;for(s in t){var a=t[s];1===n?0===s.indexOf("Mui")&&a&&r(a,s,n+1):-1!==M.indexOf(s)&&Object.keys(a).length>0&&("production"!==process.env.NODE_ENV&&console.error(["Material-UI: The `".concat(i,"` component increases ")+"the CSS specificity of the `".concat(s,"` internal state."),"You can not override it like this: ",JSON.stringify(t,null,2),"","Instead, you need to use the $ruleName syntax:",JSON.stringify({root:e.default({},"&$".concat(s),a)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join("\n")),t[s]={})}}(S.overrides)}return S};
|
|
2
2
|
//# sourceMappingURL=createTheme.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=require("../../../utils/esm/deepmerge.js");function o(e){return Math.round(1e5*e)/1e5}require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=require("../../../utils/esm/deepmerge.js");function o(e){return Math.round(1e5*e)/1e5}require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index18.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var r=!1;function n(e){return"production"!==process.env.NODE_ENV&&(r||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://mui.com/r/migration-v4/#theme for a migration path."].join("\n")),r=!0)),o(e)}var u={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';exports.default=function(r,a){var s="function"==typeof a?a(r):a,f=s.fontFamily,m=void 0===f?l:f,h=s.fontSize,d=void 0===h?14:h,p=s.fontWeightLight,c=void 0===p?300:p,g=s.fontWeightRegular,b=void 0===g?400:g,v=s.fontWeightMedium,y=void 0===v?500:v,W=s.fontWeightBold,j=void 0===W?700:W,q=s.htmlFontSize,S=void 0===q?16:q,z=s.allVariants,R=s.pxToRem,x=t.default(s,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);"production"!==process.env.NODE_ENV&&("number"!=typeof d&&console.error("Material-UI: `fontSize` is required to be a number."),"number"!=typeof S&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var F=d/14,M=R||function(e){return"".concat(e/S*F,"rem")},T=function(t,i,r,n,u){return e.default({fontFamily:m,fontWeight:t,fontSize:M(i),lineHeight:r},m===l?{letterSpacing:"".concat(o(n/i),"em")}:{},u,z)},_={h1:T(c,96,1.167,-1.5),h2:T(c,60,1.2,-.5),h3:T(b,48,1.167,0),h4:T(b,34,1.235,.25),h5:T(b,24,1.334,0),h6:T(y,20,1.6,.15),subtitle1:T(b,16,1.75,.15),subtitle2:T(y,14,1.57,.1),body1:T(b,16,1.5,.15),body2:T(b,14,1.43,.15),button:T(y,14,1.75,.4,u),caption:T(b,12,1.66,.4),overline:T(b,12,2.66,1,u)};return i.default(e.default({htmlFontSize:S,pxToRem:M,round:n,fontFamily:m,fontSize:d,fontWeightLight:c,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:j},_),x,{clone:!1})};
|
|
2
2
|
//# sourceMappingURL=createTypography.js.map
|