@e-llm-studio/citation 0.0.249 → 0.0.251-beta.1

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 (2362) hide show
  1. package/README.md +36 -183
  2. package/dist/BPACitationRenderer.js +2 -0
  3. package/dist/BPACitationRenderer.js.map +1 -0
  4. package/dist/BookCitation.js +2 -0
  5. package/dist/BookCitation.js.map +1 -0
  6. package/dist/Bookemon.js +2 -0
  7. package/dist/Bookemon.js.map +1 -0
  8. package/dist/ChatCitation.js +2 -0
  9. package/dist/ChatCitation.js.map +1 -0
  10. package/dist/ChatDrawer.js +2 -0
  11. package/dist/ChatDrawer.js.map +1 -0
  12. package/dist/CitationRenderer.js +2 -0
  13. package/dist/CitationRenderer.js.map +1 -0
  14. package/dist/CodeCitation.js +2 -0
  15. package/dist/CodeCitation.js.map +1 -0
  16. package/dist/CognitiveInternalgptCoreComponent.js +2 -0
  17. package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
  18. package/dist/CognitiveInternalgptReasoning.js +2 -0
  19. package/dist/CognitiveInternalgptReasoning.js.map +1 -0
  20. package/dist/GptWebCitation.js +2 -0
  21. package/dist/GptWebCitation.js.map +1 -0
  22. package/dist/IngestionStatusComponent.js +2 -0
  23. package/dist/IngestionStatusComponent.js.map +1 -0
  24. package/dist/PdfViewer.js +2 -0
  25. package/dist/PdfViewer.js.map +1 -0
  26. package/dist/ProjectAccordion.js +2 -0
  27. package/dist/ProjectAccordion.js.map +1 -0
  28. package/dist/SplitterCitationsComponent.js +2 -0
  29. package/dist/SplitterCitationsComponent.js.map +1 -0
  30. package/dist/TextualGuideLinesComponent.js +2 -0
  31. package/dist/TextualGuideLinesComponent.js.map +1 -0
  32. package/dist/assests/icons/CitationsIcon.js +1 -1
  33. package/dist/assests/icons/CitationsIcon.js.map +1 -1
  34. package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
  35. package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
  36. package/dist/assests/icons/InfoAlert.js +1 -1
  37. package/dist/assests/icons/InfoAlert.js.map +1 -1
  38. package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
  39. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  40. package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
  41. package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
  42. package/dist/assests/svg/PdfViewerIcons.js +1 -1
  43. package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
  44. package/dist/assests/svg/SparkleIcon.js +1 -1
  45. package/dist/assests/svg/SparkleIcon.js.map +1 -1
  46. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
  47. package/dist/assests/svg/chevronUp.svg.js.map +1 -1
  48. package/dist/cjs/BPACitationRenderer.js +2 -0
  49. package/dist/cjs/BPACitationRenderer.js.map +1 -0
  50. package/dist/cjs/BookCitation.js +2 -0
  51. package/dist/cjs/BookCitation.js.map +1 -0
  52. package/dist/cjs/Bookemon.js +2 -0
  53. package/dist/cjs/Bookemon.js.map +1 -0
  54. package/dist/cjs/ChatCitation.js +2 -0
  55. package/dist/cjs/ChatCitation.js.map +1 -0
  56. package/dist/cjs/ChatDrawer.js +2 -0
  57. package/dist/cjs/ChatDrawer.js.map +1 -0
  58. package/dist/cjs/CitationRenderer.js +2 -0
  59. package/dist/cjs/CitationRenderer.js.map +1 -0
  60. package/dist/cjs/CodeCitation.js +2 -0
  61. package/dist/cjs/CodeCitation.js.map +1 -0
  62. package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
  63. package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
  64. package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
  65. package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
  66. package/dist/cjs/GptWebCitation.js +2 -0
  67. package/dist/cjs/GptWebCitation.js.map +1 -0
  68. package/dist/cjs/IngestionStatusComponent.js +2 -0
  69. package/dist/cjs/IngestionStatusComponent.js.map +1 -0
  70. package/dist/cjs/PdfViewer.js +2 -0
  71. package/dist/cjs/PdfViewer.js.map +1 -0
  72. package/dist/cjs/ProjectAccordion.js +2 -0
  73. package/dist/cjs/ProjectAccordion.js.map +1 -0
  74. package/dist/cjs/SplitterCitationsComponent.js +2 -0
  75. package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
  76. package/dist/cjs/TextualGuideLinesComponent.js +2 -0
  77. package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
  78. package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
  79. package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
  80. package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
  81. package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
  82. package/dist/cjs/assests/icons/InfoAlert.js +1 -1
  83. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
  84. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
  85. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  86. package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
  87. package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
  88. package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
  89. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
  90. package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
  91. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
  92. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
  93. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
  94. package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
  95. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
  96. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  97. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  98. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
  99. package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
  100. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
  101. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
  102. package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
  103. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
  104. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  105. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  106. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  107. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  108. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  109. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  110. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  111. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  112. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  113. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  114. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  115. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  116. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  117. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  118. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  119. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  120. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  121. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  122. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  123. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  124. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
  125. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  126. package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
  127. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
  128. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
  129. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  130. package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
  131. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
  132. package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
  133. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
  134. package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
  135. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
  136. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
  137. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  138. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  139. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  140. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  141. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  142. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
  143. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  144. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
  145. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
  146. package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
  147. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
  148. package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
  149. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
  150. package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
  151. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
  152. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
  153. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  154. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  155. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  156. package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
  157. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
  158. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
  159. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
  160. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
  161. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
  162. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  163. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  164. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
  165. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  166. package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
  167. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
  168. package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
  169. package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
  170. package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
  171. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
  172. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
  173. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
  174. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  175. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  176. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
  177. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  178. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
  179. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  180. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  181. package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
  182. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
  183. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
  184. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  185. package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
  186. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
  187. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
  188. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  189. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  190. package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
  191. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
  192. package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
  193. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
  194. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  195. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  196. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  197. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  198. package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
  199. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
  200. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
  201. package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
  202. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
  203. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  204. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  205. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  206. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  207. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
  208. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  209. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  210. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  211. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  212. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  213. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  214. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  215. package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
  216. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
  217. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  218. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  219. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  220. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  221. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  223. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
  224. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  225. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
  226. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  227. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  228. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  229. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  230. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  231. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  232. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  233. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  234. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  235. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  237. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  239. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  240. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  241. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  242. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  243. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  244. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  245. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  246. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  247. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  248. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  249. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  250. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
  251. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  252. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  253. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  254. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
  255. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  256. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  257. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  258. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  259. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  260. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
  261. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  262. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  263. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  264. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  265. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  266. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  267. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  268. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  269. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  271. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  272. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  273. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  274. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  275. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  276. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  277. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  278. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  279. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  281. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  283. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  285. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  287. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  289. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  291. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  293. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  295. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  296. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
  297. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  298. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  299. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  300. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  301. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  302. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  303. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  304. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  305. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  306. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  307. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  308. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  309. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  312. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  313. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  314. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  315. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
  316. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  317. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
  318. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  319. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  320. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
  321. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
  322. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
  323. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  324. package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
  325. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
  326. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  327. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
  328. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  329. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  330. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  331. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  332. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  333. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  334. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  335. package/dist/cjs/features/GptWebCitation/types.js +1 -1
  336. package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
  337. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
  338. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  339. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  340. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  341. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  342. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  343. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  344. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  345. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
  346. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
  347. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  348. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  349. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  350. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  351. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  352. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  353. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  354. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  355. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  356. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  357. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  358. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  359. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  360. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  361. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  362. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
  363. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  364. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  365. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  366. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  367. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
  368. package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
  369. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
  370. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  371. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  372. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  373. package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
  374. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
  375. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  376. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  377. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  378. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  379. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  380. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
  381. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
  382. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  383. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  384. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  385. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  386. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  387. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
  388. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
  389. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  390. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
  391. package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
  392. package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
  393. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  394. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
  395. package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
  396. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
  397. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  398. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
  399. package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
  400. package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
  401. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
  402. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  403. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  404. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
  405. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  406. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
  407. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  408. package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
  409. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
  410. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
  411. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  412. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  413. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  414. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  415. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  416. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  417. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  418. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  419. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  420. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  421. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  422. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  423. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  424. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  425. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  426. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  427. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  428. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  429. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  430. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  431. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  432. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  433. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  434. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  435. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  436. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  437. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  438. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  439. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  440. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  441. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  442. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  443. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  444. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  445. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  446. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  447. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  448. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  449. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  450. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  451. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  452. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  453. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  454. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  455. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  456. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  457. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  458. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  459. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  460. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  461. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  462. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  463. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  464. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  465. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  466. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  467. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  468. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  469. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  470. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  471. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  472. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  473. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  474. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  475. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  476. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  477. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
  478. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  479. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
  480. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
  481. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  482. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  483. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  484. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  485. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  486. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  487. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  488. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  489. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  490. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  491. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  492. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  493. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  494. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  495. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  496. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  497. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  498. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  499. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
  500. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  501. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  502. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  503. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  504. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  505. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  506. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  507. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  508. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  509. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
  510. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  511. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
  512. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  513. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  514. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  515. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
  516. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  517. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  518. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  519. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  520. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  521. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  522. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  523. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  524. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  525. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  526. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  527. package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
  528. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
  529. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
  530. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  531. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  532. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  533. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  534. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  535. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  536. package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
  537. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
  538. package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
  539. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
  540. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
  541. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  542. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  543. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  544. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  545. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
  546. package/dist/cjs/index.js +1 -1
  547. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  548. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  549. package/dist/cjs/service/apicache.service.js +1 -1
  550. package/dist/cjs/service/apicache.service.js.map +1 -1
  551. package/dist/cjs/service/onDemandApi.js +1 -1
  552. package/dist/cjs/service/onDemandApi.js.map +1 -1
  553. package/dist/cjs/types/onDemandApi.types.js +1 -1
  554. package/dist/cjs/types/onDemandApi.types.js.map +1 -1
  555. package/dist/cjs/utils/codeCitations.utils.js +1 -1
  556. package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
  557. package/dist/cjs/utils/helper.js +2 -0
  558. package/dist/cjs/utils/helper.js.map +1 -0
  559. package/dist/cjs/utils/sanitizeHtml.js +1 -1
  560. package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
  561. package/dist/cjs/utils/themeManager.js +1 -1
  562. package/dist/cjs/utils/themeManager.js.map +1 -1
  563. package/dist/constants/diagnosticStylesBySeverity.js +1 -1
  564. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
  565. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  566. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  567. package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
  568. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
  569. package/dist/features/BookCitation/BookCitation.js +1 -1
  570. package/dist/features/BookCitation/BookCitation.js.map +1 -1
  571. package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
  572. package/dist/features/BookCitation/text-cleaner.js +1 -1
  573. package/dist/features/BookCitation/text-cleaner.js.map +1 -1
  574. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  575. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  576. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  577. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  578. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  579. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  580. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  581. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  582. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  583. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  584. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  585. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  586. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  587. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  588. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  589. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  590. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  591. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  592. package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  593. package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  594. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  595. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  596. package/dist/features/Bookemon/Bookemon.js +1 -1
  597. package/dist/features/Bookemon/Bookemon.js.map +1 -1
  598. package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
  599. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  600. package/dist/features/Bookemon/BookemonContent.js +1 -1
  601. package/dist/features/Bookemon/BookemonContent.js.map +1 -1
  602. package/dist/features/Bookemon/utils/highlight.js +1 -1
  603. package/dist/features/Bookemon/utils/highlight.js.map +1 -1
  604. package/dist/features/ChatCitation/BigQueryTable.js +1 -1
  605. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
  606. package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
  607. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  608. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  609. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  610. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  611. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  612. package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
  613. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  614. package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
  615. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
  616. package/dist/features/ChatCitation/components/Chip.js +1 -1
  617. package/dist/features/ChatCitation/components/Chip.js.map +1 -1
  618. package/dist/features/ChatCitation/components/DetailedView.js +1 -1
  619. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
  620. package/dist/features/ChatCitation/components/IconContainer.js +1 -1
  621. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
  622. package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
  623. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  624. package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  625. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  626. package/dist/features/ChatCitation/components/RuleBook.js +1 -1
  627. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
  628. package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
  629. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
  630. package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
  631. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
  632. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  633. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  634. package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
  635. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  636. package/dist/features/ChatCitation/constants/renderer.js +1 -1
  637. package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
  638. package/dist/features/ChatCitation/styles/common.css.js +2 -0
  639. package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
  640. package/dist/features/ChatCitation/utils/helpers.js +1 -1
  641. package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
  642. package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
  643. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
  644. package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
  645. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  646. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  647. package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
  648. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  649. package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
  650. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  651. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  652. package/dist/features/CitationViewer/CitationsViewer.js +1 -1
  653. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
  654. package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
  655. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  656. package/dist/features/CitationViewer/components/Header.js +1 -1
  657. package/dist/features/CitationViewer/components/Header.js.map +1 -1
  658. package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
  659. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  660. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  661. package/dist/features/CitationViewer/components/Transcript.js +1 -1
  662. package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
  663. package/dist/features/CitationViewer/config/apiConfig.js +1 -1
  664. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
  665. package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  666. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  667. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  668. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  669. package/dist/features/CodeCitation/CodeCitation.js +1 -1
  670. package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
  671. package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
  672. package/dist/features/CodeCitation/_components/Accordian.js +1 -1
  673. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
  674. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  675. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  676. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  677. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  678. package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
  679. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  680. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  681. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  682. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  683. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  684. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  685. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  686. package/dist/features/CodeCitation/_components/Spinner.js +1 -1
  687. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
  688. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  689. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  690. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  691. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  692. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  693. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  694. package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
  695. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  696. package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
  697. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  698. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  699. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  700. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  701. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  702. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  703. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  704. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  705. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  706. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  707. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  708. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  709. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  710. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  711. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  712. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  713. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  714. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  715. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  716. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  717. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  718. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  719. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  720. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  721. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  722. package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
  723. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  724. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  725. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  726. package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
  727. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  728. package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  729. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  730. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  731. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  732. package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
  733. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  734. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  735. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  736. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  737. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  738. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  739. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  740. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  741. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  742. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  743. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  744. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  745. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  746. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  747. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  748. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  749. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  750. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  751. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  752. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  753. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  754. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  755. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  756. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  757. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  758. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  759. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  760. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  761. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  762. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  763. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  764. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  765. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  766. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  767. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  768. package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
  769. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  770. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  771. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  772. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  773. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  774. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  775. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  776. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  777. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  778. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  779. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  780. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  781. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  782. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  783. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  784. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  785. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  786. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  787. package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
  788. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  789. package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
  790. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  791. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  792. package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
  793. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
  794. package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
  795. package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  796. package/dist/features/ExcelCitation/utils/helper.js +1 -1
  797. package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
  798. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  799. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
  800. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  801. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  802. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  803. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  804. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  805. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  806. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  807. package/dist/features/GptWebCitation/types.js +1 -1
  808. package/dist/features/GptWebCitation/types.js.map +1 -1
  809. package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
  810. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  811. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  812. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  813. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  814. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  815. package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  816. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  817. package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
  818. package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
  819. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  820. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  821. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  822. package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  823. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  824. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  825. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  826. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  827. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  828. package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  829. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  830. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  831. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  832. package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  833. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  834. package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
  835. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  836. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  837. package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  838. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  839. package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
  840. package/dist/features/InstantLearningCitation/types/Types.js +1 -1
  841. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
  842. package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  843. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  844. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  845. package/dist/features/ManageRemainders/ManageReminders.js +1 -1
  846. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
  847. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  848. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  849. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  850. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  851. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  852. package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
  853. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
  854. package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  855. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  856. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  857. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  858. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  859. package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
  860. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  861. package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
  862. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  863. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
  864. package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
  865. package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
  866. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  867. package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
  868. package/dist/features/PdfViewer/rotationManager.js +1 -1
  869. package/dist/features/PdfViewer/rotationManager.js.map +1 -1
  870. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  871. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
  872. package/dist/features/PdfViewer/zoomStateManager.js +2 -0
  873. package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
  874. package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
  875. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  876. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  877. package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
  878. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  879. package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
  880. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  881. package/dist/features/PromptCitation/PromptCitation.js +1 -1
  882. package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
  883. package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
  884. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  885. package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  886. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  887. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  888. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  889. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  890. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  891. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  892. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  893. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  894. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  895. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  896. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  897. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  898. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  899. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  900. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  901. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  902. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  903. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  904. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  905. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  906. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  907. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  908. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  909. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  910. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  911. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  912. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  913. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  914. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  915. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  916. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  917. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  918. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  919. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  920. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  921. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  922. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  923. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  924. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  925. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  926. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  927. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  928. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  929. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  930. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  931. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  932. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  933. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  934. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  935. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  936. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  937. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  938. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  939. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  940. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  941. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  942. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  943. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  944. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  945. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  946. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  947. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  948. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  949. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  950. package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
  951. package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  952. package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
  953. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
  954. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  955. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  956. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  957. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  958. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  959. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  960. package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  961. package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  962. package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  963. package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  964. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  965. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  966. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  967. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  968. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  969. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  970. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  971. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  972. package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
  973. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  974. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  975. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  976. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  977. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  978. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  979. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  980. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  981. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  982. package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
  983. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  984. package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
  985. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  986. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  987. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  988. package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
  989. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  990. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  991. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  992. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  993. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  994. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  995. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  996. package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  997. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  998. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  999. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  1000. package/dist/features/SegmentReviewComponents/helper.js +1 -1
  1001. package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
  1002. package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
  1003. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  1004. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  1005. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  1006. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  1007. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  1008. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  1009. package/dist/features/SplitterCitations/icons/icons.js +1 -1
  1010. package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
  1011. package/dist/features/TableCitation/TableCitationContent.js +1 -1
  1012. package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
  1013. package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
  1014. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  1015. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  1016. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  1017. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  1018. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
  1019. package/dist/index.js +1 -1
  1020. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  1021. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  1022. package/dist/service/apicache.service.js +1 -1
  1023. package/dist/service/apicache.service.js.map +1 -1
  1024. package/dist/service/onDemandApi.js +1 -1
  1025. package/dist/service/onDemandApi.js.map +1 -1
  1026. package/dist/types/AutopilotStyle.d.ts +2 -0
  1027. package/dist/types/AutopilotStyle.d.ts.map +1 -0
  1028. package/dist/types/BPACitationRenderer.d.ts +3 -0
  1029. package/dist/types/BPACitationRenderer.d.ts.map +1 -0
  1030. package/dist/types/BookCitation.d.ts +3 -0
  1031. package/dist/types/BookCitation.d.ts.map +1 -0
  1032. package/dist/types/Bookemon.d.ts +3 -0
  1033. package/dist/types/Bookemon.d.ts.map +1 -0
  1034. package/dist/types/ChatCitation.d.ts +3 -0
  1035. package/dist/types/ChatCitation.d.ts.map +1 -0
  1036. package/dist/types/ChatDrawer.d.ts +3 -0
  1037. package/dist/types/ChatDrawer.d.ts.map +1 -0
  1038. package/dist/types/CitationRenderer.d.ts +3 -0
  1039. package/dist/types/CitationRenderer.d.ts.map +1 -0
  1040. package/dist/types/CodeCitation.d.ts +3 -0
  1041. package/dist/types/CodeCitation.d.ts.map +1 -0
  1042. package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
  1043. package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1044. package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
  1045. package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
  1046. package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
  1047. package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
  1048. package/dist/types/GptWebCitation.d.ts +3 -0
  1049. package/dist/types/GptWebCitation.d.ts.map +1 -0
  1050. package/dist/types/IngestionStatusComponent.d.ts +2 -0
  1051. package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
  1052. package/dist/types/PdfViewer.d.ts +3 -0
  1053. package/dist/types/PdfViewer.d.ts.map +1 -0
  1054. package/dist/types/ProjectAccordion.d.ts +3 -0
  1055. package/dist/types/ProjectAccordion.d.ts.map +1 -0
  1056. package/dist/types/SplitterCitationsComponent.d.ts +3 -0
  1057. package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
  1058. package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
  1059. package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
  1060. package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
  1061. package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
  1062. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
  1063. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  1064. package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
  1065. package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
  1066. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
  1067. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
  1068. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
  1069. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  1070. package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
  1071. package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
  1072. package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
  1073. package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
  1074. package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
  1075. package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
  1076. package/dist/types/context/DataSelectedContext.d.ts +73 -0
  1077. package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
  1078. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  1079. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  1080. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
  1081. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  1082. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  1083. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  1084. package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
  1085. package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
  1086. package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
  1087. package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
  1088. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
  1089. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  1090. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
  1091. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  1092. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
  1093. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  1094. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
  1095. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  1096. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
  1097. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  1098. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  1099. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  1100. package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
  1101. package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
  1102. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
  1103. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  1104. package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
  1105. package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
  1106. package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
  1107. package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
  1108. package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
  1109. package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
  1110. package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
  1111. package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  1112. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
  1113. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  1114. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  1115. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1116. package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
  1117. package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1118. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
  1119. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1120. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1121. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1122. package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
  1123. package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1124. package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
  1125. package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1126. package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1127. package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1128. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
  1129. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1130. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
  1131. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1132. package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
  1133. package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1134. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1135. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1136. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
  1137. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1138. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1139. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1140. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1141. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1142. package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
  1143. package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1144. package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
  1145. package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1146. package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
  1147. package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1148. package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
  1149. package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1150. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1151. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1152. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1153. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1154. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1155. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1156. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
  1157. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  1158. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  1159. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  1160. package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
  1161. package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1162. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1163. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1164. package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
  1165. package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
  1166. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1167. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1168. package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
  1169. package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1170. package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1171. package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1172. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1173. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1174. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1175. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1176. package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
  1177. package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1178. package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
  1179. package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1180. package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1181. package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1182. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
  1183. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1184. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1185. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1186. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1187. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1188. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
  1189. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1190. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1191. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1192. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
  1193. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
  1194. package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1195. package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1196. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1197. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1198. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1199. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1200. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1201. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1202. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1203. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1204. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1205. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1206. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1207. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1208. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
  1209. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1210. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
  1211. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1212. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1213. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1214. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1215. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1216. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
  1217. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1218. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1219. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1220. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1221. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1222. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1223. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1224. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
  1225. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1226. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
  1227. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1228. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1229. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1230. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1231. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1232. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
  1233. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1234. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1235. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1236. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1237. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1238. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1239. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1240. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1241. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1242. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
  1243. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1244. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1245. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1246. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1247. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1248. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1249. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1250. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1251. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1252. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1253. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1254. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  1255. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1256. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1257. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1258. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1259. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1260. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1261. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1262. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1263. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1264. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1265. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1266. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1267. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1268. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1269. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1270. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
  1271. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1272. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1273. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1274. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1275. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1276. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  1277. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1278. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1279. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1280. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1281. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1282. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1283. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1284. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1285. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1286. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1287. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1288. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
  1289. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1290. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
  1291. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1292. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1293. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1294. package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
  1295. package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
  1296. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1297. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1298. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1299. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1300. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1301. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1302. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
  1303. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1304. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
  1305. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1306. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1307. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1308. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1309. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1310. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
  1311. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1312. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1313. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1314. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1315. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1316. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1317. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1318. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1319. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1320. package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
  1321. package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1322. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1323. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1324. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1325. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1326. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1327. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1328. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1329. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1330. package/dist/types/features/GptWebCitation/types.d.ts +405 -0
  1331. package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
  1332. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1333. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1334. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1335. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1336. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1337. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1338. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1339. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1340. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1341. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1342. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1343. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1344. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1345. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1346. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1347. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1348. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1349. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1350. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1351. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1352. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1353. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1354. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1355. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1356. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1357. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1358. package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1359. package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1360. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1361. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1362. package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
  1363. package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1364. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1365. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1366. package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
  1367. package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
  1368. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1369. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1370. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1371. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1372. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1373. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1374. package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
  1375. package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1376. package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
  1377. package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1378. package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
  1379. package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1380. package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
  1381. package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1382. package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
  1383. package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
  1384. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
  1385. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1386. package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
  1387. package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
  1388. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1389. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1390. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1391. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1392. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  1393. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  1394. package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
  1395. package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  1396. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  1397. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  1398. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  1399. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  1400. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  1401. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  1402. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
  1403. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1404. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1405. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1406. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
  1407. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  1408. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
  1409. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  1410. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  1411. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  1412. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  1413. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  1414. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  1415. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  1416. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  1417. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  1418. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1419. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1420. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  1421. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  1422. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  1423. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  1424. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  1425. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  1426. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  1427. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  1428. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  1429. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  1430. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  1431. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  1432. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  1433. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  1434. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  1435. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  1436. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  1437. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  1438. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  1439. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  1440. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
  1441. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  1442. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  1443. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  1444. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
  1445. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  1446. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
  1447. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  1448. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  1449. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  1450. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
  1451. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  1452. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
  1453. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  1454. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
  1455. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  1456. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  1457. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  1458. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1459. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1460. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1461. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1462. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1463. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1464. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1465. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1466. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
  1467. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1468. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
  1469. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1470. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +12 -0
  1471. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1472. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
  1473. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1474. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
  1475. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1476. package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
  1477. package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1478. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
  1479. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1480. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  1481. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  1482. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  1483. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  1484. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
  1485. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  1486. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  1487. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  1488. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  1489. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  1490. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  1491. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  1492. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  1493. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  1494. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  1495. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  1496. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  1497. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  1498. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  1499. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  1500. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  1501. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  1502. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  1503. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  1504. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  1505. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  1506. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  1507. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  1508. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  1509. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  1510. package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
  1511. package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  1512. package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
  1513. package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
  1514. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  1515. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  1516. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  1517. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  1518. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1519. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1520. package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
  1521. package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1522. package/dist/types/features/SplitterCitations/types.d.ts +77 -0
  1523. package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
  1524. package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
  1525. package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1526. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1527. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1528. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1529. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1530. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1531. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1532. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1533. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1534. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
  1535. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1536. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1537. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1538. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1539. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1540. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1541. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1542. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1543. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1544. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1545. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1546. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1547. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1548. package/dist/types/features/UploadData/main.d.ts +9 -0
  1549. package/dist/types/features/UploadData/main.d.ts.map +1 -0
  1550. package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1551. package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1552. package/dist/types/index.d.ts +63 -0
  1553. package/dist/types/index.d.ts.map +1 -0
  1554. package/dist/types/methodsToExpose.d.ts +18 -0
  1555. package/dist/types/methodsToExpose.d.ts.map +1 -0
  1556. package/dist/types/onDemandApi.types.js +1 -1
  1557. package/dist/types/onDemandApi.types.js.map +1 -1
  1558. package/dist/types/service/API.d.ts +6 -0
  1559. package/dist/types/service/API.d.ts.map +1 -0
  1560. package/dist/types/service/DataService.d.ts +73 -0
  1561. package/dist/types/service/DataService.d.ts.map +1 -0
  1562. package/dist/types/service/ModelService.d.ts +68 -0
  1563. package/dist/types/service/ModelService.d.ts.map +1 -0
  1564. package/dist/types/service/ProjectService.d.ts +16 -0
  1565. package/dist/types/service/ProjectService.d.ts.map +1 -0
  1566. package/dist/types/service/SavedDataSetService.d.ts +27 -0
  1567. package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
  1568. package/dist/types/service/apicache.service.d.ts +43 -0
  1569. package/dist/types/service/apicache.service.d.ts.map +1 -0
  1570. package/dist/types/service/constants.d.ts +3 -0
  1571. package/dist/types/service/constants.d.ts.map +1 -0
  1572. package/dist/types/service/envHelperService.d.ts +5 -0
  1573. package/dist/types/service/envHelperService.d.ts.map +1 -0
  1574. package/dist/types/service/onDemandApi.d.ts +27 -0
  1575. package/dist/types/service/onDemandApi.d.ts.map +1 -0
  1576. package/dist/types/service/variableHelperService.d.ts +6 -0
  1577. package/dist/types/service/variableHelperService.d.ts.map +1 -0
  1578. package/dist/types/theme.d.ts +4 -0
  1579. package/dist/types/theme.d.ts.map +1 -0
  1580. package/dist/types/types/CodeCitationTypes.d.ts +46 -0
  1581. package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
  1582. package/dist/types/types/onDemandApi.types.d.ts +63 -0
  1583. package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
  1584. package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1585. package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1586. package/dist/types/userProvidedConfig.d.ts +8 -0
  1587. package/dist/types/userProvidedConfig.d.ts.map +1 -0
  1588. package/dist/types/utils/api.d.ts +2 -0
  1589. package/dist/types/utils/api.d.ts.map +1 -0
  1590. package/dist/types/utils/codeCitations.utils.d.ts +9 -0
  1591. package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
  1592. package/dist/types/utils/helper.d.ts +5 -0
  1593. package/dist/types/utils/helper.d.ts.map +1 -0
  1594. package/dist/types/utils/sanitizeHtml.d.ts +5 -0
  1595. package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
  1596. package/dist/types/utils/themeManager.d.ts +13 -0
  1597. package/dist/types/utils/themeManager.d.ts.map +1 -0
  1598. package/dist/utils/codeCitations.utils.js +1 -1
  1599. package/dist/utils/codeCitations.utils.js.map +1 -1
  1600. package/dist/utils/helper.js +2 -0
  1601. package/dist/utils/helper.js.map +1 -0
  1602. package/dist/utils/sanitizeHtml.js +1 -1
  1603. package/dist/utils/sanitizeHtml.js.map +1 -1
  1604. package/dist/utils/themeManager.js +1 -1
  1605. package/dist/utils/themeManager.js.map +1 -1
  1606. package/package.json +135 -278
  1607. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  1608. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  1609. package/dist/types/src/App.d.ts +0 -3
  1610. package/dist/types/src/App.d.ts.map +0 -1
  1611. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  1612. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  1613. package/dist/types/src/BookCitationTest.d.ts +0 -3
  1614. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  1615. package/dist/types/src/BookemonTest.d.ts +0 -83
  1616. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  1617. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  1618. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  1619. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  1620. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  1621. package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
  1622. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
  1623. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  1624. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  1625. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  1626. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  1627. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  1628. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  1629. package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
  1630. package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
  1631. package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
  1632. package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
  1633. package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
  1634. package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
  1635. package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
  1636. package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
  1637. package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
  1638. package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
  1639. package/dist/types/src/CustomStylesProvider.d.ts +0 -6
  1640. package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
  1641. package/dist/types/src/CustomThemeProvider.d.ts +0 -7
  1642. package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
  1643. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  1644. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  1645. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  1646. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  1647. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  1648. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  1649. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  1650. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  1651. package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
  1652. package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
  1653. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  1654. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  1655. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  1656. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  1657. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  1658. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  1659. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  1660. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  1661. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  1662. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  1663. package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
  1664. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
  1665. package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
  1666. package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
  1667. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  1668. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  1669. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  1670. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  1671. package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
  1672. package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
  1673. package/dist/types/src/TableCitationTest.d.ts +0 -3
  1674. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  1675. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
  1676. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
  1677. package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
  1678. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
  1679. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
  1680. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
  1681. package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
  1682. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
  1683. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
  1684. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
  1685. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
  1686. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
  1687. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
  1688. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
  1689. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  1690. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  1691. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
  1692. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
  1693. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  1694. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  1695. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
  1696. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
  1697. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
  1698. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
  1699. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
  1700. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
  1701. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
  1702. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
  1703. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
  1704. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
  1705. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
  1706. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
  1707. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
  1708. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
  1709. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  1710. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  1711. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  1712. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  1713. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  1714. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  1715. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  1716. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  1717. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  1718. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  1719. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  1720. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  1721. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  1722. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  1723. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  1724. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  1725. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  1726. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  1727. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  1728. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  1729. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  1730. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  1731. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  1732. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  1733. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  1734. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  1735. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  1736. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  1737. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  1738. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  1739. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  1740. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  1741. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  1742. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  1743. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  1744. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  1745. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
  1746. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  1747. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  1748. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  1749. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  1750. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  1751. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  1752. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  1753. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  1754. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  1755. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  1756. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  1757. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  1758. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  1759. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  1760. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  1761. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  1762. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  1763. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  1764. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  1765. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  1766. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  1767. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  1768. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  1769. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  1770. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  1771. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
  1772. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  1773. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  1774. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  1775. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  1776. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  1777. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  1778. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  1779. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  1780. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  1781. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  1782. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  1783. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  1784. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  1785. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  1786. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  1787. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
  1788. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1789. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1790. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1791. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  1792. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  1793. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  1794. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  1795. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  1796. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  1797. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  1798. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  1799. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  1800. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  1801. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  1802. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  1803. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  1804. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  1805. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  1806. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  1807. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  1808. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  1809. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  1810. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  1811. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  1812. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  1813. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
  1814. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  1815. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  1816. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  1817. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
  1818. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  1819. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  1820. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  1821. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  1822. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  1823. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  1824. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  1825. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  1826. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  1827. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
  1828. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
  1829. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  1830. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  1831. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  1832. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  1833. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  1834. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  1835. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  1836. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  1837. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  1838. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  1839. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  1840. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  1841. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
  1842. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  1843. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
  1844. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  1845. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  1846. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  1847. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  1848. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  1849. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  1850. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  1851. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
  1852. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  1853. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
  1854. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  1855. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  1856. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  1857. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
  1858. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  1859. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
  1860. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
  1861. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
  1862. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
  1863. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
  1864. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
  1865. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  1866. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  1867. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
  1868. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
  1869. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  1870. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  1871. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
  1872. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  1873. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  1874. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  1875. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  1876. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  1877. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  1878. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  1879. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  1880. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  1881. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  1882. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  1883. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  1884. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  1885. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  1886. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  1887. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  1888. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  1889. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
  1890. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  1891. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
  1892. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  1893. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  1894. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  1895. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
  1896. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  1897. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  1898. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  1899. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  1900. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  1901. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
  1902. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  1903. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  1904. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  1905. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  1906. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  1907. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  1908. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  1909. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  1910. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  1911. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  1912. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  1913. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  1914. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  1915. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  1916. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1917. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
  1918. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1919. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  1920. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
  1921. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1922. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1923. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1924. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1925. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1926. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1927. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1928. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1929. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
  1930. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1931. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
  1932. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1933. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1934. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1935. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
  1936. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
  1937. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1938. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1939. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1940. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1941. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1942. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1943. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1944. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1945. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1946. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1947. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1948. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1949. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1950. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1951. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1952. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1953. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1954. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1955. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1956. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1957. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1958. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1959. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1960. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1961. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1962. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1963. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1964. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1965. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
  1966. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
  1967. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
  1968. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
  1969. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
  1970. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
  1971. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1972. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1973. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1974. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1975. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1976. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1977. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1978. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1979. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
  1980. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
  1981. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
  1982. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
  1983. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
  1984. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
  1985. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
  1986. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
  1987. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
  1988. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
  1989. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
  1990. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
  1991. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
  1992. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
  1993. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
  1994. package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
  1995. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
  1996. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
  1997. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
  1998. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
  1999. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
  2000. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
  2001. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
  2002. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  2003. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  2004. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  2005. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  2006. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  2007. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
  2008. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
  2009. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
  2010. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
  2011. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
  2012. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
  2013. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
  2014. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
  2015. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
  2016. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
  2017. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
  2018. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
  2019. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
  2020. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
  2021. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
  2022. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
  2023. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
  2024. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
  2025. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
  2026. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
  2027. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  2028. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  2029. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  2030. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  2031. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  2032. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  2033. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  2034. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  2035. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  2036. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  2037. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  2038. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  2039. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  2040. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  2041. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  2042. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  2043. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  2044. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  2045. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
  2046. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  2047. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  2048. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  2049. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
  2050. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  2051. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
  2052. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  2053. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
  2054. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
  2055. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
  2056. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
  2057. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
  2058. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  2059. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  2060. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  2061. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  2062. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  2063. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  2064. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  2065. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
  2066. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
  2067. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
  2068. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
  2069. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
  2070. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
  2071. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
  2072. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
  2073. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  2074. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  2075. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
  2076. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
  2077. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
  2078. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
  2079. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
  2080. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
  2081. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
  2082. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
  2083. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
  2084. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
  2085. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
  2086. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
  2087. package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
  2088. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
  2089. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
  2090. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2091. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
  2092. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2093. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2094. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2095. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2096. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2097. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2098. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2099. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2100. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2101. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  2102. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  2103. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2104. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2105. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2106. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2107. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2108. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2109. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2110. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2111. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2112. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2113. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2114. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2115. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2116. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2117. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2118. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2119. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2120. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2121. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2122. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2123. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
  2124. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2125. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2126. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2127. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
  2128. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2129. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2130. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2131. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2132. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2133. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
  2134. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2135. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2136. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2137. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2138. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2139. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2140. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2141. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  2142. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  2143. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  2144. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  2145. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
  2146. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
  2147. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
  2148. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
  2149. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
  2150. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
  2151. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
  2152. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
  2153. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
  2154. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
  2155. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
  2156. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
  2157. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
  2158. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
  2159. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
  2160. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
  2161. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
  2162. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
  2163. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
  2164. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
  2165. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  2166. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  2167. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
  2168. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
  2169. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
  2170. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
  2171. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
  2172. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
  2173. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
  2174. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
  2175. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
  2176. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
  2177. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
  2178. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
  2179. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
  2180. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
  2181. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
  2182. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
  2183. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
  2184. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
  2185. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
  2186. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
  2187. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
  2188. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
  2189. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
  2190. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
  2191. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
  2192. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
  2193. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
  2194. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
  2195. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
  2196. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
  2197. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
  2198. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
  2199. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
  2200. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
  2201. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
  2202. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
  2203. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
  2204. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
  2205. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
  2206. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
  2207. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
  2208. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  2209. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  2210. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  2211. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
  2212. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
  2213. package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
  2214. package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
  2215. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  2216. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  2217. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  2218. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  2219. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
  2220. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  2221. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
  2222. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
  2223. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  2224. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  2225. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  2226. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  2227. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  2228. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  2229. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  2230. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  2231. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  2232. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  2233. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  2234. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  2235. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  2236. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  2237. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  2238. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  2239. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  2240. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  2241. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  2242. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  2243. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  2244. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  2245. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  2246. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  2247. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  2248. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  2249. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  2250. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  2251. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  2252. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  2253. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  2254. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  2255. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  2256. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  2257. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  2258. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  2259. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  2260. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  2261. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  2262. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  2263. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  2264. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  2265. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  2266. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  2267. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  2268. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  2269. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  2270. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  2271. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  2272. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  2273. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  2274. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  2275. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  2276. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  2277. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  2278. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  2279. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  2280. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  2281. package/dist/types/src/hooks/useDebounce.d.ts +0 -2
  2282. package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
  2283. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
  2284. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
  2285. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
  2286. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
  2287. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
  2288. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  2289. package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
  2290. package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
  2291. package/dist/types/src/index.d.ts +0 -63
  2292. package/dist/types/src/index.d.ts.map +0 -1
  2293. package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
  2294. package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
  2295. package/dist/types/src/methodsToExpose.d.ts +0 -13
  2296. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  2297. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
  2298. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  2299. package/dist/types/src/routes/Routes.d.ts +0 -2
  2300. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  2301. package/dist/types/src/service/API.d.ts +0 -6
  2302. package/dist/types/src/service/API.d.ts.map +0 -1
  2303. package/dist/types/src/service/DataService.d.ts +0 -73
  2304. package/dist/types/src/service/DataService.d.ts.map +0 -1
  2305. package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
  2306. package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
  2307. package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
  2308. package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
  2309. package/dist/types/src/service/ModelService.d.ts +0 -68
  2310. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  2311. package/dist/types/src/service/ProjectService.d.ts +0 -16
  2312. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  2313. package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
  2314. package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
  2315. package/dist/types/src/service/apicache.service.d.ts +0 -43
  2316. package/dist/types/src/service/apicache.service.d.ts.map +0 -1
  2317. package/dist/types/src/service/constants.d.ts +0 -3
  2318. package/dist/types/src/service/constants.d.ts.map +0 -1
  2319. package/dist/types/src/service/envHelperService.d.ts +0 -5
  2320. package/dist/types/src/service/envHelperService.d.ts.map +0 -1
  2321. package/dist/types/src/service/onDemandApi.d.ts +0 -27
  2322. package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
  2323. package/dist/types/src/service/variableHelperService.d.ts +0 -6
  2324. package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
  2325. package/dist/types/src/theme.d.ts +0 -4
  2326. package/dist/types/src/theme.d.ts.map +0 -1
  2327. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2328. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2329. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2330. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2331. package/dist/types/src/types/epubItems.d.ts +0 -23
  2332. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2333. package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
  2334. package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
  2335. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
  2336. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
  2337. package/dist/types/src/userProvidedConfig.d.ts +0 -8
  2338. package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
  2339. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2340. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2341. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2342. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2343. package/dist/types/src/utils/api.d.ts +0 -2
  2344. package/dist/types/src/utils/api.d.ts.map +0 -1
  2345. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2346. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2347. package/dist/types/src/utils/colors.d.ts +0 -5
  2348. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2349. package/dist/types/src/utils/date.d.ts +0 -1
  2350. package/dist/types/src/utils/date.d.ts.map +0 -1
  2351. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2352. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2353. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2354. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2355. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2356. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2357. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2358. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2359. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2360. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2361. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2362. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveComparehelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveComparehelpers.js","sources":["../../../src/features/CognitiveCompare/CognitiveComparehelpers.ts"],"sourcesContent":["import React from \"react\";\nimport {\n ComparisonConfig,\n SectionBlock,\n StyleVariant,\n} from \"./CognitiveCompareTypes\";\nimport { DEFAULT_DEVIAION_COLOR } from \"./CognitiveCompareConstants\";\n\nexport const safeStringify = (val: unknown): string => {\n if (val === null || val === undefined) return \"\";\n if (typeof val === \"string\") return val;\n if (Array.isArray(val)) return val.map(safeStringify).join(\"\\n\\n\");\n if (typeof val === \"object\") return JSON.stringify(val);\n return String(val);\n};\n\n// Generic \"is non-empty\" guard used to hide empty fields/sections from rendering.\nexport const hasValue = (val: unknown): boolean => {\n if (val === null || val === undefined) return false;\n if (typeof val === \"string\") return val.trim().length > 0;\n if (Array.isArray(val)) return val.length > 0 && val.some((v) => hasValue(v));\n return true;\n};\n\nexport const getAlphabeticSuffix = (index: number) => {\n let value = index + 1;\n let suffix = \"\";\n\n while (value > 0) {\n value -= 1;\n const ASCII_LOWER_A = 97;\n suffix = String.fromCharCode(ASCII_LOWER_A + (value % 26)) + suffix;\n value = Math.floor(value / 26);\n }\n\n return suffix;\n};\n\nexport const getRhsMappedSectionNumber = ({\n section,\n proposedSections,\n leftNums,\n fallbackNumber,\n firstOnly = false,\n}: {\n section: SectionBlock;\n proposedSections: SectionBlock[];\n leftNums: Map<string, number>;\n fallbackNumber?: string;\n firstOnly?: boolean;\n}) => {\n if (!section?.id) return fallbackNumber;\n\n const mappedLabels = (proposedSections || [])\n .map((lhs) => {\n const refIndexes = Array.isArray(lhs?.refIndexes) ? lhs.refIndexes : [];\n const rhsPosition = refIndexes.findIndex(\n (refIndex: number) => refIndex === section.selfIndex,\n );\n if (rhsPosition === -1) return null;\n\n const baseNumber = lhs?.id ? leftNums.get(lhs.id) : undefined;\n if (baseNumber == null) return null;\n\n return refIndexes.length > 1\n ? `${baseNumber}${getAlphabeticSuffix(rhsPosition)}`\n : String(baseNumber);\n })\n .filter(Boolean);\n\n if (mappedLabels.length === 0) return fallbackNumber;\n\n return firstOnly ? mappedLabels[0] : mappedLabels.join(\", \");\n};\n\nexport const hasSingleMappedLhsSection = (\n section: SectionBlock,\n proposedSections: SectionBlock[],\n) => {\n if (section?.selfIndex == null) return false;\n\n const mappedLhsSections = (proposedSections || []).filter((lhs) =>\n Array.isArray(lhs?.refIndexes) && lhs.refIndexes.includes(section.selfIndex as number),\n );\n\n return mappedLhsSections.length === 1;\n};\n\n// Reads one side (left/right) of a node from comparison_inputs using input_index_map indirection.\nexport type ResolvedContentItem = {\n contentId: string;\n data: Record<string, unknown>;\n attributes: Record<string, unknown>;\n};\n\nexport const resolveComparisonInputItems = (\n node: any,\n sideIndex: \"0\" | \"1\",\n indexMap: Record<string, string>,\n contentMapping: Record<string, any> = {},\n): ResolvedContentItem[] => {\n const sideUuid = indexMap[sideIndex];\n const rawInput = node?.comparison_inputs?.[sideUuid];\n\n if (!rawInput) return [];\n\n const normalize = Array.isArray(rawInput) ? rawInput : [rawInput];\n\n return normalize\n .map((item: any, idx: number): ResolvedContentItem | null => {\n // New JSON: comparison_inputs contains content_mapping id\n if (item && typeof item === \"string\" && item.trim()) {\n const mapped = contentMapping[item];\n if (!mapped || typeof mapped !== \"object\") return null;\n if (!mapped) return null;\n\n return {\n contentId: item,\n data: mapped,\n attributes: mapped.additional_attributes || {},\n };\n }\n\n // Old/root-compatible JSON: comparison_inputs contains direct object\n if (item && typeof item === \"object\") {\n const fallbackId =\n item.content_id ||\n item.id ||\n `${sideUuid}-direct-${idx}`;\n\n return {\n contentId: fallbackId,\n data: item,\n attributes: item.additional_attributes || {},\n };\n }\n\n return null;\n })\n .filter(Boolean) as ResolvedContentItem[];\n};\n\nexport const getSideData = (\n node: any,\n sideIndex: \"0\" | \"1\",\n indexMap: Record<string, string>,\n contentMapping: Record<string, any> = {},\n) => {\n const items = resolveComparisonInputItems(\n node,\n sideIndex,\n indexMap,\n contentMapping,\n );\n\n const first = items[0]?.data || {};\n const attributes = items[0]?.attributes || null;\n\n return {\n title: safeStringify(first?.title || \"\"),\n content: safeStringify(first?.content || \"\"),\n change_history: safeStringify(first?.change_history || \"\"),\n attributes,\n subsections: first?.subsections || [],\n contentId: items[0]?.contentId,\n allItems: items,\n };\n};\n\n// Extracts mapping_rationale into UI-friendly score, relation label, and cognitive details.\nexport const getRationale = (node: any) => {\nif (!node.mapping_rationale) {\n return { \n cognitiveData: {\n decisioning: [],\n gap: [],\n relevance_score: 0,\n isMissingRationale: true, \n citations: [],\n },\n score: 0, \n relation: \"N/A\" \n };\n }\n const rat = node.mapping_rationale;\n const strength = parseInt(rat.decision_strength || \"0\");\n \n return {\n cognitiveData: {\n decisioning: rat.decisioning_factors || [],\n gap: rat.gaps_in_decision || [],\n relevance_score: strength,\n citations: rat.citations\n },\n score: 0,\n relation: \"N/A\",\n };\n};\n\n// Converts machine relation keys (e.g. \"no_deviation\") into readable badge labels.\nexport const formatRelationToLabel = (relation: string): string => {\n if (!relation || typeof relation !== \"string\") return \"Unknown\";\n if (relation.toUpperCase() === \"N/A\") return \"N/A\";\n return relation\n .split(\"_\")\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())\n .join(\" \");\n};\n// Resolves relation + score into the visual style token used by cards, fields, and badges.\n// export const getStyleForRelation = (\n// score: number,\n// relation: string,\n// hasContent: boolean,\n// config: ComparisonConfig,\n// ): StyleVariant | null => {\n// const percentage = (score || 0) * 100;\n// const { thresholds, relationStyles } = config;\n\n// if (!hasContent) return null;\n\n// // const displayLabel = formatRelationToLabel(relation);\n// // const normalizedRelation = (relation || \"\").toLowerCase();\n// // return { ...relationStyles.low, label: 'Found 321' };\n\n// // if (normalizedRelation === \"n/a\" || normalizedRelation.includes(\"no_deviation\")) {\n// // return { ...relationStyles.low, label: displayLabel };\n// // }\n// // if (normalizedRelation.includes(\"no_deviation\")) {\n// // return { ...relationStyles.low, label: displayLabel };\n// // }\n// // if (\n// // normalizedRelation.includes(\"deviation\") ||\n// // normalizedRelation.includes(\"high_risk\") ||\n// // normalizedRelation.includes(\"critical\")\n// // ) {\n// // return { ...relationStyles.high, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.exact) {\n// // return { ...relationStyles.exact, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.high) {\n// // return { ...relationStyles.high, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.medium) {\n// // return { ...relationStyles.medium, label: displayLabel };\n// // }\n// // return { ...relationStyles.low, label: displayLabel };\n// };\n\n// Maps cognitive relevance score (0-100) into synthetic relation buckets used for section badges.\n// export const cognitiveScoreToRelation = (\n// relevanceScore: number,\n// ): { score: number; relation: string } => {\n// // if (relevanceScore >= 90) return { score: 1.0, relation: \"exact_match\" };\n// // if (relevanceScore >= 70) return { score: 0.8, relation: \"high_match\" };\n// // if (relevanceScore >= 40) return { score: 0.5, relation: \"partial_match\" };\n// // return { score: 0.0, relation: \"no_deviation\" };\n// return { score: 0.0, relation: \"found the B\" };\n// };\n\ntype ColorPalette = {\n bg: string;\n border: string;\n badgeBg: string;\n badgeBorder: string;\n badgeText: string;\n highlightBg: string;\n};\n\nexport function generateColorPalette(hex: string): ColorPalette {\n const normalizeHex = (hex: string) => {\n if (hex.length === 4) {\n return (\n \"#\" +\n hex[1] +\n hex[1] +\n hex[2] +\n hex[2] +\n hex[3] +\n hex[3]\n );\n }\n return hex;\n };\n\n const hexToRgb = (hex: string) => {\n const normalized = normalizeHex(hex).replace(\"#\", \"\");\n const bigint = parseInt(normalized, 16);\n return {\n r: (bigint >> 16) & 255,\n g: (bigint >> 8) & 255,\n b: bigint & 255,\n };\n };\n\n const rgbToHex = (r: number, g: number, b: number) => {\n return (\n \"#\" +\n [r, g, b]\n .map((x) => x.toString(16).padStart(2, \"0\"))\n .join(\"\")\n .toUpperCase()\n );\n };\n\n // Mix with white based on opacity\n const mixWithWhite = (hex: string, opacity: number) => {\n const { r, g, b } = hexToRgb(hex);\n\n const newR = Math.round(r + (255 - r) * opacity);\n const newG = Math.round(g + (255 - g) * opacity);\n const newB = Math.round(b + (255 - b) * opacity);\n\n return rgbToHex(newR, newG, newB);\n };\n\n return {\n bg: mixWithWhite(hex, 0.8),\n border: mixWithWhite(hex, 0.5),\n badgeBg: mixWithWhite(hex, 0.8),\n badgeBorder: mixWithWhite(hex, 0.5),\n badgeText: hex.toUpperCase(),\n highlightBg: mixWithWhite(hex, 0.8),\n };\n}\n\nexport function debounce<T extends (...args: any[]) => any>(\n func: T,\n delay: number\n): (...args: Parameters<T>) => void {\n let timeoutId: ReturnType<typeof setTimeout> | undefined;\n\n return function(this: ThisParameterType<T>, ...args: Parameters<T>) {\n const context = this;\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => func.apply(context, args), delay);\n };\n}\n\nexport const checkPathMatchesIdx = (pathStr: string, idx: number)=>{\n if(!pathStr) return false;\n return pathStr === String(idx) || pathStr.startsWith(`${idx}-`);\n}\nexport const areMarkdownPropsEqual = (prevProps: any, nextProps: any) => {\n if (prevProps.content !== nextProps.content) return false;\n if (prevProps.overlayContent !== nextProps.overlayContent) return false;\n if (prevProps.sxStyles !== nextProps.sxStyles) return false;\n if (prevProps.maintainRelativeOrder !== nextProps.maintainRelativeOrder) return false;\n if (prevProps.highlightBg !== nextProps.highlightBg) return false;\n if (prevProps.suppressHighlightBg !== nextProps.suppressHighlightBg) return false;\n if (prevProps.collisionKey !== nextProps.collisionKey) return false;\n\n const prevH = prevProps.highlights || [];\n const nextH = nextProps.highlights || [];\n\n if (prevH.length !== nextH.length) return false;\n \n for (let i = 0; i < prevH.length; i++) {\n if (prevH[i] !== nextH[i]) return false;\n }\n\n const prevB = prevProps.deviationBadges || [];\n const nextB = nextProps.deviationBadges || [];\n\n if (prevB.length !== nextB.length) return false;\n for (let i = 0; i < prevB.length; i++) {\n if (prevB[i].id !== nextB[i].id) return false;\n if (prevB[i].actionId !== nextB[i].actionId) return false;\n if (prevB[i].label !== nextB[i].label) return false;\n if (prevB[i].score !== nextB[i].score) return false;\n if (prevB[i].isOrphan !== nextB[i].isOrphan) return false;\n if (prevB[i].isConnected !== nextB[i].isConnected) return false;\n if (prevB[i].showScrollLockToggle !== nextB[i].showScrollLockToggle) return false;\n if (prevB[i].scrollSyncLocked !== nextB[i].scrollSyncLocked) return false;\n if (prevB[i].style?.badgeBg !== nextB[i].style?.badgeBg) return false;\n if (prevB[i].style?.badgeBorder !== nextB[i].style?.badgeBorder) return false;\n if (prevB[i].style?.badgeText !== nextB[i].style?.badgeText) return false;\n }\n\n return true;\n};\n\nexport const DEVIATION_BADGE_SEPARATOR = \"::\";\n\nexport const isMissingStr = (str: string | undefined | null) => {\n if (!str) return true;\n const s = str.trim().toLowerCase();\n return (\n s.includes(\"no equivalent\") || \n s === \"n/a\" || \n s === \"na\" || \n s === \"none\"\n );\n};\n\nexport const hasMeaningfulRedlineTags = (content: unknown): boolean => {\n if (typeof content !== \"string\" || !content) return false;\n const tagPattern = /<(updated|deleted|changed|change)\\b[^>]*>([\\s\\S]*?)<\\/\\1>/gi;\n let match: RegExpExecArray | null = null;\n while ((match = tagPattern.exec(content)) !== null) {\n const inner = match[2] ?? \"\";\n const innerText = inner.replace(/<[^>]*>/g, \"\").trim();\n if (innerText.length > 0) return true;\n }\n return false;\n};\n\nexport const stripRedlineTags = (content: unknown): string => {\n if (typeof content !== \"string\" || !content) return \"\";\n return content.replace(/<\\/?(updated|deleted|changed|change)\\b[^>]*>/gi, \"\");\n};\n\nexport const getLhsDeviationDisplayIndexes = (\n sections: SectionBlock[],\n leftDocId: string | undefined,\n deviationNumberRegistry: Record<string, number>,\n) => {\n const displayIndexes = new Map<string, number>();\n if (!leftDocId) return displayIndexes;\n\n const normalize = (value: unknown) => {\n const raw = hasMeaningfulRedlineTags(value)\n ? stripRedlineTags(value)\n : safeStringify(value || \"\");\n return safeStringify(raw).replace(/\\\\n/g, \"\\n\");\n };\n\n (sections || []).forEach((root) => {\n const registeredEntries = new Map<string, number>();\n\n const visit = (node: SectionBlock) => {\n if (!node) return;\n const content = normalize(node.content);\n const evaluationResults = node.evaluationResults?.length\n ? node.evaluationResults\n : node.evaluationResult\n ? [node.evaluationResult]\n : [];\n\n evaluationResults.forEach((evaluationResult: any) => {\n const registryNodeId =\n evaluationResult?.nodeId || node.nodeId || node.id;\n Object.entries(evaluationResult?.deviations || {}).forEach(\n ([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[leftDocId];\n const normalizedHighlight = normalize(highlight);\n if (\n !normalizedHighlight ||\n isMissingStr(highlight) ||\n !content.includes(normalizedHighlight)\n ) return;\n\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const registryIndex = deviationNumberRegistry[refId];\n if (registryIndex !== undefined && registryIndex !== null) {\n registeredEntries.set(refId, registryIndex);\n }\n },\n );\n });\n\n (node.subsections || []).forEach(visit);\n };\n\n visit(root);\n if (registeredEntries.size === 0) return;\n\n const firstIndex = Math.min(...Array.from(registeredEntries.values()));\n registeredEntries.forEach((registryIndex, refId) => {\n displayIndexes.set(refId, registryIndex - firstIndex + 1);\n });\n });\n\n return displayIndexes;\n};\n\nexport const extractDeviationScore = (evaluationResult: any, fallbackLabel?: any) => {\n if (!evaluationResult) return fallbackLabel;\n const score = evaluationResult.evaluation_output?.output_score \n ?? evaluationResult.evaluation_outputs?.output_score \n ?? evaluationResult.evaluation_outputs?.output_value \n ?? evaluationResult.output_score;\n return score ?? fallbackLabel ?? '';\n};\n\nexport const getBentArrowPath = (\n x1: number,\n y1: number,\n x2: number,\n y2: number,\n radius: number = 14,\n): string => {\n const midX = x1 + (x2 - x1) * 0.5;\n const dy = y2 - y1;\n\n if (Math.abs(dy) < 3) {\n return `M ${x1} ${y1} H ${x2}`;\n }\n\n const dir = dy > 0 ? 1 : -1;\n\n const r = Math.min(\n radius,\n Math.abs(dy) / 2,\n Math.abs(midX - x1) / 2,\n Math.abs(x2 - midX) / 2,\n );\n\n return [\n `M ${x1} ${y1}`,\n `H ${midX - r}`,\n `Q ${midX} ${y1} ${midX} ${y1 + dir * r}`,\n `V ${y2 - dir * r}`,\n `Q ${midX} ${y2} ${midX + r} ${y2}`,\n `H ${x2}`,\n ].join(\" \");\n};\n\nexport const smoothScrollTo = (\n element: HTMLElement,\n targetPosition: number,\n duration: number = 300,\n onComplete?: () => void,\n onProgress?: () => void,\n) => {\n const originalScrollBehavior = element.style.scrollBehavior;\n element.style.scrollBehavior = \"auto\";\n\n const startPosition = element.scrollTop;\n const distance = targetPosition - startPosition;\n let startTime: number | null = null;\n\n const easeOutCubic = (time: number, start: number, change: number, dur: number) => {\n time /= dur;\n time--;\n return change * (time * time * time + 1) + start;\n };\n\n const animation = (currentTime: number) => {\n if (startTime === null) startTime = currentTime;\n const timeElapsed = currentTime - startTime;\n \n if (timeElapsed < duration) {\n element.scrollTop = easeOutCubic(timeElapsed, startPosition, distance, duration);\n if (onProgress) onProgress();\n requestAnimationFrame(animation);\n } else {\n element.scrollTop = targetPosition;\n element.style.scrollBehavior = originalScrollBehavior;\n if (onProgress) onProgress();\n if (onComplete) onComplete();\n }\n };\n\n requestAnimationFrame(animation);\n};\n\nexport const escapeRegExp = (string: string) => {\n let escaped = string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n escaped = escaped.replace(/['’‘`]/g, \"['’‘`]\");\n escaped = escaped.replace(/[\"”“]/g, '[\"”“]');\n escaped = escaped.replace(/[-—–]/g, '[-—–]');\n escaped = escaped.replace(/\\s+/g, '\\\\s+');\n\n return escaped;\n};\n\nconst SEVERITY_ORDER = [\"#B91C1C\", \"#A16207\", \"#1D4ED8\", \"#000000\"];\n\nconst getColorSeverityRank = (color: string): number => {\n const idx = SEVERITY_ORDER.findIndex(\n c => c.toLowerCase() === color.toLowerCase()\n );\n return idx === -1 ? SEVERITY_ORDER.length : idx;\n};\n\nexport const getFirstDeviationColor = (evaluationResult: any): string => {\n const allColors: string[] = [];\n\n const deviationKeys = Object.keys(evaluationResult?.deviations || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of deviationKeys) {\n const color = evaluationResult?.deviations?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n const entryKeys = Object.keys(evaluationResult?.deviation_entries || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of entryKeys) {\n const color = evaluationResult?.deviation_entries?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n const numericKeys = Object.keys(evaluationResult || {})\n .filter(k => /^\\d+$/.test(k))\n .sort((a, b) => Number(a) - Number(b));\n for (const key of numericKeys) {\n const color = evaluationResult?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n if (allColors.length === 0) {\n if (evaluationResult?.evaluation_outputs?.metadata?.label_color) {\n return evaluationResult.evaluation_outputs.metadata.label_color;\n }\n return DEFAULT_DEVIAION_COLOR;\n }\n\n return allColors.sort(\n (a, b) => getColorSeverityRank(a) - getColorSeverityRank(b)\n )[0];\n};\n\nexport const getFirstDeviationOutputValue = (evaluationResult: any): string | null => {\n const deviationKeys = Object.keys(evaluationResult?.deviations || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of deviationKeys) {\n const value = evaluationResult?.deviations?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n const entryKeys = Object.keys(evaluationResult?.deviation_entries || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of entryKeys) {\n const value = evaluationResult?.deviation_entries?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n const numericKeys = Object.keys(evaluationResult || {})\n .filter(k => /^\\d+$/.test(k))\n .sort((a, b) => Number(a) - Number(b));\n for (const key of numericKeys) {\n const value = evaluationResult?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n if (evaluationResult?.evaluation_outputs?.output_value) {\n return evaluationResult.evaluation_outputs.output_value;\n }\n\n return null;\n};\n\nexport const mixHexColors = (hex1: string, hex2: string): string => {\n // Helper to convert hex to RGB array\n const hexToRgb = (hex: string) => {\n const cleanHex = hex.replace(\"#\", \"\");\n const r = parseInt(cleanHex.substring(0, 2), 16);\n const g = parseInt(cleanHex.substring(2, 4), 16);\n const b = parseInt(cleanHex.substring(4, 6), 16);\n return [r, g, b];\n };\n\n // Helper to convert RGB value back to 2-digit hex\n const toHex = (c: number) => {\n const hex = Math.round(c).toString(16);\n return hex.length === 1 ? \"0\" + hex : hex;\n };\n\n try {\n const rgb1 = hexToRgb(hex1);\n const rgb2 = hexToRgb(hex2);\n\n // Average the RGB values (Multiply by 0.95 to slightly darken the overlap for better visibility)\n const r = ((rgb1[0] + rgb2[0]) / 2) * 0.95;\n const g = ((rgb1[1] + rgb2[1]) / 2) * 0.95;\n const b = ((rgb1[2] + rgb2[2]) / 2) * 0.95;\n\n return `#${toHex(r)}${toHex(g)}${toHex(b)}`;\n } catch (e) {\n // Fallback to a default overlap color if invalid hex is passed\n return \"#FDE68A\"; \n }\n};\n\n// Recursively find the keyPath (e.g. \"2-1-0\") of a node by its id\n// path here is the running position string built up as we recurse deeper\nexport const recursivelyFindSubSectionIdxById = (\n node: any,\n path: string,\n targetId: string,\n): string | null => {\n if (!node) return null;\n if (node.id === targetId || node.nodeId === targetId || node.contentId === targetId) return path;\n if (!Array.isArray(node.subsections)) return null;\n\n for (let i = 0; i < node.subsections.length; i++) {\n const next = recursivelyFindSubSectionIdxById(\n node.subsections[i],\n `${path}-${i}`,\n targetId,\n );\n if (next) return next;\n }\n return null;\n};\n\nexport const findKeyPathByNodeId = (\n sections: SectionBlock[],\n nodeId: string,\n): string | null => {\n for (let i = 0; i < sections.length; i++) {\n const found = recursivelyFindSubSectionIdxById(\n sections[i],\n String(i),\n nodeId,\n );\n if (found) return found;\n }\n return null;\n};\n\nconst highlightTimeouts = new WeakMap<HTMLElement, number>();\n\nexport const resetClauseHighlight = (element: HTMLElement) => {\n if (!element) return;\n\n const timeoutId = highlightTimeouts.get(element);\n if (timeoutId != null) {\n clearTimeout(timeoutId);\n highlightTimeouts.delete(element);\n }\n\n element.style.transition = \"box-shadow 300ms ease-out, outline 300ms ease-out\";\n requestAnimationFrame(() => {\n element.style.outline = \"\";\n element.style.boxShadow = \"\";\n });\n window.setTimeout(() => {\n element.style.transition = \"\";\n element.style.borderRadius = \"\";\n }, 300);\n};\n\nexport const highlightClause = (element: HTMLElement) => {\n if (!element) return;\n\n const existingTimeout = highlightTimeouts.get(element);\n if (existingTimeout != null) {\n clearTimeout(existingTimeout);\n }\n\n element.style.transition = \"box-shadow 300ms ease-in-out, outline 300ms ease-in-out\";\n element.style.outline = \"2px solid #ff9494\";\n element.style.borderRadius = \"6px\";\n element.style.boxShadow = \"0 0 12px 2px rgba(244, 113, 113, 0.33)\";\n\n const timeoutId = window.setTimeout(() => {\n resetClauseHighlight(element);\n }, 3000);\n highlightTimeouts.set(element, timeoutId);\n};\n\nexport const scrollAndHighlightClause = (\n element: HTMLElement,\n scrollContainer: HTMLElement,\n) => {\n const containerRect = scrollContainer.getBoundingClientRect();\n const elementRect = element.getBoundingClientRect();\n\n const targetScrollTop =\n scrollContainer.scrollTop +\n elementRect.top -\n containerRect.top -\n containerRect.height / 2 +\n elementRect.height / 2;\n\n scrollContainer.scrollTo({ top: targetScrollTop, behavior: \"smooth\" });\n\n const doHighlight = () => highlightClause(element);\n\n const supportsScrollEnd =\n \"onscrollend\" in (scrollContainer as HTMLElement & { onscrollend?: unknown });\n\n if (supportsScrollEnd) {\n scrollContainer.addEventListener(\"scrollend\", doHighlight, { once: true });\n } else {\n let lastScrollTop = scrollContainer.scrollTop;\n const pollScroll = () => {\n if (scrollContainer.scrollTop === lastScrollTop) {\n doHighlight();\n } else {\n lastScrollTop = scrollContainer.scrollTop;\n requestAnimationFrame(pollScroll);\n }\n };\n requestAnimationFrame(pollScroll);\n }\n};\n\n\nexport const waitForElementVisible = (\n element: HTMLElement,\n onVisible: () => void,\n) => {\n if (element.getBoundingClientRect().height > 0) {\n requestAnimationFrame(onVisible);\n return;\n }\n\n const ro = new ResizeObserver((entries) => {\n for (const entry of entries) {\n if (entry.contentRect.height > 0) {\n ro.disconnect();\n requestAnimationFrame(onVisible);\n return;\n }\n }\n });\n\n ro.observe(element);\n};\n\n\nexport const scrollAndWait = (\n container: HTMLElement,\n top: number,\n callback: () => void\n) => {\n if (Math.abs(container.scrollTop - top) <= 2) {\n callback();\n return;\n }\n\n let called = false;\n let fallbackTimer: ReturnType<typeof setTimeout>;\n\n const fire = () => {\n if (called) return;\n called = true;\n clearTimeout(fallbackTimer);\n container.removeEventListener(\"scrollend\", handleScrollEnd);\n callback();\n };\n\n const handleScrollEnd = () => fire();\n\n container.addEventListener(\"scrollend\", handleScrollEnd);\n container.scrollTo({ top, behavior: \"smooth\" });\n fallbackTimer = setTimeout(fire, 800);\n};\n\nexport const waitForScrollIdle = (\n container: HTMLElement,\n idleMs = 100\n ): Promise<void> =>\n new Promise((resolve) => {\n let called = false;\n let timer: ReturnType<typeof setTimeout>;\n\n const fire = () => {\n if (called) return;\n called = true;\n container.removeEventListener(\"scroll\", onScroll);\n resolve();\n };\n\n const onScroll = () => {\n clearTimeout(timer);\n timer = setTimeout(fire, idleMs);\n };\n\n container.addEventListener(\"scroll\", onScroll);\n timer = setTimeout(fire, idleMs);\n });\n"],"names":["safeStringify","val","Array","isArray","map","join","JSON","stringify","String","hasValue","trim","length","some","v","getAlphabeticSuffix","index","value","suffix","ASCII_LOWER_A","fromCharCode","Math","floor","getRhsMappedSectionNumber","section","proposedSections","leftNums","fallbackNumber","firstOnly","id","mappedLabels","lhs","refIndexes","rhsPosition","findIndex","refIndex","selfIndex","baseNumber","get","filter","Boolean","hasSingleMappedLhsSection","includes","resolveComparisonInputItems","node","sideIndex","indexMap","contentMapping","sideUuid","rawInput","comparison_inputs","item","idx","mapped","contentId","data","attributes","additional_attributes","content_id","getSideData","items","first","title","content","change_history","subsections","allItems","getRationale","mapping_rationale","cognitiveData","decisioning","gap","relevance_score","isMissingRationale","citations","score","relation","rat","strength","parseInt","decision_strength","decisioning_factors","gaps_in_decision","generateColorPalette","hex","mixWithWhite","opacity","r","g","b","normalized","normalizeHex","replace","bigint","hexToRgb","x","toString","padStart","toUpperCase","rgbToHex","round","bg","border","badgeBg","badgeBorder","badgeText","highlightBg","debounce","func","delay","timeoutId","args","context","this","clearTimeout","setTimeout","apply","areMarkdownPropsEqual","prevProps","nextProps","overlayContent","sxStyles","maintainRelativeOrder","suppressHighlightBg","collisionKey","prevH","highlights","nextH","i","prevB","deviationBadges","nextB","actionId","label","isOrphan","isConnected","showScrollLockToggle","scrollSyncLocked","style","DEVIATION_BADGE_SEPARATOR","isMissingStr","str","s","toLowerCase","hasMeaningfulRedlineTags","tagPattern","match","exec","stripRedlineTags","getLhsDeviationDisplayIndexes","sections","leftDocId","deviationNumberRegistry","displayIndexes","Map","normalize","raw","forEach","root","registeredEntries","visit","evaluationResults","evaluationResult","registryNodeId","nodeId","Object","entries","deviations","deviationKey","deviationMap","highlight","normalizedHighlight","refId","registryIndex","set","size","firstIndex","min","from","values","extractDeviationScore","fallbackLabel","evaluation_output","output_score","evaluation_outputs","output_value","getBentArrowPath","x1","y1","x2","y2","radius","midX","dy","abs","dir","smoothScrollTo","element","targetPosition","duration","onComplete","onProgress","originalScrollBehavior","scrollBehavior","startPosition","scrollTop","distance","startTime","animation","currentTime","timeElapsed","time","requestAnimationFrame","SEVERITY_ORDER","getColorSeverityRank","color","c","getFirstDeviationColor","allColors","deviationKeys","keys","sort","a","Number","key","metadata","label_color","push","entryKeys","deviation_entries","numericKeys","k","test","DEFAULT_DEVIAION_COLOR","getFirstDeviationOutputValue","mixHexColors","hex1","hex2","cleanHex","substring","toHex","rgb1","rgb2","e","recursivelyFindSubSectionIdxById","path","targetId","next","findKeyPathByNodeId","found","highlightTimeouts","WeakMap","resetClauseHighlight","delete","transition","outline","boxShadow","window","borderRadius","highlightClause","existingTimeout","scrollAndHighlightClause","scrollContainer","containerRect","getBoundingClientRect","elementRect","targetScrollTop","top","height","scrollTo","behavior","doHighlight","addEventListener","once","lastScrollTop","pollScroll","scrollAndWait","container","callback","fallbackTimer","called","fire","removeEventListener","handleScrollEnd","waitForScrollIdle","idleMs","Promise","resolve","timer","onScroll"],"mappings":"wEAQa,MAAAA,EAAiBC,GACxBA,QAA0C,GAC3B,iBAARA,EAAyBA,EAChCC,MAAMC,QAAQF,GAAaA,EAAIG,IAAIJ,GAAeK,KAAK,QACxC,iBAARJ,EAAyBK,KAAKC,UAAUN,GAC5CO,OAAOP,GAIHQ,EAAYR,GACnBA,UACe,iBAARA,EAAyBA,EAAIS,OAAOC,OAAS,GACpDT,MAAMC,QAAQF,IAAaA,EAAIU,OAAS,GAAKV,EAAIW,KAAMC,GAAMJ,EAASI,KAI/DC,EAAuBC,IAClC,IAAIC,EAAQD,EAAQ,EAChBE,EAAS,GAEb,KAAOD,EAAQ,GAAG,CACPA,GAAA,EACT,MAAME,EAAgB,GACtBD,EAAST,OAAOW,aAAaD,EAAiBF,EAAQ,IAAOC,EACrDD,EAAAI,KAAKC,MAAML,EAAQ,GAC7B,CAEO,OAAAC,GAGIK,EAA4B,EACvCC,UACAC,mBACAC,WACAC,iBACAC,aAAY,MAQR,IAACJ,GAASK,GAAW,OAAAF,EAEzB,MAAMG,GAAgBL,GAAoB,IACvCpB,IAAK0B,IACE,MAAAC,EAAa7B,MAAMC,QAAQ2B,GAAKC,YAAcD,EAAIC,WAAa,GAC/DC,EAAcD,EAAWE,UAC5BC,GAAqBA,IAAaX,EAAQY,WAEzC,QAAAH,EAA2B,OAAA,KAE/B,MAAMI,EAAaN,GAAKF,GAAKH,EAASY,IAAIP,EAAIF,SAAM,EAChD,OAAc,MAAdQ,EAA2B,KAExBL,EAAWpB,OAAS,EACvB,GAAGyB,IAAatB,EAAoBkB,KACpCx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as i,Fragment as n,jsx as e}from"react/jsx-runtime";import{useMemo as t,useState as r,useCallback as a,useEffect as l}from"react";import{Box as c,Typography as s,IconButton as d,Tooltip as p}from"@mui/material";import{X as v}from"lucide-react";import x from"react-dom";import h from"../../assests/svg/SparkleIcon.js";import{SHARED_MARKDOWN_STYLES as u,DEFAULT_POPUP_CONFIG as g}from"./CognitiveCompareConfig.js";import b from"./CitationRenderer.js";var f=10,m=function(m){var y,w,F,k,C,S,D,_,E,R,z,W,I,T,j,A,B,L,H,M,O=m.open,G=m.onClose,N=m.sectionTitle,P=m.referenceSectionTitle,Y=m.cognitiveData,q=m.relevanceScore,J=m.anchorEl,K=m.badgeStyle,Q=m.popupRef,U=m.position,V=m.markdownStyles,X=m.docData,Z=m.popupConfig,$=m.deviationData,oo=void 0===$?null:$,io=m.isLoading,no=o(o({},u),V),eo=t(function(){var i,n;return o(o(o({},g),Z),{tabs:{deviation:o(o({},g.tabs.deviation),null===(i=null==Z?void 0:Z.tabs)||void 0===i?void 0:i.deviation),association:o(o({},g.tabs.association),null===(n=null==Z?void 0:Z.tabs)||void 0===n?void 0:n.association)},sectionTitles:o(o({},g.sectionTitles),null==Z?void 0:Z.sectionTitles)})},[Z]),to=null==Y?void 0:Y.isMissingRationale,ro=r(to?eo.tabs.deviation.key:eo.tabs.association.key),ao=ro[0],lo=ro[1],co=r(!1),so=co[0],po=co[1],vo=a(function(o){po(o)},[]);l(function(){O?lo(to?eo.tabs.deviation.key:eo.tabs.association.key):po(!1)},[O,to,eo.tabs.deviation.key,eo.tabs.association.key]);var xo=t(function(){if(!K)return{border:eo.accentColor,shadow:"".concat(eo.accentColor,"2E")};var o=K.badgeText;return"#9F1239"===o||"#B42318"===o?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===o?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===o?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:eo.accentColor,shadow:"".concat(eo.accentColor,"2E")}},[K,eo.accentColor]);l(function(){if(O&&!so){var o=function(o){var i;(null===(i=Q.current)||void 0===i?void 0:i.contains(o.target))||(null==J?void 0:J.contains(o.target))||G()};return document.addEventListener("mousedown",o),function(){return document.removeEventListener("mousedown",o)}}},[O,G,J,Q,so]);var ho=to?[]:[eo.tabs.deviation,eo.tabs.association];if(1===ho.length&&ho[0].key===eo.tabs.deviation.key)return null;if(!O||!Y)return null;var uo=null!==(F=null!==(w=ao===eo.tabs.deviation.key?null===(y=null==oo?void 0:oo.cognitive_decisioning)||void 0===y?void 0:y.decision_strength:Y.relevance_score)&&void 0!==w?w:q)&&void 0!==F?F:0,go=Y.decisioning,bo=Array.isArray(go)?go:"string"==typeof go&&go.trim()?[go]:[],fo=Y.gap,mo=Array.isArray(fo)?fo:"string"==typeof fo&&fo.trim()?[fo]:[],yo=U?U.left-150:-9999,wo=(null!==(k=null==U?void 0:U.arrowLeft)&&void 0!==k?k:60)+150,Fo=i(c,o({ref:Q,sx:{position:"fixed",top:null!==(C=null==U?void 0:U.top)&&void 0!==C?C:-9999,left:yo,zIndex:9999,width:"".concat(1050,"px"),maxWidth:"min(".concat(1050,"px, calc(100vw - ").concat(yo>0?yo:0,"px - ").concat(12,"px))"),bgcolor:"#FFFFFF",borderRadius:"14px",border:"1.5px solid ".concat(xo.border),boxShadow:"0px 8px 32px ".concat(xo.shadow,", 0px 0px 0px 3px ").concat(xo.shadow),overflow:"visible",display:"flex",flexDirection:"column",maxHeight:(null==U?void 0:U.maxHeight)?"min(60vh, ".concat(U.maxHeight,"px)"):"60vh",visibility:!so&&U?"visible":"hidden",pointerEvents:so?"none":"auto"}},{children:[U&&(U.openAbove?i(n,{children:[e(c,{sx:{position:"absolute",bottom:-11,left:wo-f,width:0,height:0,borderLeft:"".concat(f,"px solid transparent"),borderRight:"".concat(f,"px solid transparent"),borderTop:"".concat(11,"px solid ").concat(xo.border),zIndex:1}}),e(c,{sx:{position:"absolute",bottom:-9,left:wo-f+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderTop:"".concat(f,"px solid #FFFFFF"),zIndex:2}})]}):i(n,{children:[e(c,{sx:{position:"absolute",top:-11,left:wo-f,width:0,height:0,borderLeft:"".concat(f,"px solid transparent"),borderRight:"".concat(f,"px solid transparent"),borderBottom:"".concat(11,"px solid ").concat(xo.border),zIndex:1}}),e(c,{sx:{position:"absolute",top:-9,left:wo-f+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderBottom:"".concat(f,"px solid #FFFFFF"),zIndex:2}})]})),i(c,o({sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0}},{children:[i(c,o({sx:{flex:1,minWidth:0}},{children:[("no counterpart"!==N||"no counterpart"!==P)&&i(s,o({sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"}},{children:[e(c,o({component:"span",title:N,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0}},{children:N})),e(c,o({component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5}},{children:"↔"})),e(c,o({component:"span",title:P||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0}},{children:P||"Reference Section"}))]})),e(c,o({sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75}},{children:e(s,o({sx:{fontSize:"no counterpart"!==N||"no counterpart"!==P?"13px":"16px",fontWeight:400,color:"#5928ED",lineHeight:1}},{children:null===(S=Object.values(eo.tabs).find(function(o){return o.key===ao}))||void 0===S?void 0:S.subtitle}))}))]})),i(c,o({sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0}},{children:[i(c,o({sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"}},{children:[e(h,{}),eo.decisionStrengthLabel," ",uo,"%"]})),e(d,o({onClick:G,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}}},{children:e(v,{size:22})}))]}))]})),e(c,o({sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0}},{children:ho.map(function(i){var n=ao===i.key,t=i.key===eo.tabs.deviation.key,r=ho.length>1&&t&&io,a=e(c,o({onClick:function(){r||lo(i.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:r?"not-allowed":"pointer",opacity:r?.5:1,fontSize:"14px",fontWeight:n?600:400,color:n?eo.accentColor:"#667085",backgroundColor:n?"".concat(eo.accentColor,"14"):"transparent",borderBottom:n?"2px solid ".concat(eo.accentColor):"2px solid transparent",transition:"all 0.15s",userSelect:"none"}},{children:i.label}),i.key);return r?e(p,o({title:"Fetching deviation data",arrow:!0,placement:"top"},{children:e("span",{children:a})}),i.key):a})})),e(c,o({sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"".concat(xo.border,"55"),borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:xo.border},scrollbarWidth:"thin",scrollbarColor:"".concat(xo.border,"55 transparent")}},{children:ao===eo.tabs.deviation.key?oo?i(n,{children:[(null===(_=(null===(D=null==oo?void 0:oo.cognitive_decisioning)||void 0===D?void 0:D.decisioning_factors)||[])||void 0===_?void 0:_.length)>0&&e(b,{title:"Decision Making Factors",content:null===(R=null===(E=null==oo?void 0:oo.cognitive_decisioning)||void 0===E?void 0:E.decisioning_factors)||void 0===R?void 0:R.join("\n\n"),citations:null===(z=null==oo?void 0:oo.cognitive_decisioning)||void 0===z?void 0:z.citations,styles:no,docData:X,deviationData:oo,open:O,onCitationFullscreenChange:vo}),(null===(I=(null===(W=null==oo?void 0:oo.cognitive_decisioning)||void 0===W?void 0:W.gaps_in_decision)||[])||void 0===I?void 0:I.length)>0&&e(b,{title:"Gaps in Decision",content:null===(j=null===(T=null==oo?void 0:oo.cognitive_decisioning)||void 0===T?void 0:T.gaps_in_decision)||void 0===j?void 0:j.join("\n\n"),citations:null===(A=null==oo?void 0:oo.cognitive_decisioning)||void 0===A?void 0:A.citations,styles:no,docData:X,deviationData:oo,open:O,onCitationFullscreenChange:vo}),0===(null===(L=(null===(B=null==oo?void 0:oo.cognitive_decisioning)||void 0===B?void 0:B.decisioning_factors)||[])||void 0===L?void 0:L.length)&&0===(null===(M=(null===(H=null==oo?void 0:oo.cognitive_decisioning)||void 0===H?void 0:H.gaps_in_decision)||[])||void 0===M?void 0:M.length)&&e(c,o({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:e(s,o({sx:{fontSize:"13px",color:"#64748B"}},{children:"No cognitive decisioning data available for this section."}))}))]}):e(b,{title:"Deviation Analysis",content:"Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.",citations:{},styles:no,docData:X,open:O,onCitationFullscreenChange:vo}):i(n,{children:[bo.length>0&&e(b,{title:eo.sectionTitles.decisioningFactors,content:bo.join("\n\n"),citations:Y.citations,styles:no,open:O,docData:X,onCitationFullscreenChange:vo}),mo.length>0&&e(b,{title:eo.sectionTitles.gaps,content:mo.join("\n\n"),citations:Y.citations,styles:no,open:O,docData:X,onCitationFullscreenChange:vo}),0===bo.length&&0===mo.length&&e(c,o({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:e(s,o({sx:{fontSize:"13px",color:"#64748B"}},{children:eo.emptyStateMessage}))}))]})}))]}));return x.createPortal(Fo,document.body)};export{m as default};
