@e-llm-studio/instant-learning 0.0.90 → 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.
Files changed (950) hide show
  1. package/dist/_virtual/index.js +1 -1
  2. package/dist/_virtual/index10.js +1 -1
  3. package/dist/_virtual/index11.js +1 -1
  4. package/dist/_virtual/index12.js +1 -1
  5. package/dist/_virtual/index13.js +1 -1
  6. package/dist/_virtual/index14.js +1 -1
  7. package/dist/_virtual/index15.js +1 -1
  8. package/dist/_virtual/index16.js +1 -1
  9. package/dist/_virtual/index17.js +1 -1
  10. package/dist/_virtual/index18.js +1 -1
  11. package/dist/_virtual/index19.js +1 -1
  12. package/dist/_virtual/index2.js +1 -1
  13. package/dist/_virtual/index20.js +1 -1
  14. package/dist/_virtual/index21.js +1 -1
  15. package/dist/_virtual/index22.js +1 -1
  16. package/dist/_virtual/index23.js +1 -1
  17. package/dist/_virtual/index24.js +1 -1
  18. package/dist/_virtual/index25.js +1 -1
  19. package/dist/_virtual/index27.js +1 -1
  20. package/dist/_virtual/index28.js +1 -1
  21. package/dist/_virtual/index3.js +1 -1
  22. package/dist/_virtual/index4.js +1 -1
  23. package/dist/_virtual/index5.js +1 -1
  24. package/dist/_virtual/index6.js +1 -1
  25. package/dist/_virtual/index7.js +1 -1
  26. package/dist/_virtual/index8.js +1 -1
  27. package/dist/_virtual/index9.js +1 -1
  28. package/dist/cjs/_virtual/index.js +1 -1
  29. package/dist/cjs/_virtual/index10.js +1 -1
  30. package/dist/cjs/_virtual/index11.js +1 -1
  31. package/dist/cjs/_virtual/index12.js +1 -1
  32. package/dist/cjs/_virtual/index13.js +1 -1
  33. package/dist/cjs/_virtual/index14.js +1 -1
  34. package/dist/cjs/_virtual/index15.js +1 -1
  35. package/dist/cjs/_virtual/index16.js +1 -1
  36. package/dist/cjs/_virtual/index17.js +1 -1
  37. package/dist/cjs/_virtual/index18.js +1 -1
  38. package/dist/cjs/_virtual/index19.js +1 -1
  39. package/dist/cjs/_virtual/index2.js +1 -1
  40. package/dist/cjs/_virtual/index20.js +1 -1
  41. package/dist/cjs/_virtual/index21.js +1 -1
  42. package/dist/cjs/_virtual/index22.js +1 -1
  43. package/dist/cjs/_virtual/index23.js +1 -1
  44. package/dist/cjs/_virtual/index24.js +1 -1
  45. package/dist/cjs/_virtual/index25.js +1 -1
  46. package/dist/cjs/_virtual/index27.js +1 -1
  47. package/dist/cjs/_virtual/index28.js +1 -1
  48. package/dist/cjs/_virtual/index3.js +1 -1
  49. package/dist/cjs/_virtual/index4.js +1 -1
  50. package/dist/cjs/_virtual/index5.js +1 -1
  51. package/dist/cjs/_virtual/index6.js +1 -1
  52. package/dist/cjs/_virtual/index7.js +1 -1
  53. package/dist/cjs/_virtual/index8.js +1 -1
  54. package/dist/cjs/_virtual/index9.js +1 -1
  55. package/dist/cjs/features/DocumentLearning/DocumentLearning.js +1 -1
  56. package/dist/cjs/features/DocumentLearning/_components/BookLearningForm.js +1 -1
  57. package/dist/cjs/features/DocumentLearning/_components/ChatComponent.js +1 -1
  58. package/dist/cjs/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
  59. package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -1
  60. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
  61. package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
  62. package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
  63. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
  64. package/dist/cjs/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
  65. package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
  66. package/dist/cjs/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
  67. package/dist/cjs/features/WtaWnta/WtaWnta.js +1 -1
  68. package/dist/cjs/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
  69. package/dist/cjs/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
  70. package/dist/cjs/features/WtaWnta/_components/ValidationCard.js +1 -1
  71. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
  72. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
  73. package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
  74. package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
  75. package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
  76. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
  77. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
  78. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
  79. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
  80. package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
  81. package/dist/cjs/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
  82. package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
  83. package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
  84. package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
  85. package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
  86. package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
  87. package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  88. package/dist/cjs/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
  89. package/dist/cjs/node_modules/@material-ui/styles/esm/index.js +1 -1
  90. package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
  91. package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
  92. package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
  93. package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
  94. package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
  95. package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
  96. package/dist/cjs/node_modules/@material-ui/system/esm/merge.js +1 -1
  97. package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
  98. package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
  99. package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js +1 -1
  100. package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
  101. package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
  102. package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
  103. package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
  104. package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
  105. package/dist/cjs/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
  106. package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js +1 -1
  107. package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
  108. package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js +1 -1
  109. package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
  110. package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
  111. package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
  112. package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
  113. package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
  114. package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
  115. package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
  116. package/dist/cjs/node_modules/@mui/material/Alert/Alert.js +1 -1
  117. package/dist/cjs/node_modules/@mui/material/Alert/Alert.js.map +1 -1
  118. package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
  119. package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
  120. package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  121. package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
  122. package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  123. package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
  124. package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js +1 -1
  125. package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
  126. package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
  127. package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
  128. package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
  129. package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
  130. package/dist/cjs/node_modules/@mui/material/Badge/Badge.js +1 -1
  131. package/dist/cjs/node_modules/@mui/material/Badge/Badge.js.map +1 -1
  132. package/dist/cjs/node_modules/@mui/material/Badge/useBadge.js +1 -1
  133. package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
  134. package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
  135. package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
  136. package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
  137. package/dist/cjs/node_modules/@mui/material/Box/Box.js +1 -1
  138. package/dist/cjs/node_modules/@mui/material/Box/Box.js.map +1 -1
  139. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  140. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  141. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
  142. package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
  143. package/dist/cjs/node_modules/@mui/material/Button/Button.js +1 -1
  144. package/dist/cjs/node_modules/@mui/material/Button/Button.js.map +1 -1
  145. package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
  146. package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
  147. package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
  148. package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
  149. package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
  150. package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
  151. package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
  152. package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
  153. package/dist/cjs/node_modules/@mui/material/Card/Card.js +1 -1
  154. package/dist/cjs/node_modules/@mui/material/Card/Card.js.map +1 -1
  155. package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
  156. package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
  157. package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js +1 -1
  158. package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
  159. package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js +1 -1
  160. package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
  161. package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
  162. package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
  163. package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
  164. package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
  165. package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
  166. package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
  167. package/dist/cjs/node_modules/@mui/material/Chip/Chip.js +1 -1
  168. package/dist/cjs/node_modules/@mui/material/Chip/Chip.js.map +1 -1
  169. package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
  170. package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
  171. package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
  172. package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
  173. package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js +1 -1
  174. package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
  175. package/dist/cjs/node_modules/@mui/material/Container/Container.js +1 -1
  176. package/dist/cjs/node_modules/@mui/material/Container/Container.js.map +1 -1
  177. package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
  178. package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
  179. package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  180. package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  181. package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js +1 -1
  182. package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
  183. package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
  184. package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
  185. package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
  186. package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
  187. package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
  188. package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
  189. package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
  190. package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
  191. package/dist/cjs/node_modules/@mui/material/Divider/Divider.js +1 -1
  192. package/dist/cjs/node_modules/@mui/material/Divider/Divider.js.map +1 -1
  193. package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  194. package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
  195. package/dist/cjs/node_modules/@mui/material/Fab/Fab.js +1 -1
  196. package/dist/cjs/node_modules/@mui/material/Fab/Fab.js.map +1 -1
  197. package/dist/cjs/node_modules/@mui/material/Fade/Fade.js +1 -1
  198. package/dist/cjs/node_modules/@mui/material/Fade/Fade.js.map +1 -1
  199. package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
  200. package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
  201. package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js +1 -1
  202. package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
  203. package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
  204. package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
  205. package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
  206. package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
  207. package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
  208. package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
  209. package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
  210. package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
  211. package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
  212. package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
  213. package/dist/cjs/node_modules/@mui/material/Grid/Grid.js +1 -1
  214. package/dist/cjs/node_modules/@mui/material/Grid/Grid.js.map +1 -1
  215. package/dist/cjs/node_modules/@mui/material/Grow/Grow.js +1 -1
  216. package/dist/cjs/node_modules/@mui/material/Grow/Grow.js.map +1 -1
  217. package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js +1 -1
  218. package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
  219. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
  220. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
  221. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
  222. package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
  223. package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js +1 -1
  224. package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
  225. package/dist/cjs/node_modules/@mui/material/Icon/Icon.js +1 -1
  226. package/dist/cjs/node_modules/@mui/material/Icon/Icon.js.map +1 -1
  227. package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js +1 -1
  228. package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
  229. package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js +1 -1
  230. package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
  231. package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
  232. package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
  233. package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
  234. package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
  235. package/dist/cjs/node_modules/@mui/material/Input/Input.js +1 -1
  236. package/dist/cjs/node_modules/@mui/material/Input/Input.js.map +1 -1
  237. package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
  238. package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
  239. package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js +1 -1
  240. package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
  241. package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
  242. package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
  243. package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
  244. package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
  245. package/dist/cjs/node_modules/@mui/material/Link/Link.js +1 -1
  246. package/dist/cjs/node_modules/@mui/material/Link/Link.js.map +1 -1
  247. package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
  248. package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
  249. package/dist/cjs/node_modules/@mui/material/List/List.js +1 -1
  250. package/dist/cjs/node_modules/@mui/material/List/List.js.map +1 -1
  251. package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js +1 -1
  252. package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
  253. package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
  254. package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
  255. package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
  256. package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
  257. package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
  258. package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
  259. package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  260. package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  261. package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
  262. package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
  263. package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
  264. package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
  265. package/dist/cjs/node_modules/@mui/material/Menu/Menu.js +1 -1
  266. package/dist/cjs/node_modules/@mui/material/Menu/Menu.js.map +1 -1
  267. package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
  268. package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
  269. package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js +1 -1
  270. package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
  271. package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
  272. package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
  273. package/dist/cjs/node_modules/@mui/material/Modal/Modal.js +1 -1
  274. package/dist/cjs/node_modules/@mui/material/Modal/Modal.js.map +1 -1
  275. package/dist/cjs/node_modules/@mui/material/Modal/ModalManager.js +1 -1
  276. package/dist/cjs/node_modules/@mui/material/Modal/useModal.js +1 -1
  277. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
  278. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
  279. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
  280. package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
  281. package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
  282. package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
  283. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  284. package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  285. package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
  286. package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
  287. package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js +1 -1
  288. package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
  289. package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
  290. package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
  291. package/dist/cjs/node_modules/@mui/material/Paper/Paper.js +1 -1
  292. package/dist/cjs/node_modules/@mui/material/Paper/Paper.js.map +1 -1
  293. package/dist/cjs/node_modules/@mui/material/Popover/Popover.js +1 -1
  294. package/dist/cjs/node_modules/@mui/material/Popover/Popover.js.map +1 -1
  295. package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js +1 -1
  296. package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
  297. package/dist/cjs/node_modules/@mui/material/Popper/Popper.js +1 -1
  298. package/dist/cjs/node_modules/@mui/material/Popper/Popper.js.map +1 -1
  299. package/dist/cjs/node_modules/@mui/material/Portal/Portal.js +1 -1
  300. package/dist/cjs/node_modules/@mui/material/Portal/Portal.js.map +1 -1
  301. package/dist/cjs/node_modules/@mui/material/Radio/Radio.js +1 -1
  302. package/dist/cjs/node_modules/@mui/material/Radio/Radio.js.map +1 -1
  303. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  304. package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  305. package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
  306. package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
  307. package/dist/cjs/node_modules/@mui/material/Rating/Rating.js +1 -1
  308. package/dist/cjs/node_modules/@mui/material/Rating/Rating.js.map +1 -1
  309. package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  310. package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
  311. package/dist/cjs/node_modules/@mui/material/Select/Select.js +1 -1
  312. package/dist/cjs/node_modules/@mui/material/Select/Select.js.map +1 -1
  313. package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js +1 -1
  314. package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
  315. package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
  316. package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
  317. package/dist/cjs/node_modules/@mui/material/Slide/Slide.js +1 -1
  318. package/dist/cjs/node_modules/@mui/material/Slide/Slide.js.map +1 -1
  319. package/dist/cjs/node_modules/@mui/material/Slider/Slider.js +1 -1
  320. package/dist/cjs/node_modules/@mui/material/Slider/Slider.js.map +1 -1
  321. package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
  322. package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
  323. package/dist/cjs/node_modules/@mui/material/Slider/useSlider.js +1 -1
  324. package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
  325. package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
  326. package/dist/cjs/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
  327. package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
  328. package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
  329. package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
  330. package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
  331. package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
  332. package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
  333. package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
  334. package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
  335. package/dist/cjs/node_modules/@mui/material/Stack/Stack.js +1 -1
  336. package/dist/cjs/node_modules/@mui/material/Stack/Stack.js.map +1 -1
  337. package/dist/cjs/node_modules/@mui/material/Step/Step.js +1 -1
  338. package/dist/cjs/node_modules/@mui/material/Step/Step.js.map +1 -1
  339. package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js +1 -1
  340. package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
  341. package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
  342. package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
  343. package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js +1 -1
  344. package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
  345. package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
  346. package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
  347. package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
  348. package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
  349. package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js +1 -1
  350. package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
  351. package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
  352. package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
  353. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  354. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  355. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
  356. package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
  357. package/dist/cjs/node_modules/@mui/material/Switch/Switch.js +1 -1
  358. package/dist/cjs/node_modules/@mui/material/Switch/Switch.js.map +1 -1
  359. package/dist/cjs/node_modules/@mui/material/Tab/Tab.js +1 -1
  360. package/dist/cjs/node_modules/@mui/material/Tab/Tab.js.map +1 -1
  361. package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
  362. package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
  363. package/dist/cjs/node_modules/@mui/material/Table/Table.js +1 -1
  364. package/dist/cjs/node_modules/@mui/material/Table/Table.js.map +1 -1
  365. package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js +1 -1
  366. package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
  367. package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js +1 -1
  368. package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
  369. package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
  370. package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
  371. package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
  372. package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
  373. package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js +1 -1
  374. package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
  375. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
  376. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
  377. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
  378. package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
  379. package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js +1 -1
  380. package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
  381. package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
  382. package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
  383. package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
  384. package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
  385. package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js +1 -1
  386. package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
  387. package/dist/cjs/node_modules/@mui/material/TextField/TextField.js +1 -1
  388. package/dist/cjs/node_modules/@mui/material/TextField/TextField.js.map +1 -1
  389. package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
  390. package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
  391. package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
  392. package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
  393. package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  394. package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  395. package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
  396. package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
  397. package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  398. package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
  399. package/dist/cjs/node_modules/@mui/material/Typography/Typography.js +1 -1
  400. package/dist/cjs/node_modules/@mui/material/Typography/Typography.js.map +1 -1
  401. package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
  402. package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
  403. package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
  404. package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
  405. package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js +1 -1
  406. package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
  407. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  408. package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  409. package/dist/cjs/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
  410. package/dist/cjs/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
  411. package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
  412. package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
  413. package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
  414. package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
  415. package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
  416. package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
  417. package/dist/cjs/node_modules/@mui/material/styles/useTheme.js +1 -1
  418. package/dist/cjs/node_modules/@mui/material/styles/useTheme.js.map +1 -1
  419. package/dist/cjs/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
  420. package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
  421. package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
  422. package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
  423. package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
  424. package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
  425. package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
  426. package/dist/cjs/node_modules/@mui/system/colorManipulator.js +1 -1
  427. package/dist/cjs/node_modules/@mui/system/createStyled.js +1 -1
  428. package/dist/cjs/node_modules/@mui/system/createStyled.js.map +1 -1
  429. package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js +1 -1
  430. package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
  431. package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js +1 -1
  432. package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
  433. package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
  434. package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
  435. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  436. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  437. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  438. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  439. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  440. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
  441. package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
  442. package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
  443. package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
  444. package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
  445. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  446. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  447. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
  448. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
  449. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
  450. package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
  451. package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js +1 -1
  452. package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
  453. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  454. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
  455. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js +1 -1
  456. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
  457. package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
  458. package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
  459. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  460. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
  461. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  462. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
  463. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  464. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  465. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
  466. package/dist/cjs/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
  467. package/dist/cjs/node_modules/graphql-ws/lib/index.js +1 -1
  468. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  469. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  470. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  471. package/dist/cjs/node_modules/json5/dist/index.js +1 -1
  472. package/dist/cjs/node_modules/prop-types/index.js +1 -1
  473. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  474. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +1 -1
  475. package/dist/cjs/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  476. package/dist/cjs/node_modules/react-is/index.js +1 -1
  477. package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js +1 -1
  478. package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
  479. package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js +1 -1
  480. package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
  481. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
  482. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  483. package/dist/cjs/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
  484. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +1 -1
  485. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -1
  486. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +1 -1
  487. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -1
  488. package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
  489. package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
  490. package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
  491. package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
  492. package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
  493. package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
  494. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
  495. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  496. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  497. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
  498. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  499. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
  500. package/dist/cjs/node_modules/uuid/dist/cjs-browser/index.js +1 -1
  501. package/dist/features/DocumentLearning/DocumentLearning.js +1 -1
  502. package/dist/features/DocumentLearning/_components/BookLearningForm.js +1 -1
  503. package/dist/features/DocumentLearning/_components/ChatComponent.js +1 -1
  504. package/dist/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
  505. package/dist/features/InstantLearning/InstantLearning.js +1 -1
  506. package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
  507. package/dist/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
  508. package/dist/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
  509. package/dist/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
  510. package/dist/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
  511. package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
  512. package/dist/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
  513. package/dist/features/WtaWnta/WtaWnta.js +1 -1
  514. package/dist/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
  515. package/dist/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
  516. package/dist/features/WtaWnta/_components/ValidationCard.js +1 -1
  517. package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
  518. package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
  519. package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
  520. package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
  521. package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
  522. package/dist/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
  523. package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
  524. package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
  525. package/dist/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
  526. package/dist/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
  527. package/dist/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
  528. package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
  529. package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
  530. package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
  531. package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
  532. package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
  533. package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  534. package/dist/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
  535. package/dist/node_modules/@material-ui/styles/esm/index.js +1 -1
  536. package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
  537. package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
  538. package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
  539. package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
  540. package/dist/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
  541. package/dist/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
  542. package/dist/node_modules/@material-ui/system/esm/merge.js +1 -1
  543. package/dist/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
  544. package/dist/node_modules/@material-ui/system/esm/responsivePropType.js.map +1 -1
  545. package/dist/node_modules/@material-ui/system/esm/spacing.js +1 -1
  546. package/dist/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
  547. package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js +1 -1
  548. package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
  549. package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
  550. package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
  551. package/dist/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
  552. package/dist/node_modules/@material-ui/utils/esm/refType.js +1 -1
  553. package/dist/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
  554. package/dist/node_modules/@mui/material/Accordion/Accordion.js +1 -1
  555. package/dist/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
  556. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
  557. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
  558. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
  559. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
  560. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
  561. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
  562. package/dist/node_modules/@mui/material/Alert/Alert.js +1 -1
  563. package/dist/node_modules/@mui/material/Alert/Alert.js.map +1 -1
  564. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
  565. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
  566. package/dist/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  567. package/dist/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
  568. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  569. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
  570. package/dist/node_modules/@mui/material/Avatar/Avatar.js +1 -1
  571. package/dist/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
  572. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
  573. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
  574. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
  575. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
  576. package/dist/node_modules/@mui/material/Badge/Badge.js +1 -1
  577. package/dist/node_modules/@mui/material/Badge/Badge.js.map +1 -1
  578. package/dist/node_modules/@mui/material/Badge/useBadge.js +1 -1
  579. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
  580. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
  581. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
  582. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
  583. package/dist/node_modules/@mui/material/Box/Box.js +1 -1
  584. package/dist/node_modules/@mui/material/Box/Box.js.map +1 -1
  585. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  586. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
  587. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
  588. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
  589. package/dist/node_modules/@mui/material/Button/Button.js +1 -1
  590. package/dist/node_modules/@mui/material/Button/Button.js.map +1 -1
  591. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
  592. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
  593. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
  594. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
  595. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
  596. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
  597. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
  598. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
  599. package/dist/node_modules/@mui/material/Card/Card.js +1 -1
  600. package/dist/node_modules/@mui/material/Card/Card.js.map +1 -1
  601. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
  602. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
  603. package/dist/node_modules/@mui/material/CardActions/CardActions.js +1 -1
  604. package/dist/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
  605. package/dist/node_modules/@mui/material/CardContent/CardContent.js +1 -1
  606. package/dist/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
  607. package/dist/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
  608. package/dist/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
  609. package/dist/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
  610. package/dist/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
  611. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
  612. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
  613. package/dist/node_modules/@mui/material/Chip/Chip.js +1 -1
  614. package/dist/node_modules/@mui/material/Chip/Chip.js.map +1 -1
  615. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
  616. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
  617. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
  618. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
  619. package/dist/node_modules/@mui/material/Collapse/Collapse.js +1 -1
  620. package/dist/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
  621. package/dist/node_modules/@mui/material/Container/Container.js +1 -1
  622. package/dist/node_modules/@mui/material/Container/Container.js.map +1 -1
  623. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
  624. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
  625. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  626. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  627. package/dist/node_modules/@mui/material/Dialog/Dialog.js +1 -1
  628. package/dist/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
  629. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
  630. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
  631. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
  632. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
  633. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
  634. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
  635. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
  636. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
  637. package/dist/node_modules/@mui/material/Divider/Divider.js +1 -1
  638. package/dist/node_modules/@mui/material/Divider/Divider.js.map +1 -1
  639. package/dist/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  640. package/dist/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
  641. package/dist/node_modules/@mui/material/Fab/Fab.js +1 -1
  642. package/dist/node_modules/@mui/material/Fab/Fab.js.map +1 -1
  643. package/dist/node_modules/@mui/material/Fade/Fade.js +1 -1
  644. package/dist/node_modules/@mui/material/Fade/Fade.js.map +1 -1
  645. package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
  646. package/dist/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
  647. package/dist/node_modules/@mui/material/FormControl/FormControl.js +1 -1
  648. package/dist/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
  649. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
  650. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
  651. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
  652. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
  653. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
  654. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
  655. package/dist/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
  656. package/dist/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
  657. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
  658. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
  659. package/dist/node_modules/@mui/material/Grid/Grid.js +1 -1
  660. package/dist/node_modules/@mui/material/Grid/Grid.js.map +1 -1
  661. package/dist/node_modules/@mui/material/Grow/Grow.js +1 -1
  662. package/dist/node_modules/@mui/material/Grow/Grow.js.map +1 -1
  663. package/dist/node_modules/@mui/material/Hidden/Hidden.js +1 -1
  664. package/dist/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
  665. package/dist/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
  666. package/dist/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
  667. package/dist/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
  668. package/dist/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
  669. package/dist/node_modules/@mui/material/Hidden/withWidth.js +1 -1
  670. package/dist/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
  671. package/dist/node_modules/@mui/material/Icon/Icon.js +1 -1
  672. package/dist/node_modules/@mui/material/Icon/Icon.js.map +1 -1
  673. package/dist/node_modules/@mui/material/IconButton/IconButton.js +1 -1
  674. package/dist/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
  675. package/dist/node_modules/@mui/material/ImageList/ImageList.js +1 -1
  676. package/dist/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
  677. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
  678. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
  679. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
  680. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
  681. package/dist/node_modules/@mui/material/Input/Input.js +1 -1
  682. package/dist/node_modules/@mui/material/Input/Input.js.map +1 -1
  683. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
  684. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
  685. package/dist/node_modules/@mui/material/InputBase/InputBase.js +1 -1
  686. package/dist/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
  687. package/dist/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
  688. package/dist/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
  689. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
  690. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
  691. package/dist/node_modules/@mui/material/Link/Link.js +1 -1
  692. package/dist/node_modules/@mui/material/Link/Link.js.map +1 -1
  693. package/dist/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
  694. package/dist/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
  695. package/dist/node_modules/@mui/material/List/List.js +1 -1
  696. package/dist/node_modules/@mui/material/List/List.js.map +1 -1
  697. package/dist/node_modules/@mui/material/ListItem/ListItem.js +1 -1
  698. package/dist/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
  699. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
  700. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
  701. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
  702. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
  703. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
  704. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
  705. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  706. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  707. package/dist/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
  708. package/dist/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
  709. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
  710. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
  711. package/dist/node_modules/@mui/material/Menu/Menu.js +1 -1
  712. package/dist/node_modules/@mui/material/Menu/Menu.js.map +1 -1
  713. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
  714. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
  715. package/dist/node_modules/@mui/material/MenuList/MenuList.js +1 -1
  716. package/dist/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
  717. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
  718. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
  719. package/dist/node_modules/@mui/material/Modal/Modal.js +1 -1
  720. package/dist/node_modules/@mui/material/Modal/Modal.js.map +1 -1
  721. package/dist/node_modules/@mui/material/Modal/ModalManager.js +1 -1
  722. package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
  723. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
  724. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
  725. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
  726. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
  727. package/dist/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
  728. package/dist/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
  729. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
  730. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
  731. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
  732. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
  733. package/dist/node_modules/@mui/material/Pagination/Pagination.js +1 -1
  734. package/dist/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
  735. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
  736. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
  737. package/dist/node_modules/@mui/material/Paper/Paper.js +1 -1
  738. package/dist/node_modules/@mui/material/Paper/Paper.js.map +1 -1
  739. package/dist/node_modules/@mui/material/Popover/Popover.js +1 -1
  740. package/dist/node_modules/@mui/material/Popover/Popover.js.map +1 -1
  741. package/dist/node_modules/@mui/material/Popper/BasePopper.js +1 -1
  742. package/dist/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
  743. package/dist/node_modules/@mui/material/Popper/Popper.js +1 -1
  744. package/dist/node_modules/@mui/material/Popper/Popper.js.map +1 -1
  745. package/dist/node_modules/@mui/material/Portal/Portal.js +1 -1
  746. package/dist/node_modules/@mui/material/Portal/Portal.js.map +1 -1
  747. package/dist/node_modules/@mui/material/Radio/Radio.js +1 -1
  748. package/dist/node_modules/@mui/material/Radio/Radio.js.map +1 -1
  749. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
  750. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
  751. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
  752. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
  753. package/dist/node_modules/@mui/material/Rating/Rating.js +1 -1
  754. package/dist/node_modules/@mui/material/Rating/Rating.js.map +1 -1
  755. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  756. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
  757. package/dist/node_modules/@mui/material/Select/Select.js +1 -1
  758. package/dist/node_modules/@mui/material/Select/Select.js.map +1 -1
  759. package/dist/node_modules/@mui/material/Select/SelectInput.js +1 -1
  760. package/dist/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
  761. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
  762. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
  763. package/dist/node_modules/@mui/material/Slide/Slide.js +1 -1
  764. package/dist/node_modules/@mui/material/Slide/Slide.js.map +1 -1
  765. package/dist/node_modules/@mui/material/Slider/Slider.js +1 -1
  766. package/dist/node_modules/@mui/material/Slider/Slider.js.map +1 -1
  767. package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
  768. package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
  769. package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
  770. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
  771. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
  772. package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
  773. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
  774. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
  775. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
  776. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
  777. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
  778. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
  779. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
  780. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
  781. package/dist/node_modules/@mui/material/Stack/Stack.js +1 -1
  782. package/dist/node_modules/@mui/material/Stack/Stack.js.map +1 -1
  783. package/dist/node_modules/@mui/material/Step/Step.js +1 -1
  784. package/dist/node_modules/@mui/material/Step/Step.js.map +1 -1
  785. package/dist/node_modules/@mui/material/StepButton/StepButton.js +1 -1
  786. package/dist/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
  787. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
  788. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
  789. package/dist/node_modules/@mui/material/StepContent/StepContent.js +1 -1
  790. package/dist/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
  791. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
  792. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
  793. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
  794. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
  795. package/dist/node_modules/@mui/material/Stepper/Stepper.js +1 -1
  796. package/dist/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
  797. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
  798. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
  799. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
  800. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
  801. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
  802. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
  803. package/dist/node_modules/@mui/material/Switch/Switch.js +1 -1
  804. package/dist/node_modules/@mui/material/Switch/Switch.js.map +1 -1
  805. package/dist/node_modules/@mui/material/Tab/Tab.js +1 -1
  806. package/dist/node_modules/@mui/material/Tab/Tab.js.map +1 -1
  807. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
  808. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
  809. package/dist/node_modules/@mui/material/Table/Table.js +1 -1
  810. package/dist/node_modules/@mui/material/Table/Table.js.map +1 -1
  811. package/dist/node_modules/@mui/material/TableBody/TableBody.js +1 -1
  812. package/dist/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
  813. package/dist/node_modules/@mui/material/TableCell/TableCell.js +1 -1
  814. package/dist/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
  815. package/dist/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
  816. package/dist/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
  817. package/dist/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
  818. package/dist/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
  819. package/dist/node_modules/@mui/material/TableHead/TableHead.js +1 -1
  820. package/dist/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
  821. package/dist/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
  822. package/dist/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
  823. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
  824. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
  825. package/dist/node_modules/@mui/material/TableRow/TableRow.js +1 -1
  826. package/dist/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
  827. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
  828. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
  829. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
  830. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
  831. package/dist/node_modules/@mui/material/Tabs/Tabs.js +1 -1
  832. package/dist/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
  833. package/dist/node_modules/@mui/material/TextField/TextField.js +1 -1
  834. package/dist/node_modules/@mui/material/TextField/TextField.js.map +1 -1
  835. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
  836. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
  837. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
  838. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
  839. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  840. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
  841. package/dist/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
  842. package/dist/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
  843. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  844. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
  845. package/dist/node_modules/@mui/material/Typography/Typography.js +1 -1
  846. package/dist/node_modules/@mui/material/Typography/Typography.js.map +1 -1
  847. package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
  848. package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
  849. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
  850. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
  851. package/dist/node_modules/@mui/material/Zoom/Zoom.js +1 -1
  852. package/dist/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
  853. package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  854. package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
  855. package/dist/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
  856. package/dist/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
  857. package/dist/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
  858. package/dist/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
  859. package/dist/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
  860. package/dist/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
  861. package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
  862. package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
  863. package/dist/node_modules/@mui/material/styles/useTheme.js +1 -1
  864. package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -1
  865. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
  866. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
  867. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
  868. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
  869. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
  870. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
  871. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
  872. package/dist/node_modules/@mui/system/colorManipulator.js +1 -1
  873. package/dist/node_modules/@mui/system/createStyled.js +1 -1
  874. package/dist/node_modules/@mui/system/createStyled.js.map +1 -1
  875. package/dist/node_modules/@mui/system/esm/Box/Box.js +1 -1
  876. package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
  877. package/dist/node_modules/@mui/system/esm/Container/Container.js +1 -1
  878. package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
  879. package/dist/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
  880. package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
  881. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
  882. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  883. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
  884. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  885. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
  886. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
  887. package/dist/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
  888. package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
  889. package/dist/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
  890. package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
  891. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
  892. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  893. package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
  894. package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
  895. package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
  896. package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
  897. package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
  898. package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
  899. package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
  900. package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
  901. package/dist/node_modules/@mui/system/esm/responsivePropType.js +1 -1
  902. package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
  903. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
  904. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
  905. package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
  906. package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
  907. package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  908. package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
  909. package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  910. package/dist/node_modules/@mui/utils/esm/refType/refType.js +1 -1
  911. package/dist/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
  912. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
  913. package/dist/node_modules/graphql-ws/lib/index.js +1 -1
  914. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  915. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  916. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  917. package/dist/node_modules/json5/dist/index.js +1 -1
  918. package/dist/node_modules/prop-types/index.js +1 -1
  919. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  920. package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
  921. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  922. package/dist/node_modules/react-is/index.js +1 -1
  923. package/dist/node_modules/react-markdown/lib/ast-to-react.js +1 -1
  924. package/dist/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
  925. package/dist/node_modules/react-markdown/lib/react-markdown.js +1 -1
  926. package/dist/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
  927. package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
  928. package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  929. package/dist/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
  930. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +1 -1
  931. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -1
  932. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +1 -1
  933. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -1
  934. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
  935. package/dist/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
  936. package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
  937. package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
  938. package/dist/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
  939. package/dist/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
  940. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  941. package/dist/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  942. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
  943. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
  944. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  945. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
  946. package/dist/node_modules/uuid/dist/cjs-browser/index.js +1 -1
  947. package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +1 -1
  948. package/dist/types/src/features/InstantLearning/_components/ContextualLearningForm.d.ts.map +1 -1
  949. package/dist/types/src/features/InstantLearning/_components/LearningDetailsForm.d.ts.map +1 -1
  950. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import{__exports as e}from"../../../../_virtual/index9.js";import{__require as t}from"../../../graphql-ws/lib/index.js";import{__require as n}from"../../../axios/dist/browser/axios.cjs.js";import{__require as a}from"../node_modules/ws/browser.js";import{__require as o}from"../../../uuid/dist/cjs-browser/index.js";import{__require as i}from"./helperClasses/clientManager.js";import{__require as s}from"../../../utf8/utf8.js";var r;function l(){return r||(r=1,function(r){var l=e&&e.__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=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),d=e&&e.__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=e&&e.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(o,i){function s(e){try{l(a.next(e))}catch(e){i(e)}}function r(e){try{l(a.throw(e))}catch(e){i(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,r)}l((a=a.apply(e,t||[])).next())}))},h=e&&e.__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=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getAssistantObj=r.explainabilityMap=r.ChatbotService=r.resetChatHistory=r.getChatHistory=r.deleteImage=r.uploadImage=r.stopStreaming=r.startChatStream=r.encodeParam=void 0,r.replaceAsteriskInAnchor=b;const g=t(),p=m(n()),y=m(a()),f=o(),v=m(i()),S=d(s());function b(e){return null==e?void 0:e.replace(/<a [^>]*>.*?<\/a>/g,(e=>null==e?void 0:e.replace(/\*/g,"&ast;")))}r.encodeParam=e=>S.encode(e);r.startChatStream=e=>u(void 0,void 0,void 0,(function*(){var t,n,a,o,i,s,l,c,d;const{WEBSOCKET_URL:u,organizationName:m,chatAssistantName:p,selectedAIModel:S,replyMessage:b="",userName:_,userEmailId:$,userId:I,query:R,requestId:C,customPrompt:w="",customRootOrchestratorModelName:M,customRootOrchestratorModelType:x,enableForBackend:k=!1,images:E,guestSessionId:P,chatPreviewId:A,isDocumentRetrieval:T,onStreamEvent:q,onStreamEnd:O,onError:N,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}=e;try{const e=(0,g.createClient)(Object.assign({url:null!=u?u:""},k?{webSocketImpl:y.default}:{}));v.default.setClient(e,C);const H=e.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,f.v4)()}`,name:(0,r.encodeParam)(p),organizationName:(0,r.encodeParam)(m),guestSessionId:null!==(i=(0,r.encodeParam)(null!=P?P:""))&&void 0!==i?i:"",chatPreviewId:null!==(s=(0,r.encodeParam)(null!=A?A:""))&&void 0!==s?s:"",aiModel:(0,r.encodeParam)(S),prompt:""===b?R:(0,r.encodeParam)(b+"\n"+R),userName:(0,r.encodeParam)(_),userEmailId:(0,r.encodeParam)($),userId:(0,r.encodeParam)(I),requestId:(0,r.encodeParam)(C),replyMessage:b,customPrompt:w,customRootOrchestratorModelName:M,customRootOrchestratorModelType:x,notificationSessionId:`chat-session-${(0,f.v4)()}`,images:JSON.stringify(E),isDocumentRetrieval:T,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}});try{try{for(var F,L=!0,U=h(H);!(t=(F=yield U.next()).done);L=!0){o=F.value,L=!1;const t=o;console.log("event:",t),console.log("event.data:",null==t?void 0:t.data);const n=t.data;if(q(n),null===(d=null===(c=null===(l=null==t?void 0:t.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 e.dispose(),v.default.clearClient();break}}}catch(e){n={error:e}}finally{try{L||t||!(a=U.return)||(yield a.call(U))}finally{if(n)throw n.error}}}catch(t){N&&N(t),yield e.dispose(),v.default.clearClient()}finally{v.default.matchesRequestId(C)&&(e.dispose(),v.default.clearClient())}}catch(e){console.log("Streaming error:",e),N&&N(e)}}));r.stopStreaming=(e,t,...n)=>u(void 0,[e,t,...n],void 0,(function*(e,t,n=!1){let a=null;try{if(v.default.matchesRequestId(e)){const e=v.default.getClient();if(e)try{yield e.dispose(),v.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 i=!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,r=!0,l=h(o);!(e=(s=yield l.next()).done);r=!0)return a=s.value,r=!1,i=!0,a}catch(e){t={error:e}}finally{try{r||e||!(n=l.return)||(yield n.call(l))}finally{if(t)throw t.error}}})),e]),{success:!0,message:"Streaming stopped successfully",stopCompleted:i}}catch(t){if(!1===v.default.matchesRequestId(e))return{success:!0,message:"Stream stopped via client disposal",stopCompleted:!0};throw t}}catch(t){return"Stop streaming timeout"!==t.message||v.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)}}}));r.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")}}));r.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")}}));r.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")}}));r.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")}}));r.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,i){var s;yield this.ensureLoggedIn();const r={authorization:`Bearer ${this.accessToken}`},l={chatBotId:e,consultativeMode:o?i:!i,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:r});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,i,s,r,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:r,aiModel:l,source:c,target:d,agents:a,agentsData:o,prompt:s,selectedAssistants:i};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`,i={credentials:{username:e,password:t}};try{const e=yield p.default.post(o,i,{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}`)}}))}},r.explainabilityMap=new Map;r.getAssistantObj=(e,t)=>{var n,a,o,i;if((0,f.v4)(),!1===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd&&b(e.chatStream.continueChatResult.message.content),!0===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd&&t.push({responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1}),!1===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!0===e.chatStream.continueChatResult.isEnd&&b(e.chatStream.continueChatResult.message.content),!1===e.chatStream.continueChatResult.thinking_break&&!1===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd){const o=e.chatStream.continueChatResult;if(o.explainability_id&&o.responded_by){const e=o.explainability_id,n=o.responded_by;r.explainabilityMap.has(e)||r.explainabilityMap.set(e,{responded_by:n,index:t.length})}if(r.explainabilityMap.has(e.chatStream.continueChatResult.explainability_id)){const a=r.explainabilityMap.get(e.chatStream.continueChatResult.explainability_id);t[null==a?void 0:a.index]={responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(n=e.chatStream.continueChatResult.explainability_id)&&void 0!==n?n:"",isParallelToolResponse:!0}}else t=[...t,{responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(a=e.chatStream.continueChatResult.explainability_id)&&void 0!==a?a:"",isParallelToolResponse:!1}]}if(!0===e.chatStream.continueChatResult.thinking_break&&!1===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd){const n=e.chatStream.continueChatResult;if(n.explainability_id&&n.responded_by){const e=n.explainability_id,a=n.responded_by;r.explainabilityMap.has(e)||r.explainabilityMap.set(e,{responded_by:a,index:t.length})}if(r.explainabilityMap.has(e.chatStream.continueChatResult.explainability_id)){const n=r.explainabilityMap.get(e.chatStream.continueChatResult.explainability_id);t[null==n?void 0:n.index]={responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(o=e.chatStream.continueChatResult.explainability_id)&&void 0!==o?o:"",isParallelToolResponse:!0}}else t.push({responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(i=e.chatStream.continueChatResult.explainability_id)&&void 0!==i?i:"",isParallelToolResponse:!1})}return{orchestratorAndAgentsMessages:t}}}(e)),e}export{l as __require};
1
+ import{__exports as e}from"../../../../_virtual/index25.js";import{__require as t}from"../../../graphql-ws/lib/index.js";import{__require as n}from"../../../axios/dist/browser/axios.cjs.js";import{__require as a}from"../node_modules/ws/browser.js";import{__require as o}from"../../../uuid/dist/cjs-browser/index.js";import{__require as i}from"./helperClasses/clientManager.js";import{__require as s}from"../../../utf8/utf8.js";var r;function l(){return r||(r=1,function(r){var l=e&&e.__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=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),d=e&&e.__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=e&&e.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(o,i){function s(e){try{l(a.next(e))}catch(e){i(e)}}function r(e){try{l(a.throw(e))}catch(e){i(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,r)}l((a=a.apply(e,t||[])).next())}))},h=e&&e.__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=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.getAssistantObj=r.explainabilityMap=r.ChatbotService=r.resetChatHistory=r.getChatHistory=r.deleteImage=r.uploadImage=r.stopStreaming=r.startChatStream=r.encodeParam=void 0,r.replaceAsteriskInAnchor=b;const g=t(),p=m(n()),y=m(a()),f=o(),v=m(i()),S=d(s());function b(e){return null==e?void 0:e.replace(/<a [^>]*>.*?<\/a>/g,(e=>null==e?void 0:e.replace(/\*/g,"&ast;")))}r.encodeParam=e=>S.encode(e);r.startChatStream=e=>u(void 0,void 0,void 0,(function*(){var t,n,a,o,i,s,l,c,d;const{WEBSOCKET_URL:u,organizationName:m,chatAssistantName:p,selectedAIModel:S,replyMessage:b="",userName:_,userEmailId:$,userId:I,query:R,requestId:C,customPrompt:w="",customRootOrchestratorModelName:M,customRootOrchestratorModelType:x,enableForBackend:k=!1,images:E,guestSessionId:P,chatPreviewId:A,isDocumentRetrieval:T,onStreamEvent:q,onStreamEnd:O,onError:N,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}=e;try{const e=(0,g.createClient)(Object.assign({url:null!=u?u:""},k?{webSocketImpl:y.default}:{}));v.default.setClient(e,C);const H=e.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,f.v4)()}`,name:(0,r.encodeParam)(p),organizationName:(0,r.encodeParam)(m),guestSessionId:null!==(i=(0,r.encodeParam)(null!=P?P:""))&&void 0!==i?i:"",chatPreviewId:null!==(s=(0,r.encodeParam)(null!=A?A:""))&&void 0!==s?s:"",aiModel:(0,r.encodeParam)(S),prompt:""===b?R:(0,r.encodeParam)(b+"\n"+R),userName:(0,r.encodeParam)(_),userEmailId:(0,r.encodeParam)($),userId:(0,r.encodeParam)(I),requestId:(0,r.encodeParam)(C),replyMessage:b,customPrompt:w,customRootOrchestratorModelName:M,customRootOrchestratorModelType:x,notificationSessionId:`chat-session-${(0,f.v4)()}`,images:JSON.stringify(E),isDocumentRetrieval:T,customMetaData:j,multiAgentToggle:D,selectedAgent:z,runtimeAgents:B}});try{try{for(var F,L=!0,U=h(H);!(t=(F=yield U.next()).done);L=!0){o=F.value,L=!1;const t=o;console.log("event:",t),console.log("event.data:",null==t?void 0:t.data);const n=t.data;if(q(n),null===(d=null===(c=null===(l=null==t?void 0:t.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 e.dispose(),v.default.clearClient();break}}}catch(e){n={error:e}}finally{try{L||t||!(a=U.return)||(yield a.call(U))}finally{if(n)throw n.error}}}catch(t){N&&N(t),yield e.dispose(),v.default.clearClient()}finally{v.default.matchesRequestId(C)&&(e.dispose(),v.default.clearClient())}}catch(e){console.log("Streaming error:",e),N&&N(e)}}));r.stopStreaming=(e,t,...n)=>u(void 0,[e,t,...n],void 0,(function*(e,t,n=!1){let a=null;try{if(v.default.matchesRequestId(e)){const e=v.default.getClient();if(e)try{yield e.dispose(),v.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 i=!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,r=!0,l=h(o);!(e=(s=yield l.next()).done);r=!0)return a=s.value,r=!1,i=!0,a}catch(e){t={error:e}}finally{try{r||e||!(n=l.return)||(yield n.call(l))}finally{if(t)throw t.error}}})),e]),{success:!0,message:"Streaming stopped successfully",stopCompleted:i}}catch(t){if(!1===v.default.matchesRequestId(e))return{success:!0,message:"Stream stopped via client disposal",stopCompleted:!0};throw t}}catch(t){return"Stop streaming timeout"!==t.message||v.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)}}}));r.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")}}));r.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")}}));r.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")}}));r.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")}}));r.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,i){var s;yield this.ensureLoggedIn();const r={authorization:`Bearer ${this.accessToken}`},l={chatBotId:e,consultativeMode:o?i:!i,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:r});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,i,s,r,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:r,aiModel:l,source:c,target:d,agents:a,agentsData:o,prompt:s,selectedAssistants:i};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`,i={credentials:{username:e,password:t}};try{const e=yield p.default.post(o,i,{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}`)}}))}},r.explainabilityMap=new Map;r.getAssistantObj=(e,t)=>{var n,a,o,i;if((0,f.v4)(),!1===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd&&b(e.chatStream.continueChatResult.message.content),!0===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd&&t.push({responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1}),!1===e.chatStream.continueChatResult.thinking_break&&!0===e.chatStream.continueChatResult.is_orchestrator&&!0===e.chatStream.continueChatResult.isEnd&&b(e.chatStream.continueChatResult.message.content),!1===e.chatStream.continueChatResult.thinking_break&&!1===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd){const o=e.chatStream.continueChatResult;if(o.explainability_id&&o.responded_by){const e=o.explainability_id,n=o.responded_by;r.explainabilityMap.has(e)||r.explainabilityMap.set(e,{responded_by:n,index:t.length})}if(r.explainabilityMap.has(e.chatStream.continueChatResult.explainability_id)){const a=r.explainabilityMap.get(e.chatStream.continueChatResult.explainability_id);t[null==a?void 0:a.index]={responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(n=e.chatStream.continueChatResult.explainability_id)&&void 0!==n?n:"",isParallelToolResponse:!0}}else t=[...t,{responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!0,explainability_id:null!==(a=e.chatStream.continueChatResult.explainability_id)&&void 0!==a?a:"",isParallelToolResponse:!1}]}if(!0===e.chatStream.continueChatResult.thinking_break&&!1===e.chatStream.continueChatResult.is_orchestrator&&!1===e.chatStream.continueChatResult.isEnd){const n=e.chatStream.continueChatResult;if(n.explainability_id&&n.responded_by){const e=n.explainability_id,a=n.responded_by;r.explainabilityMap.has(e)||r.explainabilityMap.set(e,{responded_by:a,index:t.length})}if(r.explainabilityMap.has(e.chatStream.continueChatResult.explainability_id)){const n=r.explainabilityMap.get(e.chatStream.continueChatResult.explainability_id);t[null==n?void 0:n.index]={responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(o=e.chatStream.continueChatResult.explainability_id)&&void 0!==o?o:"",isParallelToolResponse:!0}}else t.push({responsedata:e.chatStream.continueChatResult.message.content,responseFrom:e.chatStream.continueChatResult.responded_by,header_message:e.chatStream.continueChatResult.header_message,finalResponseStatus:!1,explainability_id:null!==(i=e.chatStream.continueChatResult.explainability_id)&&void 0!==i?i:"",isParallelToolResponse:!1})}return{orchestratorAndAgentsMessages:t}}}(e)),e}export{l as __require};
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 &ast;\n return match === null || match === void 0 ? void 0 : match.replace(/\\*/g, \"&ast;\");\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","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"],"mapp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EAAQE,kBAAkB1C,IAAI6H,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 &ast;\n return match === null || match === void 0 ? void 0 : match.replace(/\\*/g, \"&ast;\");\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","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":"ydACA,IAAIA,EAAmBC,GAAQA,EAAKD,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,GAAQA,EAAKgB,qBAAwBf,OAAOC,OAAM,SAAaC,EAAGc,GACxFhB,OAAOc,eAAeZ,EAAG,UAAW,CAAEU,YAAY,EAAMK,MAAOD,GAClE,EAAI,SAASd,EAAGc,GACbd,EAAW,QAAIc,CACnB,GACIE,EAAgBnB,GAAQA,EAAKmB,cAAiB,SAAUC,GACxD,GAAIA,GAAOA,EAAIV,WAAY,OAAOU,EAClC,IAAIC,EAAS,CAAA,EACb,GAAW,MAAPD,EAAa,IAAK,IAAIf,KAAKe,EAAe,YAANf,GAAmBJ,OAAOqB,UAAUC,eAAeC,KAAKJ,EAAKf,IAAIN,EAAgBsB,EAAQD,EAAKf,GAEtI,OADAW,EAAmBK,EAAQD,GACpBC,GAEPI,EAAazB,GAAQA,EAAKyB,WAAc,SAAUC,EAASC,EAAYC,EAAGC,GAE1E,OAAO,IAAKD,IAAMA,EAAIE,WA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ElCzL,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,kBAAkB1C,IAAI6H,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,2 +1,2 @@
1
- import e from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as t from"react";import i from"../../../../../_virtual/index3.js";import{clsx as r}from"../../../../clsx/dist/clsx.m.js";import l from"../../../utils/esm/chainPropTypes.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import n from"../styles/withStyles.js";import s from"../utils/capitalize.js";var a=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)}}},c=t.forwardRef((function(i,l){var n=i.children,a=i.classes,c=i.className,m=i.color,p=void 0===m?"inherit":m,f=i.component,d=void 0===f?"svg":f,u=i.fontSize,h=void 0===u?"medium":u,y=i.htmlColor,S=i.titleAccess,v=i.viewBox,g=void 0===v?"0 0 24 24":v,z=o(i,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return t.createElement(d,e({className:r(a.root,c,"inherit"!==p&&a["color".concat(s(p))],"default"!==h&&"medium"!==h&&a["fontSize".concat(s(h))]),focusable:"false",viewBox:g,color:y,"aria-hidden":!S||void 0,role:S?"img":void 0,ref:l},z),n,S?t.createElement("title",null,S):null)}));"production"!==process.env.NODE_ENV&&(c.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:i.elementType,fontSize:l(i.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.string,shapeRendering:i.string,titleAccess:i.string,viewBox:i.string}),c.muiName="SvgIcon";var m=n(a,{name:"MuiSvgIcon"})(c);export{m as default,a as styles};
1
+ import e from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as t from"react";import i from"../../../../../_virtual/index.js";import{clsx as r}from"../../../../clsx/dist/clsx.m.js";import l from"../../../utils/esm/chainPropTypes.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import n from"../styles/withStyles.js";import s from"../utils/capitalize.js";var a=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)}}},c=t.forwardRef((function(i,l){var n=i.children,a=i.classes,c=i.className,m=i.color,p=void 0===m?"inherit":m,f=i.component,d=void 0===f?"svg":f,u=i.fontSize,h=void 0===u?"medium":u,y=i.htmlColor,S=i.titleAccess,v=i.viewBox,g=void 0===v?"0 0 24 24":v,z=o(i,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return t.createElement(d,e({className:r(a.root,c,"inherit"!==p&&a["color".concat(s(p))],"default"!==h&&"medium"!==h&&a["fontSize".concat(s(h))]),focusable:"false",viewBox:g,color:y,"aria-hidden":!S||void 0,role:S?"img":void 0,ref:l},z),n,S?t.createElement("title",null,S):null)}));"production"!==process.env.NODE_ENV&&(c.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOf(["action","disabled","error","inherit","primary","secondary"]),component:i.elementType,fontSize:l(i.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.string,shapeRendering:i.string,titleAccess:i.string,viewBox:i.string}),c.muiName="SvgIcon";var m=n(a,{name:"MuiSvgIcon"})(c);export{m as default,a as styles};
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","SvgIcon$1","withStyles","name"],"mappings":"ynBAQU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,WAAY,OACZC,MAA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AAQ,WAAWgB,OAAOC,EAAWhD,MACpMiD,UAAW,QACXR,QAASA,EACThC,MAAO6B,EACP,eAAeC,QAAcW,EAC7BC,KAAMZ,EAAc,WAAQW,EAC5BrB,IAAKA,GACJa,GAAQZ,EAAUS,EAA2Bb,EAAMkB,cAAc,QAAS,KAAML,GAAe,KACpG,IACyB,eAAzBa,QAAQC,IAAIC,WAA4B7B,EAAQ8B,UAAY,CAS1DzB,SAAU0B,EAAUC,KAMpB1B,QAASyB,EAAUE,OAKnB1B,UAAWwB,EAAUG,OAMrBlD,MAAO+C,EAAUI,MAAM,CAAC,SAAU,WAAY,QAAS,UAAW,UAAW,cAM7EzB,UAAWqB,EAEVK,YAKD7D,SAAU8D,EAAeN,EAAUI,MAAM,CAAC,UAAW,UAAW,QAAS,SAAU,WAAW,SAAUhC,GAGtG,GAAiB,YAFFA,EAAM5B,SAGnB,MAAM,IAAI+D,MAAM,qFAGlB,OAAO,IACX,IAKEzB,UAAWkB,EAAUG,OAOrBK,eAAgBR,EAAUG,OAM1BpB,YAAaiB,EAAUG,OASvBlB,QAASe,EAAUG,SAErBlC,EAAQwC,QAAU,UAClB,IAAeC,EAAAC,EAAW5E,EAAQ,CAChC6E,KAAM,cADOD,CAEZ1C"}
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","SvgIcon$1","withStyles","name"],"mappings":"wnBAQU,IAACA,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,EA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,SAGnB,MAAM,IAAI+D,MAAM,qFAGlB,OAAO,IACX,IAKEzB,UAAWkB,EAAUG,OAOrBK,eAAgBR,EAAUG,OAM1BpB,YAAaiB,EAAUG,OASvBlB,QAASe,EAAUG,SAErBlC,EAAQwC,QAAU,UAClB,IAAeC,EAAAC,EAAW5E,EAAQ,CAChC6E,KAAM,cADOD,CAEZ1C"}
@@ -1,2 +1,2 @@
1
- import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import n from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function t(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"production"!==process.env.NODE_ENV&&(n<t||n>e)&&console.error("Material-UI: The value provided ".concat(n," is out of range [").concat(t,", ").concat(e,"].")),Math.min(Math.max(t,n),e)}function e(n){n=n.substr(1);var t=new RegExp(".{1,".concat(n.length>=6?2:1,"}"),"g"),e=n.match(t);return e&&1===e[0].length&&(e=e.map((function(n){return n+n}))),e?"rgb".concat(4===e.length?"a":"","(").concat(e.map((function(n,t){return t<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3})).join(", "),")"):""}function r(n){var t=(n=a(n)).values,e=t[0],r=t[1]/100,i=t[2]/100,u=r*Math.min(i,1-i),s=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(n+e/30)%12;return i-u*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===n.type&&(l+="a",c.push(t[3])),o({type:l,values:c})}function a(t){if(t.type)return t;if("#"===t.charAt(0))return a(e(t));var r=t.indexOf("("),o=t.substring(0,r);if(-1===["rgb","rgba","hsl","hsla"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: Unsupported `".concat(t,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):n(3,t));var i=t.substring(r+1,t.length-1).split(",");return{type:o,values:i=i.map((function(n){return parseFloat(n)}))}}function o(n){var t=n.type,e=n.values;return-1!==t.indexOf("rgb")?e=e.map((function(n,t){return t<3?parseInt(n,10):n})):-1!==t.indexOf("hsl")&&(e[1]="".concat(e[1],"%"),e[2]="".concat(e[2],"%")),"".concat(t,"(").concat(e.join(", "),")")}function i(n,t){var e=u(n),r=u(t);return(Math.max(e,r)+.05)/(Math.min(e,r)+.05)}function u(n){var t="hsl"===(n=a(n)).type?a(r(n)).values:n.values;return t=t.map((function(n){return(n/=255)<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(n,e){if(n=a(n),e=t(e),-1!==n.type.indexOf("hsl"))n.values[2]*=1-e;else if(-1!==n.type.indexOf("rgb"))for(var r=0;r<3;r+=1)n.values[r]*=1-e;return o(n)}function l(n,e){if(n=a(n),e=t(e),-1!==n.type.indexOf("hsl"))n.values[2]+=(100-n.values[2])*e;else if(-1!==n.type.indexOf("rgb"))for(var r=0;r<3;r+=1)n.values[r]+=(255-n.values[r])*e;return o(n)}export{s as darken,a as decomposeColor,i as getContrastRatio,u as getLuminance,e as hexToRgb,r as hslToRgb,l as lighten,o as recomposeColor};
1
+ import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import n from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function t(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"production"!==process.env.NODE_ENV&&(n<t||n>e)&&console.error("Material-UI: The value provided ".concat(n," is out of range [").concat(t,", ").concat(e,"].")),Math.min(Math.max(t,n),e)}function e(n){n=n.substr(1);var t=new RegExp(".{1,".concat(n.length>=6?2:1,"}"),"g"),e=n.match(t);return e&&1===e[0].length&&(e=e.map((function(n){return n+n}))),e?"rgb".concat(4===e.length?"a":"","(").concat(e.map((function(n,t){return t<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3})).join(", "),")"):""}function r(n){var t=(n=a(n)).values,e=t[0],r=t[1]/100,i=t[2]/100,u=r*Math.min(i,1-i),s=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(n+e/30)%12;return i-u*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===n.type&&(l+="a",c.push(t[3])),o({type:l,values:c})}function a(t){if(t.type)return t;if("#"===t.charAt(0))return a(e(t));var r=t.indexOf("("),o=t.substring(0,r);if(-1===["rgb","rgba","hsl","hsla"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: Unsupported `".concat(t,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):n(3,t));var i=t.substring(r+1,t.length-1).split(",");return{type:o,values:i=i.map((function(n){return parseFloat(n)}))}}function o(n){var t=n.type,e=n.values;return-1!==t.indexOf("rgb")?e=e.map((function(n,t){return t<3?parseInt(n,10):n})):-1!==t.indexOf("hsl")&&(e[1]="".concat(e[1],"%"),e[2]="".concat(e[2],"%")),"".concat(t,"(").concat(e.join(", "),")")}function i(n,t){var e=u(n),r=u(t);return(Math.max(e,r)+.05)/(Math.min(e,r)+.05)}function u(n){var t="hsl"===(n=a(n)).type?a(r(n)).values:n.values;return t=t.map((function(n){return(n/=255)<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(n,e){if(n=a(n),e=t(e),-1!==n.type.indexOf("hsl"))n.values[2]*=1-e;else if(-1!==n.type.indexOf("rgb"))for(var r=0;r<3;r+=1)n.values[r]*=1-e;return o(n)}function l(n,e){if(n=a(n),e=t(e),-1!==n.type.indexOf("hsl"))n.values[2]+=(100-n.values[2])*e;else if(-1!==n.type.indexOf("rgb"))for(var r=0;r<3;r+=1)n.values[r]+=(255-n.values[r])*e;return o(n)}export{s as darken,a as decomposeColor,i as getContrastRatio,u as getLuminance,e as hexToRgb,r as hslToRgb,l as lighten,o as recomposeColor};
2
2
  //# sourceMappingURL=colorManipulator.js.map
@@ -1,2 +1,2 @@
1
- import r from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import e from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import t from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import i from"../colors/common.js";import a from"../colors/grey.js";import n from"../colors/indigo.js";import s from"../colors/pink.js";import c from"../colors/red.js";import l from"../colors/orange.js";import m from"../colors/blue.js";import d from"../colors/green.js";import{getContrastRatio as p,lighten as g,darken as f}from"./colorManipulator.js";var h={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:i.white,default:a[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}},u={text:{primary:i.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:a[800],default:"#303030"},action:{active:i.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 b(r,o,e,t){var i=t.light||t,a=t.dark||1.5*t;r[o]||(r.hasOwnProperty(e)?r[o]=r[e]:"light"===o?r.light=g(r.main,i):"dark"===o&&(r.dark=f(r.main,a)))}function v(g){var f=g.primary,v=void 0===f?{light:n[300],main:n[500],dark:n[700]}:f,y=g.secondary,j=void 0===y?{light:s.A200,main:s.A400,dark:s.A700}:y,O=g.error,w=void 0===O?{light:c[300],main:c[500],dark:c[700]}:O,k=g.warning,T=void 0===k?{light:l[300],main:l[500],dark:l[700]}:k,E=g.info,x=void 0===E?{light:m[300],main:m[500],dark:m[700]}:E,A=g.success,N=void 0===A?{light:d[300],main:d[500],dark:d[700]}:A,C=g.type,M=void 0===C?"light":C,D=g.contrastThreshold,_=void 0===D?3:D,I=g.tonalOffset,R=void 0===I?.2:I,U=o(g,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function V(r){var o=p(r,u.text.primary)>=_?u.text.primary:h.text.primary;if("production"!==process.env.NODE_ENV){var e=p(r,o);e<3&&console.error(["Material-UI: The contrast ratio of ".concat(e,":1 for ").concat(o," on ").concat(r),"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 o}var G=function(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(o=r({},o)).main&&o[e]&&(o.main=o[e]),!o.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(e,"` property."):t(4,e));if("string"!=typeof o.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(o.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} });'):t(5,JSON.stringify(o.main)));return b(o,"light",i,R),b(o,"dark",a,R),o.contrastText||(o.contrastText=V(o.main)),o},W={dark:u,light:h};return"production"!==process.env.NODE_ENV&&(W[M]||console.error("Material-UI: The palette type `".concat(M,"` is not supported."))),e(r({common:i,type:M,primary:G(v),secondary:G(j,"A400","A200","A700"),error:G(w),warning:G(T),info:G(x),success:G(N),grey:a,contrastThreshold:_,getContrastText:V,augmentColor:G,tonalOffset:R},W[M]),U)}export{u as dark,v as default,h as light};
1
+ import r from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import e from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import t from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import i from"../colors/common.js";import a from"../colors/grey.js";import n from"../colors/indigo.js";import s from"../colors/pink.js";import c from"../colors/red.js";import l from"../colors/orange.js";import m from"../colors/blue.js";import d from"../colors/green.js";import{getContrastRatio as p,lighten as g,darken as f}from"./colorManipulator.js";var h={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:i.white,default:a[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}},u={text:{primary:i.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:a[800],default:"#303030"},action:{active:i.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 b(r,o,e,t){var i=t.light||t,a=t.dark||1.5*t;r[o]||(r.hasOwnProperty(e)?r[o]=r[e]:"light"===o?r.light=g(r.main,i):"dark"===o&&(r.dark=f(r.main,a)))}function v(g){var f=g.primary,v=void 0===f?{light:n[300],main:n[500],dark:n[700]}:f,y=g.secondary,j=void 0===y?{light:s.A200,main:s.A400,dark:s.A700}:y,O=g.error,w=void 0===O?{light:c[300],main:c[500],dark:c[700]}:O,k=g.warning,T=void 0===k?{light:l[300],main:l[500],dark:l[700]}:k,E=g.info,x=void 0===E?{light:m[300],main:m[500],dark:m[700]}:E,A=g.success,N=void 0===A?{light:d[300],main:d[500],dark:d[700]}:A,C=g.type,M=void 0===C?"light":C,D=g.contrastThreshold,_=void 0===D?3:D,I=g.tonalOffset,R=void 0===I?.2:I,U=o(g,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function V(r){var o=p(r,u.text.primary)>=_?u.text.primary:h.text.primary;if("production"!==process.env.NODE_ENV){var e=p(r,o);e<3&&console.error(["Material-UI: The contrast ratio of ".concat(e,":1 for ").concat(o," on ").concat(r),"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 o}var G=function(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(o=r({},o)).main&&o[e]&&(o.main=o[e]),!o.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(e,"` property."):t(4,e));if("string"!=typeof o.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(o.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} });'):t(5,JSON.stringify(o.main)));return b(o,"light",i,R),b(o,"dark",a,R),o.contrastText||(o.contrastText=V(o.main)),o},W={dark:u,light:h};return"production"!==process.env.NODE_ENV&&(W[M]||console.error("Material-UI: The palette type `".concat(M,"` is not supported."))),e(r({common:i,type:M,primary:G(v),secondary:G(j,"A400","A200","A700"),error:G(w),warning:G(T),info:G(x),success:G(N),grey:a,contrastThreshold:_,getContrastText:V,augmentColor:G,tonalOffset:R},W[M]),U)}export{u as dark,v as default,h as light};
2
2
  //# sourceMappingURL=createPalette.js.map
@@ -1,2 +1,2 @@
1
- import"../../../system/esm/borders.js";import"../../../../../_virtual/index3.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import"../../../system/esm/display.js";import"../../../system/esm/flexbox.js";import"../../../system/esm/grid.js";import"../../../system/esm/palette.js";import"../../../system/esm/positions.js";import"../../../system/esm/shadows.js";import"../../../system/esm/sizing.js";import{createUnarySpacing as e}from"../../../system/esm/spacing.js";import"../../../system/esm/responsivePropType.js";import"../../../system/esm/typography.js";var t;function s(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(s.mui)return s;var r=e({spacing:s}),i=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return"production"!==process.env.NODE_ENV&&(t.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(t.length))),0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(i,"unit",{get:function(){return"production"!==process.env.NODE_ENV&&(t&&"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")),t=!0),s}}),i.mui=!0,i}export{s as default};
1
+ import"../../../system/esm/borders.js";import"../../../../../_virtual/index.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import"../../../system/esm/display.js";import"../../../system/esm/flexbox.js";import"../../../system/esm/grid.js";import"../../../system/esm/palette.js";import"../../../system/esm/positions.js";import"../../../system/esm/shadows.js";import"../../../system/esm/sizing.js";import{createUnarySpacing as e}from"../../../system/esm/spacing.js";import"../../../system/esm/responsivePropType.js";import"../../../system/esm/typography.js";var t;function s(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(s.mui)return s;var r=e({spacing:s}),i=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return"production"!==process.env.NODE_ENV&&(t.length<=4||console.error("Material-UI: Too many arguments provided, expected between 0 and 4, got ".concat(t.length))),0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(i,"unit",{get:function(){return"production"!==process.env.NODE_ENV&&(t&&"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")),t=!0),s}}),i.mui=!0,i}export{s as default};
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","createSpacing","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":"suBACA,IAAIA,EACW,SAASC,IACtB,IAAIC,EAAeC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAGvF,GAAID,EAAaI,IACf,OAAOJ,EAMT,IAAIK,EAAYC,EAAmB,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,WACThB,GAAqC,SAAzBc,QAAQC,IAAIC,UAC3BC,QAAQC,MAAM,CAAC,6DAA8D,4BAA6B,oEAAqE,GAAI,gLAAgLK,KAAK,OAG1WvB,GAAW,GAGNE,CACR,IAEHO,EAAQH,KAAM,EACPG,CACT"}
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","createSpacing","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":"quBACA,IAAIA,EACW,SAASC,IACtB,IAAIC,EAAeC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAGvF,GAAID,EAAaI,IACf,OAAOJ,EAMT,IAAIK,EAAYC,EAAmB,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,WACThB,GAAqC,SAAzBc,QAAQC,IAAIC,UAC3BC,QAAQC,MAAM,CAAC,6DAA8D,4BAA6B,oEAAqE,GAAI,gLAAgLK,KAAK,OAG1WvB,GAAW,GAGNE,CACR,IAEHO,EAAQH,KAAM,EACPG,CACT"}
@@ -1,2 +1,2 @@
1
- import e from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import t from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import i from"./createBreakpoints.js";import o from"./createMixins.js";import s from"./createPalette.js";import n from"./createTypography.js";import p from"./shadows.js";import a from"./shape.js";import m from"./createSpacing.js";import c from"./transitions.js";import l from"./zIndex.js";function d(){for(var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.breakpoints,u=void 0===f?{}:f,h=d.mixins,j=void 0===h?{}:h,y=d.palette,g=void 0===y?{}:y,v=d.spacing,b=d.typography,x=void 0===b?{}:b,k=r(d,["breakpoints","mixins","palette","spacing","typography"]),N=s(g),O=i(u),S=m(v),E=t({breakpoints:O,direction:"ltr",mixins:o(O,S,j),overrides:{},palette:N,props:{},shadows:p,typography:n(N,x),spacing:S,shape:a,transitions:c,zIndex:l},k),I=arguments.length,T=new Array(I>1?I-1:0),w=1;w<I;w++)T[w-1]=arguments[w];if(E=T.reduce((function(e,r){return t(e,r)}),E),"production"!==process.env.NODE_ENV){var A=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];!function r(t,i){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;for(o in t){var n=t[o];1===s?0===o.indexOf("Mui")&&n&&r(n,o,s+1):-1!==A.indexOf(o)&&Object.keys(n).length>0&&("production"!==process.env.NODE_ENV&&console.error(["Material-UI: The `".concat(i,"` component increases ")+"the CSS specificity of the `".concat(o,"` 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({},"&$".concat(o),n)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join("\n")),t[o]={})}}(E.overrides)}return E}export{d as default};
1
+ import e from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import t from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import i from"./createBreakpoints.js";import o from"./createMixins.js";import s from"./createPalette.js";import n from"./createTypography.js";import p from"./shadows.js";import a from"./shape.js";import m from"./createSpacing.js";import c from"./transitions.js";import l from"./zIndex.js";function d(){for(var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.breakpoints,u=void 0===f?{}:f,h=d.mixins,j=void 0===h?{}:h,y=d.palette,g=void 0===y?{}:y,v=d.spacing,b=d.typography,x=void 0===b?{}:b,k=r(d,["breakpoints","mixins","palette","spacing","typography"]),N=s(g),O=i(u),S=m(v),E=t({breakpoints:O,direction:"ltr",mixins:o(O,S,j),overrides:{},palette:N,props:{},shadows:p,typography:n(N,x),spacing:S,shape:a,transitions:c,zIndex:l},k),I=arguments.length,T=new Array(I>1?I-1:0),w=1;w<I;w++)T[w-1]=arguments[w];if(E=T.reduce((function(e,r){return t(e,r)}),E),"production"!==process.env.NODE_ENV){var A=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];!function r(t,i){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;for(o in t){var n=t[o];1===s?0===o.indexOf("Mui")&&n&&r(n,o,s+1):-1!==A.indexOf(o)&&Object.keys(n).length>0&&("production"!==process.env.NODE_ENV&&console.error(["Material-UI: The `".concat(i,"` component increases ")+"the CSS specificity of the `".concat(o,"` 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({},"&$".concat(o),n)},null,2),"","https://mui.com/r/pseudo-classes-guide"].join("\n")),t[o]={})}}(E.overrides)}return E}export{d as default};
2
2
  //# sourceMappingURL=createTheme.js.map
@@ -1,2 +1,2 @@
1
- import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import o from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function i(e){return Math.round(1e5*e)/1e5}var n=!1;function r(e){return"production"!==process.env.NODE_ENV&&(n||(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")),n=!0)),i(e)}var l={textTransform:"uppercase"},m='"Roboto", "Helvetica", "Arial", sans-serif';function a(n,a){var s="function"==typeof a?a(n):a,u=s.fontFamily,f=void 0===u?m:u,h=s.fontSize,p=void 0===h?14:h,c=s.fontWeightLight,d=void 0===c?300:c,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,S=s.htmlFontSize,z=void 0===S?16:S,R=s.allVariants,F=s.pxToRem,x=t(s,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);"production"!==process.env.NODE_ENV&&("number"!=typeof p&&console.error("Material-UI: `fontSize` is required to be a number."),"number"!=typeof z&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var M=p/14,T=F||function(e){return"".concat(e/z*M,"rem")},E=function(t,o,n,r,l){return e({fontFamily:f,fontWeight:t,fontSize:T(o),lineHeight:n},f===m?{letterSpacing:"".concat(i(r/o),"em")}:{},l,R)},N={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(b,48,1.167,0),h4:E(b,34,1.235,.25),h5:E(b,24,1.334,0),h6:E(y,20,1.6,.15),subtitle1:E(b,16,1.75,.15),subtitle2:E(y,14,1.57,.1),body1:E(b,16,1.5,.15),body2:E(b,14,1.43,.15),button:E(y,14,1.75,.4,l),caption:E(b,12,1.66,.4),overline:E(b,12,2.66,1,l)};return o(e({htmlFontSize:z,pxToRem:T,round:r,fontFamily:f,fontSize:p,fontWeightLight:d,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:j},N),x,{clone:!1})}export{a as default};
1
+ import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import o from"../../../utils/esm/deepmerge.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function i(e){return Math.round(1e5*e)/1e5}var n=!1;function r(e){return"production"!==process.env.NODE_ENV&&(n||(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")),n=!0)),i(e)}var l={textTransform:"uppercase"},m='"Roboto", "Helvetica", "Arial", sans-serif';function a(n,a){var s="function"==typeof a?a(n):a,u=s.fontFamily,f=void 0===u?m:u,h=s.fontSize,p=void 0===h?14:h,c=s.fontWeightLight,d=void 0===c?300:c,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,S=s.htmlFontSize,z=void 0===S?16:S,R=s.allVariants,F=s.pxToRem,x=t(s,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);"production"!==process.env.NODE_ENV&&("number"!=typeof p&&console.error("Material-UI: `fontSize` is required to be a number."),"number"!=typeof z&&console.error("Material-UI: `htmlFontSize` is required to be a number."));var M=p/14,T=F||function(e){return"".concat(e/z*M,"rem")},E=function(t,o,n,r,l){return e({fontFamily:f,fontWeight:t,fontSize:T(o),lineHeight:n},f===m?{letterSpacing:"".concat(i(r/o),"em")}:{},l,R)},N={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(b,48,1.167,0),h4:E(b,34,1.235,.25),h5:E(b,24,1.334,0),h6:E(y,20,1.6,.15),subtitle1:E(b,16,1.75,.15),subtitle2:E(y,14,1.57,.1),body1:E(b,16,1.5,.15),body2:E(b,14,1.43,.15),button:E(y,14,1.75,.4,l),caption:E(b,12,1.66,.4),overline:E(b,12,2.66,1,l)};return o(e({htmlFontSize:z,pxToRem:T,round:r,fontFamily:f,fontSize:p,fontWeightLight:d,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:j},N),x,{clone:!1})}export{a as default};
2
2
  //# sourceMappingURL=createTypography.js.map
@@ -1,2 +1,2 @@
1
- import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import e from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index28.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function t(t){if("string"!=typeof t)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: capitalize(string) expects a string argument.":e(7));return t.charAt(0).toUpperCase()+t.slice(1)}export{t as default};
1
+ import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import e from"../../../utils/esm/formatMuiErrorMessage.js";import"../../../../../_virtual/index18.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";function t(t){if("string"!=typeof t)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: capitalize(string) expects a string argument.":e(7));return t.charAt(0).toUpperCase()+t.slice(1)}export{t as default};
2
2
  //# sourceMappingURL=capitalize.js.map