1
+ import{jsxs as e,Fragment as t,jsx as i}from"react/jsx-runtime";import{useMemo as o,useState as n,useCallback as r,useEffect as a}from"react";import{Box as s,Typography as l,IconButton as c,Tooltip as d}from"@mui/material";import{X as p}from"lucide-react";import x from"react-dom";import h from"../../assests/svg/SparkleIcon.js";import{SHARED_MARKDOWN_STYLES as g,DEFAULT_POPUP_CONFIG as b}from"./CognitiveCompareConfig.js";import f from"./CitationRenderer.js";const m=10,u=({open:u,onClose:v,sectionTitle:y,referenceSectionTitle:w,cognitiveData:F,relevanceScore:k,anchorEl:C,badgeStyle:S,popupRef:D,position:_,markdownStyles:E,docData:R,popupConfig:z,deviationData:$=null,isLoading:W})=>{const I={...g,...E},T=o(()=>({...b,...z,tabs:{deviation:{...b.tabs.deviation,...z?.tabs?.deviation},association:{...b.tabs.association,...z?.tabs?.association}},sectionTitles:{...b.sectionTitles,...z?.sectionTitles}}),[z]),j=F?.isMissingRationale,[A,B]=n(j?T.tabs.deviation.key:T.tabs.association.key),[L,H]=n(!1),M=r(e=>{H(e)},[]);a(()=>{u?B(j?T.tabs.deviation.key:T.tabs.association.key):H(!1)},[u,j,T.tabs.deviation.key,T.tabs.association.key]);const O=o(()=>{if(!S)return{border:T.accentColor,shadow:`${T.accentColor}2E`};const e=S.badgeText;return"#9F1239"===e||"#B42318"===e?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===e?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===e?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:T.accentColor,shadow:`${T.accentColor}2E`}},[S,T.accentColor]);a(()=>{if(!u||L)return;const e=e=>{D.current?.contains(e.target)||C?.contains(e.target)||v()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u,v,C,D,L]);const G=j?[]:[T.tabs.deviation,T.tabs.association];if(1===G.length&&G[0].key===T.tabs.deviation.key)return null;if(!u||!F)return null;const N=(A===T.tabs.deviation.key?$?.cognitive_decisioning?.decision_strength:F.relevance_score)??k??0,P=F.decisioning,Y=Array.isArray(P)?P:"string"==typeof P&&P.trim()?[P]:[],q=F.gap,J=Array.isArray(q)?q:"string"==typeof q&&q.trim()?[q]:[],K=_?_.left-150:-9999,Q=(_?.arrowLeft??60)+150,U=e(s,{ref:D,sx:{position:"fixed",top:_?.top??-9999,left:K,zIndex:9999,width:"1050px",maxWidth:`min(1050px, calc(100vw - ${K>0?K:0}px - 12px))`,bgcolor:"#FFFFFF",borderRadius:"14px",border:`1.5px solid ${O.border}`,boxShadow:`0px 8px 32px ${O.shadow}, 0px 0px 0px 3px ${O.shadow}`,overflow:"visible",display:"flex",flexDirection:"column",maxHeight:_?.maxHeight?`min(60vh, ${_.maxHeight}px)`:"60vh",visibility:!L&&_?"visible":"hidden",pointerEvents:L?"none":"auto"},children:[_&&(_.openAbove?e(t,{children:[i(s,{sx:{position:"absolute",bottom:-11,left:Q-m,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderTop:`11px solid ${O.border}`,zIndex:1}}),i(s,{sx:{position:"absolute",bottom:-9,left:Q-m+1,width:0,height:0,borderLeft:"9px solid transparent",borderRight:"9px solid transparent",borderTop:"10px solid #FFFFFF",zIndex:2}})]}):e(t,{children:[i(s,{sx:{position:"absolute",top:-11,left:Q-m,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderBottom:`11px solid ${O.border}`,zIndex:1}}),i(s,{sx:{position:"absolute",top:-9,left:Q-m+1,width:0,height:0,borderLeft:"9px solid transparent",borderRight:"9px solid transparent",borderBottom:"10px solid #FFFFFF",zIndex:2}})]})),e(s,{sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0},children:[e(s,{sx:{flex:1,minWidth:0},children:[("no counterpart"!==y||"no counterpart"!==w)&&e(l,{sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"},children:[i(s,{component:"span",title:y,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0},children:y}),i(s,{component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5},children:"↔"}),i(s,{component:"span",title:w||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0},children:w||"Reference Section"})]}),i(s,{sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75},children:i(l,{sx:{fontSize:"no counterpart"!==y||"no counterpart"!==w?"13px":"16px",fontWeight:400,color:"#5928ED",lineHeight:1},children:Object.values(T.tabs).find(e=>e.key===A)?.subtitle})})]}),e(s,{sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0},children:[e(s,{sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"},children:[i(h,{}),T.decisionStrengthLabel," ",N,"%"]}),i(c,{onClick:v,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}},children:i(p,{size:22})})]})]}),i(s,{sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0},children:G.map(e=>{const t=A===e.key,o=e.key===T.tabs.deviation.key,n=G.length>1&&o&&W,r=i(s,{onClick:()=>{n||B(e.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:n?"not-allowed":"pointer",opacity:n?.5:1,fontSize:"14px",fontWeight:t?600:400,color:t?T.accentColor:"#667085",backgroundColor:t?`${T.accentColor}14`:"transparent",borderBottom:t?`2px solid ${T.accentColor}`:"2px solid transparent",transition:"all 0.15s",userSelect:"none"},children:e.label},e.key);return n?i(d,{title:"Fetching deviation data",arrow:!0,placement:"top",children:i("span",{children:r})},e.key):r})}),i(s,{sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:`${O.border}55`,borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:O.border},scrollbarWidth:"thin",scrollbarColor:`${O.border}55 transparent`},children:A===T.tabs.deviation.key?$?e(t,{children:[($?.cognitive_decisioning?.decisioning_factors||[])?.length>0&&i(f,{title:"Decision Making Factors",content:$?.cognitive_decisioning?.decisioning_factors?.join("\n\n"),citations:$?.cognitive_decisioning?.citations,styles:I,docData:R,deviationData:$,open:u,onCitationFullscreenChange:M}),($?.cognitive_decisioning?.gaps_in_decision||[])?.length>0&&i(f,{title:"Gaps in Decision",content:$?.cognitive_decisioning?.gaps_in_decision?.join("\n\n"),citations:$?.cognitive_decisioning?.citations,styles:I,docData:R,deviationData:$,open:u,onCitationFullscreenChange:M}),0===($?.cognitive_decisioning?.decisioning_factors||[])?.length&&0===($?.cognitive_decisioning?.gaps_in_decision||[])?.length&&i(s,{sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"},children:i(l,{sx:{fontSize:"13px",color:"#64748B"},children:"No cognitive decisioning data available for this section."})})]}):i(f,{title:"Deviation Analysis",content:"Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.",citations:{},styles:I,docData:R,open:u,onCitationFullscreenChange:M}):e(t,{children:[Y.length>0&&i(f,{title:T.sectionTitles.decisioningFactors,content:Y.join("\n\n"),citations:F.citations,styles:I,open:u,docData:R,onCitationFullscreenChange:M}),J.length>0&&i(f,{title:T.sectionTitles.gaps,content:J.join("\n\n"),citations:F.citations,styles:I,open:u,docData:R,onCitationFullscreenChange:M}),0===Y.length&&0===J.length&&i(s,{sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"},children:i(l,{sx:{fontSize:"13px",color:"#64748B"},children:T.emptyStateMessage})})]})})]});return x.createPortal(U,document.body)};export{u as default};
2
2
  //# sourceMappingURL=CognitivePopup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitivePopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitivePopup.js","sources":["../../../src/features/CognitiveCompare/CognitivePopup.tsx"],"sourcesContent":["import React, { useState, useEffect, useMemo, useCallback } from \"react\";\nimport { Box, Typography, IconButton, Tooltip } from \"@mui/material\";\nimport { X } from \"lucide-react\";\nimport ReactDOM from \"react-dom\";\nimport SparkleIcon from \"../../assests/svg/SparkleIcon\";\nimport ReactMarkdown from \"react-markdown\";\nimport CitationAnchor from \"./CitationAnchor\";\nimport {\n CognitivePopupConfig,\n CognitivePopupProps,\n} from \"./CognitiveCompareTypes\";\nimport { DEFAULT_POPUP_CONFIG, SHARED_MARKDOWN_STYLES } from \"./CognitiveCompareConfig\";\nimport CitationRenderer from \"./CitationRenderer\";\n\n// ─── CognitivePopup ───────────────────────────────────────────────────────────\n\nconst POPUP_WIDTH = 1050;\nconst LEFT_OFFSET = 150;\nconst VIEWPORT_MARGIN = 12;\nconst ARROW_SIZE = 10;\n\nconst CognitivePopup: React.FC<\n CognitivePopupProps & { popupConfig?: CognitivePopupConfig }\n> = ({\n open,\n onClose,\n sectionTitle,\n referenceSectionTitle,\n cognitiveData,\n relevanceScore,\n anchorEl,\n badgeStyle,\n popupRef,\n position,\n markdownStyles,\n docData,\n popupConfig,\n deviationData = null,\n isLoading\n}) => {\n const resolvedMarkdownStyles = {\n ...SHARED_MARKDOWN_STYLES,\n ...markdownStyles,\n };\n const cfg = useMemo(() => ({\n ...DEFAULT_POPUP_CONFIG,\n ...popupConfig,\n tabs: {\n deviation: { ...DEFAULT_POPUP_CONFIG.tabs.deviation, ...popupConfig?.tabs?.deviation },\n association: { ...DEFAULT_POPUP_CONFIG.tabs.association, ...popupConfig?.tabs?.association },\n },\n sectionTitles: { ...DEFAULT_POPUP_CONFIG.sectionTitles, ...popupConfig?.sectionTitles },\n }), [popupConfig]);\n \n const isMissingRationale = (cognitiveData as any)?.isMissingRationale;\n const [activeTab, setActiveTab] = useState<string>(\n isMissingRationale ? cfg.tabs.deviation.key : cfg.tabs.association.key,\n );\n const [isCitationFullscreenOpen, setIsCitationFullscreenOpen] = useState(false);\n\n const handleCitationFullscreenChange = useCallback((isFullscreen: boolean) => {\n setIsCitationFullscreenOpen(isFullscreen);\n }, []);\n\n useEffect(() => {\n if (open) {\n setActiveTab(\n isMissingRationale ? cfg.tabs.deviation.key : cfg.tabs.association.key,\n );\n } else {\n setIsCitationFullscreenOpen(false);\n }\n }, [\n open,\n isMissingRationale,\n cfg.tabs.deviation.key,\n cfg.tabs.association.key,\n ]);\n // ── Glow colour ────────────────────────────────────────────────────────────\n const glow = useMemo(() => {\n if (!badgeStyle)\n return { border: cfg.accentColor, shadow: `${cfg.accentColor}2E` }; // 2E ≈ 18% opacity\n const t = badgeStyle.badgeText;\n if (t === \"#9F1239\" || t === \"#B42318\")\n return { border: \"#E11D48\", shadow: \"rgba(225,29,72,0.15)\" };\n if (t === \"#1D4ED8\")\n return { border: \"#3B82F6\", shadow: \"rgba(59,130,246,0.15)\" };\n if (t === \"#A16207\")\n return { border: \"#F59E0B\", shadow: \"rgba(245,158,11,0.15)\" };\n return { border: cfg.accentColor, shadow: `${cfg.accentColor}2E` };\n }, [badgeStyle, cfg.accentColor]);\n\n useEffect(() => {\n if (!open || isCitationFullscreenOpen) return;\n const onMouseDown = (e: MouseEvent) => {\n if (\n popupRef.current?.contains(e.target as Node) ||\n anchorEl?.contains(e.target as Node)\n )\n return;\n onClose();\n };\n document.addEventListener(\"mousedown\", onMouseDown);\n return () => document.removeEventListener(\"mousedown\", onMouseDown);\n }, [open, onClose, anchorEl, popupRef, isCitationFullscreenOpen]);\n\n const visibleTabs = !isMissingRationale\n ? [cfg.tabs.deviation, cfg.tabs.association]\n : [];\n\n const hasOnlyDeviationTab =\n visibleTabs.length === 1 &&\n visibleTabs[0].key === cfg.tabs.deviation.key;\n\n // Prevent popup open when only deviation exists\n if (hasOnlyDeviationTab) return null;\n\n if (!open || !cognitiveData) return null;\n\n const score = (activeTab === cfg.tabs.deviation.key ? deviationData?.cognitive_decisioning?.decision_strength : cognitiveData.relevance_score) ?? relevanceScore ?? 0;\n\n const decisioningRaw = cognitiveData.decisioning;\n const decisioningPoints = Array.isArray(decisioningRaw)\n ? decisioningRaw\n : typeof decisioningRaw === \"string\" && decisioningRaw.trim()\n ? [decisioningRaw]\n : [];\n const gapRaw = cognitiveData.gap;\n const gapPoints = Array.isArray(gapRaw)\n ? gapRaw\n : typeof gapRaw === \"string\" && gapRaw.trim()\n ? [gapRaw]\n : [];\n\n // ── Popup node ─────────────────────────────────────────────────────────────\n const calculatedLeft = position ? position.left - LEFT_OFFSET : -9999;\n const al = (position?.arrowLeft ?? 60) + LEFT_OFFSET;\n\n const popupNode = (\n <Box\n ref={popupRef}\n sx={{\n position: \"fixed\",\n top: position?.top ?? -9999,\n left: calculatedLeft,\n zIndex: 9999,\n width: `${POPUP_WIDTH}px`, \n maxWidth: `min(${POPUP_WIDTH}px, calc(100vw - ${calculatedLeft > 0 ? calculatedLeft : 0}px - ${VIEWPORT_MARGIN}px))`,\n bgcolor: \"#FFFFFF\",\n borderRadius: \"14px\",\n border: `1.5px solid ${glow.border}`,\n boxShadow: `0px 8px 32px ${glow.shadow}, 0px 0px 0px 3px ${glow.shadow}`,\n overflow: \"visible\",\n display: \"flex\",\n flexDirection: \"column\",\n // maxHeight: \"60vh\",\n maxHeight: position?.maxHeight\n ? `min(60vh, ${position.maxHeight}px)`\n : \"60vh\",\n\n visibility: !isCitationFullscreenOpen && position ? \"visible\" : \"hidden\",\n pointerEvents: isCitationFullscreenOpen ? \"none\" : \"auto\",\n }}\n >\n {position &&\n (position.openAbove ? (\n <>\n <Box\n sx={{\n position: \"absolute\",\n bottom: -(ARROW_SIZE + 1),\n left: al - ARROW_SIZE,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE}px solid transparent`,\n borderRight: `${ARROW_SIZE}px solid transparent`,\n borderTop: `${ARROW_SIZE + 1}px solid ${glow.border}`,\n zIndex: 1,\n }}\n />\n <Box\n sx={{\n position: \"absolute\",\n bottom: -(ARROW_SIZE - 1),\n left: al - ARROW_SIZE + 1,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE - 1}px solid transparent`,\n borderRight: `${ARROW_SIZE - 1}px solid transparent`,\n borderTop: `${ARROW_SIZE}px solid #FFFFFF`,\n zIndex: 2,\n }}\n />\n </>\n ) : (\n <>\n <Box\n sx={{\n position: \"absolute\",\n top: -(ARROW_SIZE + 1),\n left: al - ARROW_SIZE,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE}px solid transparent`,\n borderRight: `${ARROW_SIZE}px solid transparent`,\n borderBottom: `${ARROW_SIZE + 1}px solid ${glow.border}`,\n zIndex: 1,\n }}\n />\n <Box\n sx={{\n position: \"absolute\",\n top: -(ARROW_SIZE - 1),\n left: al - ARROW_SIZE + 1,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE - 1}px solid transparent`,\n borderRight: `${ARROW_SIZE - 1}px solid transparent`,\n borderBottom: `${ARROW_SIZE}px solid #FFFFFF`,\n zIndex: 2,\n }}\n />\n </>\n ))}\n <Box\n sx={{\n px: 2.5,\n pt: 2,\n pb: 1.5,\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"space-between\",\n gap: 2,\n flexShrink: 0,\n }}\n >\n <Box sx={{ flex: 1, minWidth: 0 }}>\n {(sectionTitle !== 'no counterpart' || referenceSectionTitle !== 'no counterpart') && (\n <Typography\n sx={{\n fontSize: \"16px\",\n fontWeight: 600,\n color: \"#101828\",\n lineHeight: 1.3,\n display: \"flex\",\n alignItems: \"center\",\n gap: 1,\n flexWrap: \"nowrap\",\n overflow: \"hidden\",\n width: \"100%\",\n }}\n >\n <Box\n component=\"span\"\n title={sectionTitle}\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n flex: \"0 1 auto\",\n maxWidth: \"calc(50% - 16px)\",\n minWidth: 0,\n }}\n >\n {sectionTitle}\n </Box>\n <Box\n component=\"span\"\n sx={{ color: \"#667085\", fontWeight: 400, flexShrink: 0, mx: 0.5 }}\n >\n ↔\n </Box>\n <Box\n component=\"span\"\n title={referenceSectionTitle || \"Reference Section\"}\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n flex: 1,\n minWidth: 0,\n }}\n >\n {referenceSectionTitle || \"Reference Section\"}\n </Box>\n </Typography>\n )}\n <Box\n sx={{\n mt: 0.75,\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 0.75,\n }}\n >\n <Typography\n sx={{\n fontSize: (sectionTitle !== 'no counterpart' || referenceSectionTitle !== 'no counterpart') ? \"13px\" : \"16px\",\n fontWeight: 400,\n color: \"#5928ED\",\n lineHeight: 1,\n }}\n >\n {\n Object.values(cfg.tabs).find((t) => t.key === activeTab)\n ?.subtitle\n }\n </Typography>\n </Box>\n </Box>\n\n <Box\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 1.5,\n flexShrink: 0,\n }}\n >\n <Box\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"5px\",\n px: 1.5,\n py: 0.5,\n borderRadius: \"20px\",\n bgcolor: \"#FFFFFF\",\n border: \"1px solid #5928ED\",\n fontSize: \"12px\",\n fontWeight: 600,\n color: \"#5928ED\",\n }}\n >\n <SparkleIcon />\n {cfg.decisionStrengthLabel} {score}%\n </Box>\n <IconButton\n onClick={onClose}\n size=\"small\"\n sx={{\n color: \"#667085\",\n width: 24,\n height: 24,\n \"&:hover\": { bgcolor: \"transparent\", color: \"#101828\" },\n }}\n >\n <X size={22} />\n </IconButton>\n </Box>\n </Box>\n\n {/* ── Tabs (flexShrink: 0 — never shrinks) ── */}\n {/* ── Tabs ── */}\n <Box\n sx={{\n display: \"flex\",\n borderBottom: \"1px solid #E4E7EC\",\n px: 2.5,\n flexShrink: 0,\n }}\n >\n {visibleTabs.map((tab) => {\n const isActive = activeTab === tab.key;\n\n const isDeviationTab = tab.key === cfg.tabs.deviation.key;\n\n const shouldDisableDeviationSelection =\n visibleTabs.length > 1 &&\n isDeviationTab &&\n isLoading;\n\n const tabNode = (\n <Box\n key={tab.key}\n onClick={() => {\n if (shouldDisableDeviationSelection) return;\n setActiveTab(tab.key);\n }}\n sx={{\n pb: \"10px\",\n pt: \"4px\",\n mr: 3,\n px: 2,\n cursor: shouldDisableDeviationSelection\n ? \"not-allowed\"\n : \"pointer\",\n opacity: shouldDisableDeviationSelection ? 0.5 : 1,\n fontSize: \"14px\",\n fontWeight: isActive ? 600 : 400,\n color: isActive ? cfg.accentColor : \"#667085\",\n backgroundColor: isActive\n ? `${cfg.accentColor}14`\n : \"transparent\",\n borderBottom: isActive\n ? `2px solid ${cfg.accentColor}`\n : \"2px solid transparent\",\n transition: \"all 0.15s\",\n userSelect: \"none\",\n }}\n >\n {tab.label}\n </Box>\n );\n\n return shouldDisableDeviationSelection ? (\n <Tooltip\n key={tab.key}\n title=\"Fetching deviation data\"\n arrow\n placement=\"top\"\n >\n <span>{tabNode}</span>\n </Tooltip>\n ) : (\n tabNode\n );\n })}\n </Box>\n {/* Content */}\n <Box\n sx={{\n flex: 1,\n minHeight: 0,\n overflowY: \"auto\",\n px: 2.5,\n py: 2,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 1.5,\n \"&::-webkit-scrollbar\": { width: \"6px\" },\n \"&::-webkit-scrollbar-track\": { background: \"transparent\" },\n \"&::-webkit-scrollbar-thumb\": {\n background: `${glow.border}55`,\n borderRadius: \"10px\",\n },\n \"&::-webkit-scrollbar-thumb:hover\": { background: glow.border },\n scrollbarWidth: \"thin\",\n scrollbarColor: `${glow.border}55 transparent`,\n }}\n >\n {activeTab === cfg.tabs.deviation.key ? (\n deviationData ?\n <>\n {(deviationData?.cognitive_decisioning?.decisioning_factors || [])?.length > 0 && (\n <CitationRenderer\n title=\"Decision Making Factors\"\n content={deviationData?.cognitive_decisioning?.decisioning_factors?.join(\"\\n\\n\")}\n citations={deviationData?.cognitive_decisioning?.citations}\n styles={resolvedMarkdownStyles} \n docData={docData} \n deviationData={deviationData}\n open={open} \n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {(deviationData?.cognitive_decisioning?.gaps_in_decision || [])?.length > 0 && (\n <CitationRenderer\n title=\"Gaps in Decision\"\n content={deviationData?.cognitive_decisioning?.gaps_in_decision?.join(\"\\n\\n\")}\n citations={deviationData?.cognitive_decisioning?.citations}\n styles={resolvedMarkdownStyles}\n docData={docData}\n deviationData={deviationData}\n open={open}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n {(deviationData?.cognitive_decisioning?.decisioning_factors || [])?.length === 0 && (deviationData?.cognitive_decisioning?.gaps_in_decision || [])?.length === 0 && (\n <Box\n sx={{\n p: 2,\n bgcolor: \"#F8FAFC\",\n borderRadius: \"8px\",\n border: \"1px solid #E2E8F0\",\n }}\n >\n <Typography sx={{ fontSize: \"13px\", color: \"#64748B\" }}>\n No cognitive decisioning data available for this section.\n </Typography>\n </Box>\n )}\n </>:\n <CitationRenderer\n title={`Deviation Analysis`}\n content={`Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.`}\n citations={{}}\n styles={resolvedMarkdownStyles} \n docData={docData} \n open={open} \n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n ) : (\n <>\n {decisioningPoints.length > 0 && (\n <CitationRenderer\n title={cfg.sectionTitles.decisioningFactors}\n content={decisioningPoints.join(\"\\n\\n\")}\n citations={cognitiveData.citations}\n styles={resolvedMarkdownStyles} \n open={open}\n docData={docData}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {gapPoints.length > 0 && (\n <CitationRenderer\n title={cfg.sectionTitles.gaps}\n content={gapPoints.join(\"\\n\\n\")}\n citations={cognitiveData.citations}\n styles={resolvedMarkdownStyles}\n open={open}\n docData={docData}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {decisioningPoints.length === 0 && gapPoints.length === 0 && (\n <Box\n sx={{\n p: 2,\n bgcolor: \"#F8FAFC\",\n borderRadius: \"8px\",\n border: \"1px solid #E2E8F0\",\n }}\n >\n {/* ── Dynamic empty state ── */}\n <Typography sx={{ fontSize: \"13px\", color: \"#64748B\" }}>\n {cfg.emptyStateMessage}\n </Typography>\n </Box>\n )}\n </>\n )}\n </Box>\n </Box>\n );\n\n return ReactDOM.createPortal(popupNode, document.body);\n};\n\nexport default CognitivePopup;\n"],"names":["ARROW_SIZE","CognitivePopup","open","onClose","sectionTitle","referenceSectionTitle","cognitiveData","relevanceScore","anchorEl","badgeStyle","popupRef","position","markdownStyles","docData","popupConfig","deviationData","isLoading","resolvedMarkdownStyles","SHARED_MARKDOWN_STYLES","cfg","useMemo","DEFAULT_POPUP_CONFIG","tabs","deviation","association","sectionTitles","isMissingRationale","activeTab","setActiveTab","useState","key","isCitationFullscreenOpen","setIsCitationFullscreenOpen","handleCitationFullscreenChange","useCallback","isFullscreen","useEffect","glow","border","accentColor","shadow","t","badgeText","onMouseDown","e","current","contains","target","document","addEventListener","removeEventListener","visibleTabs","length","score","cognitive_decisioning","decision_strength","relevance_score","decisioningRaw","decisioning","decisioningPoints","Array","isArray","trim","gapRaw","gap","gapPoints","calculatedLeft","left","al","arrowLeft","popupNode","jsxs","Box","ref","sx","top","zIndex","width","maxWidth","bgcolor","borderRadius","boxShadow","overflow","display","flexDirection","maxHeight","visibility","pointerEvents","children","openAbove","Fragment","jsx","bottom","height","borderLeft","borderRight","borderTop","borderBottom","px","pt","pb","alignItems","justifyContent","flexShrink","flex","minWidth","Typography","fontSize","fontWeight","color","lineHeight","flexWrap","component","title","textOverflow","whiteSpace","mx","mt","Object","values","find","subtitle","py","SparkleIcon","decisionStrengthLabel","IconButton","onClick","size","X","map","tab","isActive","isDeviationTab","shouldDisableDeviationSelection","tabNode","mr","cursor","opacity","backgroundColor","transition","userSelect","label","Tooltip","arrow","placement","minHeight","overflowY","background","scrollbarWidth","scrollbarColor","decisioning_factors","CitationRenderer","content","join","citations","styles","onCitationFullscreenChange","gaps_in_decision","p","decisioningFactors","gaps","emptyStateMessage","ReactDOM","createPortal","body"],"mappings":"6cAgBA,MAGMA,EAAa,GAEbC,EAEF,EACFC,OACAC,UACAC,eACAC,wBACAC,gBACAC,iBACAC,WACAC,aACAC,WACAC,WACAC,iBACAC,UACAC,cACAC,gBAAgB,KAChBC,gBAEA,MAAMC,EAAyB,IAC1BC,KACAN,GAECO,EAAMC,EAAQ,KAAO,IACtBC,KACAP,EACHQ,KAAM,CACJC,UAAW,IAAKF,EAAqBC,KAAKC,aAAcT,GAAaQ,MAAMC,WAC3EC,YAAa,IAAKH,EAAqBC,KAAKE,eAAgBV,GAAaQ,MAAME,cAEjFC,cAAe,IAAKJ,EAAqBI,iBAAkBX,GAAaW,iBACtE,CAACX,IAECY,EAAsBpB,GAAuBoB,oBAC5CC,EAAWC,GAAgBC,EAChCH,EAAqBP,EAAIG,KAAKC,UAAUO,IAAMX,EAAIG,KAAKE,YAAYM,MAE9DC,EAA0BC,GAA+BH,GAAS,GAEnEI,EAAiCC,EAAaC,IAClDH,EAA4BG,IAC3B,IAEHC,EAAU,KACJlC,EACF0B,EACEF,EAAqBP,EAAIG,KAAKC,UAAUO,IAAMX,EAAIG,KAAKE,YAAYM,KAGrEE,GAA4B,IAE7B,CACD9B,EACAwB,EACAP,EAAIG,KAAKC,UAAUO,IACnBX,EAAIG,KAAKE,YAAYM,MAGjB,MAAAO,EAAOjB,EAAQ,KACnB,IAAKX,EACI,MAAA,CAAE6B,OAAQnB,EAAIoB,YAAaC,OAAQ,GAAGrB,EAAIoB,iBACnD,MAAME,EAAIhC,EAAWiC,UACjB,MAAM,YAAND,GAAyB,YAANA,EACd,CA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AAmB,EAAA,CAAAF,SAAA,CAAA7B,EAAkBP,OAAS,GACxBuC,EAAC4D,EAAA,CACCtC,MAAO9F,EAAIM,cAAcsI,mBACzBP,QAAS7F,EAAkB8F,KAAK,QAChCC,UAAWpJ,EAAcoJ,UACzBC,OAAQ1I,EACRf,OACAW,UACA+I,2BAA4B3H,IAI/BgC,EAAUb,OAAS,GAClBuC,EAAC4D,EAAA,CACCtC,MAAO9F,EAAIM,cAAcuI,KACzBR,QAASvF,EAAUwF,KAAK,QACxBC,UAAWpJ,EAAcoJ,UACzBC,OAAQ1I,EACRf,OACAW,UACA+I,2BAA4B3H,IAIF,IAA7B0B,EAAkBP,QAAqC,IAArBa,EAAUb,QAC3CuC,EAACnB,EAAA,CACCE,GAAI,CACFoF,EAAG,EACH/E,QAAS,UACTC,aAAc,MACd1C,OAAQ,qBAIVkD,SAAAG,EAACe,EAAW,CAAAhC,GAAI,CAAEiC,SAAU,OAAQE,MAAO,WACxCrB,SAAArE,EAAI8I,8BAUrB,OAAOC,EAASC,aAAa7F,EAAWtB,SAASoH"}
@@ -1,2 +1,2 @@
1
- import{createContext as r,useContext as e}from"react";var o=r(null),t=o.Provider,n=function(){var r=e(o);if(!r)throw new Error("useCompareContext must be used within CompareContextProvider");return r};export{t as CompareContextProvider,n as useCompareContext};
1
+ import{createContext as r,useContext as e}from"react";const o=r(null),t=o.Provider,n=()=>{const r=e(o);if(!r)throw new Error("useCompareContext must be used within CompareContextProvider");return r};export{t as CompareContextProvider,n as useCompareContext};
2
2
  //# sourceMappingURL=CompareContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CompareContext.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CompareContext.js","sources":["../../../src/features/CognitiveCompare/CompareContext.tsx"],"sourcesContent":["import React, { createContext, useContext } from \"react\";\nimport { GptWebCitationConfig, IDisplayConfig, SectionBlock, StyleVariant } from \"./CognitiveCompareTypes\";\n\nexport type UnifiedNumbering = {\n leftNums: Map<string, number>;\n rightNums: Map<string, string>;\n};\n\nexport type CompareContextValue = {\n isGuidelineMode: boolean;\n maintainRelativeOrder: boolean;\n showDeviationBadges: boolean;\n isProposingFix?: boolean;\n proposingFixNodeId?: string;\n isRedlineFlow?: boolean;\n isSideBySide: boolean;\n activeSideBySideSection: number | string | null;\n scrollSyncLocked: boolean;\n toggleScrollSyncLocked: (e?: React.MouseEvent) => void;\n summaryPopupAnchorEl: HTMLElement | null;\n connectedSections: Set<number | string>;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n deviationNumberRegistry: Record<string, number>;\n deviationParentRegistry: Record<string, unknown>;\n treeData: Record<string, any> | null | undefined;\n displayConfig: IDisplayConfig;\n resolvedMarkdownStyles: Record<string, any>;\n unifiedNumbering: UnifiedNumbering;\n expandedSections: Record<string, boolean>;\n expandedSubSections: Record<string, boolean>;\n setExpandedSubSections: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;\n getSectionCompareStyle: (idx: number, side?: \"left\" | \"right\") => StyleVariant | null;\n getSubSectionCompareStyle: (path: string) => StyleVariant | null;\n getBadgeRef: (side: \"left\" | \"right\", id: string) => React.RefObject<HTMLDivElement>;\n getSectionRowRef: (idx: string | number) => React.RefObject<HTMLDivElement>;\n getSubSectionRef: (side: \"left\" | \"right\", path: string) => React.RefObject<HTMLDivElement>;\n sectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n openMoreFunctionsPopup: (\n e: React.MouseEvent,\n baseSec: SectionBlock,\n isOrphan: boolean,\n refSec: SectionBlock,\n id: string | number,\n style?: StyleVariant | null,\n ) => void;\n handleOpenSummaryPopup: (\n e: React.MouseEvent,\n actionId: string,\n isOrphan: boolean,\n summary: any,\n displayImpact?: boolean,\n ) => void;\n openSummaryPopup: (\n e: React.MouseEvent,\n actionId: string,\n isOrphan: boolean,\n summary: any,\n ) => void;\n handleCloseSummaryPopup: () => void;\n toggleSection: (idx: number, columnKey: \"left\" | \"right\") => void;\n handleSubSectionToggle: (keyPath: string) => void;\n renderSubSectionAccordion: (args: {\n section: SectionBlock;\n keyPath: string;\n depth: number;\n columnKey: \"left\" | \"right\";\n parentNodeId: string;\n sectionOffset?: number;\n rhsOrphanVisualIndexes?: ReadonlyMap<string, number>;\n }) => React.ReactNode;\n resetSideBySide: () => void;\n setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;\n setConnectedLines: React.Dispatch<React.SetStateAction<any[]>>;\n cachedConnectedPositions: React.MutableRefObject<any[]>;\n showDeviationNavigation: Record<string, any>;\n showOpenNodeRef: React.MutableRefObject<string | undefined>;\n deviationNodeIdToView?: string | undefined;\n deviationTargetParentId?: string | null;\n guidelinesData?: any;\n gptWebCitationConfig?: GptWebCitationConfig;\n};\n\nconst CompareContext = createContext<CompareContextValue | null>(null);\n\nexport const CompareContextProvider = CompareContext.Provider;\n\nexport const useCompareContext = () => {\n const context = useContext(CompareContext);\n if (!context) {\n throw new Error(\"useCompareContext must be used within CompareContextProvider\");\n }\n return context;\n};\n"],"names":["CompareContext","createContext","CompareContextProvider","Provider","useCompareContext","context","useContext","Error"],"mappings":"sDA0FA,MAAMA,EAAiBC,EAA0C,MAEpDC,EAAyBF,EAAeG,SAExCC,EAAoB,KACzB,MAAAC,EAAUC,EAAWN,GAC3B,IAAKK,EACG,MAAA,IAAIE,MAAM,gEAEX,OAAAF"}
@@ -1,2 +1,2 @@
1
- import{__spreadArray as o,__assign as i}from"tslib";import{jsx as r}from"react/jsx-runtime";import{useMemo as e}from"react";import{Box as t}from"@mui/material";import l from"react-markdown";import a from"rehype-raw";import{SHARED_MARKDOWN_STYLES as n}from"../../CognitiveCompareConfig.js";import{DEVIATION_BADGE_SEPARATOR as u,generateColorPalette as d}from"../../CognitiveComparehelpers.js";import{processGuidelinesMarkdown as s}from"../utils/processGuidelinesMarkdown.js";var g=function(g){var v=g.guidelinesData,p=g.deviationData,m=g.connectedSections,f=g.proposedSections,h=Array.from(m)[0],c=e(function(){var i;if(null==h||!p)return{targetHighlights:[],labelColor:""};var r="";"number"==typeof h?r=(null===(i=f[h])||void 0===i?void 0:i.nodeId)||"":"string"==typeof h&&(r=h.includes(u)?h.split(u)[0]:h.split("::")[0].split(":")[0]);var e=p[r];if(!e)return{targetHighlights:[],labelColor:""};var t=[],l=e.evaluation_result||{},a="";return Object.values(l).forEach(function(i){var r,e,l,n,u;(null===(r=null==i?void 0:i.deviation_highlights)||void 0===r?void 0:r.rulebook_guidelines)&&(t=o(o([],t,!0),i.deviation_highlights.rulebook_guidelines,!0),a=(null===(l=null===(e=i.evaluation_outputs)||void 0===e?void 0:e.metadata)||void 0===l?void 0:l.label_color)?d(null===(u=null===(n=i.evaluation_outputs)||void 0===n?void 0:n.metadata)||void 0===u?void 0:u.label_color).bg:"")}),{targetHighlights:t.filter(Boolean),labelColor:a}},[h,p,f]),b=c.targetHighlights,C=c.labelColor,_=e(function(){return s({guidelinesData:v,targetHighlights:b,labelColor:C||"#FEF08A"})},[v,b,C]);return r(t,i({sx:i(i({padding:"0px 12px",backgroundColor:"#FFFFFF",borderRadius:"8px"},n),{overflow:"visible"})},{children:r(l,i({rehypePlugins:[a]},{children:_}))}))};export{g as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{Box as o}from"@mui/material";import r from"react-markdown";import i from"rehype-raw";import{SHARED_MARKDOWN_STYLES as l}from"../../CognitiveCompareConfig.js";import{DEVIATION_BADGE_SEPARATOR as a,generateColorPalette as s}from"../../CognitiveComparehelpers.js";import{processGuidelinesMarkdown as n}from"../utils/processGuidelinesMarkdown.js";const g=({guidelinesData:g,deviationData:u,connectedSections:p,proposedSections:m})=>{const d=Array.from(p)[0],{targetHighlights:h,labelColor:c}=t(()=>{if(null==d||!u)return{targetHighlights:[],labelColor:""};let e="";"number"==typeof d?e=m[d]?.nodeId||"":"string"==typeof d&&(e=d.includes(a)?d.split(a)[0]:d.split("::")[0].split(":")[0]);const t=u[e];if(!t)return{targetHighlights:[],labelColor:""};let o=[];const r=t.evaluation_result||{};let i="";return Object.values(r).forEach(e=>{e?.deviation_highlights?.rulebook_guidelines&&(o=[...o,...e.deviation_highlights.rulebook_guidelines],i=e.evaluation_outputs?.metadata?.label_color?s(e.evaluation_outputs?.metadata?.label_color).bg:"")}),{targetHighlights:o.filter(Boolean),labelColor:i}},[d,u,m]),f=t(()=>n({guidelinesData:g,targetHighlights:h,labelColor:c||"#FEF08A"}),[g,h,c]);return e(o,{sx:{padding:"0px 12px",backgroundColor:"#FFFFFF",borderRadius:"8px",...l,overflow:"visible"},children:e(r,{rehypePlugins:[i],children:f})})};export{g as default};
2
2
  //# sourceMappingURL=GuidelinePanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GuidelinePanel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"GuidelinePanel.js","sources":["../../../../../src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { Box } from '@mui/material';\nimport ReactMarkdown from 'react-markdown';\nimport rehypeRaw from 'rehype-raw';\nimport { SHARED_MARKDOWN_STYLES } from '../../CognitiveCompareConfig';\nimport { DEVIATION_BADGE_SEPARATOR, generateColorPalette } from '../../CognitiveComparehelpers';\nimport { processGuidelinesMarkdown } from '../utils/processGuidelinesMarkdown';\n// import { SHARED_MARKDOWN_STYLES } from '../CognitiveCompareConfig';\n// import { DEVIATION_BADGE_SEPARATOR } from '../CognitiveComparehelpers';\n\nconst GuidelinePanel = ({ guidelinesData, deviationData, connectedSections, proposedSections }: any) => {\n const activeNodeIdFull = Array.from(connectedSections)[0];\n\n const {targetHighlights, labelColor} = useMemo(() => {\n if (activeNodeIdFull == null || !deviationData) return { targetHighlights: [], labelColor: \"\" };\n\n let baseNodeId = \"\";\n\n // 1. Resolve the actual Node ID whether the input is an array index or a composite string\n if (typeof activeNodeIdFull === 'number') {\n baseNodeId = proposedSections[activeNodeIdFull]?.nodeId || \"\";\n } else if (typeof activeNodeIdFull === 'string') {\n if (activeNodeIdFull.includes(DEVIATION_BADGE_SEPARATOR)) {\n baseNodeId = activeNodeIdFull.split(DEVIATION_BADGE_SEPARATOR)[0];\n } else {\n baseNodeId = activeNodeIdFull.split('::')[0].split(':')[0];\n }\n }\n\n // 2. Extract rulebook guidelines from deviation data\n const nodeDevData = deviationData[baseNodeId];\n if (!nodeDevData) return { targetHighlights: [], labelColor: \"\" };\n\n let guidelines: string[] = [];\n const evalResults = nodeDevData.evaluation_result || {};\n let labelColor: string = \"\"\n \n Object.values(evalResults).forEach((evalNode: any) => {\n if (evalNode?.deviation_highlights?.rulebook_guidelines) {\n guidelines = [...guidelines, ...evalNode.deviation_highlights.rulebook_guidelines];\n labelColor = evalNode.evaluation_outputs?.metadata?.label_color ? generateColorPalette(evalNode.evaluation_outputs?.metadata?.label_color).bg : \"\";\n }\n });\n\n return { targetHighlights: guidelines.filter(Boolean), labelColor }; // Filter out empty strings\n }, [activeNodeIdFull, deviationData, proposedSections]);\n\n const processedMarkdown = useMemo(\n () =>\n processGuidelinesMarkdown({\n guidelinesData,\n targetHighlights,\n labelColor: labelColor || \"#FEF08A\",\n }),\n [guidelinesData, targetHighlights, labelColor]\n );\n\n return (\n <Box sx={{ \n padding: '0px 12px', \n backgroundColor: '#FFFFFF', \n borderRadius: '8px', \n ...SHARED_MARKDOWN_STYLES,\n overflow: 'visible' \n }}>\n <ReactMarkdown rehypePlugins={[rehypeRaw as any]}>\n {processedMarkdown}\n </ReactMarkdown>\n </Box>\n );\n};\n\nexport default GuidelinePanel;"],"names":["GuidelinePanel","guidelinesData","deviationData","connectedSections","proposedSections","activeNodeIdFull","Array","from","targetHighlights","labelColor","useMemo","baseNodeId","nodeId","includes","DEVIATION_BADGE_SEPARATOR","split","nodeDevData","guidelines","evalResults","evaluation_result","Object","values","forEach","evalNode","deviation_highlights","rulebook_guidelines","evaluation_outputs","metadata","label_color","generateColorPalette","bg","filter","Boolean","processedMarkdown","processGuidelinesMarkdown","jsx","Box","sx","padding","backgroundColor","borderRadius","SHARED_MARKDOWN_STYLES","overflow","children","ReactMarkdown","rehypePlugins","rehypeRaw"],"mappings":"saAUA,MAAMA,EAAiB,EAAGC,iBAAgBC,gBAAeC,oBAAmBC,uBAC1E,MAAMC,EAAmBC,MAAMC,KAAKJ,GAAmB,IAEjDK,iBAACA,EAAAC,WAAkBA,GAAcC,EAAQ,KACzC,GAAoB,MAApBL,IAA6BH,EAAe,MAAO,CAAEM,iBAAkB,GAAIC,WAAY,IAE3F,IAAIE,EAAa,GAGe,iBAArBN,EACIM,EAAAP,EAAiBC,IAAmBO,QAAU,GACtB,iBAArBP,IAEdM,EADEN,EAAiBQ,SAASC,GACfT,EAAiBU,MAAMD,GAA2B,GAElDT,EAAiBU,MAAM,MAAM,GAAGA,MAAM,KAAK,IAKtD,MAAAC,EAAcd,EAAcS,GAC9B,IAACK,EAAoB,MAAA,CAAER,iBAAkB,GAAIC,WAAY,IAE7D,IAAIQ,EAAuB,GACrB,MAAAC,EAAcF,EAAYG,mBAAqB,GACrD,IAAIV,EAAqB,GASzB,OAPAW,OAAOC,OAAOH,GAAaI,QAASC,IAC9BA,GAAUC,sBAAsBC,sBAClCR,EAAa,IAAIA,KAAeM,EAASC,qBAAqBC,qBAC9DhB,EAAac,EAASG,oBAAoBC,UAAUC,YAAcC,EAAqBN,EAASG,oBAAoBC,UAAUC,aAAaE,GAAK,MAI7I,CAAEtB,iBAAkBS,EAAWc,OAAOC,SAAUvB,WAAAA,IACtD,CAACJ,EAAkBH,EAAeE,IAE/B6B,EAAoBvB,EACxB,IACEwB,EAA0B,CACxBjC,iBACAO,mBACAC,WAAYA,GAAc,YAE9B,CAACR,EAAgBO,EAAkBC,IAInC,OAAA0B,EAACC,GAAIC,GAAI,CACPC,QAAS,WACTC,gBAAiB,UACjBC,aAAc,SACXC,EACHC,SAAU,WAEVC,WAACC,EAAc,CAAAC,cAAe,CAACC,GAC5BH"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__rest as r}from"tslib";import{jsx as n}from"react/jsx-runtime";import{useMemo as o}from"react";import{Box as t,Typography as a}from"@mui/material";import i from"react-markdown";import d from"rehype-raw";import{SHARED_MARKDOWN_STYLES as l}from"../../CognitiveCompareConfig.js";import{DEVIATION_BADGE_SEPARATOR as u,generateColorPalette as c}from"../../CognitiveComparehelpers.js";import s from"../../CitationAnchor.js";var v=function(e){var r,n,o=e.evalNode;return!1===(null===(n=null===(r=null==o?void 0:o.evaluation_outputs)||void 0===r?void 0:r.guideline_flag)||void 0===n?void 0:n.rulebook_used)},p=function(e,r,n){return"".concat(e,"::").concat(r,"::").concat(n)},f=function(e,r){return"".concat(e,"::").concat(r)},m={relativeWrapper:{verticalAlign:"baseline"},arrow:{color:"#6D28D9"}},w=function(w){var b=w.deviationData,y=w.connectedSections,h=w.proposedSections,g=Array.from(y||[])[0],x=o(function(){return function(e,r){var n;return"number"==typeof e?(null===(n=r[e])||void 0===n?void 0:n.nodeId)||"":e&&"string"==typeof e&&e.trim()?e.includes(u)?e.split(u)[0]:e.split("::")[0].split(":")[0]:""}(g,h||[])},[g,h]),K=o(function(){if(!b||"object"!=typeof b)return[];return Object.entries(b).flatMap(function(e){var r=e[0];return function(e){var r=e&&"object"==typeof e?e.evaluation_result:null;return!r||"object"!=typeof r&&!Array.isArray(r)?[]:Array.isArray(r)?r.map(function(e,r){return{evalNode:e,evaluationKey:String(r)}}):"object"==typeof r?Object.entries(r).map(function(e){var r=e[0];return{evalNode:e[1],evaluationKey:r}}):[]}(e[1]).filter(v).map(function(e){var n,o,t,a=e.evalNode,i=e.evaluationKey;return{nodeId:r,evaluationKey:i,answerKey:f(r,i),evaluation:a,webSearchAnswer:a.web_search_answer,colorPalette:null!==(t=c((null===(o=null===(n=null==a?void 0:a.evaluation_outputs)||void 0===n?void 0:n.metadata)||void 0===o?void 0:o.label_color)||""))&&void 0!==t?t:{border:m.arrow.color}}}).filter(function(e){var r=e.webSearchAnswer;return!!(null==r?void 0:r.enhanced_content)})}).map(function(r,n){return e(e({},r),{answerOrder:n})})},[b]),A=o(function(){return K.reduce(function(e,r){var n,o=(null===(n=r.webSearchAnswer)||void 0===n?void 0:n.extraMetaData)||{};return Object.entries(o).forEach(function(n){var o=n[0],t=n[1],a=p(r.nodeId,r.evaluationKey,o);e[a]={nodeId:r.nodeId,evaluationKey:r.evaluationKey,answerKey:r.answerKey,answerOrder:r.answerOrder,reasoningId:o,evaluation:r.evaluation,webSearchAnswer:r.webSearchAnswer,extraMetaData:t}}),e},{})},[K]),F=o(function(){return K.reduce(function(e,o){return e[o.answerKey]={a:function(e){var t=e.href,a=void 0===t?"":t,i=e.children,d=e.type,l=e.reason,u=r(e,["href","children","type","reason"]),c=null==u?void 0:u["data-cognitive-reasoning"],v=c?p(o.nodeId,o.evaluationKey,String(c)):"",f=v?A[v]:null;return n(s,{href:a,children:i,citationType:d,citationReason:l,metaData:{webGpt:f,webGptMetaKey:v},customStyle:m})}},e},{})},[K,A]);return n(t,e({sx:e(e({padding:"12px 12px 12px 0px",backgroundColor:"#FFFFFF",borderRadius:"8px"},l),{overflow:"visible"})},{children:K.length>0?K.map(function(r,o){return n(t,e({id:r.nodeId===x?"guideline-target-0":void 0,"data-web-gpt-node-id":r.nodeId,"data-web-gpt-evaluation-key":r.evaluationKey,"data-web-gpt-answer-order":r.answerOrder,"data-web-gpt-active":r.nodeId===x?"true":"false",sx:{mb:1.5,border:r.nodeId===x?"2px solid ".concat(r.colorPalette.border):"1px solid #d3d3d3",borderRadius:"6px",padding:"8px",backgroundColor:"#FFFFFF"}},{children:n(i,e({rehypePlugins:[d],components:F[r.answerKey]},{children:r.webSearchAnswer.enhanced_content}))}),r.answerKey)}):n(a,e({sx:{color:"#64748B",fontSize:"14px",py:1}},{children:"No web GPT data available."}))}))};export{w as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{useMemo as r}from"react";import{Box as a,Typography as t}from"@mui/material";import o from"react-markdown";import n from"rehype-raw";import{SHARED_MARKDOWN_STYLES as i}from"../../CognitiveCompareConfig.js";import{DEVIATION_BADGE_SEPARATOR as d,generateColorPalette as l}from"../../CognitiveComparehelpers.js";import s from"../../CitationAnchor.js";const c=({evalNode:e})=>!1===e?.evaluation_outputs?.guideline_flag?.rulebook_used,p=(e,r,a)=>`${e}::${r}::${a}`,u=(e,r)=>`${e}::${r}`,w={relativeWrapper:{verticalAlign:"baseline"},arrow:{color:"#6D28D9"}},b=({deviationData:b,connectedSections:m,proposedSections:y})=>{const v=Array.from(m||[])[0],f=r(()=>((e,r)=>"number"==typeof e?r[e]?.nodeId||"":e&&"string"==typeof e&&e.trim()?e.includes(d)?e.split(d)[0]:e.split("::")[0].split(":")[0]:"")(v,y||[]),[v,y]),g=r(()=>{if(!b||"object"!=typeof b)return[];return Object.entries(b).flatMap(([e,r])=>(e=>{const r=e&&"object"==typeof e?e.evaluation_result:null;return!r||"object"!=typeof r&&!Array.isArray(r)?[]:Array.isArray(r)?r.map((e,r)=>({evalNode:e,evaluationKey:String(r)})):"object"==typeof r?Object.entries(r).map(([e,r])=>({evalNode:r,evaluationKey:e})):[]})(r).filter(c).map(({evalNode:r,evaluationKey:a})=>({nodeId:e,evaluationKey:a,answerKey:u(e,a),evaluation:r,webSearchAnswer:r.web_search_answer,colorPalette:l(r?.evaluation_outputs?.metadata?.label_color||"")??{border:w.arrow.color}})).filter(({webSearchAnswer:e})=>!!e?.enhanced_content)).map((e,r)=>({...e,answerOrder:r}))},[b]),h=r(()=>g.reduce((e,r)=>{const a=r.webSearchAnswer?.extraMetaData||{};return Object.entries(a).forEach(([a,t])=>{const o=p(r.nodeId,r.evaluationKey,a);e[o]={nodeId:r.nodeId,evaluationKey:r.evaluationKey,answerKey:r.answerKey,answerOrder:r.answerOrder,reasoningId:a,evaluation:r.evaluation,webSearchAnswer:r.webSearchAnswer,extraMetaData:t}}),e},{}),[g]),x=r(()=>g.reduce((r,a)=>(r[a.answerKey]={a:({href:r="",children:t,type:o,reason:n,...i})=>{const d=i?.["data-cognitive-reasoning"],l=d?p(a.nodeId,a.evaluationKey,String(d)):"",c=l?h[l]:null;return e(s,{href:r,children:t,citationType:o,citationReason:n,metaData:{webGpt:c,webGptMetaKey:l},customStyle:w})}},r),{}),[g,h]);return e(a,{sx:{padding:"12px 12px 12px 0px",backgroundColor:"#FFFFFF",borderRadius:"8px",...i,overflow:"visible"},children:g.length>0?g.map((r,t)=>e(a,{id:r.nodeId===f?"guideline-target-0":void 0,"data-web-gpt-node-id":r.nodeId,"data-web-gpt-evaluation-key":r.evaluationKey,"data-web-gpt-answer-order":r.answerOrder,"data-web-gpt-active":r.nodeId===f?"true":"false",sx:{mb:1.5,border:r.nodeId===f?`2px solid ${r.colorPalette.border}`:"1px solid #d3d3d3",borderRadius:"6px",padding:"8px",backgroundColor:"#FFFFFF"},children:e(o,{rehypePlugins:[n],components:x[r.answerKey],children:r.webSearchAnswer.enhanced_content})},r.answerKey)):e(t,{sx:{color:"#64748B",fontSize:"14px",py:1},children:"No web GPT data available."})})};export{b as default};
2
2
  //# sourceMappingURL=WebGptPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebGptPanel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"WebGptPanel.js","sources":["../../../../../src/features/CognitiveCompare/Guidelines/components/WebGptPanel.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { Box, Typography } from '@mui/material';\nimport ReactMarkdown from 'react-markdown';\nimport rehypeRaw from 'rehype-raw';\nimport { SHARED_MARKDOWN_STYLES } from '../../CognitiveCompareConfig';\nimport { DEVIATION_BADGE_SEPARATOR, generateColorPalette } from '../../CognitiveComparehelpers';\nimport CitationAnchor from '../../CitationAnchor';\n\nconst getBaseNodeId = (activeNodeIdFull: unknown, proposedSections: Record<string, unknown>[]) => {\n if (typeof activeNodeIdFull === 'number') {\n return proposedSections[activeNodeIdFull]?.nodeId || \"\";\n }\n\n if (activeNodeIdFull && typeof activeNodeIdFull === 'string' && activeNodeIdFull.trim()) {\n if (activeNodeIdFull.includes(DEVIATION_BADGE_SEPARATOR)) {\n return activeNodeIdFull.split(DEVIATION_BADGE_SEPARATOR)[0];\n }\n\n return activeNodeIdFull.split('::')[0].split(':')[0];\n }\n\n return \"\";\n};\n\nconst getEvaluationNodes = (nodeDevData: Record<string, unknown>) => {\n const evalResults = (nodeDevData && typeof nodeDevData === 'object') ? nodeDevData.evaluation_result : null;\n if (!evalResults || (typeof evalResults !== 'object' && !Array.isArray(evalResults))) return [];\n if (Array.isArray(evalResults)) {\n return evalResults.map((evalNode, index) => ({ evalNode, evaluationKey: String(index) }));\n }\n if (typeof evalResults === \"object\") {\n return Object.entries(evalResults).map(([evaluationKey, evalNode]) => ({ evalNode, evaluationKey }));\n }\n return [];\n};\n\nconst isWebGptEvaluation = ({ evalNode }: { evalNode: Record<string, any> }) =>\n evalNode?.evaluation_outputs?.guideline_flag?.rulebook_used === false;\n\nconst buildWebGptMetaKey = (nodeId: string, evaluationKey: string, reasoningId: string) =>\n `${nodeId}::${evaluationKey}::${reasoningId}`;\n\nconst buildWebGptAnswerKey = (nodeId: string, evaluationKey: string) =>\n `${nodeId}::${evaluationKey}`;\n\nconst WEB_GPT_CITATION_STYLE = {\n relativeWrapper: {\n verticalAlign: \"baseline\",\n },\n arrow: {\n color: \"#6D28D9\"\n }\n};\n\ninterface WebGptPanelProps {\n deviationData: Record<string, unknown>;\n connectedSections: Iterable<unknown>;\n proposedSections: Record<string, unknown>[];\n}\n\nconst WebGptPanel = ({ deviationData, connectedSections, proposedSections }: WebGptPanelProps) => {\n const activeNodeIdFull = Array.from(connectedSections || [])[0];\n const activeBaseNodeId = useMemo(\n () => getBaseNodeId(activeNodeIdFull, proposedSections || []),\n [activeNodeIdFull, proposedSections],\n );\n\n const webSearchAnswers = useMemo(() => {\n if (!deviationData || typeof deviationData !== \"object\") return [];\n\n const collectFromNode = ([nodeId, nodeDevData]: [string, any]) =>\n getEvaluationNodes(nodeDevData)\n .filter(isWebGptEvaluation)\n .map(({ evalNode, evaluationKey }: any) => ({\n nodeId,\n evaluationKey,\n answerKey: buildWebGptAnswerKey(nodeId, evaluationKey),\n evaluation: evalNode,\n webSearchAnswer: evalNode.web_search_answer,\n colorPalette : generateColorPalette(evalNode?.evaluation_outputs?.metadata?.label_color || \"\") ?? {border: WEB_GPT_CITATION_STYLE.arrow.color},\n }))\n .filter(({ webSearchAnswer }: any) => !!webSearchAnswer?.enhanced_content);\n\n return Object.entries(deviationData)\n .flatMap(collectFromNode as any)\n .map((answer: any, answerOrder: number) => ({\n ...answer,\n answerOrder,\n }));\n }, [deviationData]);\n\n const webGptExtraMetaByKey = useMemo(() => {\n return webSearchAnswers.reduce((acc: Record<string, any>, answer: any) => {\n const extraMetaData = answer.webSearchAnswer?.extraMetaData || {};\n\n Object.entries(extraMetaData).forEach(([reasoningId, extraMetaDataForReasoning]) => {\n const metaKey = buildWebGptMetaKey(answer.nodeId, answer.evaluationKey, reasoningId);\n acc[metaKey] = {\n nodeId: answer.nodeId,\n evaluationKey: answer.evaluationKey,\n answerKey: answer.answerKey,\n answerOrder: answer.answerOrder,\n reasoningId,\n evaluation: answer.evaluation,\n webSearchAnswer: answer.webSearchAnswer,\n extraMetaData: extraMetaDataForReasoning,\n };\n });\n\n return acc;\n }, {});\n }, [webSearchAnswers]);\n\n const componentsByAnswerKey = useMemo(() => {\n return webSearchAnswers.reduce((acc: Record<string, any>, answer: any) => {\n acc[answer.answerKey] = {\n a: ({ href = \"\", children, type, reason, ...props }: any) => {\n const reasoningId = props?.[\"data-cognitive-reasoning\"];\n const metaKey = reasoningId\n ? buildWebGptMetaKey(answer.nodeId, answer.evaluationKey, String(reasoningId))\n : \"\";\n const matchedExtraMetaData = metaKey ? webGptExtraMetaByKey[metaKey] : null;\n\n return (\n <CitationAnchor\n href={href}\n children={children}\n citationType={type}\n citationReason={reason}\n metaData={{\n webGpt: matchedExtraMetaData,\n webGptMetaKey: metaKey,\n }}\n customStyle={WEB_GPT_CITATION_STYLE}\n />\n );\n },\n };\n\n return acc;\n }, {});\n }, [webSearchAnswers, webGptExtraMetaByKey]);\n\n return (\n <Box sx={{ \n padding: '12px 12px 12px 0px', \n backgroundColor: '#FFFFFF', \n borderRadius: '8px', \n ...SHARED_MARKDOWN_STYLES,\n overflow: 'visible' \n }}>\n {webSearchAnswers.length > 0 ? (\n webSearchAnswers.map((answer: any, index: number) => (\n <Box\n key={answer.answerKey}\n // ── MAGIC FIX: This ID tells alignStraightLines & the SVG drawer exactly where to connect! ──\n id={answer.nodeId === activeBaseNodeId ? \"guideline-target-0\" : undefined}\n data-web-gpt-node-id={answer.nodeId}\n data-web-gpt-evaluation-key={answer.evaluationKey}\n data-web-gpt-answer-order={answer.answerOrder}\n data-web-gpt-active={answer.nodeId === activeBaseNodeId ? \"true\" : \"false\"}\n sx={{ mb: 1.5,\n border: (answer.nodeId === activeBaseNodeId) ? `2px solid ${answer.colorPalette.border}` : \"1px solid #d3d3d3\",\n borderRadius: \"6px\",\n padding: \"8px\",\n backgroundColor: \"#FFFFFF\",\n }}\n >\n <ReactMarkdown\n rehypePlugins={[rehypeRaw as any]}\n components={componentsByAnswerKey[answer.answerKey]}\n >\n {answer.webSearchAnswer.enhanced_content}\n </ReactMarkdown>\n </Box>\n ))\n ) : (\n <Typography sx={{ color: \"#64748B\", fontSize: \"14px\", py: 1 }}>\n No web GPT data available.\n </Typography>\n )}\n </Box>\n );\n};\n\nexport default WebGptPanel;\n"],"names":["isWebGptEvaluation","evalNode","evaluation_outputs","guideline_flag","rulebook_used","buildWebGptMetaKey","nodeId","evaluationKey","reasoningId","buildWebGptAnswerKey","WEB_GPT_CITATION_STYLE","relativeWrapper","verticalAlign","arrow","color","WebGptPanel","deviationData","connectedSections","proposedSections","activeNodeIdFull","Array","from","activeBaseNodeId","useMemo","trim","includes","DEVIATION_BADGE_SEPARATOR","split","getBaseNodeId","webSearchAnswers","Object","entries","flatMap","nodeDevData","evalResults","evaluation_result","isArray","map","index","String","getEvaluationNodes","filter","answerKey","evaluation","webSearchAnswer","web_search_answer","colorPalette","generateColorPalette","metadata","label_color","border","enhanced_content","answer","answerOrder","webGptExtraMetaByKey","reduce","acc","extraMetaData","forEach","extraMetaDataForReasoning","metaKey","componentsByAnswerKey","a","href","children","type","reason","props","matchedExtraMetaData","jsx","CitationAnchor","citationType","citationReason","metaData","webGpt","webGptMetaKey","customStyle","Box","sx","padding","backgroundColor","borderRadius","SHARED_MARKDOWN_STYLES","overflow","length","id","mb","ReactMarkdown","rehypePlugins","rehypeRaw","components","Typography","fontSize","py"],"mappings":"2YAQA,MA4BMA,EAAqB,EAAGC,eACoC,IAAhEA,GAAUC,oBAAoBC,gBAAgBC,cAE1CC,EAAqB,CAACC,EAAgBC,EAAuBC,IACjE,GAAGF,MAAWC,MAAkBC,IAE5BC,EAAuB,CAACH,EAAgBC,IAC5C,GAAGD,MAAWC,IAEVG,EAAyB,CAC7BC,gBAAiB,CACfC,cAAe,YAEjBC,MAAO,CACLC,MAAO,YAULC,EAAc,EAAGC,gBAAeC,oBAAmBC,uBACvD,MAAMC,EAAmBC,MAAMC,KAAKJ,GAAqB,IAAI,GACvDK,EAAmBC,EACvB,IAvDkB,EAACJ,EAA2BD,IAChB,iBAArBC,EACFD,EAAiBC,IAAmBb,QAAU,GAGnDa,GAAgD,iBAArBA,GAAiCA,EAAiBK,OAC3EL,EAA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pB,gBAAgBO,oBAlBrBC,EAAOV,YAuBf2B,EAAAsB,EAAA,CAAWb,GAAI,CAAEhE,MAAO,UAAW8E,SAAU,OAAQC,GAAI,GAAK7B"}
@@ -1,2 +1,2 @@
1
- var t=function(t){if("string"!=typeof t||""===t.trim())return null;try{var r="undefined"!=typeof window?window.location.origin:"http://localhost";return new URL(t,r)}catch(t){return null}},r=function(t,r){var e;if("string"!=typeof t||"string"!=typeof r||""===r.trim())return"";try{var n=t.match(new RegExp("\\b".concat(r,"\\s*=\\s*(['\"])(.*?)\\1"),"i"));return null!==(e=null==n?void 0:n[2])&&void 0!==e?e:""}catch(t){return""}},e=function(t){if("string"!=typeof t||""===t)return"";try{return t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}catch(r){return t}},n=function(t,r,n){if("string"!=typeof t||""===t.trim())return t;if("string"!=typeof r||""===r.trim())return t;if(!n||"string"!=typeof n)return t;try{var a=e(n),i=new RegExp("\\b".concat(r,"\\s*=\\s*(['\"])(.*?)\\1"),"i");return i.test(t)?t.replace(i,function(){return"".concat(r,'="').concat(a,'"')}):t.replace(/<a\b/i,function(){return"<a ".concat(r,'="').concat(a,'"')})}catch(r){return t}},a=function(r,e){if("string"!=typeof r||!r||"string"!=typeof e||!e)return"";try{var n=r.indexOf("?");if(n>=0){var a=r.slice(n+1).replace(/&amp;/gi,"&"),i=a.indexOf("".concat(e,"="));if(i>=0){var c=i+e.length+1,o=a.slice(c).match(/&[A-Za-z_][A-Za-z0-9_]*=/),u=void 0!==(null==o?void 0:o.index)?c+o.index:a.length;return decodeURIComponent(a.slice(c,u).replace(/\+/g," "))}}var l=t(r.replace(/&amp;/gi,"&"));return(null==l?void 0:l.searchParams.get(e))||""}catch(t){return""}},i=function(i){if("string"!=typeof i||!i||!i.includes("citation_type"))return i;try{var c=i;return Array.from(i.matchAll(/<a\b([^>]*?)>([\s\S]*?)<\/a>/gi)).forEach(function(i){var o=i[0],u=i[1]||"",l=r(u,"href").replace(/&amp;/gi,"&"),s=t(l),f=r(u,"type"),p=null==s?void 0:s.searchParams.get("citation_type");if("rulebook_citation"===f||"il_rulebook_citation"===p){f||(f=p||"rulebook_citation");var h=r(u,"reason"),g=(null==s?void 0:s.searchParams.get("citationNumber"))||(null==s?void 0:s.searchParams.get("citation_number"))||"",v=g.match(/^rb_(.+)$/),y=v?v[1]:g;if(y){var m={citation_type:p||"",phrase_to_highlight:a(l,"phrase_to_highlight")};if(m.citation_type||m.phrase_to_highlight){var d=!1,_=function(r){return function(r){if("string"!=typeof r||!r)return null;var e=r.match(/^(?:pdf_citation|deviation_summary)\$(\d+)/);if(e)return e[1];try{var n=t(r.replace(/&amp;/gi,"&"));return(null==n?void 0:n.searchParams.get("citationNumber"))||(null==n?void 0:n.searchParams.get("citation_number"))||null}catch(t){return null}}(r)!==y?r:(d=!0,function(r,e){if("string"!=typeof r||""===r.trim())return r;if(!e||"object"!=typeof e)return r;try{var n=t(r);if(!n)return r;Object.entries(e).forEach(function(t){var r=t[0],e=t[1];e&&n.searchParams.set(r,e)});var a="".concat(n.pathname).concat(n.search).concat(n.hash);return r.startsWith("./")?".".concat(a):!r.startsWith("/")&&a.startsWith("/")?a.slice(1):a}catch(t){return r}}(r,m))};c=c.replace(/\[([^\]]+)\]\(([^)\n]+)\)/g,function(t,r,n){var a=_(n);return a===n?t:'<a type="'.concat(e(f),'" reason="').concat(e(h),'" href="').concat(e(a),'">').concat(r,"</a>")}),d||(c=c.replace(/<a\b([^>]*?)>/gi,function(e,a){var i,c=r(a,"type")||(null===(i=t(r(a,"href")))||void 0===i?void 0:i.searchParams.get("citation_type"));if("rulebook_citation"===c||"il_rulebook_citation"===c)return e;var o=r(a,"href"),u=_(o);if(u===o)return e;var l=e.replace(/\bhref\s*=\s*(['"])(.*?)\1/i,function(t,r){return"href=".concat(r).concat(u).concat(r)});return n(n(l,"type",f),"reason",h)})),c=c.split(o).join("")}else c=c.split(o).join("")}else c=c.split(o).join("")}}),c}catch(t){return i}};export{i as mergeRulebookCitationsIntoMatchingLinks};
1
+ const t=t=>{if("string"!=typeof t||""===t.trim())return null;try{const r="undefined"!=typeof window?window.location.origin:"http://localhost";return new URL(t,r)}catch{return null}},r=(t,r)=>{if("string"!=typeof t||"string"!=typeof r||""===r.trim())return"";try{const e=t.match(new RegExp(`\\b${r}\\s*=\\s*(['"])(.*?)\\1`,"i"));return e?.[2]??""}catch{return""}},e=t=>{if("string"!=typeof t||""===t)return"";try{return t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}catch{return t}},n=(t,r,n)=>{if("string"!=typeof t||""===t.trim())return t;if("string"!=typeof r||""===r.trim())return t;if(!n||"string"!=typeof n)return t;try{const i=e(n),a=new RegExp(`\\b${r}\\s*=\\s*(['"])(.*?)\\1`,"i");return a.test(t)?t.replace(a,()=>`${r}="${i}"`):t.replace(/<a\b/i,()=>`<a ${r}="${i}"`)}catch{return t}},i=(r,e)=>{if("string"!=typeof r||!r||"string"!=typeof e||!e)return"";try{const n=r.indexOf("?");if(n>=0){const t=r.slice(n+1).replace(/&amp;/gi,"&"),i=t.indexOf(`${e}=`);if(i>=0){const r=i+e.length+1,n=t.slice(r).match(/&[A-Za-z_][A-Za-z0-9_]*=/),a=void 0!==n?.index?r+n.index:t.length;return decodeURIComponent(t.slice(r,a).replace(/\+/g," "))}}const i=t(r.replace(/&amp;/gi,"&"));return i?.searchParams.get(e)||""}catch{return""}},a=a=>{if("string"!=typeof a||!a||!a.includes("citation_type"))return a;try{let c=a;const o=/<a\b([^>]*?)>([\s\S]*?)<\/a>/gi;return Array.from(a.matchAll(o)).forEach(a=>{const o=a[0],s=a[1]||"",p=r(s,"href").replace(/&amp;/gi,"&"),u=t(p);let l=r(s,"type");const h=u?.searchParams.get("citation_type");if(!("rulebook_citation"===l||"il_rulebook_citation"===h))return;l||(l=h||"rulebook_citation");const f=r(s,"reason"),g=u?.searchParams.get("citationNumber")||u?.searchParams.get("citation_number")||"",y=g.match(/^rb_(.+)$/),m=y?y[1]:g;if(!m)return void(c=c.split(o).join(""));const _={citation_type:h||"",phrase_to_highlight:i(p,"phrase_to_highlight")};if(!_.citation_type&&!_.phrase_to_highlight)return void(c=c.split(o).join(""));let $=!1;const b=r=>(r=>{if("string"!=typeof r||!r)return null;const e=r.match(/^(?:pdf_citation|deviation_summary)\$(\d+)/);if(e)return e[1];try{const e=t(r.replace(/&amp;/gi,"&"));return e?.searchParams.get("citationNumber")||e?.searchParams.get("citation_number")||null}catch{return null}})(r)!==m?r:($=!0,((r,e)=>{if("string"!=typeof r||""===r.trim())return r;if(!e||"object"!=typeof e)return r;try{const n=t(r);if(!n)return r;Object.entries(e).forEach(([t,r])=>{r&&n.searchParams.set(t,r)});const i=`${n.pathname}${n.search}${n.hash}`;return r.startsWith("./")?`.${i}`:!r.startsWith("/")&&i.startsWith("/")?i.slice(1):i}catch{return r}})(r,_));c=c.replace(/\[([^\]]+)\]\(([^)\n]+)\)/g,(t,r,n)=>{const i=b(n);return i===n?t:`<a type="${e(l)}" reason="${e(f)}" href="${e(i)}">${r}</a>`}),$||(c=c.replace(/<a\b([^>]*?)>/gi,(e,i)=>{const a=r(i,"type")||t(r(i,"href"))?.searchParams.get("citation_type");if("rulebook_citation"===a||"il_rulebook_citation"===a)return e;const c=r(i,"href"),o=b(c);if(o===c)return e;const s=e.replace(/\bhref\s*=\s*(['"])(.*?)\1/i,(t,r)=>`href=${r}${o}${r}`);return n(n(s,"type",l),"reason",f)})),c=c.split(o).join("")}),c}catch{return a}};export{a as mergeRulebookCitationsIntoMatchingLinks};
2
2
  //# sourceMappingURL=helper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"helper.js","sources":["../../../../../src/features/CognitiveCompare/Guidelines/utils/helper.ts"],"sourcesContent":["// import { GuidelineArtifactData } from \"@/core/api/api.interface\";\n\nconst parseHref = (href: string) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || href.trim() === \"\") return null;\n\n // 2. TRY-CATCH\n try {\n // 3. REGEX / UTIL LOGIC\n const baseUrl = typeof window !== \"undefined\" ? window.location.origin : \"http://localhost\";\n return new URL(href, baseUrl);\n } catch {\n return null;\n }\n};\n\nconst getAttributeValue = (attributes: string, name: string) => {\n // 1. INPUT SANITIZATION\n if (typeof attributes !== \"string\" || typeof name !== \"string\" || name.trim() === \"\") return \"\";\n\n try {\n // 2. TRY-CATCH already wraps below\n // 3. REGEX / UTIL LOGIC\n const match = attributes.match(new RegExp(`\\\\b${name}\\\\s*=\\\\s*(['\"])(.*?)\\\\1`, \"i\"));\n return match?.[2] ?? \"\";\n } catch {\n return \"\";\n }\n};\n\nconst escapeHtmlAttribute = (value: string) => {\n // 1. INPUT SANITIZATION\n if (typeof value !== \"string\" || value === \"\") return \"\";\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n return value\n .replace(/&/g, \"&amp;\")\n .replace(/\"/g, \"&quot;\")\n .replace(/</g, \"&lt;\")\n .replace(/>/g, \"&gt;\");\n } catch {\n return value;\n }\n};\n\nconst upsertAttribute = (anchorOpen: string, name: string, value: string) => {\n // 1. INPUT SANITIZATION\n if (typeof anchorOpen !== \"string\" || anchorOpen.trim() === \"\") return anchorOpen;\n if (typeof name !== \"string\" || name.trim() === \"\") return anchorOpen;\n if (!value || typeof value !== \"string\") return anchorOpen;\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const escapedValue = escapeHtmlAttribute(value);\n const attributeRegex = new RegExp(`\\\\b${name}\\\\s*=\\\\s*(['\"])(.*?)\\\\1`, \"i\");\n\n if (attributeRegex.test(anchorOpen)) {\n return anchorOpen.replace(attributeRegex, () => `${name}=\"${escapedValue}\"`);\n }\n\n return anchorOpen.replace(/<a\\b/i, () => `<a ${name}=\"${escapedValue}\"`);\n } catch {\n return anchorOpen;\n }\n};\n\nconst appendRulebookParams = (href: string, params: Record<string, string>) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || href.trim() === \"\") return href;\n if (!params || typeof params !== \"object\") return href;\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const parsed = parseHref(href);\n if (!parsed) return href;\n\n Object.entries(params).forEach(([key, value]) => {\n if (value) parsed.searchParams.set(key, value);\n });\n\n const resolvedHref = `${parsed.pathname}${parsed.search}${parsed.hash}`;\n if (href.startsWith(\"./\")) return `.${resolvedHref}`;\n if (!href.startsWith(\"/\") && resolvedHref.startsWith(\"/\")) return resolvedHref.slice(1);\n return resolvedHref;\n } catch {\n return href;\n }\n};\n\nconst getLinkCitationNumber = (href: string) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || !href) return null;\n\n // 2. CHECK PROPRIETARY TAGS (e.g., pdf_citation$2 or deviation_summary$1)\n const prefixMatch = href.match(/^(?:pdf_citation|deviation_summary)\\$(\\d+)/);\n if (prefixMatch) {\n return prefixMatch[1];\n }\n\n // 3. FALLBACK FOR STANDARD URLS\n try {\n const parsed = parseHref(href.replace(/&amp;/gi, \"&\"));\n // UPDATED: Check both camelCase and snake_case\n return parsed?.searchParams.get(\"citationNumber\") || parsed?.searchParams.get(\"citation_number\") || null;\n } catch {\n return null;\n }\n};\n\nconst getQueryParamValue = (href: string, name: string) => {\n if (typeof href !== \"string\" || !href || typeof name !== \"string\" || !name) return \"\";\n\n try {\n const queryStartIndex = href.indexOf(\"?\");\n if (queryStartIndex >= 0) {\n const query = href.slice(queryStartIndex + 1).replace(/&amp;/gi, \"&\");\n const paramStart = query.indexOf(`${name}=`);\n if (paramStart >= 0) {\n const valueStart = paramStart + name.length + 1;\n const followingParamMatch = query\n .slice(valueStart)\n .match(/&[A-Za-z_][A-Za-z0-9_]*=/);\n const valueEnd = followingParamMatch?.index !== undefined\n ? valueStart + followingParamMatch.index\n : query.length;\n\n return decodeURIComponent(query.slice(valueStart, valueEnd).replace(/\\+/g, \" \"));\n }\n }\n\n const parsed = parseHref(href.replace(/&amp;/gi, \"&\"));\n return parsed?.searchParams.get(name) || \"\";\n } catch {\n return \"\";\n }\n};\n\nexport const mergeRulebookCitationsIntoMatchingLinks = (rawContent: string) => {\n // 1. INPUT SANITIZATION\n // Removed the strict \"rulebook_citation\" check here because the new format \n // uses \"il_rulebook_citation\" in the URL instead of the HTML attribute.\n if (typeof rawContent !== \"string\" || !rawContent || !rawContent.includes(\"citation_type\")) {\n return rawContent;\n }\n\n try {\n let content = rawContent;\n // Adjusted regex to be slightly more forgiving of the malformed quote in item 3\n const rulebookAnchorRegex = /<a\\b([^>]*?)>([\\s\\S]*?)<\\/a>/gi;\n const rulebookAnchors = Array.from(rawContent.matchAll(rulebookAnchorRegex));\n\n rulebookAnchors.forEach((match) => {\n const fullAnchor = match[0];\n const attributes = match[1] || \"\";\n \n // Extract href early to check if it's a rulebook citation\n const rawHref = getAttributeValue(attributes, \"href\").replace(/&amp;/gi, \"&\");\n const parsedHref = parseHref(rawHref);\n \n let type = getAttributeValue(attributes, \"type\");\n const urlCitationType = parsedHref?.searchParams.get(\"citation_type\");\n \n // Allow if HTML type is rulebook_citation OR URL param is il_rulebook_citation\n const isRulebook = type === \"rulebook_citation\" || urlCitationType === \"il_rulebook_citation\";\n if (!isRulebook) return;\n \n // Fallback to URL param if HTML attribute is missing\n if (!type) type = urlCitationType || \"rulebook_citation\";\n \n const reason = getAttributeValue(attributes, \"reason\");\n \n // Handle both \"citationNumber\" and \"citation_number\"\n const rulebookCitationNumber = parsedHref?.searchParams.get(\"citationNumber\") || parsedHref?.searchParams.get(\"citation_number\") || \"\";\n \n // Handle both \"rb_1\" format and standard \"1\" format\n const rbMatch = rulebookCitationNumber.match(/^rb_(.+)$/);\n const targetCitationNumber = rbMatch ? rbMatch[1] : rulebookCitationNumber;\n \n if (!targetCitationNumber) {\n content = content.split(fullAnchor).join(\"\");\n return;\n }\n\n const paramsToMerge = {\n citation_type: urlCitationType || \"\",\n phrase_to_highlight: getQueryParamValue(rawHref, \"phrase_to_highlight\"),\n };\n \n if (!paramsToMerge.citation_type && !paramsToMerge.phrase_to_highlight) {\n content = content.split(fullAnchor).join(\"\");\n return;\n }\n\n let merged = false;\n \n const mergeHrefIfMatchingCitationNumber = (linkHref: string) => {\n if (getLinkCitationNumber(linkHref) !== targetCitationNumber) {\n return linkHref;\n }\n merged = true;\n return appendRulebookParams(linkHref, paramsToMerge);\n };\n\n content = content.replace(/\\[([^\\]]+)\\]\\(([^)\\n]+)\\)/g, (link, label, linkHref) => {\n const mergedHref = mergeHrefIfMatchingCitationNumber(linkHref);\n if (mergedHref === linkHref) return link;\n\n return `<a type=\"${escapeHtmlAttribute(type)}\" reason=\"${escapeHtmlAttribute(reason)}\" href=\"${escapeHtmlAttribute(mergedHref)}\">${label}</a>`;\n });\n\n if (!merged) {\n // Simplified attribute matching to handle standard tags\n content = content.replace(/<a\\b([^>]*?)>/gi, (anchorOpen, anchorAttributes) => {\n const anchorType = getAttributeValue(anchorAttributes, \"type\") || parseHref(getAttributeValue(anchorAttributes, \"href\"))?.searchParams.get(\"citation_type\");\n \n if (anchorType === \"rulebook_citation\" || anchorType === \"il_rulebook_citation\") return anchorOpen;\n\n const linkHref = getAttributeValue(anchorAttributes, \"href\");\n const mergedHref = mergeHrefIfMatchingCitationNumber(linkHref);\n if (mergedHref === linkHref) return anchorOpen;\n\n const anchorWithHref = anchorOpen.replace(\n /\\bhref\\s*=\\s*(['\"])(.*?)\\1/i,\n (_hrefAttr, quote) => `href=${quote}${mergedHref}${quote}`,\n );\n return upsertAttribute(upsertAttribute(anchorWithHref, \"type\", type), \"reason\", reason);\n });\n }\n\n content = content.split(fullAnchor).join(\"\");\n });\n\n return content;\n } catch {\n return rawContent;\n }\n};\n\nexport const processGuidelinesMarkdown = ({\n guidelinesData,\n targetHighlights = [],\n labelColor = \"#FEF08A\",\n}: {\n guidelinesData: any;\n targetHighlights?: string[];\n labelColor?: string;\n}) => {\n // 1. INPUT SANITIZATION\n const safeTargetHighlights = Array.isArray(targetHighlights)\n ? targetHighlights.filter((t) => typeof t === \"string\" && t.length > 0)\n : [];\n const safeLabelColor = typeof labelColor === \"string\" && labelColor.trim() !== \"\" ? labelColor : \"#FEF08A\";\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const snapshots =\n guidelinesData?.userStorySnapshot || [];\n\n let combinedMarkdown = \"\";\n\n snapshots.forEach((story: any) => {\n if (story?.title) combinedMarkdown += `### ${story.title}\\n\\n`;\n if (story?.value) combinedMarkdown += `${story.value}\\n\\n`;\n\n story?.sub_features?.forEach((sub: any) => {\n if (sub?.title) combinedMarkdown += `#### ${sub.title}\\n\\n`;\n if (sub?.value) combinedMarkdown += `${sub.value}\\n\\n`;\n });\n });\n\n safeTargetHighlights.forEach((targetText, index) => {\n try {\n const escapedText = targetText.replace(\n /[-\\/\\\\^$*+?.()|[\\]{}]/g,\n \"\\\\$&\"\n );\n\n const regex = new RegExp(`(${escapedText})`, \"g\");\n\n combinedMarkdown = combinedMarkdown.replace(\n regex,\n `<mark id=\"guideline-target-${index}\" style=\"background-color: ${safeLabelColor}; border-radius: 3px; padding: 2px;\">$1</mark>`\n );\n } catch {\n // Skip a single bad highlight term rather than failing the whole render\n }\n });\n\n return combinedMarkdown;\n } catch {\n return \"\";\n }\n};\n\n\nexport const getCitationNumberFromHref = (url: string): { citationNumber: string | null; phraseToHighlight: string | null } => {\n // 1. INPUT SANITIZATION\n if (typeof url !== \"string\" || url.trim() === \"\") {\n return { citationNumber: null, phraseToHighlight: null };\n }\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const parsedUrl = new URL(url, window.location.origin);\n // UPDATED: Check both camelCase and snake_case\n const citationNumber = parsedUrl.searchParams.get(\"citationNumber\") || parsedUrl.searchParams.get(\"citation_number\");\n const phraseToHighlight = parsedUrl.searchParams.get(\"phrase_to_highlight\");\n return { citationNumber, phraseToHighlight };\n } catch {\n return { citationNumber: null, phraseToHighlight: null };\n }\n};"],"names":["parseHref","href","trim","baseUrl","window","location","origin","URL","getAttributeValue","attributes","name","match","RegExp","escapeHtmlAttribute","value","replace","upsertAttribute","anchorOpen","escapedValue","attributeRegex","test","getQueryParamValue","queryStartIndex","indexOf","query","slice","paramStart","valueStart","length","followingParamMatch","valueEnd","index","decodeURIComponent","parsed","searchParams","get","mergeRulebookCitationsIntoMatchingLinks","rawContent","includes","content","rulebookAnchorRegex","Array","from","matchAll","forEach","fullAnchor","rawHref","parsedHref","type","urlCitationType","reason","rulebookCitationNumber","rbMatch","targetCitationNumber","split","join","paramsToMerge","citation_type","phrase_to_highlight","merged","mergeHrefIfMatchingCitationNumber","linkHref","prefixMatch","getLinkCitationNumber","params","Object","entries","key","set","resolvedHref","pathname","search","hash","startsWith","appendRulebookParams","link","label","mergedHref","anchorAttributes","anchorType","anchorWithHref","_hrefAttr","quote"],"mappings":"AAEA,MAAMA,EAAaC,IAEf,GAAoB,iBAATA,GAAqC,KAAhBA,EAAKC,OAAsB,OAAA,KAGvD,IAEA,MAAMC,EAA4B,oBAAXC,OAAyBA,OAAOC,SAASC,OAAS,mBAClE,OAAA,IAAIC,IAAIN,EAAME,EAAO,CACxB,MACG,OAAA,IACX,GAGEK,EAAoB,CAACC,EAAoBC,KAEvC,GAAsB,iBAAfD,GAA2C,iBAATC,GAAqC,KAAhBA,EAAKR,OAAsB,MAAA,GAEzF,IAGM,MAAAS,EAAQF,EAAWE,MAAM,IAAIC,OAAO,MAAMF,2BAA+B,MACxE,OAAAC,IAAQ,IAAM,EAAA,CACjB,MACG,MAAA,EACX,GAGEE,EAAuBC,IAEzB,GAAqB,iBAAVA,GAAgC,KAAVA,EAAqB,MAAA,GAElD,IAGA,OAAOA,EACFC,QAAQ,KAAM,SACdA,QAAQ,KAAM,UACdA,QAAQ,KAAM,QACdA,QAAQ,KAAM,OAAM,CACrB,MACG,OAAAD,CACX,GAGEE,EAAkB,CAACC,EAAoBP,EAAcI,KAEvD,GAA0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:e.learnings_data)&&Object.keys(e.learnings_data).length>0){var u=Object.keys(e.learnings_data)[0],d=e.learnings_data[u];(null==d?void 0:d.instruction_prompt)&&(c=d.instruction_prompt)}else{((null===(t=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.artifactData)||void 0===t?void 0:t.userStorySnapshot)||[]).forEach(function(a){var n;a.title&&(c+="### ".concat(a.title,"\n\n")),a.value&&(c+="".concat(a.value,"\n\n")),null===(n=a.sub_features)||void 0===n||n.forEach(function(a){a.title&&(c+="#### ".concat(a.title,"\n\n")),a.value&&(c+="".concat(a.value,"\n\n"))})})}return o.forEach(function(a,n){var t=a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),e=new RegExp("(".concat(t,")"),"g");c=c.replace(e,'<mark id="guideline-target-'.concat(n,'" style="background-color: ').concat(r,'; border-radius: 3px; padding: 2px;">$1</mark>'))}),c};export{a as processGuidelinesMarkdown};
1
+ const t=({guidelinesData:t,targetHighlights:e=[],labelColor:a="#FEF08A"})=>{let n="";if(t?.learnings_data&&Object.keys(t.learnings_data).length>0){const e=Object.keys(t.learnings_data)[0],a=t.learnings_data[e];a?.instruction_prompt&&(n=a.instruction_prompt)}else{(t?.data?.artifactData?.userStorySnapshot||[]).forEach(t=>{t.title&&(n+=`### ${t.title}\n\n`),t.value&&(n+=`${t.value}\n\n`),t.sub_features?.forEach(t=>{t.title&&(n+=`#### ${t.title}\n\n`),t.value&&(n+=`${t.value}\n\n`)})})}return e.forEach((t,e)=>{const r=t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),l=new RegExp(`(${r})`,"g");n=n.replace(l,`<mark id="guideline-target-${e}" style="background-color: ${a}; border-radius: 3px; padding: 2px;">$1</mark>`)}),n};export{t as processGuidelinesMarkdown};
2
2
  //# sourceMappingURL=processGuidelinesMarkdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"processGuidelinesMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"processGuidelinesMarkdown.js","sources":["../../../../../src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.ts"],"sourcesContent":["export const processGuidelinesMarkdown = ({\n guidelinesData,\n targetHighlights = [],\n labelColor = \"#FEF08A\",\n}: {\n guidelinesData: any;\n targetHighlights?: string[];\n labelColor?: string;\n}) => {\n let combinedMarkdown = \"\";\n\n // ── NEW STRUCTURE: Check for learnings_data and use instruction_prompt from the first entry ──\n if (guidelinesData?.learnings_data && Object.keys(guidelinesData.learnings_data).length > 0) {\n const firstLearningKey = Object.keys(guidelinesData.learnings_data)[0];\n const firstLearning = guidelinesData.learnings_data[firstLearningKey];\n \n if (firstLearning?.instruction_prompt) {\n combinedMarkdown = firstLearning.instruction_prompt;\n }\n } \n // ── OLD STRUCTURE FALLBACK (Prevents breaking existing functionality) ──\n else {\n const snapshots = guidelinesData?.data?.artifactData?.userStorySnapshot || [];\n snapshots.forEach((story: any) => {\n if (story.title) combinedMarkdown += `### ${story.title}\\n\\n`;\n if (story.value) combinedMarkdown += `${story.value}\\n\\n`;\n\n story.sub_features?.forEach((sub: any) => {\n if (sub.title) combinedMarkdown += `#### ${sub.title}\\n\\n`;\n if (sub.value) combinedMarkdown += `${sub.value}\\n\\n`;\n });\n });\n }\n\n targetHighlights.forEach((targetText, index) => {\n const escapedText = targetText.replace(\n /[-\\/\\\\^$*+?.()|[\\]{}]/g,\n \"\\\\$&\"\n );\n\n const regex = new RegExp(`(${escapedText})`, \"g\");\n\n combinedMarkdown = combinedMarkdown.replace(\n regex,\n `<mark id=\"guideline-target-${index}\" style=\"background-color: ${labelColor}; border-radius: 3px; padding: 2px;\">$1</mark>`\n );\n });\n\n return combinedMarkdown;\n};"],"names":["processGuidelinesMarkdown","guidelinesData","targetHighlights","labelColor","combinedMarkdown","learnings_data","Object","keys","length","firstLearningKey","firstLearning","instruction_prompt","data","artifactData","userStorySnapshot","forEach","story","title","value","sub_features","sub","targetText","index","escapedText","replace","regex","RegExp"],"mappings":"AAAO,MAAMA,EAA4B,EACvCC,iBACAC,mBAAmB,GACnBC,aAAa,cAMb,IAAIC,EAAmB,GAGnB,GAAAH,GAAgBI,gBAAkBC,OAAOC,KAAKN,EAAeI,gBAAgBG,OAAS,EAAG,CAC3F,MAAMC,EAAmBH,OAAOC,KAAKN,EAAeI,gBAAgB,GAC9DK,EAAgBT,EAAeI,eAAeI,GAEhDC,GAAeC,qBACjBP,EAAmBM,EAAcC,mBACnC,KAGG,EACeV,GAAgBW,MAAMC,cAAcC,mBAAqB,IACjEC,QAASC,IACbA,EAAMC,QAA2Bb,GAAA,OAAOY,EAAMC,aAC9CD,EAAME,QAA2Bd,GAAA,GAAGY,EAAME,aAExCF,EAAAG,cAAcJ,QAASK,IACvBA,EAAIH,QAA2Bb,GAAA,QAAQgB,EAAIH,aAC3CG,EAAIF,QAA2Bd,GAAA,GAAGgB,EAAIF,gBAGhD,CAgBO,OAdUhB,EAAAa,QAAQ,CAACM,EAAYC,KACpC,MAAMC,EAAcF,EAAWG,QAC7B,yBACA,QAGIC,EAAQ,IAAIC,OAAO,IAAIH,KAAgB,KAE7CnB,EAAmBA,EAAiBoB,QAClCC,EACA,8BAA8BH,+BAAmCnB,qDAI9DC"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as a}from"react/jsx-runtime";import{Box as i,Typography as n}from"@mui/material";var r=function(){return t(i,e({sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","@keyframes bounce":{"0%":{transform:"translateY(0) scale(1)",opacity:.6},"100%":{transform:"translateY(-12px) scale(1.15)",opacity:1}},"@keyframes glowPulse":{"0%, 100%":{textShadow:"0 0 6px rgba(89,40,237,0.2)"},"50%":{textShadow:"0 0 14px rgba(89,40,237,0.45)"}}}},{children:[a(n,e({sx:{mb:2,fontSize:"20px",fontWeight:600,fontFamily:"sans-serif",color:"#5928ED",letterSpacing:"0.8px",animation:"glowPulse 2s ease-in-out infinite"}},{children:"Switching views..."})),a(i,e({sx:{display:"flex",gap:"8px"}},{children:[0,1,2].map(function(e){return a(i,{sx:{width:"12px",height:"12px",borderRadius:"50%",background:"linear-gradient(145deg, #7c5cff, #5928ED)",boxShadow:"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)",animation:"bounce 0.6s infinite alternate",animationDelay:"".concat(.15*e,"s")}},e)})}))]}))};export{r as default};
1
+ import{jsxs as e,jsx as a}from"react/jsx-runtime";import{Box as t,Typography as i}from"@mui/material";const n=()=>e(t,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","@keyframes bounce":{"0%":{transform:"translateY(0) scale(1)",opacity:.6},"100%":{transform:"translateY(-12px) scale(1.15)",opacity:1}},"@keyframes glowPulse":{"0%, 100%":{textShadow:"0 0 6px rgba(89,40,237,0.2)"},"50%":{textShadow:"0 0 14px rgba(89,40,237,0.45)"}}},children:[a(i,{sx:{mb:2,fontSize:"20px",fontWeight:600,fontFamily:"sans-serif",color:"#5928ED",letterSpacing:"0.8px",animation:"glowPulse 2s ease-in-out infinite"},children:"Switching views..."}),a(t,{sx:{display:"flex",gap:"8px"},children:[0,1,2].map(e=>a(t,{sx:{width:"12px",height:"12px",borderRadius:"50%",background:"linear-gradient(145deg, #7c5cff, #5928ED)",boxShadow:"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)",animation:"bounce 0.6s infinite alternate",animationDelay:.15*e+"s"}},e))})]});export{n as default};
2
2
  //# sourceMappingURL=LoaderComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"LoaderComponent.js","sources":["../../../src/features/CognitiveCompare/LoaderComponent.tsx"],"sourcesContent":["import { Box, Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst BouncingDotsLoader = () => {\n return (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n\n \"@keyframes bounce\": {\n \"0%\": { transform: \"translateY(0) scale(1)\", opacity: 0.6 },\n \"100%\": { transform: \"translateY(-12px) scale(1.15)\", opacity: 1 },\n },\n\n \"@keyframes glowPulse\": {\n \"0%, 100%\": {\n textShadow: \"0 0 6px rgba(89,40,237,0.2)\",\n },\n \"50%\": {\n textShadow: \"0 0 14px rgba(89,40,237,0.45)\",\n },\n },\n }}\n >\n <Typography\n sx={{\n mb: 2,\n fontSize: \"20px\",\n fontWeight: 600,\n fontFamily: \"sans-serif\",\n\n color: \"#5928ED\",\n letterSpacing: \"0.8px\",\n\n animation: \"glowPulse 2s ease-in-out infinite\",\n }}\n >\n Switching views...\n </Typography>\n\n <Box sx={{ display: \"flex\", gap: \"8px\" }}>\n {[0, 1, 2].map((i) => (\n <Box\n key={i}\n sx={{\n width: \"12px\",\n height: \"12px\",\n borderRadius: \"50%\",\n\n background: \"linear-gradient(145deg, #7c5cff, #5928ED)\",\n\n boxShadow:\n \"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)\",\n\n animation: \"bounce 0.6s infinite alternate\",\n animationDelay: `${i * 0.15}s`,\n }}\n />\n ))}\n </Box>\n </Box>\n );\n};\n\nexport default BouncingDotsLoader;"],"names":["BouncingDotsLoader","jsxs","Box","sx","display","flexDirection","justifyContent","alignItems","transform","opacity","textShadow","children","jsx","Typography","mb","fontSize","fontWeight","fontFamily","color","letterSpacing","animation","gap","map","i","width","height","borderRadius","background","boxShadow","animationDelay"],"mappings":"sGAGA,MAAMA,EAAqB,IAEvBC,EAACC,EAAA,CACCC,GAAI,CACFC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SAEZ,oBAAqB,CACnB,KAAM,CAAEC,UAAW,yBAA0BC,QAAS,IACtD,OAAQ,CAAED,UAAW,gCAAiCC,QAAS,IAGjE,uBAAwB,CACtB,WAAY,CACVC,WAAY,+BAEd,MAAO,CACLA,WAAY,mCAKlBC,SAAA,CAAAC,EAACC,EAAA,CACCV,GAAI,CACFW,GAAI,EACJC,SAAU,OACVC,WAAY,IACZC,WAAY,aAEZC,MAAO,UACPC,cAAe,QAEfC,UAAW,qCAEdT,SAAA,yBAIAT,EAAI,CAAAC,GAAI,CAAEC,QAAS,OAAQiB,IAAK,OAC9BV,SAAA,CAAC,EAAG,EAAG,GAAGW,IAAKC,GACdX,EAACV,EAAA,CAECC,GAAI,CACFqB,MAAO,OACPC,OAAQ,OACRC,aAAc,MAEdC,WAAY,4CAEZC,UACE,8DAEFR,UAAW,iCACXS,eAAuB,IAAJN,EAAH,MAZbA"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as i,jsxs as n,Fragment as t}from"react/jsx-runtime";import{Menu as o,Box as r,Typography as l,MenuItem as s}from"@mui/material";import{ButtonCognitiveIcon as c}from"../../assests/svg/ButtonCognitiveIcon.js";var d=function(){return i("svg",e({width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M2 6.5L5 9.5L11 3.5",stroke:"#15803D",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}))},a=[{key:"connect",title:"Connect",icon:i("svg",e({width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M14.8237 3.89331C14.547 5.57188 13.0559 6.77501 11.3572 6.69242C9.65857 6.60983 8.2925 5.26384 8.18312 3.56742C4.75678 3.67456 3.54027 4.4759 3.73893 6.10536C3.81259 6.71474 4.18089 7.04063 4.85723 7.19911C5.26794 7.2951 5.7233 7.30849 6.13625 7.27054C6.17419 7.26608 6.21437 7.26385 6.25232 7.25938C6.50455 7.19911 6.76125 7.14777 7.01794 7.1076C7.77911 6.9826 8.55366 6.9201 9.29027 6.96027C11.3617 7.07188 12.7724 7.98483 12.8438 9.92233C12.913 11.7996 11.6229 13.1299 9.5425 14.0205C8.87509 14.3063 8.1675 14.5272 7.45991 14.6946C7.14071 14.7705 6.87286 14.8219 6.67419 14.8554C6.49786 16.5496 5.07821 17.842 3.37509 17.8554C1.67196 17.8688 0.229997 16.6031 0.0246403 14.9112C-0.180717 13.2192 0.917498 11.6455 2.57375 11.2527C4.23 10.8598 5.91973 11.7728 6.49562 13.3755C6.70544 13.3375 6.91303 13.2951 7.12062 13.246C7.75009 13.0987 8.37955 12.9022 8.95991 12.6522C10.538 11.9781 11.3996 11.0875 11.3595 9.9759C11.3237 8.98036 10.6095 8.52054 9.21214 8.44465C8.5983 8.41117 7.92643 8.46474 7.26348 8.57411C7.07821 8.60536 6.90857 8.63661 6.75902 8.6701C6.67196 8.68795 6.61169 8.70358 6.58491 8.71027L6.51571 8.72367C6.4666 8.73036 6.38402 8.74152 6.27687 8.75268C5.71884 8.80402 5.11393 8.78617 4.52464 8.65001C3.2925 8.36206 2.42866 7.59643 2.26794 6.2884C1.9175 3.47143 4.02241 2.16563 8.42866 2.07188C9.07821 0.500452 10.8037 -0.336602 12.4376 0.129916C14.0737 0.596434 15.1005 2.21474 14.8237 3.89331V3.89331ZM3.34161 12.6478C3.09741 12.6478 2.85562 12.6959 2.63002 12.7894C2.40442 12.8828 2.19944 13.0198 2.02678 13.1925C1.85412 13.3652 1.71717 13.5702 1.62373 13.7958C1.5303 14.0214 1.48222 14.2632 1.48223 14.5074C1.48224 14.7516 1.53036 14.9934 1.62382 15.219C1.71728 15.4446 1.85426 15.6495 2.02694 15.8222C2.19962 15.9949 2.40462 16.1318 2.63022 16.2252C2.85583 16.3187 3.09764 16.3668 3.34183 16.3667C3.83499 16.3667 4.30795 16.1708 4.65665 15.822C5.00535 15.4733 5.20123 15.0003 5.2012 14.5071C5.20117 14.014 5.00524 13.541 4.65649 13.1923C4.30775 12.8436 3.83477 12.6477 3.34161 12.6478ZM11.5224 1.49152C11.2782 1.49154 11.0364 1.53965 10.8108 1.63311C10.5852 1.72657 10.3802 1.86355 10.2076 2.03623C10.0349 2.20891 9.89797 2.41391 9.80454 2.63952C9.7111 2.86513 9.66302 3.10693 9.66303 3.35112C9.66305 3.59531 9.71116 3.83711 9.80462 4.06271C9.89808 4.28831 10.0351 4.49329 10.2077 4.66594C10.3804 4.8386 10.5854 4.97556 10.811 5.06899C11.0366 5.16243 11.2784 5.21051 11.5226 5.2105C12.0158 5.21047 12.4888 5.01453 12.8375 4.66579C13.1862 4.31704 13.382 3.84406 13.382 3.3509C13.382 2.85773 13.186 2.38478 12.8373 2.03608C12.4886 1.68738 12.0156 1.49149 11.5224 1.49152V1.49152Z",fill:"#1D2939",fillOpacity:"0.85"})}))},{key:"side-by-side",title:"Side by Side",icon:i("svg",e({width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M3.19922 8.19922H13.1992M3.19922 8.19922L4.86589 10.6992M3.19922 8.19922L4.86589 5.69922M13.1992 8.19922L11.5326 10.6992M13.1992 8.19922L11.5326 5.69922M15.6992 0.699219V15.6992M0.699219 0.699219V15.6992",stroke:"#3F4957",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}))},{key:"cognitive-decisioning",title:"Cognitive Decisioning",icon:i(c,{})}],C=function(c){var C=c.open,h=c.anchorEl;c.sectionTitle,c.referenceSectionTitle;var p=c.onClose,g=c.onOpenCognitiveCompare,x=c.onOpenSideBySide,f=c.onConnect,u=c.isConnected,m=void 0!==u&&u,y=c.isOrphan,v=void 0!==y&&y,w=c.maintainRelativeOrder,k=c.isGuidelineMode,b=c.hasGuidelineMatches,F=k?!(void 0===b||b):v,M=k?"No highlights found in guidelines.":"No counterpart exists to connect to.";return i(o,e({open:C,anchorEl:h,onClose:p,disableScrollLock:!0,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{sx:{ml:.75,minWidth:190,maxWidth:220,borderRadius:"12px",border:"1px solid #E4E7EC",boxShadow:"0px 12px 28px rgba(16, 24, 40, 0.12)",overflow:"hidden"}},MenuListProps:{sx:{p:.5,bgcolor:"#FFFFFF"}}},{children:a.filter(function(e){return w||"side-by-side"!==e.key}).map(function(o){var c="connect"===o.key,a=c&&m,C=("connect"===o.key||"side-by-side"===o.key)&&F,h=n(t,{children:[i(r,e({sx:e(e({width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"}},C&&{opacity:.15}),a&&{"& svg path":{fill:"#15803D",fillOpacity:1}})},{children:o.icon})),n(r,e({sx:{minWidth:0,display:"flex",flexDirection:"column",flex:1}},{children:[i(l,e({sx:{fontSize:"12px",fontWeight:500,color:C?"#98A2B3":a?"#15803D":"#101828",lineHeight:1.2,whiteSpace:"nowrap"}},{children:c?m?"Disconnect":"Connect":o.title})),C&&i(l,e({sx:{mt:.35,fontSize:"10px",lineHeight:1.3,color:"#98A2B3",whiteSpace:"normal"}},{children:M}))]})),a&&!C&&i(r,e({sx:{display:"flex",alignItems:"center",justifyContent:"center",ml:"auto"}},{children:i(d,{})}))]});return C?i(r,e({"aria-disabled":"true",sx:{px:1.25,py:1,minHeight:22,borderRadius:"10px",display:"flex",alignItems:"flex-start",gap:1,cursor:"not-allowed",userSelect:"none"}},{children:h}),o.key):i(s,e({onClick:function(){var e;("connect"===(e=o.key)||"side-by-side"===e)&&F||("connect"!==e?"side-by-side"!==e?g():x():f())},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,bgcolor:a?"#F0FDF4":"transparent","&:hover":{bgcolor:a?"#DCFCE7":"#F9FAFB"}}},{children:h}),o.key)})}))};export{C as default};
1
+ import{jsx as e,jsxs as i,Fragment as n}from"react/jsx-runtime";import{Menu as t,Box as o,Typography as r,MenuItem as l}from"@mui/material";import{ButtonCognitiveIcon as s}from"../../assests/svg/ButtonCognitiveIcon.js";const c=()=>e("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M2 6.5L5 9.5L11 3.5",stroke:"#15803D",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),d=[{key:"connect",title:"Connect",icon:e("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.8237 3.89331C14.547 5.57188 13.0559 6.77501 11.3572 6.69242C9.65857 6.60983 8.2925 5.26384 8.18312 3.56742C4.75678 3.67456 3.54027 4.4759 3.73893 6.10536C3.81259 6.71474 4.18089 7.04063 4.85723 7.19911C5.26794 7.2951 5.7233 7.30849 6.13625 7.27054C6.17419 7.26608 6.21437 7.26385 6.25232 7.25938C6.50455 7.19911 6.76125 7.14777 7.01794 7.1076C7.77911 6.9826 8.55366 6.9201 9.29027 6.96027C11.3617 7.07188 12.7724 7.98483 12.8438 9.92233C12.913 11.7996 11.6229 13.1299 9.5425 14.0205C8.87509 14.3063 8.1675 14.5272 7.45991 14.6946C7.14071 14.7705 6.87286 14.8219 6.67419 14.8554C6.49786 16.5496 5.07821 17.842 3.37509 17.8554C1.67196 17.8688 0.229997 16.6031 0.0246403 14.9112C-0.180717 13.2192 0.917498 11.6455 2.57375 11.2527C4.23 10.8598 5.91973 11.7728 6.49562 13.3755C6.70544 13.3375 6.91303 13.2951 7.12062 13.246C7.75009 13.0987 8.37955 12.9022 8.95991 12.6522C10.538 11.9781 11.3996 11.0875 11.3595 9.9759C11.3237 8.98036 10.6095 8.52054 9.21214 8.44465C8.5983 8.41117 7.92643 8.46474 7.26348 8.57411C7.07821 8.60536 6.90857 8.63661 6.75902 8.6701C6.67196 8.68795 6.61169 8.70358 6.58491 8.71027L6.51571 8.72367C6.4666 8.73036 6.38402 8.74152 6.27687 8.75268C5.71884 8.80402 5.11393 8.78617 4.52464 8.65001C3.2925 8.36206 2.42866 7.59643 2.26794 6.2884C1.9175 3.47143 4.02241 2.16563 8.42866 2.07188C9.07821 0.500452 10.8037 -0.336602 12.4376 0.129916C14.0737 0.596434 15.1005 2.21474 14.8237 3.89331V3.89331ZM3.34161 12.6478C3.09741 12.6478 2.85562 12.6959 2.63002 12.7894C2.40442 12.8828 2.19944 13.0198 2.02678 13.1925C1.85412 13.3652 1.71717 13.5702 1.62373 13.7958C1.5303 14.0214 1.48222 14.2632 1.48223 14.5074C1.48224 14.7516 1.53036 14.9934 1.62382 15.219C1.71728 15.4446 1.85426 15.6495 2.02694 15.8222C2.19962 15.9949 2.40462 16.1318 2.63022 16.2252C2.85583 16.3187 3.09764 16.3668 3.34183 16.3667C3.83499 16.3667 4.30795 16.1708 4.65665 15.822C5.00535 15.4733 5.20123 15.0003 5.2012 14.5071C5.20117 14.014 5.00524 13.541 4.65649 13.1923C4.30775 12.8436 3.83477 12.6477 3.34161 12.6478ZM11.5224 1.49152C11.2782 1.49154 11.0364 1.53965 10.8108 1.63311C10.5852 1.72657 10.3802 1.86355 10.2076 2.03623C10.0349 2.20891 9.89797 2.41391 9.80454 2.63952C9.7111 2.86513 9.66302 3.10693 9.66303 3.35112C9.66305 3.59531 9.71116 3.83711 9.80462 4.06271C9.89808 4.28831 10.0351 4.49329 10.2077 4.66594C10.3804 4.8386 10.5854 4.97556 10.811 5.06899C11.0366 5.16243 11.2784 5.21051 11.5226 5.2105C12.0158 5.21047 12.4888 5.01453 12.8375 4.66579C13.1862 4.31704 13.382 3.84406 13.382 3.3509C13.382 2.85773 13.186 2.38478 12.8373 2.03608C12.4886 1.68738 12.0156 1.49149 11.5224 1.49152V1.49152Z",fill:"#1D2939",fillOpacity:"0.85"})})},{key:"side-by-side",title:"Side by Side",icon:e("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M3.19922 8.19922H13.1992M3.19922 8.19922L4.86589 10.6992M3.19922 8.19922L4.86589 5.69922M13.1992 8.19922L11.5326 10.6992M13.1992 8.19922L11.5326 5.69922M15.6992 0.699219V15.6992M0.699219 0.699219V15.6992",stroke:"#3F4957",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})},{key:"cognitive-decisioning",title:"Cognitive Decisioning",icon:e(s,{})}],C=({open:s,anchorEl:C,sectionTitle:a,referenceSectionTitle:h,onClose:p,onOpenCognitiveCompare:g,onOpenSideBySide:x,onConnect:f,isConnected:m=!1,isOrphan:y=!1,maintainRelativeOrder:u,isGuidelineMode:w,hasGuidelineMatches:k=!0})=>{const v=w?!k:y,b=w?"No highlights found in guidelines.":"No counterpart exists to connect to.";return e(t,{open:s,anchorEl:C,onClose:p,disableScrollLock:!0,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{sx:{ml:.75,minWidth:190,maxWidth:220,borderRadius:"12px",border:"1px solid #E4E7EC",boxShadow:"0px 12px 28px rgba(16, 24, 40, 0.12)",overflow:"hidden"}},MenuListProps:{sx:{p:.5,bgcolor:"#FFFFFF"}},children:d.filter(e=>u||"side-by-side"!==e.key).map(t=>{const s="connect"===t.key,d=s&&m,C=("connect"===t.key||"side-by-side"===t.key)&&v,a=i(n,{children:[e(o,{sx:{width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"},...C&&{opacity:.15},...d&&{"& svg path":{fill:"#15803D",fillOpacity:1}}},children:t.icon}),i(o,{sx:{minWidth:0,display:"flex",flexDirection:"column",flex:1},children:[e(r,{sx:{fontSize:"12px",fontWeight:500,color:C?"#98A2B3":d?"#15803D":"#101828",lineHeight:1.2,whiteSpace:"nowrap"},children:s?m?"Disconnect":"Connect":t.title}),C&&e(r,{sx:{mt:.35,fontSize:"10px",lineHeight:1.3,color:"#98A2B3",whiteSpace:"normal"},children:b})]}),d&&!C&&e(o,{sx:{display:"flex",alignItems:"center",justifyContent:"center",ml:"auto"},children:e(c,{})})]});return C?e(o,{"aria-disabled":"true",sx:{px:1.25,py:1,minHeight:22,borderRadius:"10px",display:"flex",alignItems:"flex-start",gap:1,cursor:"not-allowed",userSelect:"none"},children:a},t.key):e(l,{onClick:()=>{var e;("connect"===(e=t.key)||"side-by-side"===e)&&v||("connect"!==e?"side-by-side"!==e?g():x():f())},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,bgcolor:d?"#F0FDF4":"transparent","&:hover":{bgcolor:d?"#DCFCE7":"#F9FAFB"}},children:a},t.key)})})};export{C as default};
2
2
  //# sourceMappingURL=MoreFunctionsPopup.js.map