@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":"memoizedMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"memoizedMarkdown.js","sources":["../../../../src/features/CognitiveCompare/hooks/memoizedMarkdown.tsx"],"sourcesContent":["import { Box, Typography } from \"@mui/material\";\nimport React, { useMemo, useRef, useLayoutEffect, ReactElement, ReactNode } from \"react\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { EllipsisVertical } from \"lucide-react\";\nimport ReactMarkdown from \"react-markdown\";\nimport { areMarkdownPropsEqual, mixHexColors } from \"../CognitiveComparehelpers\";\nimport rehypeRaw from \"rehype-raw\";\nimport { HighlightMatch } from \"../CognitiveCompareTypes\";\nimport remarkGfm from \"remark-gfm\";\n\n// Ensures plugins work regardless of how the bundler exports them (ESM vs CJS)\nconst resolvePlugin = (plugin: any) => typeof plugin === \"function\" ? plugin : plugin?.default || plugin;\nconst remarkPlugins = [resolvePlugin(remarkGfm)];\nconst rehypePlugins = [resolvePlugin(rehypeRaw)];\n\ntype TransformFn = (element: ReactElement) => ReactElement;\nexport const MemoizedMarkdown = React.memo(({ \n content, \n overlayContent,\n sxStyles, \n deviationBadges = [], \n highlights = [],\n maintainRelativeOrder = true,\n highlightBg,\n suppressHighlightBg = false,\n collisionKey\n}: { \n content: string; \n overlayContent?: string;\n sxStyles: any; \n deviationBadges?: any[]; \n highlights?: string[]; \n maintainRelativeOrder?: boolean;\n highlightBg: string;\n suppressHighlightBg?: boolean;\n collisionKey?: string | number;\n}) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const hideHighlightBg = !!overlayContent;\n\n const badgeMap = useMemo(\n () => deviationBadges.reduce((acc, badge) => ({ ...acc, [badge.id]: badge }), {} as Record<string, any>),\n [deviationBadges],\n );\n\n const dynamicPropsRef = useRef({ badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg });\n dynamicPropsRef.current = { badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg };\n\n const mapChildrenDeep = (\n children: ReactNode,\n transform: TransformFn\n ): ReactNode => {\n return React.Children.map(children, (child) => {\n if (!React.isValidElement(child)) {\n return child;\n }\n\n const newChildren = child.props?.children\n ? mapChildrenDeep(child.props.children, transform)\n : child.props.children;\n\n const cloned = React.cloneElement(child, {\n ...child.props,\n children: newChildren,\n });\n\n return transform(cloned);\n });\n }\n\n const components = useMemo(() => ({\n mark: ({ children, ...props }: any) => {\n const { badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg } = dynamicPropsRef.current;\n const badgeId = props[\"data-badge-id\"];\n const badge = badgeId ? badgeMap[badgeId] : null;\n const overrideBg = props[\"data-highlight-color\"];\n const bg =\n overrideBg\n ?? badge?.style?.highlightBg\n ?? badge?.style?.badgeBg\n ?? highlightBg;\n \n const shouldHideBg = props[\"data-is-suggested-deviation-fix\"] === \"true\" || suppressHighlightBg;\n \n return (\n <span style={{\n ...(!shouldHideBg ? { backgroundColor: bg } : {}),\n borderRadius: \"2px\",\n display: \"inline\",\n boxDecorationBreak: \"clone\",\n WebkitBoxDecorationBreak: \"clone\",\n backgroundClip: \"padding-box\",\n padding: \"0 1px\",\n ...(hideHighlightBg ? { color: \"transparent\" } : {})\n }}>\n {children}\n </span>\n );\n },\n span: ({ children, ...props }: any) => {\n const { badgeMap } = dynamicPropsRef.current;\n const badgeId = props[\"data-badge-id\"];\n if (!badgeId) return <span {...props}>{children}</span>;\n\n const badge = badgeMap[badgeId];\n if (!badge) return <span {...props}>{children}</span>;\n\n const stackIndex = typeof badge.stackIndex === \"number\" ? badge.stackIndex : 0;\n const stackOffset = stackIndex * 12;\n const translateY = `translateY(calc(-20% + ${stackOffset}px + var(--badge-nudge, 0px)))`;\n\n return (\n <Box component=\"span\" sx={{ position: \"static\", display: \"inline\" }}>\n <Box\n ref={badge.badgeRef}\n className=\"deviation-badge\"\n data-side={badge.side || \"right\"}\n sx={{\n fontStyle: \"normal\",\n position: \"absolute\",\n zIndex: 30 + stackIndex,\n display: \"inline-flex\",\n alignItems: \"stretch\",\n fontSize: \"10px\",\n bgcolor: badge.style?.badgeBg || \"#EEF2FF\",\n color: badge.style?.badgeText || DEFAULT_DEVIAION_COLOR,\n border: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n borderRadius: \"12px\",\n fontWeight: 600,\n whiteSpace: \"nowrap\",\n boxShadow: \"0 1px 3px rgba(0,0,0,0.07)\",\n overflow: \"hidden\",\n transition: \"none\",\n ...(badge.side === \"left\"\n ? { right: \"-16px\", transform: `${translateY} translateX(calc(100% + 8px))` }\n : { left: \"-16px\", transform: `${translateY} translateX(calc(-100% - 8px))` }),\n ...(badge.isConnected && badge.style && { outline: `2px solid ${badge.style.badgeBorder}`, outlineOffset: \"1px\" })\n }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (badge.onSummaryClick) badge.onSummaryClick(e);\n }}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n px: 1,\n py: 0.3,\n cursor: \"pointer\",\n \"&:hover\": { bgcolor: \"rgba(0,0,0,0.04)\" },\n }}\n >\n <Box component=\"span\" sx={{ fontSize: \"10px\", fontWeight: 700 }}>\n {badge.label}\n </Box>\n {(badge.side === \"left\" || badge.isOrphan) && (\n <Box\n component=\"span\"\n sx={{\n fontSize: \"10px\",\n pl: 0.5,\n ml: 0.5,\n borderLeft: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n }}\n >\n {(badge.score != null && badge.score !== \"N/A\" && badge.score !== \"NA\" && badge.score !== 0)\n ? `${badge.score}`\n : (badge.score === \"N/A\" || badge.score === \"NA\")\n ? \"N/A\"\n : \"Same\"}\n </Box>\n )}\n </Box>\n\n {(badge.side === \"left\" || badge.isOrphan) && (\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (badge.onClick) badge.onClick(e);\n }}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n px: 0.5,\n borderLeft: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n cursor: \"pointer\",\n \"&:hover\": { bgcolor: \"rgba(0,0,0,0.06)\" },\n }}\n >\n <EllipsisVertical size={12} color={badge.style?.badgeText || \"#3730A3\"} />\n </Box>\n )}\n </Box>\n {children}\n </Box>\n );\n },\n table: ({ children }: any) => (\n <Box\n sx={{\n display: \"block\",\n width: \"100%\",\n maxWidth: \"100%\",\n minWidth: 0,\n boxSizing: \"border-box\",\n contain: \"inline-size\",\n overflowX: \"auto\",\n overflowY: \"hidden\",\n overscrollBehaviorX: \"contain\",\n WebkitOverflowScrolling: \"touch\",\n my: 1,\n }}\n >\n <Box\n component=\"table\"\n sx={{\n width: \"600px\",\n minWidth: \"600px\",\n tableLayout: \"fixed\",\n borderCollapse: \"collapse\",\n fontSize: \"inherit\",\n }}\n >\n {children}\n </Box>\n </Box>\n ),\n thead: ({ children }: any) => <Box component=\"thead\">{children}</Box>,\n tbody: ({ children }: any) => <Box component=\"tbody\">{children}</Box>,\n tr: ({ children }: any) => <Box component=\"tr\" sx={{ borderBottom: \"1px solid #E5E7EB\" }}>{children}</Box>,\n th: ({ children }: any) => <Box component=\"th\" sx={{ border: \"1px solid #E5E7EB\", padding: \"8px\", textAlign: \"left\", verticalAlign: \"top\", fontWeight: 600, backgroundColor: \"#F9FAFB\", whiteSpace: \"normal\", wordBreak: \"break-word\", overflowWrap: \"anywhere\" }}>{children}</Box>,\n td: ({ children }: any) => <Box component=\"td\" sx={{ border: \"1px solid #E5E7EB\", padding: \"8px\", verticalAlign: \"top\", whiteSpace: \"normal\", wordBreak: \"break-word\", overflowWrap: \"anywhere\" }}>{children}</Box>,\n code: ({ children }: any) => <span style={{ fontFamily: \"inherit\", fontSize: \"inherit\" }}>{children}</span>,\n pre: ({ children }: any) => <span style={{ fontFamily: \"inherit\", fontSize: \"inherit\", display: \"block\", whiteSpace: \"pre-wrap\" }}>{children}</span>,\n updated: ({ children }: any) => <>{children}</>,\n\n deleted: ({ children }: any) => {\n const updatedChildren = mapChildrenDeep(children, (el) => React.cloneElement(el, { \"data-is-suggested-deviation-fix\": \"true\" }));\n return <span style={{ boxShadow: \"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444\", backgroundColor: \"#FCCCCC\", textDecoration: \"line-through\" }}>{updatedChildren}</span>;\n },\n\n changed: ({ children }: any) => {\n const updatedChildren = mapChildrenDeep(children, (el) => React.cloneElement(el, { \"data-is-suggested-deviation-fix\": \"true\" }));\n return <span style={{ boxShadow: \"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF\", backgroundColor: \"#D5E8FF\" }}>{updatedChildren}</span>;\n },\n\n ul: ({ children, ...props }: any) => <Box component=\"ul\" sx={{ mt: 1, mb: 1, pl: 3, listStyleType: \"disc\" }} {...props}>{children}</Box>,\n ol: ({ children, ...props }: any) => <Box component=\"ol\" sx={{ mt: 1, mb: 1, pl: 3, listStyleType: \"decimal\" }} {...props}>{children}</Box>,\n li: ({ children, ...props }: any) => <Box component=\"li\" sx={{ mb: 0.5, display: \"list-item\" }} {...props}>{children}</Box>,\n }),\n []\n );\n\n const normalizeMarkdownText = (rawText: string): string => {\n if (!rawText || typeof rawText !== \"string\") return \"\";\n\n let text = rawText;\n\n // This converts `<updated><changed> * text` into `* <updated><changed>text to show bullet points in change_history as well`\n text = text.replace(/((?:<\\/?[a-z]+[^>]*>\\s*)+)([*+\\-] |\\d+\\. )/gi, \"$2$1\");\n\n text = text\n .replace(/\\\\(['\"])/g, \"$1\")\n .replace(/\\\\n/g, \"\\n\")\n .replace(/\\\\\\./g, \".\") \n .replace(/\\r\\n/g, \"\\n\");\n \n text = text.replace(/^(\\d+\\.)(\\s{2,})/gm, (_, num, spaces) => `${num.slice(0, -1)}\\\\.${spaces}`);\n text = text.replace(/^(\\d+\\.)\\s*\\n+(\\s+)(\\S)/gm, (_, marker, _indent, firstChar) => `${marker} ${firstChar}`);\n text = text.replace(/([^\\n])\\n(#{1,6} )/g, \"$1\\n\\n$2\");\n \n // Check for blank line before assign bullets\n text = text.replace(/([^\\n])\\n([ \\t]*(?:[#*+\\-] |\\d+\\. ))/g, \"$1\\n\\n$2\");\n\n text = text.replace(/\\n{3,}/g, \"\\n\\n\");\n\n // This protects the indentation required for markdown lists.\n text = text.replace(/^[ \\t]+(?![ \\t]*([\\*\\-\\+] |\\d+\\. ))/gm, (match) => {\n return match.replace(/ /g, \"\\u00A0\").replace(/\\t/g, \"\\u00A0\\u00A0\\u00A0\\u00A0\");\n });\n\n const parts = text.split(/(\\n{2,})/);\n text = parts.map((chunk) => {\n if (/^\\n+$/.test(chunk)) return chunk;\n if (/\\|.*\\|/.test(chunk) && /\\|[\\s:|-]+\\|/.test(chunk)) return chunk;\n if (/^#{1,6} /.test(chunk.trimStart())) return chunk;\n \n return chunk.replace(/\\n(?=[^\\n])/g, (_, offset) => {\n const remainingLine = chunk.slice(offset + 1);\n // If it is a bullet/number/table/heading, DO NOT collapse the newline\n const isStructural = /^[ \\t]*([#>|\\-*+]|\\d+\\.)/.test(remainingLine);\n return isStructural ? \"\\n\" : \" \";\n });\n }).join(\"\");\n\n // CRITICAL: Removed the duplicate `text = text.replace(/^[ \\t]+/gm...)` block from here!\n\n return text.trim();\n };\n\n const normalizePunctuationForMatch = (text: string) => text.replace(/[\\.,;:]/g, \" \");\n\n const collisionDependency = useMemo(() => deviationBadges.map((badge) => ({\n id: badge.id,\n connected: badge.isConnected,\n stackIndex: badge.stackIndex,\n size: badge.size,\n })), [deviationBadges]);\n\n const buildMarkOpen = (badgeId: string = \"\", color?: string) => {\n const colorAttr = color ? ` data-highlight-color=\"${color}\"` : \"\";\n const badgeAttr = badgeId ? ` data-badge-id=\"${badgeId}\"` : \"\";\n return `<mark${badgeAttr}${colorAttr}>`;\n };\n \n const buildMarkClose = () => `</mark>`;\n const buildSpanOpen = (badgeId: string) => `<span data-badge-id=\"${badgeId}\">`;\n const buildSpanClose = () => `</span>`;\n\n const wrapWithMark = (value: string, badgeId: string = \"\", highlightColor?: string) => {\n const match = value.match(/^(\\s*)([\\s\\S]*?)(\\s*)$/);\n if (!match) return value;\n const leading = match[1] ?? \"\";\n const body = match[2] ?? \"\";\n const trailing = match[3] ?? \"\";\n if (!body) return value;\n return leading + buildMarkOpen(badgeId, highlightColor) + body + buildMarkClose() + trailing;\n };\n\n const contentToRender = useMemo(() => {\n // 2. CRITICAL: Removed safeStringify here. Pure strings only to prevent encoded brackets.\n let normalizedContent = normalizeMarkdownText(content || \"\");\n\n const matchContent = suppressHighlightBg ? normalizePunctuationForMatch(normalizedContent) : normalizedContent;\n\n const badgeEntries = (deviationBadges || [])\n .map((badge: any) => ({\n id: badge?.id,\n highlight: normalizeMarkdownText(badge?.highlight || \"\"),\n highlightColor: badge?.style?.highlightBg || badge?.style?.badgeBg || highlightBg,\n }))\n .filter((entry: any) => entry.id && entry.highlight);\n\n const groupedBadges: Record<string, any[]> = {};\n badgeEntries.forEach((entry) => {\n if (!groupedBadges[entry.highlight]) groupedBadges[entry.highlight] = [];\n groupedBadges[entry.highlight].push(entry);\n });\n\n const createMarkedHighlight = (text: string, badgeId: string = \"\", highlightColor?: string, badges: any[] = []) => {\n let spanEmitted = false;\n\n const wrapSegment = (segment: string): string => {\n const mark = wrapWithMark(segment, badgeId, highlightColor);\n let wrapped = mark;\n \n if (!spanEmitted && badges.length > 0) {\n spanEmitted = true;\n let spansOpen = \"\";\n let spansClose = \"\";\n \n // Emit spans for ALL badges in the group, not just badges[0]\n badges.forEach((b) => {\n spansOpen += buildSpanOpen(b.id);\n spansClose = buildSpanClose() + spansClose;\n });\n \n wrapped = spansOpen + mark + spansClose;\n }\n \n return \"\\u200B\" + wrapped;\n };\n\n return text\n .split(/(\\n+)/)\n .map((part) => {\n if (/^\\n+$/.test(part)) return part;\n if (!part.trim()) return part;\n const strippedForSeparatorCheck = part.replace(/[|:\\-\\s]/g, \"\");\n if (strippedForSeparatorCheck === \"\" && part.includes(\"-\")) return part;\n if (part.includes(\"|\")) {\n return part.split(/(\\|)/).map((cell) => {\n if (cell === \"|\" || !cell.trim()) return cell;\n return wrapSegment(cell);\n }).join(\"\");\n }\n return wrapSegment(part);\n })\n .join(\"\");\n };\n\n const allMatches: HighlightMatch[] = [];\n\n Object.entries(groupedBadges).forEach(([highlight, badges]) => {\n let idx = normalizedContent.indexOf(highlight);\n let usedLooseMatch = false;\n\n if (idx === -1 && suppressHighlightBg) {\n const matchHighlight = normalizePunctuationForMatch(highlight);\n idx = matchContent.indexOf(matchHighlight);\n if (idx !== -1) usedLooseMatch = true;\n }\n\n if (idx === -1) return;\n\n let color = badges[0].highlightColor;\n for (let i = 1; i < badges.length; i++) {\n color = mixHexColors(color, badges[i].highlightColor || \"\");\n }\n\n allMatches.push({ highlight, start: idx, end: idx + highlight.length, badges, color, usedLooseMatch });\n });\n\n const badgeHighlightSet = new Set(Object.keys(groupedBadges));\n\n (highlights || []).forEach((highlight) => {\n if (!highlight) return;\n const cleanHighlight = normalizeMarkdownText(highlight);\n if (!cleanHighlight || badgeHighlightSet.has(cleanHighlight)) return;\n\n let idx = normalizedContent.indexOf(cleanHighlight);\n let usedLooseMatch = false;\n\n if (idx === -1 && suppressHighlightBg) {\n const matchHighlight = normalizePunctuationForMatch(cleanHighlight);\n idx = matchContent.indexOf(matchHighlight);\n if (idx !== -1) usedLooseMatch = true;\n }\n\n if (idx === -1) return;\n\n const before = normalizedContent.slice(0, idx);\n const openTags = (before.match(/</g) || []).length;\n const closeTags = (before.match(/>/g) || []).length;\n \n if (openTags === closeTags) {\n allMatches.push({\n highlight: cleanHighlight, start: idx, end: idx + cleanHighlight.length, badges: [], color: highlightBg || \"\", usedLooseMatch,\n } as unknown as HighlightMatch);\n }\n });\n\n allMatches.sort((a, b) => a.start - b.start || b.end - a.end);\n\n const claimedRanges: Array<{ start: number; end: number; matchIdx: number }> = [];\n const containedBy: Record<number, number> = {};\n\n allMatches.forEach((match, i) => {\n let start = match.start;\n let end = match.end;\n\n for (const claimed of claimedRanges) {\n const cStart = claimed.start;\n const cEnd = claimed.end;\n const fullyContained = start >= cStart && end <= cEnd;\n const partialOverlapRight = start < cEnd && end > cEnd && start >= cStart;\n const partialOverlapLeft = start < cStart && end > cStart && end <= cEnd;\n\n if (fullyContained) {\n match.orphaned = true;\n containedBy[i] = claimed.matchIdx;\n break;\n }\n if (partialOverlapRight) start = cEnd;\n if (partialOverlapLeft) end = cStart;\n }\n\n match.trimmedStart = start;\n match.trimmedEnd = end;\n\n if (!match.orphaned && start < end) {\n claimedRanges.push({ start, end, matchIdx: i });\n }\n });\n\n const childrenOf: Record<number, number[]> = {};\n Object.entries(containedBy).forEach(([childIdxStr, parentIdx]) => {\n const childIdx = Number(childIdxStr);\n if (!childrenOf[parentIdx]) childrenOf[parentIdx] = [];\n childrenOf[parentIdx].push(childIdx);\n });\n\n const injectChildren = (highlightText: string, parentAbsStart: number, childIndices: number[], parentColor: string) => {\n if (!childIndices.length) return highlightText;\n const children = childIndices.map((ci) => allMatches[ci]).sort((a, b) => a.start - b.start);\n let result = \"\";\n let cursor = 0;\n\n children.forEach((child) => {\n const relStart = Math.max(cursor, child.start - parentAbsStart);\n const relEnd = Math.max(relStart, child.end - parentAbsStart);\n if (relStart >= relEnd) return;\n\n const mixedColor = mixHexColors(parentColor, child.color || \"\");\n result += highlightText.slice(cursor, relStart);\n\n // Removed the redundant wrapperStart/wrapperEnd logic.\n // createMarkedHighlight now handles the spans natively and cleanly.\n result += createMarkedHighlight(\n highlightText.slice(relStart, relEnd), \n child.badges?.[0]?.id || \"\", \n mixedColor, \n child.badges || []\n );\n \n cursor = relEnd;\n });\n\n result += highlightText.slice(cursor);\n return result;\n };\n\n const finalMatches = allMatches.map((m, i) => ({ ...m, idx: i })).filter((m) => !m.orphaned).sort((a, b) => (b.trimmedStart ?? b.start) - (a.trimmedStart ?? a.start));\n\n finalMatches.forEach((match) => {\n const tStart = match.trimmedStart ?? match.start;\n const tEnd = match.trimmedEnd ?? match.end;\n if (tStart >= tEnd) return;\n\n const rawSlice = normalizedContent.slice(tStart, tEnd);\n const effectiveHighlight = match.usedLooseMatch || tStart !== match.start || tEnd !== match.end ? rawSlice : match.highlight;\n const withChildren = injectChildren(effectiveHighlight, match.start, childrenOf[match.idx!] || [], match.color);\n const markedText = createMarkedHighlight(withChildren, match.badges?.[0]?.id || \"\", match.color, match.badges || []);\n\n normalizedContent = normalizedContent.slice(0, tStart) + markedText + normalizedContent.slice(tEnd);\n });\n\n return normalizedContent;\n }, [content, deviationBadges, highlights, highlightBg, suppressHighlightBg]);\n\n const overlayContentToRender = useMemo(() => {\n if (!overlayContent) return \"\";\n return normalizeMarkdownText(overlayContent || \"\");\n }, [overlayContent]);\n\n const hasOverlay = !!overlayContent;\n\n const sharedContentSx = {\n \"& *\": { fontFamily: \"inherit\" },\n \"& code, & pre, & kbd, & samp\": {\n fontFamily: \"inherit !important\",\n fontSize: \"inherit\",\n background: \"none\",\n padding: 0,\n border: \"none\",\n whiteSpace: \"pre-wrap\",\n },\n \"& p, & li, & ul, & ol\": { position: \"static\", overflow: \"visible\", whiteSpace: \"pre-wrap\" },\n };\n\n const baseSx = { ...sxStyles, ...sharedContentSx, position: \"relative\", width: \"100%\", maxWidth: \"100%\", minWidth: 0, boxSizing: \"border-box\", overflow: \"visible\", whiteSpace: \"normal\", gridArea: \"1 / 1\", zIndex: 2, ...(hasOverlay ? {\n color: \"transparent\",\n userSelect: \"none\", \n pointerEvents: \"none\", \n \"& .deviation-badge\": { pointerEvents: \"auto\" },\n \"& table\": { visibility: \"hidden\", margin: \"0 !important\" },\n \"& th, & td\": { padding: \"0 !important\", border: \"none !important\", backgroundColor: \"transparent !important\" },\n \"& tr\": { border: \"none !important\" },\n \"& p:empty\": { display: \"none\" }\n } : {})\n };\n\n const overlaySx = { ...sxStyles, ...sharedContentSx, position: \"relative\", width: \"100%\", maxWidth: \"100%\", minWidth: 0, boxSizing: \"border-box\", overflow: \"visible\", whiteSpace: \"normal\", gridArea: \"1 / 1\", zIndex: 1, pointerEvents: \"auto\" };\n\n useLayoutEffect(() => {\n if (!containerRef.current) return;\n\n const resolveCollisions = () => {\n const badges = Array.from(\n containerRef.current!.querySelectorAll(\".deviation-badge\")\n ) as HTMLElement[];\n \n if (badges.length === 0) return;\n\n badges.forEach((b) => { b.style.setProperty(\"--badge-nudge\", \"0px\"); });\n\n const leftBadges = badges.filter((b) => b.dataset.side === \"left\");\n const rightBadges = badges.filter((b) => b.dataset.side !== \"left\");\n\n const containerRect = containerRef.current!.getBoundingClientRect();\n const maxBottom = containerRect.bottom - 4;\n const minTop = containerRect.top + 4;\n\n const applyPushDownAndClamp = (sideBadges: HTMLElement[]) => {\n if (sideBadges.length === 0) return;\n\n const metrics = sideBadges.map((el) => {\n const rect = el.getBoundingClientRect();\n return { \n el, \n naturalTop: rect.top, \n height: rect.height,\n currentTop: rect.top\n };\n });\n\n metrics.sort((a, b) => a.naturalTop - b.naturalTop);\n\n const MIN_GAP = 8;\n const clusters: typeof metrics[] = [];\n let currentCluster: typeof metrics = [];\n\n metrics.forEach((item) => {\n if (currentCluster.length === 0) {\n currentCluster.push(item);\n } else {\n const prev = currentCluster[currentCluster.length - 1];\n const prevBottom = prev.currentTop + prev.height;\n\n if (item.naturalTop < prevBottom + MIN_GAP) {\n item.currentTop = prevBottom + MIN_GAP;\n currentCluster.push(item);\n } else {\n clusters.push(currentCluster);\n currentCluster = [item];\n }\n }\n });\n if (currentCluster.length > 0) clusters.push(currentCluster);\n\n clusters.forEach((cluster) => {\n const lastItem = cluster[cluster.length - 1];\n const clusterBottom = lastItem.currentTop + lastItem.height;\n\n if (clusterBottom > maxBottom) {\n const overflowAmount = clusterBottom - maxBottom;\n\n const firstItem = cluster[0];\n const availableTopSpace = firstItem.currentTop - minTop;\n \n const actualShiftUp = Math.max(0, Math.min(overflowAmount, availableTopSpace));\n\n cluster.forEach((item) => {\n item.currentTop -= actualShiftUp;\n });\n }\n });\n\n clusters.flat().forEach((item) => {\n const nudge = item.currentTop - item.naturalTop;\n item.el.style.setProperty(\"--badge-nudge\", `${nudge}px`);\n });\n };\n\n applyPushDownAndClamp(leftBadges);\n applyPushDownAndClamp(rightBadges);\n };\n\n const raf1 = requestAnimationFrame(()=>{\n requestAnimationFrame(()=>{\n resolveCollisions();\n })\n });\n\n const resizeObserver = new ResizeObserver(() => {\n requestAnimationFrame(resolveCollisions);\n });\n resizeObserver.observe(containerRef.current);\n\n return () => {\n resizeObserver.disconnect();\n cancelAnimationFrame(raf1);\n }\n }, [contentToRender, collisionKey, collisionDependency]);\n\n return (\n <Box\n ref={containerRef}\n sx={{\n position: \"relative\",\n display: \"grid\",\n gridTemplateColumns: \"minmax(0, 1fr)\",\n width: \"100%\",\n maxWidth: \"100%\",\n minWidth: 0,\n }}\n >\n <Typography component=\"div\" sx={{ ...baseSx, padding: \"3px\" }}>\n <ReactMarkdown\n components={components}\n remarkPlugins={remarkPlugins}\n rehypePlugins={rehypePlugins}\n >\n {/* 4. Removed safeStringify wrapper! It encodes < to &lt; */}\n {contentToRender.replace(/#{3}/g, \"\")}\n </ReactMarkdown>\n </Typography>\n\n {hasOverlay && (\n <Typography component=\"div\" sx={overlaySx}>\n <ReactMarkdown\n components={components}\n remarkPlugins={remarkPlugins}\n rehypePlugins={rehypePlugins}\n >\n {overlayContentToRender}\n </ReactMarkdown>\n </Typography>\n )}\n </Box>\n );\n },\n areMarkdownPropsEqual\n);"],"names":["resolvePlugin","plugin","default","remarkPlugins","remarkGfm","rehypePlugins","rehypeRaw","MemoizedMarkdown","React","memo","content","overlayContent","sxStyles","deviationBadges","highlights","maintainRelativeOrder","highlightBg","suppressHighlightBg","collisionKey","containerRef","useRef","hideHighlightBg","badgeMap","useMemo","reduce","acc","badge","id","dynamicPropsRef","current","mapChildrenDeep","children","transform","Children","map","child","isValidElement","newChildren","props","cloned","cloneElement","components","mark","badgeId","bg","style","badgeBg","shouldHideBg","jsx","backgroundColor","borderRadius","display","boxDecorationBreak","WebkitBoxDecorationBreak","backgroundClip","padding","color","span","stackIndex","translateY","jsxs","Box","component","sx","position","ref","badgeRef","className","side","fontStyle","zIndex","alignItems","fontSize","bgcolor","badgeText","DEFAULT_DEVIAION_COLOR","border","badgeBorder","fontWeight","whiteSpace","boxShadow","overflow","transition","right","left","isConnected","outline","outlineOffset","onClick","e","stopPropagation","onSummaryClick","px","py","cursor","label","isOrphan","pl","ml","borderLeft","score","EllipsisVertical","size","table","width","maxWidth","minWidth","boxSizing","contain","overflowX","overflowY","overscrollBehaviorX","WebkitOverflowScrolling","my","tableLayout","borderCollapse","thead","tbody","tr","borderBottom","th","textAlign","verticalAlign","wordBreak","overflowWrap","td","code","fontFamily","pre","updated","deleted","updatedChildren","el","textDecoration","changed","ul","mt","mb","listStyleType","ol","li","normalizeMarkdownText","rawText","text","replace","_","num","spaces","slice","marker","_indent","firstChar","match","parts","split","chunk","test","trimStart","offset","remainingLine","join","trim","normalizePunctuationForMatch","collisionDependency","connected","contentToRender","normalizedContent","matchContent","badgeEntries","highlight","highlightColor","filter","entry","groupedBadges","forEach","push","createMarkedHighlight","badges","spanEmitted","wrapSegment","segment","value","leading","body","trailing","buildMarkOpen","wrapWithMark","wrapped","length","spansOpen","spansClose","b","buildSpanOpen","part","includes","cell","allMatches","Object","entries","idx","indexOf","usedLooseMatch","matchHighlight","i","mixHexColors","start","end","badgeHighlightSet","Set","keys","cleanHighlight","has","before","sort","a","claimedRanges","containedBy","claimed","cStart","cEnd","partialOverlapRight","partialOverlapLeft","orphaned","matchIdx","trimmedStart","trimmedEnd","childrenOf","childIdxStr","parentIdx","childIdx","Number","m","tStart","tEnd","rawSlice","withChildren","highlightText","parentAbsStart","childIndices","parentColor","ci","result","relStart","Math","max","relEnd","mixedColor","injectChildren","markedText","overlayContentToRender","hasOverlay","sharedContentSx","background","baseSx","gridArea","userSelect","pointerEvents","visibility","margin","overlaySx","useLayoutEffect","resolveCollisions","Array","from","querySelectorAll","setProperty","leftBadges","dataset","rightBadges","containerRect","getBoundingClientRect","maxBottom","bottom","minTop","top","applyPushDownAndClamp","sideBadges","metrics","rect","naturalTop","height","currentTop","clusters","currentCluster","item","prev","prevBottom","cluster","lastItem","clusterBottom","overflowAmount","availableTopSpace","actualShiftUp","min","flat","nudge","raf1","requestAnimationFrame","resizeObserver","ResizeObserver","observe","disconnect","cancelAnimationFrame","gridTemplateColumns","Typography","ReactMarkdown","areMarkdownPropsEqual"],"mappings":"2dAWA,MAAMA,EAAiBC,GAAkC,mBAAXA,EAAwBA,EAASA,GAAQC,SAAWD,EAC5FE,EAAgB,CAACH,EAAcI,IAC/BC,EAAgB,CAACL,EAAcM,IAGxBC,EAAmBC,EAAMC,KAAK,EACzCC,UACAC,iBACAC,WACAC,kBAAkB,GAClBC,aAAa,GACbC,yBAAwB,EACxBC,cACAC,uBAAsB,EACtBC,mBAYM,MAAAC,EAAeC,EAAuB,MACtCC,IAAoBV,EAEpBW,EAAWC,EACf,IAAMV,EAAgBW,OAAO,CAACC,EAAKC,SAAgBD,EAAK,CAACC,EAAMC,IAAKD,IAAU,CAAA,GAC9E,CAACb,IAGGe,EAAkBR,EAAO,CAAEE,WAAUN,cAAaK,kBAAiBJ,wBACzEW,EAAgBC,QAAU,CAAEP,WAAUN,cAAaK,kBAAiBJ,uBAE9D,MAAAa,EAAkB,CACtBC,EACAC,IAEOxB,EAAMyB,SAASC,IAAIH,EAAWI,IACnC,IAAK3B,EAAM4B,eAAeD,GACjB,OAAAA,EAGH,MAAAE,EAAcF,EAAMG,OAAOP,SAC7BD,EAAgBK,EAAMG,MAAMP,SAAUC,GACtCG,EAAMG,MAAMP,SAEVQ,EAAS/B,EAAMgC,aAAaL,EAAO,IACpCA,EAAMG,MACTP,SAAUM,IAGZ,OAAOL,EAAUO,KAIfE,EAAalB,EAAQ,KAAO,CAChCmB,KAAM,EAAGX,cAAaO,MACd,MAAEhB,SAAAA,EAAUN,YAAAA,EAAaK,gBAAAA,EAAiBJ,oBAAAA,GAAwBW,EAAgBC,QAClFc,EAAUL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gQ,EAAA,CAAWlP,UAAU,MAAMC,GAAI,IAAK8L,EAAQtM,QAAS,OACpDxB,SAAAiB,EAACiQ,EAAA,CACCxQ,aACAtC,gBACAE,gBAGC0B,SAAAsI,EAAgBrB,QAAQ,QAAS,QAIrC0G,GACE1M,EAAAgQ,EAAA,CAAWlP,UAAU,MAAMC,GAAIoM,EAC9BpO,SAAAiB,EAACiQ,EAAA,CACCxQ,aACAtC,gBACAE,gBAEC0B,SAAA0N,UAObyD"}
@@ -1,2 +1,2 @@
1
- import{__assign as n}from"tslib";import{useState as e,useCallback as t}from"react";import{DEVIATION_BADGE_SEPARATOR as i}from"../CognitiveComparehelpers.js";var r=function(r){var o=r.maintainRelativeOrder,c=r.proposedSections,u=r.existingSections,s=r.activeSideBySideSection,f=r.connectedSections,l=r.resetSideBySide,a=r.setConnectedSections,d=r.setConnectedLines,v=r.cachedConnectedPositions,S=r.svgContainerRef,p=r.isAnimatingRef,g=r.animationTimerRef,m=r.calculateLinesRef,x=r.sectionLeftRefs,h=r.sectionRightRefs,y=r.subSectionLeftRefs,R=r.subSectionRightRefs,I=e({}),b=I[0],C=I[1],E=e({}),H=E[0],L=E[1],T=function(n){p.current=!0,g.current&&clearTimeout(g.current),S.current&&(S.current.style.opacity="0"),g.current=setTimeout(function(){p.current=!1,m.current(),S.current&&(S.current.style.opacity="1")},n)},w=t(function(e){if(e&&"string"==typeof e&&e.includes(i)){var t=e.split(i),r=t[2],c=t[3],u=r?Number(r.split("-")[0]):-1,s=c?Number(c.split("-")[0]):-1;C(function(e){var t,i=n({},e),r=!1;-1!==u&&(i[t=o?"left-".concat(u):String(u)]||(i[t]=!0,r=!0));-1!==s&&(i[t=o?"right-".concat(s):String(s)]||(i[t]=!0,r=!0));return r?i:e}),L(function(e){var t=n({},e),i=!1,o=function(n){if(n)for(var e=n.split("-"),r=e[0],o=1;o<e.length;o++)r+="-".concat(e[o]),t[r]||(t[r]=!0,i=!0)};return o(r),o(c),i?t:e})}},[o,C,L]);return{expandedSections:b,setExpandedSections:C,expandedSubSections:H,setExpandedSubSections:L,handleSubSectionToggle:function(e){var t,i,r=null===(t=y.current[e])||void 0===t?void 0:t.current,o=null===(i=R.current[e])||void 0===i?void 0:i.current;r&&(r.style.minHeight="0px"),o&&(o.style.minHeight="0px"),T(450),L(function(t){var i;return n(n({},t),((i={})[e]=!t[e],i))})},toggleSection:function(e,t){var r,S,p=null===(r=x.current[e])||void 0===r?void 0:r.current,g=null===(S=h.current[e])||void 0===S?void 0:S.current;p&&(p.style.minHeight="0px"),g&&(g.style.minHeight="0px"),T(650);var m=o?"".concat(t,"-").concat(e):String(e);if(!!b[m]){var y=new Set([String(e)]);if(o)if("left"===t){var R=c[e];((null==R?void 0:R.refIndexes)||[]).forEach(function(n){var e=u.findIndex(function(e){return e.selfIndex===n});-1!==e&&y.add(String(e))})}else{var I=u[e];c.forEach(function(n,e){var t;(null===(t=n.refIndexes)||void 0===t?void 0:t.includes(null==I?void 0:I.selfIndex))&&y.add(String(e))})}var E=function(n){var e,t;if(null===n)return!1;var r=String(n),o=r.split("-")[0];if(y.has(o))return!0;if(r.includes(i)){var c=r.split(i),u=null===(e=c[2])||void 0===e?void 0:e.split("-")[0],s=null===(t=c[3])||void 0===t?void 0:t.split("-")[0];if(u&&y.has(u))return!0;if(s&&y.has(s))return!0}return!1},H=E(s),L=Array.from(f).some(function(n){return E(n)});(H||L)&&(l(),a(new Set),d([]),v.current=[])}C(function(i){var r=n({},i),s=!i[m];if(!o)return r[String(e)]=s,r;if(r[m]=s,"left"===t){((null==(f=c[e])?void 0:f.refIndexes)||[]).forEach(function(n){var e=u.findIndex(function(e){return e.selfIndex===n});-1!==e&&(r["right-".concat(e)]=s)})}else{var f,l=null==(f=u[e])?void 0:f.selfIndex;c.forEach(function(n,e){var t;(null===(t=n.refIndexes)||void 0===t?void 0:t.includes(l))&&(r["left-".concat(e)]=s)})}return r})},forceExpandCrossWiredSections:w}};export{r as useAccordionState};
1
+ import{useState as e,useCallback as t}from"react";import{DEVIATION_BADGE_SEPARATOR as n}from"../CognitiveComparehelpers.js";const r=({maintainRelativeOrder:r,proposedSections:i,existingSections:s,activeSideBySideSection:c,connectedSections:o,resetSideBySide:f,setConnectedSections:u,setConnectedLines:l,cachedConnectedPositions:d,svgContainerRef:a,isAnimatingRef:S,animationTimerRef:p,calculateLinesRef:g,sectionLeftRefs:x,sectionRightRefs:h,subSectionLeftRefs:m,subSectionRightRefs:y})=>{const[R,I]=e({}),[b,C]=e({}),E=e=>{S.current=!0,p.current&&clearTimeout(p.current),a.current&&(a.current.style.opacity="0"),p.current=setTimeout(()=>{S.current=!1,g.current(),a.current&&(a.current.style.opacity="1")},e)},$=t(e=>{if(!e||"string"!=typeof e||!e.includes(n))return;const t=e.split(n),i=t[2],s=t[3],c=i?Number(i.split("-")[0]):-1,o=s?Number(s.split("-")[0]):-1;I(e=>{const t={...e};let n=!1;if(-1!==c){const e=r?`left-${c}`:String(c);t[e]||(t[e]=!0,n=!0)}if(-1!==o){const e=r?`right-${o}`:String(o);t[e]||(t[e]=!0,n=!0)}return n?t:e}),C(e=>{const t={...e};let n=!1;const r=e=>{if(!e)return;const r=e.split("-");let i=r[0];for(let e=1;e<r.length;e++)i+=`-${r[e]}`,t[i]||(t[i]=!0,n=!0)};return r(i),r(s),n?t:e})},[r,I,C]);return{expandedSections:R,setExpandedSections:I,expandedSubSections:b,setExpandedSubSections:C,handleSubSectionToggle:e=>{const t=m.current[e]?.current,n=y.current[e]?.current;t&&(t.style.minHeight="0px"),n&&(n.style.minHeight="0px"),E(450),C(t=>({...t,[e]:!t[e]}))},toggleSection:(e,t)=>{const a=x.current[e]?.current,S=h.current[e]?.current;a&&(a.style.minHeight="0px"),S&&(S.style.minHeight="0px"),E(650);const p=r?`${t}-${e}`:String(e);if(!!R[p]){const a=new Set([String(e)]);if(r)if("left"===t){const t=i[e];(t?.refIndexes||[]).forEach(e=>{const t=s.findIndex(t=>t.selfIndex===e);-1!==t&&a.add(String(t))})}else{const t=s[e];i.forEach((e,n)=>{e.refIndexes?.includes(t?.selfIndex)&&a.add(String(n))})}const S=e=>{if(null===e)return!1;const t=String(e),r=t.split("-")[0];if(a.has(r))return!0;if(t.includes(n)){const e=t.split(n),r=e[2]?.split("-")[0],i=e[3]?.split("-")[0];if(r&&a.has(r))return!0;if(i&&a.has(i))return!0}return!1},p=S(c),g=Array.from(o).some(e=>S(e));(p||g)&&(f(),u(new Set),l([]),d.current=[])}I(n=>{const c={...n},o=!n[p];if(!r)return c[String(e)]=o,c;if(c[p]=o,"left"===t){const t=i[e];(t?.refIndexes||[]).forEach(e=>{const t=s.findIndex(t=>t.selfIndex===e);-1!==t&&(c[`right-${t}`]=o)})}else{const t=s[e],n=t?.selfIndex;i.forEach((e,t)=>{e.refIndexes?.includes(n)&&(c[`left-${t}`]=o)})}return c})},forceExpandCrossWiredSections:$}};export{r as useAccordionState};
2
2
  //# sourceMappingURL=useAccordionState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAccordionState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useAccordionState.js","sources":["../../../../src/features/CognitiveCompare/hooks/useAccordionState.ts"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\nimport { SectionBlock } from \"../CognitiveCompareTypes\";\nimport { DEVIATION_BADGE_SEPARATOR } from \"../CognitiveComparehelpers\";\n\ntype AccordionStateParams = {\n maintainRelativeOrder: boolean;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n activeSideBySideSection: number | string | null;\n connectedSections: Set<number | string>;\n resetSideBySide: () => void;\n setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;\n setConnectedLines: React.Dispatch<React.SetStateAction<Record<string, any>[]>>;\n cachedConnectedPositions: React.MutableRefObject<any[]>;\n svgContainerRef: React.MutableRefObject<SVGSVGElement | null>;\n isAnimatingRef: React.MutableRefObject<boolean>;\n animationTimerRef: React.MutableRefObject<ReturnType<typeof setTimeout> | null>;\n calculateLinesRef: React.MutableRefObject<() => void>;\n sectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionLeftRefs: React.MutableRefObject<Record<string, React.RefObject<HTMLDivElement>>>;\n subSectionRightRefs: React.MutableRefObject<Record<string, React.RefObject<HTMLDivElement>>>;\n};\n\nexport const useAccordionState = ({\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n activeSideBySideSection,\n connectedSections,\n resetSideBySide,\n setConnectedSections,\n setConnectedLines,\n cachedConnectedPositions,\n svgContainerRef,\n isAnimatingRef,\n animationTimerRef,\n calculateLinesRef,\n sectionLeftRefs,\n sectionRightRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n}: AccordionStateParams) => {\n const [expandedSections, setExpandedSections] = useState<Record<string, boolean>>(\n {},\n );\n const [expandedSubSections, setExpandedSubSections] = useState<\n Record<string, boolean>\n >({});\n\n const clearConnectedState = () => {\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n };\n\n const queueLayoutSync = (delay: number) => {\n isAnimatingRef.current = true;\n if (animationTimerRef.current) {\n clearTimeout(animationTimerRef.current);\n }\n if (svgContainerRef.current) {\n svgContainerRef.current.style.opacity = \"0\";\n }\n\n animationTimerRef.current = setTimeout(() => {\n isAnimatingRef.current = false;\n calculateLinesRef.current();\n if (svgContainerRef.current) {\n svgContainerRef.current.style.opacity = \"1\";\n }\n }, delay);\n };\n // --- ADD THIS HELPER FUNCTION ---\n const forceExpandCrossWiredSections = useCallback((actionId: string | number | null) => {\n if (!actionId || typeof actionId !== \"string\" || !actionId.includes(DEVIATION_BADGE_SEPARATOR)) return;\n\n const parts = actionId.split(DEVIATION_BADGE_SEPARATOR);\n const leftKeyPath = parts[2];\n const rightKeyPath = parts[3];\n\n const leftRootIdx = leftKeyPath ? Number(leftKeyPath.split(\"-\")[0]) : -1;\n const rightRootIdx = rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : -1;\n\n // 1. Expand Root Sections\n setExpandedSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n if (leftRootIdx !== -1) {\n const key = maintainRelativeOrder ? `left-${leftRootIdx}` : String(leftRootIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n if (rightRootIdx !== -1) {\n const key = maintainRelativeOrder ? `right-${rightRootIdx}` : String(rightRootIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n return changed ? next : prev;\n });\n\n // 2. Expand Nested Subsections\n setExpandedSubSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n const expandPath = (path: string) => {\n if (!path) return;\n const pParts = path.split(\"-\");\n let current = pParts[0];\n for (let i = 1; i < pParts.length; i++) {\n current += `-${pParts[i]}`;\n if (!next[current]) { next[current] = true; changed = true; }\n }\n };\n expandPath(leftKeyPath);\n expandPath(rightKeyPath);\n return changed ? next : prev;\n });\n }, [maintainRelativeOrder, setExpandedSections, setExpandedSubSections]);\n const handleSubSectionToggle = (keyPath: string) => {\n const leftEl = subSectionLeftRefs.current[keyPath]?.current;\n const rightEl = subSectionRightRefs.current[keyPath]?.current;\n if (leftEl) leftEl.style.minHeight = \"0px\";\n if (rightEl) rightEl.style.minHeight = \"0px\";\n\n queueLayoutSync(450);\n setExpandedSubSections((prev) => ({ ...prev, [keyPath]: !prev[keyPath] }));\n };\n\n const toggleSection = (idx: number, columnKey: \"left\" | \"right\") => {\n const leftEl = sectionLeftRefs.current[idx]?.current;\n const rightEl = sectionRightRefs.current[idx]?.current;\n if (leftEl) leftEl.style.minHeight = \"0px\";\n if (rightEl) rightEl.style.minHeight = \"0px\";\n\n queueLayoutSync(650);\n\n const key = maintainRelativeOrder ? `${columnKey}-${idx}` : String(idx);\n const isCurrentlyExpanded = !!expandedSections[key];\n\n if (isCurrentlyExpanded) {\n const collapsingIndexes = new Set<string>([String(idx)]);\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const sec = proposedSections[idx] as any;\n (sec?.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex(\n (s: any) => s.selfIndex === rhsSelfIdx,\n );\n if (rhsArrayIdx !== -1) collapsingIndexes.add(String(rhsArrayIdx));\n });\n } else {\n const sec = existingSections[idx] as any;\n proposedSections.forEach((s: any, lhsArrayIdx: number) => {\n if (s.refIndexes?.includes(sec?.selfIndex)) {\n collapsingIndexes.add(String(lhsArrayIdx));\n }\n });\n }\n }\n\n const isRelatedToCollapse = (id: string | number | null) => {\n if (id === null) return false;\n const idStr = String(id);\n const rootIndex = idStr.split(\"-\")[0];\n if (collapsingIndexes.has(rootIndex)) return true;\n\n if (idStr.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = idStr.split(DEVIATION_BADGE_SEPARATOR);\n const leftRoot = parts[2]?.split(\"-\")[0];\n const rightRoot = parts[3]?.split(\"-\")[0];\n if (leftRoot && collapsingIndexes.has(leftRoot)) return true;\n if (rightRoot && collapsingIndexes.has(rightRoot)) return true;\n }\n\n return false;\n };\n\n const isTargetActive = isRelatedToCollapse(activeSideBySideSection);\n const hasChildConnection = Array.from(connectedSections).some((id) =>\n isRelatedToCollapse(id),\n );\n\n if (isTargetActive || hasChildConnection) {\n clearConnectedState();\n }\n }\n\n setExpandedSections((prev) => {\n const next = { ...prev };\n const isExpanding = !prev[key];\n\n if (!maintainRelativeOrder) {\n next[String(idx)] = isExpanding;\n return next;\n }\n\n next[key] = isExpanding;\n if (columnKey === \"left\") {\n const sec = proposedSections[idx] as any;\n (sec?.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex(\n (s: any) => (s as any).selfIndex === rhsSelfIdx,\n );\n if (rhsArrayIdx !== -1) next[`right-${rhsArrayIdx}`] = isExpanding;\n });\n } else {\n const sec = existingSections[idx] as any;\n const selfIdx = sec?.selfIndex;\n proposedSections.forEach((s: any, lhsArrayIdx: number) => {\n if (s.refIndexes?.includes(selfIdx)) next[`left-${lhsArrayIdx}`] = isExpanding;\n });\n }\n return next;\n });\n };\n\n return {\n expandedSections,\n setExpandedSections,\n expandedSubSections,\n setExpandedSubSections,\n handleSubSectionToggle,\n toggleSection,\n forceExpandCrossWiredSections,\n };\n};\n"],"names":["useAccordionState","maintainRelativeOrder","proposedSections","existingSections","activeSideBySideSection","connectedSections","resetSideBySide","setConnectedSections","setConnectedLines","cachedConnectedPositions","svgContainerRef","isAnimatingRef","animationTimerRef","calculateLinesRef","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","expandedSections","setExpandedSections","useState","expandedSubSections","setExpandedSubSections","queueLayoutSync","delay","current","clearTimeout","style","opacity","setTimeout","forceExpandCrossWiredSections","useCallback","actionId","includes","DEVIATION_BADGE_SEPARATOR","parts","split","leftKeyPath","rightKeyPath","leftRootIdx","Number","rightRootIdx","prev","next","changed","key","String","expandPath","path","pParts","i","length","handleSubSectionToggle","keyPath","leftEl","rightEl","minHeight","toggleSection","idx","columnKey","collapsingIndexes","Set","sec","refIndexes","forEach","rhsSelfIdx","rhsArrayIdx","findIndex","s","selfIndex","add","lhsArrayIdx","isRelatedToCollapse","id","idStr","rootIndex","has","leftRoot","rightRoot","isTargetActive","hasChildConnection","Array","from","some","isExpanding","selfIdx"],"mappings":"4HAwBO,MAAMA,EAAoB,EAC/BC,wBACAC,mBACAC,mBACAC,0BACAC,oBACAC,kBACAC,uBACAC,oBACAC,2BACAC,kBACAC,iBACAC,oBACAC,oBACAC,kBACAC,mBACAC,qBACAC,0BAEM,MAACC,EAAkBC,GAAuBC,EAC9C,CAAC,IAEIC,EAAqBC,GAA0BF,EAEpD,CAAE,GASEG,EAAmBC,IACvBb,EAAec,SAAU,EACrBb,EAAkBa,SACpBC,aAAad,EAAkBa,SAE7Bf,EAAgBe,UACFf,EAAAe,QAAQE,MAAMC,QAAU,KAGxBhB,EAAAa,QAAUI,WAAW,KACrClB,EAAec,SAAU,EACzBZ,EAAkBY,U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OAAA,EACxD,GAAIC,GAAalB,EAAkBgB,IAAIE,GAAmB,OAAA,CAC5D,CAEO,OAAA,GAGHC,EAAiBP,EAAoBpE,GACrC4E,EAAqBC,MAAMC,KAAK7E,GAAmB8E,KAAMV,GAC7DD,EAAoBC,KAGlBM,GAAkBC,KApIR1E,IACKC,EAAA,IAAIsD,KACzBrD,EAAkB,IAClBC,EAAyBgB,QAAU,GAoInC,CAEAN,EAAqBuB,IACb,MAAAC,EAAO,IAAKD,GACZ0C,GAAe1C,EAAKG,GAE1B,IAAK5C,EAEI,OADF0C,EAAAG,OAAOY,IAAQ0B,EACbzC,EAIT,GADAA,EAAKE,GAAOuC,EACM,SAAdzB,EAAsB,CAClB,MAAAG,EAAM5D,EAAiBwD,IAC5BI,GAAKC,YAAc,IAAIC,QAASC,IAC/B,MAAMC,EAAc/D,EAAiBgE,UAClCC,GAAYA,EAAUC,YAAcJ,IAEf,IAApBC,IAAoBvB,EAAK,SAASuB,KAAiBkB,IACxD,KACI,CACC,MAAAtB,EAAM3D,EAAiBuD,GACvB2B,EAAUvB,GAAKO,UACJnE,EAAA8D,QAAQ,CAACI,EAAQG,KAC5BH,EAAEL,YAAY9B,SAASoD,KAAe1C,EAAA,QAAQ4B,KAAiBa,IAEvE,CACO,OAAAzC,KAWTb"}
@@ -1,2 +1,2 @@
1
- import{__assign as n,__spreadArray as e}from"tslib";import{useMemo as t}from"react";import{isMissingStr as i,safeStringify as o,getRationale as r,resolveComparisonInputItems as a,getSideData as l,hasValue as d,DEVIATION_BADGE_SEPARATOR as s}from"../CognitiveComparehelpers.js";import{buildComparisonRows as u}from"../utils/buildComparisonRows.js";var v={id:"",title:"",similarity:0,sections:[]},c=function(c,f,p,I,_,h){var g,m;void 0===_&&(_=!0);var x="string"==typeof p?p:JSON.stringify(p||{}),b=Boolean(h&&(h.learnings_data||(null===(m=null===(g=h.data)||void 0===g?void 0:g.artifactData)||void 0===m?void 0:m.userStorySnapshot))),y=t(function(){if(!c||0===Object.keys(c).length)return{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:"Tree data is required"};var t=JSON.parse(x);try{var d=c.nodes||c,s=[],v=[],p=[],I=c.base_root_id,g=c.input_index_map||{0:"left",1:"right"},m=c[I]||d[I];if(!m||!1===m.display_node)return{activeProposed:{title:"No Data",sections:[]},activeVariants:[],comparisonRows:[],parseError:null};var y=c.content_mapping||{},R=function(n){return c[n]||d[n]},C=function(e,t,o){if(!e||"object"!=typeof e)return e||null;if(e.deviations)return e;if(_)return e;var r=Object.keys(e).filter(function(n){return/^\d+$/.test(n)});if(!r.length)return e;var a=r.sort(function(n,e){return Number(n)-Number(e)}),l={},d={},s=null;return a.forEach(function(n){var r,a,u,v,c,f,p=e[n];if(p&&"object"==typeof p){s||(s=p);var I=!(null==p?void 0:p.status)||"pending"===p.status,_=(null==p?void 0:p.deviation_highlight)||(null===(a=null==p?void 0:p.web_search_answer)||void 0===a?void 0:a.deviation_highlight),h=function(n){var e,t=(null===(e=null==p?void 0:p.cognitive_decisioning)||void 0===e?void 0:e.citations)||(null==p?void 0:p.citations)||{};return Object.values(t).map(function(e){var t;return null===(t=null==e?void 0:e[n])||void 0===t?void 0:t.highlighted_text}).filter(function(n){return"string"==typeof n&&n.trim().length>0})},m=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var t=0,o=n;t<o.length;t++){var r=o[t];if(Array.isArray(r)&&r.some(function(n){return!i(n)}))return r}return[]},x=I?m((null===(u=null==p?void 0:p.deviation_highlights)||void 0===u?void 0:u[t])||(null===(v=null==p?void 0:p.deviation_highlights)||void 0===v?void 0:v[g[0]]),"string"==typeof _?[_]:[],h(t),h(g[0])):[],b=I?m((null===(c=null==p?void 0:p.deviation_highlights)||void 0===c?void 0:c[o])||(null===(f=null==p?void 0:p.deviation_highlights)||void 0===f?void 0:f[g[1]]),h(o),h(g[1])):[];l[n]=((r={})[g[0]]=x[0]||"",r[g[1]]=b[0]||"",r.deviation_summary=(null==p?void 0:p.deviation_summary)||"",r.deviation_title=null==p?void 0:p.deviation_title,r.deviation_impact=null==p?void 0:p.deviation_impact,r.deviation_explanation=null==p?void 0:p.deviation_explanation,r.evaluation_outputs=null==p?void 0:p.evaluation_outputs,r.cognitive_decisioning=null==p?void 0:p.cognitive_decisioning,r.deviation_highlights=null==p?void 0:p.deviation_highlights,r),d[n]=p}}),n(n({},e),{deviation_title:(null==s?void 0:s.deviation_title)||(null==e?void 0:e.deviation_title),deviation_impact:(null==s?void 0:s.deviation_impact)||(null==e?void 0:e.deviation_impact),deviation_summary:(null==s?void 0:s.deviation_summary)||(null==e?void 0:e.deviation_summary),deviation_explanation:(null==s?void 0:s.deviation_explanation)||(null==e?void 0:e.deviation_explanation),evaluation_outputs:(null==s?void 0:s.evaluation_outputs)||(null==e?void 0:e.evaluation_outputs),cognitive_decisioning:(null==s?void 0:s.cognitive_decisioning)||(null==e?void 0:e.cognitive_decisioning),deviations:l,deviation_entries:d})},E=function(n){var e=new Map,t=function(n){n.forEach(function(n){var i;n.id&&e.set(n.id,n),(null===(i=n.subsections)||void 0===i?void 0:i.length)&&t(n.subsections)})};t(n);var i=function(n,t){for(var o,r=[],a=function(n){var a=n.ref_parent_section_node_id;if(a&&e.has(a)&&a!==(null==t?void 0:t.id)){var l=e.get(a);l.subsections||(l.subsections=[]),l.subsections.some(function(e){return e.id===n.id})||l.subsections.push(n)}else(null===(o=n.subsections)||void 0===o?void 0:o.length)&&(n.subsections=i(n.subsections,n)),r.push(n)},l=0,d=n;l<d.length;l++){a(d[l])}return r},o=i(n),r=function(n){n.forEach(function(n){n.subsections&&n.subsections.length>0&&(n.subsections.sort(function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:(n.selfIndex||0)-(e.selfIndex||0)}),r(n.subsections))})};return r(o),o},O=function(n){var e=n.comparison_inputs?Object.keys(n.comparison_inputs):[],t=g[0],i=g[1];return e.length>0&&(t=e.includes(g[0])?g[0]:e[0],i=e.includes(g[1])?g[1]:e.length>1?e[1]:e[0]),{nodeLeftId:t,nodeRightId:i}},j=function(e,t,i,r){var a=t.attributes||{},l=t.data||{},d=!1!==a.display_title,s=!1!==a.display_content,u=d?o(l.title||""):"",v=s?o(l.content||""):"",c=s?o(l.change_history||""):"",f=void 0!==a.display_index&&null!==a.display_index?Number(a.display_index):-1,p=function(n){return(null==n?void 0:n.entity_id)||(null==n?void 0:n.ref_parent_section_node_id)||(null==n?void 0:n.parent_entity_id)||null}(a),I=!(!u.trim()&&!v.trim());return n(n({id:"".concat(e,"::").concat(t.contentId),nodeId:e,contentId:t.contentId,parentContentId:p,title:u,content:v,change_history:c,displayTitle:d,displayContent:s,subsections:[]},I?r:{score:void 0,relation:"not_defined"}),{evaluationResult:i,evaluationResults:i?[i]:[],selfIndex:f,refIndexes:[],refContentIds:[],ref_parent_section_node_id:p})},N=function(n,t){n.refIndexes=Array.from(new Set(e(e([],n.refIndexes||[],!0),t.refIndexes||[],!0))),n.refContentIds=Array.from(new Set(e(e([],n.refContentIds||[],!0),t.refContentIds||[],!0)));var i=new Set((n.subsections||[]).map(function(n){return n.id||n.contentId||n.nodeId}));(t.subsections||[]).forEach(function(t){var o=t.id||t.contentId||t.nodeId;i.has(o)||(n.subsections=e(e([],n.subsections||[],!0),[t],!1),i.add(o))});var o=e(e([],n.evaluationResults||(n.evaluationResult?[n.evaluationResult]:[]),!0),t.evaluationResults||(t.evaluationResult?[t.evaluationResult]:[]),!0).filter(Boolean),r=new Set;return n.evaluationResults=o.filter(function(n){var e=(null==n?void 0:n.nodeId)||JSON.stringify(Object.keys((null==n?void 0:n.deviations)||n||{}));return!r.has(e)&&(r.add(e),!0)}),!n.evaluationResult&&t.evaluationResult&&(n.evaluationResult=t.evaluationResult),!n.cognitiveData&&t.cognitiveData&&(n.cognitiveData=t.cognitiveData),n},S=function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:n.selfIndex-e.selfIndex},w=function(e,i){var o,l=R(e);if(!l||!1===l.display_node)return[];if(b&&"1"===i)return[];var d=O(l),s=d.nodeLeftId,u=d.nodeRightId,v=r(l),c=(null===(o=null==t?void 0:t[e])||void 0===o?void 0:o.evaluation_result)||l.evaluation_result||null,f=C(c,s,u),p=f&&"object"==typeof f?n(n({},f),{nodeId:e}):f,I=a(l,i,g,y).map(function(n){return j(e,n,p,v)});if(l.next){var _=Object.values(l.next).flatMap(function(n){return w(n,i)});I.forEach(function(n){var e=_.filter(function(e){return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId});n.subsections=e.length?e:_})}return I};if(f){var k=function(e,i){var o;void 0===i&&(i=0);var l=[],d=[];if(!e)return{refSections:l,baseSections:d};var s={},u={},v=-1,c=-1,f=function(l){var d=e[l],f=R(d);if(!f||!1===f.display_node)return"continue";var p=O(f),I=p.nodeLeftId,_=p.nodeRightId,h=r(f),m=(null===(o=null==t?void 0:t[d])||void 0===o?void 0:o.evaluation_result)||f.evaluation_result||null,x=C(m,I,_),E=x&&"object"==typeof x?n(n({},x),{nodeId:d}):x,S=k(f.next,i+1),w=S.refSections,D=S.baseSections,P=a(f,"0",g,y).map(function(n){var e=j(d,n,E,h);return-1===e.selfIndex&&(e.selfIndex=c--),e}),K=[];if(!b){var V=a(f,"1",g,y);K=V.map(function(n){var e=j(d,n,E,h);return-1===e.selfIndex&&(e.selfIndex=v--),e})}P.forEach(function(n){K.forEach(function(e){var t,i,o,r,a,l,d,s;Number(e.selfIndex)>=0&&Number(n.selfIndex)>=0&&((null===(t=e.refIndexes)||void 0===t?void 0:t.includes(Number(n.selfIndex)))||null===(i=e.refIndexes)||void 0===i||i.push(Number(n.selfIndex)),(null===(o=n.refIndexes)||void 0===o?void 0:o.includes(Number(e.selfIndex)))||null===(r=n.refIndexes)||void 0===r||r.push(Number(e.selfIndex))),n.contentId&&!(null===(a=e.refContentIds)||void 0===a?void 0:a.includes(n.contentId))&&(null===(l=e.refContentIds)||void 0===l||l.push(n.contentId)),e.contentId&&!(null===(d=n.refContentIds)||void 0===d?void 0:d.includes(e.contentId))&&(null===(s=n.refContentIds)||void 0===s||s.push(e.contentId))})}),K.forEach(function(n){var e=w.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===i?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||d);s[t]=s[t]?N(s[t],n):n}),P.forEach(function(n){var e=D.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===i?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||d);u[t]=u[t]?N(u[t],n):n})};for(var p in e)f(p);return l=Object.values(s),d=Object.values(u),l.sort(S),d.sort(S),{refSections:l,baseSections:d}},D=k(m.next),P=D.refSections,K=D.baseSections;b||(v=E(P)),s=K}else m.next&&Object.values(m.next).forEach(function(n){var e=R(n);if(e&&!1!==e.display_node){var t=w(n,"0");if(b)s.push.apply(s,t);else{var i=E(w(n,"1"));p.push.apply(p,u(n,t,i))}}}),b||(s=p.map(function(n){return n.left}),v=p.map(function(n){return n.right}));var V=l(m,"0",g,y),T=l(m,"1",g,y),A={title:V.title||"Uploaded Contract",description:m.decision_scope_description||"",sections:s},G={id:"tree-variant-1",title:b?function(){var n,e;if((null==h?void 0:h.learnings_data)&&Object.keys(h.learnings_data).length>0){var t=Object.keys(h.learnings_data)[0];return(null===(n=h.learnings_data[t])||void 0===n?void 0:n.title)||"Rulebook Guidelines"}return(null===(e=null==h?void 0:h.data)||void 0===e?void 0:e.artifactTitle)||"Rulebook Guidelines"}():T.title||"Reference Template",similarity:0,sections:v,analysis:{rule_difference_comparison:{summary:{overall_score:0,overall_summary:m.decision_scope_description||""},fields:{}}}};return{activeProposed:A,activeVariants:[G],comparisonRows:p,parseError:null}}catch(n){return console.error("Data Transformation Error: ",n),{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:n instanceof Error?n.message:"Unknown Parsing Error"}}},[c,f,x,_,h]),R=y.activeProposed,C=y.activeVariants,E=y.comparisonRows,O=y.parseError,j=(null==C?void 0:C[0])||v,N=t(function(){return(null==R?void 0:R.sections)||[]},[null==R?void 0:R.sections]),S=t(function(){return j.sections||[]},[j.sections]),w=N.length>0||S.length>0,k=t(function(){return I.fields.filter(function(n){var e=n.key;return(!w||"description"!==e)&&(d(null==R?void 0:R[e])||d(j[e]))})},[R,j,w,I.fields]),D=t(function(){var n,e,t={},o={},r={},a=0,l=null===(n=null==c?void 0:c.input_index_map)||void 0===n?void 0:n[0],d=null===(e=null==c?void 0:c.input_index_map)||void 0===e?void 0:e[1],u=function(n,e){if(!f){var t="left"===e?N.indexOf(n):S.indexOf(n);return{rootKey:"".concat(e,":").concat(t),parentNum:t+1}}if("left"===e){var i=n.selfIndex,o=void 0!==i&&i>=0?i+1:N.indexOf(n)+1;return{rootKey:"left-root:".concat(n.id),parentNum:o}}var r=n.selfIndex,a=N.find(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(r)});if(a){var l=a.selfIndex,d=void 0!==l&&l>=0?l+1:N.indexOf(a)+1;return{rootKey:"left-root:".concat(a.id),parentNum:d}}var s=void 0!==r&&r>=0?r+1:S.indexOf(n)+1;return{rootKey:"right-orphan-root:".concat(n.id),parentNum:s}},v=function(n,e){if(n&&e)return n.find(function(n){return n.id===e.id||n.nodeId&&n.nodeId===e.nodeId||n.contentId&&n.contentId===e.contentId})||void 0},p=function(n,e,u,c,f,I,_){if(e&&function(n,e,t){var a;((null===(a=null==n?void 0:n.evaluationResults)||void 0===a?void 0:a.length)?n.evaluationResults:(null==n?void 0:n.evaluationResult)?[n.evaluationResult]:[]).forEach(function(a){var u=(null==a?void 0:a.deviations)||{};Object.keys(u).sort().forEach(function(v){var c=u[v];if(c){var f=!i(c[l]),p=!i(c[d]);if(f||p){var I=(null==a?void 0:a.nodeId)||n.nodeId||n.id,_="".concat(I).concat(s).concat(v);void 0===o[_]&&(void 0===r[e]&&(r[e]=1),o[_]={index:r[e]++,rootKey:e,parentNum:t})}}})})}(e,c,f),e&&!I){var h=(null==_?void 0:_.id)||"fallback_parent_".concat(a++);t[h]||(t[h]=[]),t[h].push(e)}((null==e?void 0:e.subsections)||(null==n?void 0:n.subsections)||(null==u?void 0:u.subsections)||[]).forEach(function(t){var i=v(null==n?void 0:n.subsections,t),o=v(null==u?void 0:u.subsections,t);p(t,i,o,c,f,!1,e||_)})};N.forEach(function(n){var e,t=u(n,"left"),i=t.rootKey,o=t.parentNum,r=null;if(f){var a=null===(e=n.refIndexes)||void 0===e?void 0:e[0];r=S.find(function(n){return n.selfIndex===a})}else r=S[N.indexOf(n)];p(n,n,r,i,o,!0,n)}),b||S.forEach(function(n){var e=u(n,"right"),t=e.rootKey,i=e.parentNum;t.startsWith("right-orphan-root:")&&p(n,null,n,t,i,!0,n)});var I=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].index]})),_=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].parentNum]}));return{parentDeviationRecord:t,registry:I,deviationParentRegistry:_}},[N,S,f,c,b]),P=D.parentDeviationRecord,K=D.registry,V=D.deviationParentRegistry;return{isGuidelineMode:b,activeProposed:R,activeVariants:C,comparisonRows:E,existingRule:j,proposedSections:N,existingSections:S,visibleFields:k,parentDeviationRecord:P,deviationNumberRegistry:K,deviationParentRegistry:V,parseError:O}};export{c as useCognitiveTreeData};
1
+ import{useMemo as e}from"react";import{isMissingStr as t,safeStringify as n,getRationale as i,resolveComparisonInputItems as o,getSideData as s,hasValue as r,DEVIATION_BADGE_SEPARATOR as a}from"../CognitiveComparehelpers.js";import{buildComparisonRows as d}from"../utils/buildComparisonRows.js";const c={id:"",title:"",similarity:0,sections:[]},l=(l,u,f,p,v=!0,I)=>{const _="string"==typeof f?f:JSON.stringify(f||{}),h=Boolean(I&&(I.learnings_data||I.data?.artifactData?.userStorySnapshot)),{activeProposed:g,activeVariants:m,comparisonRows:x,parseError:b}=e(()=>{if(!l||0===Object.keys(l).length)return{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:"Tree data is required"};const e=JSON.parse(_);try{const r=l.nodes||l;let a=[],c=[],f=[];const p=l.base_root_id,_=l.input_index_map||{0:"left",1:"right"},g=l[p]||r[p];if(!g||!1===g.display_node)return{activeProposed:{title:"No Data",sections:[]},activeVariants:[],comparisonRows:[],parseError:null};const m=l.content_mapping||{},x=e=>l[e]||r[e],b=(e,n,i)=>{if(!e||"object"!=typeof e)return e||null;if(e.deviations)return e;if(v)return e;const o=Object.keys(e).filter(e=>/^\d+$/.test(e));if(!o.length)return e;const s=o.sort((e,t)=>Number(e)-Number(t)),r={},a={};let d=null;return s.forEach(o=>{const s=e[o];if(!s||"object"!=typeof s)return;d||(d=s);const c=!s?.status||"pending"===s.status,l=s?.deviation_highlight||s?.web_search_answer?.deviation_highlight,u=e=>{const t=s?.cognitive_decisioning?.citations||s?.citations||{};return Object.values(t).map(t=>t?.[e]?.highlighted_text).filter(e=>"string"==typeof e&&e.trim().length>0)},f=(...e)=>{for(const n of e)if(Array.isArray(n)&&n.some(e=>!t(e)))return n;return[]},p=c?f(s?.deviation_highlights?.[n]||s?.deviation_highlights?.[_[0]],"string"==typeof l?[l]:[],u(n),u(_[0])):[],v=c?f(s?.deviation_highlights?.[i]||s?.deviation_highlights?.[_[1]],u(i),u(_[1])):[];r[o]={[_[0]]:p[0]||"",[_[1]]:v[0]||"",deviation_summary:s?.deviation_summary||"",deviation_title:s?.deviation_title,deviation_impact:s?.deviation_impact,deviation_explanation:s?.deviation_explanation,evaluation_outputs:s?.evaluation_outputs,cognitive_decisioning:s?.cognitive_decisioning,deviation_highlights:s?.deviation_highlights},a[o]=s}),{...e,deviation_title:d?.deviation_title||e?.deviation_title,deviation_impact:d?.deviation_impact||e?.deviation_impact,deviation_summary:d?.deviation_summary||e?.deviation_summary,deviation_explanation:d?.deviation_explanation||e?.deviation_explanation,evaluation_outputs:d?.evaluation_outputs||e?.evaluation_outputs,cognitive_decisioning:d?.cognitive_decisioning||e?.cognitive_decisioning,deviations:r,deviation_entries:a}},y=e=>{const t=new Map,n=e=>{e.forEach(e=>{e.id&&t.set(e.id,e),e.subsections?.length&&n(e.subsections)})};n(e);const i=(e,n)=>{let o=[];for(const s of e){const e=s.ref_parent_section_node_id;if(e&&t.has(e)&&e!==n?.id){const n=t.get(e);n.subsections||(n.subsections=[]),n.subsections.some(e=>e.id===s.id)||n.subsections.push(s)}else s.subsections?.length&&(s.subsections=i(s.subsections,s)),o.push(s)}return o},o=i(e),s=e=>{e.forEach(e=>{e.subsections&&e.subsections.length>0&&(e.subsections.sort((e,t)=>e.selfIndex<0&&t.selfIndex>=0?1:e.selfIndex>=0&&t.selfIndex<0?-1:(e.selfIndex||0)-(t.selfIndex||0)),s(e.subsections))})};return s(o),o},R=e=>{const t=e.comparison_inputs?Object.keys(e.comparison_inputs):[];let n=_[0],i=_[1];return t.length>0&&(n=t.includes(_[0])?_[0]:t[0],i=t.includes(_[1])?_[1]:t.length>1?t[1]:t[0]),{nodeLeftId:n,nodeRightId:i}},C=e=>e?.entity_id||e?.ref_parent_section_node_id||e?.parent_entity_id||null,E=(e,t,i,o)=>{const s=t.attributes||{},r=t.data||{},a=!1!==s.display_title,d=!1!==s.display_content,c=a?n(r.title||""):"",l=d?n(r.content||""):"",u=d?n(r.change_history||""):"",f=void 0!==s.display_index&&null!==s.display_index?Number(s.display_index):-1,p=C(s),v=!(!c.trim()&&!l.trim());return{id:`${e}::${t.contentId}`,nodeId:e,contentId:t.contentId,parentContentId:p,title:c,content:l,change_history:u,displayTitle:a,displayContent:d,subsections:[],...v?o:{score:void 0,relation:"not_defined"},evaluationResult:i,evaluationResults:i?[i]:[],selfIndex:f,refIndexes:[],refContentIds:[],ref_parent_section_node_id:p}},O=(e,t)=>{e.refIndexes=Array.from(new Set([...e.refIndexes||[],...t.refIndexes||[]])),e.refContentIds=Array.from(new Set([...e.refContentIds||[],...t.refContentIds||[]]));const n=new Set((e.subsections||[]).map(e=>e.id||e.contentId||e.nodeId));(t.subsections||[]).forEach(t=>{const i=t.id||t.contentId||t.nodeId;n.has(i)||(e.subsections=[...e.subsections||[],t],n.add(i))});const i=[...e.evaluationResults||(e.evaluationResult?[e.evaluationResult]:[]),...t.evaluationResults||(t.evaluationResult?[t.evaluationResult]:[])].filter(Boolean),o=new Set;return e.evaluationResults=i.filter(e=>{const t=e?.nodeId||JSON.stringify(Object.keys(e?.deviations||e||{}));return!o.has(t)&&(o.add(t),!0)}),!e.evaluationResult&&t.evaluationResult&&(e.evaluationResult=t.evaluationResult),!e.cognitiveData&&t.cognitiveData&&(e.cognitiveData=t.cognitiveData),e},j=(e,t)=>e.selfIndex<0&&t.selfIndex>=0?1:e.selfIndex>=0&&t.selfIndex<0?-1:e.selfIndex-t.selfIndex,N=(t,n)=>{const s=x(t);if(!s||!1===s.display_node)return[];if(h&&"1"===n)return[];const{nodeLeftId:r,nodeRightId:a}=R(s),d=i(s),c=e?.[t]?.evaluation_result||s.evaluation_result||null,l=b(c,r,a),u=l&&"object"==typeof l?{...l,nodeId:t}:l,f=o(s,n,_,m).map(e=>E(t,e,u,d));if(s.next){const e=Object.values(s.next).flatMap(e=>N(e,n));f.forEach(t=>{const n=e.filter(e=>!e.parentContentId||e.parentContentId===t.contentId||e.parentContentId===t.parentContentId);t.subsections=n.length?n:e})}return f};if(u){const t=(n,s=0)=>{let r=[],a=[];if(!n)return{refSections:r,baseSections:a};const d={},c={};let l=-1,u=-1;for(const r in n){const a=n[r],f=x(a);if(!f||!1===f.display_node)continue;const{nodeLeftId:p,nodeRightId:v}=R(f),I=i(f),g=e?.[a]?.evaluation_result||f.evaluation_result||null,y=b(g,p,v),C=y&&"object"==typeof y?{...y,nodeId:a}:y,{refSections:j,baseSections:N}=t(f.next,s+1),S=o(f,"0",_,m).map(e=>{const t=E(a,e,C,I);return-1===t.selfIndex&&(t.selfIndex=u--),t});let w=[];if(!h){const e=o(f,"1",_,m);w=e.map(e=>{const t=E(a,e,C,I);return-1===t.selfIndex&&(t.selfIndex=l--),t})}S.forEach(e=>{w.forEach(t=>{Number(t.selfIndex)>=0&&Number(e.selfIndex)>=0&&(t.refIndexes?.includes(Number(e.selfIndex))||t.refIndexes?.push(Number(e.selfIndex)),e.refIndexes?.includes(Number(t.selfIndex))||e.refIndexes?.push(Number(t.selfIndex))),e.contentId&&!t.refContentIds?.includes(e.contentId)&&t.refContentIds?.push(e.contentId),t.contentId&&!e.refContentIds?.includes(t.contentId)&&e.refContentIds?.push(t.contentId)})}),w.forEach(e=>{const t=j.filter(t=>!t.parentContentId||t.parentContentId===e.contentId||t.parentContentId===e.parentContentId||e.refContentIds?.includes(t.parentContentId));t.length>0&&(e.subsections=t);const n=0===s?String(e.selfIndex):`${e.selfIndex}_${e.contentId||a}`;d[n]=d[n]?O(d[n],e):e}),S.forEach(e=>{const t=N.filter(t=>!t.parentContentId||t.parentContentId===e.contentId||t.parentContentId===e.parentContentId||e.refContentIds?.includes(t.parentContentId));t.length>0&&(e.subsections=t);const n=0===s?String(e.selfIndex):`${e.selfIndex}_${e.contentId||a}`;c[n]=c[n]?O(c[n],e):e})}return r=Object.values(d),a=Object.values(c),r.sort(j),a.sort(j),{refSections:r,baseSections:a}},{refSections:n,baseSections:s}=t(g.next);h||(c=y(n)),a=s}else g.next&&Object.values(g.next).forEach(e=>{const t=x(e);if(!t||!1===t.display_node)return;const n=N(e,"0");if(h)return void a.push(...n);const i=y(N(e,"1"));f.push(...d(e,n,i))}),h||(a=f.map(e=>e.left),c=f.map(e=>e.right));const S=s(g,"0",_,m),w=s(g,"1",_,m),$={title:S.title||"Uploaded Contract",description:g.decision_scope_description||"",sections:a};return{activeProposed:$,activeVariants:[{id:"tree-variant-1",title:h?(()=>{if(I?.learnings_data&&Object.keys(I.learnings_data).length>0){const e=Object.keys(I.learnings_data)[0];return I.learnings_data[e]?.title||"Rulebook Guidelines"}return I?.data?.artifactTitle||"Rulebook Guidelines"})():w.title||"Reference Template",similarity:0,sections:c,analysis:{rule_difference_comparison:{summary:{overall_score:0,overall_summary:g.decision_scope_description||""},fields:{}}}}],comparisonRows:f,parseError:null}}catch(e){return console.error("Data Transformation Error: ",e),{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:e instanceof Error?e.message:"Unknown Parsing Error"}}},[l,u,_,v,I]),y=m?.[0]||c,R=e(()=>g?.sections||[],[g?.sections]),C=e(()=>y.sections||[],[y.sections]),E=R.length>0||C.length>0,O=e(()=>p.fields.filter(({key:e})=>(!E||"description"!==e)&&(r(g?.[e])||r(y[e]))),[g,y,E,p.fields]),{parentDeviationRecord:j,registry:N,deviationParentRegistry:S}=e(()=>{const e={},n={},i={};let o=0;const s=l?.input_index_map?.[0],r=l?.input_index_map?.[1],d=(e,t)=>{if(!u){const n="left"===t?R.indexOf(e):C.indexOf(e);return{rootKey:`${t}:${n}`,parentNum:n+1}}if("left"===t){const t=e.selfIndex,n=void 0!==t&&t>=0?t+1:R.indexOf(e)+1;return{rootKey:`left-root:${e.id}`,parentNum:n}}const n=e.selfIndex,i=R.find(e=>e.refIndexes?.includes(n));if(i){const e=i.selfIndex,t=void 0!==e&&e>=0?e+1:R.indexOf(i)+1;return{rootKey:`left-root:${i.id}`,parentNum:t}}const o=void 0!==n&&n>=0?n+1:C.indexOf(e)+1;return{rootKey:`right-orphan-root:${e.id}`,parentNum:o}},c=(e,t)=>{if(e&&t)return e.find(e=>e.id===t.id||e.nodeId&&e.nodeId===t.nodeId||e.contentId&&e.contentId===t.contentId)||void 0},f=(d,l,u,p,v,I,_)=>{if(l&&((e,o,d)=>{(e?.evaluationResults?.length?e.evaluationResults:e?.evaluationResult?[e.evaluationResult]:[]).forEach(c=>{const l=c?.deviations||{};Object.keys(l).sort().forEach(u=>{const f=l[u];if(!f)return;const p=!t(f[s]),v=!t(f[r]);if(p||v){const t=`${c?.nodeId||e.nodeId||e.id}${a}${u}`;void 0===n[t]&&(void 0===i[o]&&(i[o]=1),n[t]={index:i[o]++,rootKey:o,parentNum:d})}})})})(l,p,v),l&&!I){const t=_?.id||"fallback_parent_"+o++;e[t]||(e[t]=[]),e[t].push(l)}(l?.subsections||d?.subsections||u?.subsections||[]).forEach(e=>{const t=c(d?.subsections,e),n=c(u?.subsections,e);f(e,t,n,p,v,!1,l||_)})};R.forEach(e=>{const{rootKey:t,parentNum:n}=d(e,"left");let i=null;if(u){const t=e.refIndexes?.[0];i=C.find(e=>e.selfIndex===t)}else i=C[R.indexOf(e)];f(e,e,i,t,n,!0,e)}),h||C.forEach(e=>{const{rootKey:t,parentNum:n}=d(e,"right");t.startsWith("right-orphan-root:")&&f(e,null,e,t,n,!0,e)});const p=Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t.index])),v=Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t.parentNum]));return{parentDeviationRecord:e,registry:p,deviationParentRegistry:v}},[R,C,u,l,h]);return{isGuidelineMode:h,activeProposed:g,activeVariants:m,comparisonRows:x,existingRule:y,proposedSections:R,existingSections:C,visibleFields:O,parentDeviationRecord:j,deviationNumberRegistry:N,deviationParentRegistry:S,parseError:b}};export{l as useCognitiveTreeData};
2
2
  //# sourceMappingURL=useCompareData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCompareData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useCompareData.js","sources":["../../../../src/features/CognitiveCompare/hooks/useCompareData.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { getSideData, getRationale, hasValue, safeStringify, isMissingStr, DEVIATION_BADGE_SEPARATOR, resolveComparisonInputItems } from \"../CognitiveComparehelpers\";\nimport { ComparisonRow, SectionBlock, ProposedRuleData, RuleData, ComparisonConfig } from \"../CognitiveCompareTypes\";\nimport { buildComparisonRows } from \"../utils/buildComparisonRows\";\n\nconst DEFAULT_RULE_FALLBACK: RuleData = { id: \"\", title: \"\", similarity: 0, sections: [] };\n\nexport const useCognitiveTreeData = (\n treeData: Record<string, any> | undefined,\n maintainRelativeOrder: boolean,\n deviationData: Record<string, any> | null,\n resolvedComparisonConfig: ComparisonConfig,\n enableDeviationSchemaBackwardCompatibility: boolean = true,\n guidelinesData?: Record<string, any> | null\n) => {\n // AdaptTreeData function \n // memoized to increase performance\n // Stabilize the deviationData reference by stringifying it.\n // This prevents React from triggering re-renders purely due to memory reference changes.\n // We keep accepting it as a string so the memo dep stays content-based.\n const deviationDataStr = typeof deviationData === \"string\" ? deviationData : JSON.stringify(deviationData || {});\n\n // ── NEW: Check for either the new learnings_data or the old artifactData ──\n const isGuidelineMode = Boolean(\n guidelinesData && \n (guidelinesData.learnings_data || guidelinesData.data?.artifactData?.userStorySnapshot)\n );\n\n const { activeProposed, activeVariants, comparisonRows, parseError } = useMemo(() => {\n if (!treeData || Object.keys(treeData).length === 0) {\n return {\n activeProposed: {} as ProposedRuleData,\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: \"Tree data is required\",\n };\n }\n const stableDeviationData = JSON.parse(deviationDataStr);\n\n try {\n const nodes = treeData.nodes || treeData;\n let baseSections: any[] = []; \n let refSections: any[] = []; \n let comparisonRows: ComparisonRow[] = [];\n\n const rootId = treeData.base_root_id;\n const indexMap = treeData.input_index_map || { \"0\": \"left\", \"1\": \"right\" };\n const rootNode = treeData[rootId] || nodes[rootId];\n\n if (!rootNode || rootNode.display_node === false) {\n return {\n activeProposed: { title: \"No Data\", sections: [] },\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: null,\n };\n }\n \n const contentMapping = treeData.content_mapping || {};\n const getNode = (nodeId: string) => treeData[nodeId] || nodes[nodeId];\n \n\n const normalizeEvaluationResult = (rawEvaluationResult: any, nodeLeftId: string, nodeRightId: string) => {\n if (!rawEvaluationResult || typeof rawEvaluationResult !== \"object\") {\n return rawEvaluationResult || null;\n }\n\n // Old format already supported by UI.\n if (rawEvaluationResult.deviations) {\n return rawEvaluationResult;\n }\n\n if (enableDeviationSchemaBackwardCompatibility) {\n return rawEvaluationResult;\n }\n\n const numericDeviationKeys = Object.keys(rawEvaluationResult).filter(\n (k) => /^\\d+$/.test(k),\n );\n\n if (!numericDeviationKeys.length) {\n return rawEvaluationResult;\n }\n\n const sortedDeviationKeys = numericDeviationKeys.sort(\n (a, b) => Number(a) - Number(b),\n );\n const normalizedDeviations: Record<string, any> = {};\n const deviationEntries: Record<string, any> = {};\n let firstEntry: any = null;\n\n sortedDeviationKeys.forEach((devKey) => {\n const entry = rawEvaluationResult[devKey];\n if (!entry || typeof entry !== \"object\") return;\n if (!firstEntry) firstEntry = entry;\n\n const shouldShowHighlights =\n !entry?.status || entry.status === \"pending\";\n const deviationHighlight =\n entry?.deviation_highlight ||\n entry?.web_search_answer?.deviation_highlight;\n\n const citationHighlights = (docId: string): string[] => {\n const citations = entry?.cognitive_decisioning?.citations || entry?.citations || {};\n return Object.values(citations)\n .map((citation: any) => citation?.[docId]?.highlighted_text)\n .filter((text: any) => typeof text === \"string\" && text.trim().length > 0);\n };\n\n const firstNonEmpty = (...values: any[]): string[] => {\n for (const value of values) {\n if (Array.isArray(value) && value.some((text) => !isMissingStr(text))) {\n return value;\n }\n }\n return [];\n };\n\n const leftHighlights: string[] = shouldShowHighlights\n ? firstNonEmpty(\n entry?.deviation_highlights?.[nodeLeftId] ||\n entry?.deviation_highlights?.[indexMap[\"0\"] as string],\n typeof deviationHighlight === \"string\"\n ? [deviationHighlight]\n : [],\n citationHighlights(nodeLeftId),\n citationHighlights(indexMap[\"0\"] as string),\n )\n : [];\n\n const rightHighlights: string[] = shouldShowHighlights\n ? firstNonEmpty(\n entry?.deviation_highlights?.[nodeRightId] ||\n entry?.deviation_highlights?.[indexMap[\"1\"] as string],\n citationHighlights(nodeRightId),\n citationHighlights(indexMap[\"1\"] as string),\n )\n : [];\n\n normalizedDeviations[devKey] = {\n [indexMap[\"0\"] as string]: leftHighlights[0] || \"\", \n [indexMap[\"1\"] as string]: rightHighlights[0] || \"\",\n deviation_summary: entry?.deviation_summary || \"\",\n deviation_title: entry?.deviation_title,\n deviation_impact: entry?.deviation_impact,\n deviation_explanation: entry?.deviation_explanation,\n evaluation_outputs: entry?.evaluation_outputs,\n cognitive_decisioning: entry?.cognitive_decisioning,\n deviation_highlights: entry?.deviation_highlights,\n };\n\n deviationEntries[devKey] = entry;\n });\n\n return {\n ...rawEvaluationResult,\n deviation_title: firstEntry?.deviation_title || rawEvaluationResult?.deviation_title,\n deviation_impact: firstEntry?.deviation_impact || rawEvaluationResult?.deviation_impact,\n deviation_summary: firstEntry?.deviation_summary || rawEvaluationResult?.deviation_summary,\n deviation_explanation:\n firstEntry?.deviation_explanation || rawEvaluationResult?.deviation_explanation,\n evaluation_outputs:\n firstEntry?.evaluation_outputs || rawEvaluationResult?.evaluation_outputs,\n cognitive_decisioning:\n firstEntry?.cognitive_decisioning || rawEvaluationResult?.cognitive_decisioning,\n deviations: normalizedDeviations,\n deviation_entries: deviationEntries,\n };\n };\n\n // UNIVERSAL RE-ROUTING ENGINE (WITH SORTING FIX)\n const reRouteRHSTree = (sections: any[]) => {\n const allNodesMap = new Map<string, any>();\n \n const indexNodes = (nodes: any[]) => {\n nodes.forEach(node => {\n if (node.id) allNodesMap.set(node.id, node);\n if (node.subsections?.length) indexNodes(node.subsections);\n });\n };\n indexNodes(sections);\n \n const moveNodes = (nodes: any[], parentNode?: any): any[] => {\n let filteredNodes: any[] = [];\n \n for (const node of nodes) {\n const targetParentId = node.ref_parent_section_node_id;\n \n if (targetParentId && allNodesMap.has(targetParentId) && targetParentId !== parentNode?.id) {\n const targetParent = allNodesMap.get(targetParentId)!;\n if (!targetParent.subsections) targetParent.subsections = [];\n \n if (!targetParent.subsections.some((s: any) => s.id === node.id)) {\n targetParent.subsections.push(node);\n }\n } else {\n if (node.subsections?.length) {\n node.subsections = moveNodes(node.subsections, node);\n }\n filteredNodes.push(node);\n }\n }\n return filteredNodes;\n };\n \n const finalSections = moveNodes(sections);\n\n // Sort step added to ensure display_index is respected after re-routing\n const sortSubsections = (nodes: any[]) => {\n nodes.forEach(node => {\n if (node.subsections && node.subsections.length > 0) {\n node.subsections.sort((a: any, b: any) => {\n if (a.selfIndex < 0 && b.selfIndex >= 0) return 1;\n if (a.selfIndex >= 0 && b.selfIndex < 0) return -1;\n return (a.selfIndex || 0) - (b.selfIndex || 0);\n });\n sortSubsections(node.subsections);\n }\n });\n };\n\n sortSubsections(finalSections);\n return finalSections;\n };\n\n const getNodeInputIds = (node: any) => {\n const nodeInputKeys = node.comparison_inputs ? Object.keys(node.comparison_inputs) : [];\n let nodeLeftId = indexMap[\"0\"];\n let nodeRightId = indexMap[\"1\"];\n\n if (nodeInputKeys.length > 0) {\n nodeLeftId = nodeInputKeys.includes(indexMap[\"0\"]) ? indexMap[\"0\"] : nodeInputKeys[0];\n nodeRightId = nodeInputKeys.includes(indexMap[\"1\"]) ? indexMap[\"1\"] : (nodeInputKeys.length > 1 ? nodeInputKeys[1] : nodeInputKeys[0]);\n }\n\n return { nodeLeftId, nodeRightId };\n };\n\n const getParentContentId = (attrs: any) =>\n attrs?.entity_id ||\n attrs?.ref_parent_section_node_id ||\n attrs?.parent_entity_id ||\n null;\n\n const makeSectionBlock = (\n nodeId: string,\n item: any,\n evaluationResult: any,\n rationale: any,\n ): SectionBlock => {\n const attrs = item.attributes || {};\n const data = item.data || {};\n const displayTitle = attrs.display_title !== false;\n const displayContent = attrs.display_content !== false;\n const title = displayTitle ? safeStringify(data.title || \"\") : \"\";\n const content = displayContent ? safeStringify(data.content || \"\") : \"\";\n const changeHistory = displayContent ? safeStringify(data.change_history || \"\") : \"\";\n const selfIndex =\n attrs.display_index !== undefined && attrs.display_index !== null\n ? Number(attrs.display_index)\n : -1;\n const parentContentId = getParentContentId(attrs);\n const hasData = !!(title.trim() || content.trim());\n\n return {\n id: `${nodeId}::${item.contentId}`,\n nodeId,\n contentId: item.contentId,\n parentContentId,\n title,\n content,\n change_history: changeHistory,\n displayTitle,\n displayContent,\n subsections: [],\n ...(hasData ? rationale : { score: undefined, relation: \"not_defined\" }),\n evaluationResult,\n evaluationResults: evaluationResult ? [evaluationResult] : [],\n selfIndex,\n refIndexes: [],\n refContentIds: [],\n ref_parent_section_node_id: parentContentId,\n } as SectionBlock;\n };\n\n const mergeBlock = (target: any, incoming: any) => {\n target.refIndexes = Array.from(new Set([...(target.refIndexes || []), ...(incoming.refIndexes || [])]));\n target.refContentIds = Array.from(new Set([...(target.refContentIds || []), ...(incoming.refContentIds || [])]));\n\n const existingChildKeys = new Set(\n (target.subsections || []).map((child: any) =>\n child.id || child.contentId || child.nodeId,\n ),\n );\n (incoming.subsections || []).forEach((child: any) => {\n const childKey = child.id || child.contentId || child.nodeId;\n if (!existingChildKeys.has(childKey)) {\n target.subsections = [...(target.subsections || []), child];\n existingChildKeys.add(childKey);\n }\n });\n\n const mergedEvaluationResults = [\n ...(target.evaluationResults || (target.evaluationResult ? [target.evaluationResult] : [])),\n ...(incoming.evaluationResults || (incoming.evaluationResult ? [incoming.evaluationResult] : [])),\n ].filter(Boolean);\n const seenEvaluationResults = new Set<string>();\n target.evaluationResults = mergedEvaluationResults.filter((result: any) => {\n const key = result?.nodeId || JSON.stringify(Object.keys(result?.deviations || result || {}));\n if (seenEvaluationResults.has(key)) return false;\n seenEvaluationResults.add(key);\n return true;\n });\n\n if (!target.evaluationResult && incoming.evaluationResult) target.evaluationResult = incoming.evaluationResult;\n if (!target.cognitiveData && incoming.cognitiveData) target.cognitiveData = incoming.cognitiveData;\n\n return target;\n };\n\n const sortFn = (a: any, b: any) => {\n if (a.selfIndex! < 0 && b.selfIndex! >= 0) return 1;\n if (a.selfIndex! >= 0 && b.selfIndex! < 0) return -1;\n return a.selfIndex! - b.selfIndex!;\n };\n\n const buildSideSections = (nodeId: string, sideIndex: \"0\" | \"1\"): SectionBlock[] => {\n const node = getNode(nodeId);\n if (!node || node.display_node === false) return [];\n \n if (isGuidelineMode && sideIndex === \"1\") return [];\n\n const { nodeLeftId, nodeRightId } = getNodeInputIds(node);\n const rationale = getRationale(node);\n const rawEvaluationResult =\n stableDeviationData?.[nodeId]?.evaluation_result || node.evaluation_result || null;\n const normalizedEvaluationResult = normalizeEvaluationResult(rawEvaluationResult, nodeLeftId, nodeRightId);\n const evaluationResult = normalizedEvaluationResult && typeof normalizedEvaluationResult === \"object\"\n ? { ...normalizedEvaluationResult, nodeId }\n : normalizedEvaluationResult;\n const items = resolveComparisonInputItems(node, sideIndex, indexMap, contentMapping);\n\n const sections = items.map((item) =>\n makeSectionBlock(nodeId, item, evaluationResult, rationale),\n );\n\n if (node.next) {\n const childSections = (Object.values(node.next) as string[]).flatMap((childId) =>\n buildSideSections(childId, sideIndex),\n );\n sections.forEach((section) => {\n const matchedChildren = childSections.filter((child: any) =>\n !child.parentContentId ||\n child.parentContentId === section.contentId ||\n child.parentContentId === section.parentContentId,\n );\n section.subsections = matchedChildren.length ? matchedChildren : childSections;\n });\n }\n\n return sections;\n };\n\n if (!maintainRelativeOrder) {\n if (rootNode.next) {\n (Object.values(rootNode.next) as string[]).forEach((nodeId) => {\n const node = getNode(nodeId);\n if (!node || node.display_node === false) return;\n\n const leftBlocks = buildSideSections(nodeId, \"0\");\n\n if (isGuidelineMode) {\n baseSections.push(...leftBlocks);\n return;\n }\n\n const rightBlocks = reRouteRHSTree(buildSideSections(nodeId, \"1\"));\n comparisonRows.push(\n ...buildComparisonRows(nodeId, leftBlocks, rightBlocks),\n );\n });\n }\n\n if (!isGuidelineMode) {\n baseSections = comparisonRows.map((row) => row.left);\n refSections = comparisonRows.map((row) => row.right);\n }\n\n } else {\n const buildRelativeOrderMapping = (nodeMap?: Record<string, string> | null, depth = 0) => {\n let refSections: SectionBlock[] = [];\n let baseSections: SectionBlock[] = [];\n if (!nodeMap) return { refSections, baseSections };\n \n const rightNodesHash: Record<string, SectionBlock> = {};\n const leftNodesHash: Record<string, SectionBlock> = {};\n let rightNodeOrphanIdx = -1;\n let leftNodeOrphanIdx = -1;\n\n for (const nodeIdx in nodeMap) {\n const nodeId = nodeMap[nodeIdx];\n const node = getNode(nodeId);\n if (!node || node.display_node === false) continue;\n\n const { nodeLeftId, nodeRightId } = getNodeInputIds(node);\n const rationale = getRationale(node);\n const rawEvaluationResult = stableDeviationData?.[nodeId]?.evaluation_result || node.evaluation_result || null;\n const normalizedEvaluationResult = normalizeEvaluationResult(rawEvaluationResult, nodeLeftId, nodeRightId);\n const evaluationResult = normalizedEvaluationResult && typeof normalizedEvaluationResult === \"object\"\n ? { ...normalizedEvaluationResult, nodeId }\n : normalizedEvaluationResult;\n\n const { refSections: refSubSections, baseSections: baseSubSections } = buildRelativeOrderMapping(node.next, depth + 1);\n\n const leftItems = resolveComparisonInputItems(node, \"0\", indexMap, contentMapping);\n const leftBlocks = leftItems.map((item) => {\n const block = makeSectionBlock(nodeId, item, evaluationResult, rationale);\n if (block.selfIndex === -1) block.selfIndex = leftNodeOrphanIdx--;\n return block;\n });\n\n let rightBlocks: any[] = [];\n if (!isGuidelineMode) {\n const rightItems = resolveComparisonInputItems(node, \"1\", indexMap, contentMapping);\n rightBlocks = rightItems.map((item) => {\n const block = makeSectionBlock(nodeId, item, evaluationResult, rationale);\n if (block.selfIndex === -1) block.selfIndex = rightNodeOrphanIdx--;\n return block;\n });\n }\n\n leftBlocks.forEach((leftBlock: any) => {\n rightBlocks.forEach((rightBlock: any) => {\n if (Number(rightBlock.selfIndex) >= 0 && Number(leftBlock.selfIndex) >= 0) {\n if (!rightBlock.refIndexes?.includes(Number(leftBlock.selfIndex))) rightBlock.refIndexes?.push(Number(leftBlock.selfIndex));\n if (!leftBlock.refIndexes?.includes(Number(rightBlock.selfIndex))) leftBlock.refIndexes?.push(Number(rightBlock.selfIndex));\n }\n if (leftBlock.contentId && !rightBlock.refContentIds?.includes(leftBlock.contentId)) rightBlock.refContentIds?.push(leftBlock.contentId);\n if (rightBlock.contentId && !leftBlock.refContentIds?.includes(rightBlock.contentId)) leftBlock.refContentIds?.push(rightBlock.contentId);\n });\n });\n\n rightBlocks.forEach((rightBlock: any) => {\n const matchedSubSections = refSubSections.filter((sub: any) =>\n !sub.parentContentId ||\n sub.parentContentId === rightBlock.contentId ||\n sub.parentContentId === rightBlock.parentContentId ||\n rightBlock.refContentIds?.includes(sub.parentContentId),\n );\n if (matchedSubSections.length > 0) rightBlock.subsections = matchedSubSections;\n\n const rightHashKey = depth === 0\n ? String(rightBlock.selfIndex)\n : `${rightBlock.selfIndex}_${rightBlock.contentId || nodeId}`;\n rightNodesHash[rightHashKey] = rightNodesHash[rightHashKey]\n ? mergeBlock(rightNodesHash[rightHashKey], rightBlock)\n : rightBlock;\n });\n\n leftBlocks.forEach((leftBlock: any) => {\n const matchedSubSections = baseSubSections.filter((sub: any) =>\n !sub.parentContentId ||\n sub.parentContentId === leftBlock.contentId ||\n sub.parentContentId === leftBlock.parentContentId ||\n leftBlock.refContentIds?.includes(sub.parentContentId),\n );\n if (matchedSubSections.length > 0) leftBlock.subsections = matchedSubSections;\n\n const leftHashKey = depth === 0\n ? String(leftBlock.selfIndex)\n : `${leftBlock.selfIndex}_${leftBlock.contentId || nodeId}`;\n leftNodesHash[leftHashKey] = leftNodesHash[leftHashKey]\n ? mergeBlock(leftNodesHash[leftHashKey], leftBlock)\n : leftBlock;\n });\n }\n\n refSections = Object.values(rightNodesHash);\n baseSections = Object.values(leftNodesHash);\n\n refSections.sort(sortFn);\n baseSections.sort(sortFn);\n\n return { refSections, baseSections };\n };\n\n const { refSections: righSections, baseSections: leftSections } = buildRelativeOrderMapping(rootNode.next);\n \n if (!isGuidelineMode) {\n refSections = reRouteRHSTree(righSections);\n }\n baseSections = leftSections;\n }\n\n const rootLeftData = getSideData(rootNode, \"0\", indexMap, contentMapping);\n const rootRightData = getSideData(rootNode, \"1\", indexMap, contentMapping);\n\n const activeProposed: ProposedRuleData = {\n title: rootLeftData.title || \"Uploaded Contract\",\n description: rootNode.decision_scope_description || \"\",\n sections: baseSections,\n };\n\n // ── NEW: Extract the title dynamically based on the new learnings_data structure ──\n const getGuidelineTitle = () => {\n if (guidelinesData?.learnings_data && Object.keys(guidelinesData.learnings_data).length > 0) {\n const firstKey = Object.keys(guidelinesData.learnings_data)[0];\n return guidelinesData.learnings_data[firstKey]?.title || \"Rulebook Guidelines\";\n }\n return guidelinesData?.data?.artifactTitle || \"Rulebook Guidelines\";\n };\n\n const activeVariant: RuleData = {\n id: \"tree-variant-1\",\n title: isGuidelineMode ? getGuidelineTitle() : (rootRightData.title || \"Reference Template\"),\n similarity: 0,\n sections: refSections,\n analysis: { rule_difference_comparison: { summary: { overall_score: 0, overall_summary: rootNode.decision_scope_description || \"\" }, fields: {} } },\n };\n\n return {\n activeProposed,\n activeVariants: [activeVariant],\n comparisonRows,\n parseError: null,\n };\n } catch (err: unknown) {\n console.error(\"Data Transformation Error: \", err);\n return {\n activeProposed: {} as ProposedRuleData,\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: err instanceof Error ? err.message : \"Unknown Parsing Error\",\n };\n }\n }, [treeData, maintainRelativeOrder, deviationDataStr, enableDeviationSchemaBackwardCompatibility, guidelinesData]);\n\n // 2. Extracted section references\n const existingRule = activeVariants?.[0] || DEFAULT_RULE_FALLBACK;\n \n const proposedSections = useMemo(\n () => (activeProposed?.sections || []) as SectionBlock[],\n [activeProposed?.sections]\n );\n \n const existingSections = useMemo(\n () => (existingRule.sections || []) as SectionBlock[],\n [existingRule.sections]\n );\n\n const hasSectionAccordions =\n proposedSections.length > 0 || existingSections.length > 0;\n\n const visibleFields = useMemo(() => {\n return resolvedComparisonConfig.fields.filter(({ key }) => {\n if (hasSectionAccordions && key === \"description\") return false;\n return hasValue(activeProposed?.[key as keyof ProposedRuleData]) || hasValue(existingRule[key as keyof RuleData]);\n });\n }, [activeProposed, existingRule, hasSectionAccordions, resolvedComparisonConfig.fields]);\n\n // @ts-ignore\n const { parentDeviationRecord, registry: deviationNumberRegistry, deviationParentRegistry } = useMemo(() => {\n const parentDeviationRecord: Record<string, SectionBlock[]> = {};\n const registry: Record<string, { index: number; rootKey: string; parentNum: number }> = {};\n const counters: Record<string, number> = {};\n // Add a fallback id counter to ensure no deviations are left without ID even when backend does not provide any id.\n let fallbackIdCounter = 0;\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n\n const resolveRootKeyAndParentNum = (\n rootSec: SectionBlock,\n side: \"left\" | \"right\",\n ): { rootKey: string; parentNum: number } => {\n if (!maintainRelativeOrder) {\n const idx = side === \"left\"\n ? proposedSections.indexOf(rootSec)\n : existingSections.indexOf(rootSec);\n return { rootKey: `${side}:${idx}`, parentNum: idx + 1 };\n }\n\n if (side === \"left\") {\n const selfIdx = (rootSec as any).selfIndex;\n const parentNum = selfIdx !== undefined && selfIdx >= 0 \n ? selfIdx + 1 \n : proposedSections.indexOf(rootSec) + 1;\n return { rootKey: `left-root:${rootSec.id}`, parentNum };\n }\n\n const rhsSelfIndex = (rootSec as any).selfIndex;\n const mappedLhs = proposedSections.find(\n (l: any) => l.refIndexes?.includes(rhsSelfIndex),\n );\n\n if (mappedLhs) {\n const lhsSelfIdx = (mappedLhs as any).selfIndex;\n const parentNum = lhsSelfIdx !== undefined && lhsSelfIdx >= 0 \n ? lhsSelfIdx + 1 \n : proposedSections.indexOf(mappedLhs) + 1;\n return { rootKey: `left-root:${mappedLhs.id}`, parentNum };\n }\n\n // True RHS orphan\n const parentNum = rhsSelfIndex !== undefined && rhsSelfIndex >= 0 \n ? rhsSelfIndex + 1 \n : existingSections.indexOf(rootSec) + 1;\n return { rootKey: `right-orphan-root:${rootSec.id}`, parentNum };\n };\n\n const processDeviations = (evalNode: any, rootKey: string, parentNum: number) => {\n const evaluationResults = evalNode?.evaluationResults?.length\n ? evalNode.evaluationResults\n : (evalNode?.evaluationResult ? [evalNode.evaluationResult] : []);\n\n evaluationResults.forEach((evaluationResult: any) => {\n const deviations = evaluationResult?.deviations || {};\n\n Object.keys(deviations).sort().forEach(devKey => {\n const devMap = deviations[devKey];\n if (!devMap) return;\n\n // changed the code because this logic was too strict and missed\n // cases where highlights were present in normalized/citation-backed data.\n const hasLeftHighlight = !isMissingStr(devMap[leftDocId as string]);\n const hasRightHighlight = !isMissingStr(devMap[rightDocId as string]);\n if (hasLeftHighlight || hasRightHighlight) {\n const registryNodeId = evaluationResult?.nodeId || evalNode.nodeId || evalNode.id;\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n if (registry[refId] === undefined) {\n if (counters[rootKey] === undefined) counters[rootKey] = 1;\n registry[refId] = { index: counters[rootKey]++, rootKey, parentNum };\n }\n }\n });\n });\n };\n\n // Resolve the correct child node at each level using id/refIndexes matching\n // rather than blind array-position (`subsections[i]`), so cross-routed\n // subsections are attributed to their actual structural parent.\n const findMatchingChild = (\n children: SectionBlock[] | undefined,\n target: SectionBlock | undefined,\n ): SectionBlock | undefined => {\n if (!children || !target) return undefined;\n return children.find((c: any) =>\n c.id === target.id ||\n (c.nodeId && c.nodeId === (target as any).nodeId) ||\n (c.contentId && c.contentId === (target as any).contentId)\n ) || undefined;\n };\n\n const traverse = (\n leftNode: SectionBlock | undefined | null,\n evalNode: SectionBlock | undefined | null,\n rightNode: SectionBlock | undefined | null,\n rootKey: string,\n parentNum: number,\n isRoot: boolean,\n parentNode: SectionBlock,\n ) => {\n if (evalNode) {\n processDeviations(evalNode, rootKey, parentNum);\n }\n\n if (evalNode && !isRoot) {\n const safeParentId = parentNode?.id || `fallback_parent_${fallbackIdCounter++}`;\n if (!parentDeviationRecord[safeParentId]) {\n parentDeviationRecord[safeParentId] = [];\n }\n parentDeviationRecord[safeParentId].push(evalNode);\n }\n\n const subs = evalNode?.subsections || leftNode?.subsections || rightNode?.subsections || [];\n subs.forEach((childEvalNode: any) => {\n const matchedLeft = findMatchingChild(leftNode?.subsections, childEvalNode);\n const matchedRight = findMatchingChild(rightNode?.subsections, childEvalNode);\n traverse(\n childEvalNode,\n matchedLeft,\n matchedRight,\n rootKey,\n parentNum,\n false,\n evalNode || parentNode,\n );\n });\n };\n\n proposedSections.forEach((rootSec) => {\n const { rootKey, parentNum } = resolveRootKeyAndParentNum(rootSec, \"left\");\n let rightSec = null;\n if (maintainRelativeOrder) {\n const rhsSelfIndex = (rootSec as any).refIndexes?.[0];\n rightSec = existingSections.find(s => (s as any).selfIndex === rhsSelfIndex);\n } else {\n rightSec = existingSections[proposedSections.indexOf(rootSec)];\n }\n traverse(rootSec, rootSec, rightSec, rootKey, parentNum, true, rootSec);\n });\n\n if (!isGuidelineMode) {\n existingSections.forEach((rootSec) => {\n const { rootKey, parentNum } = resolveRootKeyAndParentNum(rootSec, \"right\");\n const isOrphan = rootKey.startsWith(\"right-orphan-root:\");\n\n if (isOrphan) {\n traverse(rootSec, null, rootSec, rootKey, parentNum, true, rootSec);\n }\n });\n }\n\n const deviationNumberRegistry = Object.fromEntries(\n Object.entries(registry).map(([k, v]) => [k, v.index])\n );\n const deviationParentRegistry = Object.fromEntries(\n Object.entries(registry).map(([k, v]) => [k, v.parentNum])\n );\n\n return { parentDeviationRecord, registry: deviationNumberRegistry, deviationParentRegistry };\n\n }, [proposedSections, existingSections, maintainRelativeOrder, treeData, isGuidelineMode]);\n\n return {\n isGuidelineMode, // ── NEW ──\n activeProposed,\n activeVariants,\n comparisonRows,\n existingRule,\n proposedSections,\n existingSections,\n visibleFields,\n parentDeviationRecord,\n deviationNumberRegistry,\n deviationParentRegistry,\n parseError\n };\n};\n"],"names":["DEFAULT_RULE_FALLBACK","id","title","similarity","sections","useCognitiveTreeData","treeData","maintainRelativeOrder","deviationData","resolvedComparisonConfig","enableDeviationSchemaBackwardCompatibility","guidelinesData","deviationDataStr","JSON","stringify","isGuidelineMode","Boolean","learnings_data","data","artifactData","userStorySnapshot","activeProposed","activeVariants","comparisonRows","parseError","useMemo","Object","keys","length","stableDeviationData","parse","nodes","baseSections","refSections","rootId","base_root_id","indexMap","input_index_map","rootNode","display_node","contentMapping","content_mapping","getNode","nodeId","normalizeEvaluationResult","rawEvaluationResult","nodeLeftId","nodeRightId","deviations","numericDeviationKeys","filter","k","test","sortedDeviationKeys","sort","a","b","Number","normalizedDeviations","deviationEntries","firstEntry","forEach","devKey","entry","shouldShowHighlights","status","deviationHighlight","deviation_highlight","web_search_answer","citationHighlights","docId","citations","cognitive_decisioning","values","map","citation","highlighted_text","text","trim","firstNonEmpty","value","Array","isArray","some","isMissingStr","leftHighlights","deviation_highlights","rightHighlights","deviation_summary","deviation_title","deviation_impact","deviation_explanation","evaluation_outputs","deviation_entries","reRouteRHSTree","allNodesMap","Map","indexNodes","node","set","subsections","moveNodes","parentNode","filteredNodes","targetParentId","ref_parent_section_node_id","has","targetParent","get","s","push","finalSections","sortSubsections","selfIndex","getNodeInputIds","nodeInputKeys","comparison_inputs","includes","getParentContentId","attrs","entity_id","parent_entity_id","makeSectionBlock","item","evaluationResult","rationale","attributes","displayTitle","display_title","displayContent","display_content","safeStringify","content","changeHistory","change_history","display_index","parentContentId","hasData","contentId","score","relation","evaluationResults","refIndexes","refContentIds","mergeBlock","target","incoming","from","Set","existingChildKeys","child","childKey","add","mergedEvaluationResults","seenEvaluationResults","result","key","cognitiveData","sortFn","buildSideSections","sideIndex","getRationale","evaluation_result","normalizedEvaluationResult","resolveComparisonInputItems","next","childSections","flatMap","childId","section","matchedChildren","buildRelativeOrderMapping","nodeMap","depth","rightNodesHash","leftNodesHash","rightNodeOrphanIdx","leftNodeOrphanIdx","nodeIdx","refSubSections","baseSubSections","leftBlocks","block","rightBlocks","rightItems","leftBlock","rightBlock","matchedSubSections","sub","rightHashKey","String","leftHashKey","righSections","leftSections","buildComparisonRows","row","left","right","rootLeftData","getSideData","rootRightData","description","decision_scope_description","firstKey","artifactTitle","getGuidelineTitle","analysis","rule_difference_comparison","summary","overall_score","overall_summary","fields","err","console","error","Error","message","existingRule","proposedSections","existingSections","hasSectionAccordions","visibleFields","hasValue","parentDeviationRecord","registry","deviationNumberRegistry","deviationParentRegistry","counters","fallbackIdCounter","leftDocId","rightDocId","resolveRootKeyAndParentNum","rootSec","side","idx","indexOf","rootKey","parentNum","selfIdx","rhsSelfIndex","mappedLhs","find","l","lhsSelfIdx","findMatchingChild","children","c","traverse","leftNode","evalNode","rightNode","isRoot","devMap","hasLeftHighlight","hasRightHighlight","refId","DEVIATION_BADGE_SEPARATOR","index","processDeviations","safeParentId","childEvalNode","matchedLeft","matchedRight","rightSec","startsWith","fromEntries","entries","v"],"mappings":"uSAKA,MAAMA,EAAkC,CAAEC,GAAI,GAAIC,MAAO,GAAIC,WAAY,EAAGC,SAAU,IAEzEC,EAAuB,CAClCC,EACAC,EACAC,EACAC,EACAC,GAAsD,EACtDC,KAOM,MAAAC,EAA4C,iBAAlBJ,EAA6BA,EAAgBK,KAAKC,UAAUN,GAAiB,CAAA,GAGvGO,EAAkBC,QACtBL,IACCA,EAAeM,gBAAkBN,EAAeO,MAAMC,cAAcC,qBAGjEC,eAAEA,EAAgBC,eAAAA,EAAAC,eAAgBA,aAAgBC,GAAeC,EAAQ,KAC7E,IAAKnB,GAA6C,IAAjCoB,OAAOC,KAAKrB,GAAUsB,OAC9B,MAAA,CACLP,eAAgB,CAAC,EACjBC,eAAgB,GAChBC,eAAgB,GAChBC,WAAY,yBAGV,MAAAK,EAAsBhB,KAAKiB,MAAMlB,GAEnC,IACI,MAAAmB,EAAQzB,EAASyB,OAASzB,EAChC,IAAI0B,EAAsB,GACtBC,EAAqB,GACrBV,EAAkC,GAEtC,MAAMW,EAAS5B,EAAS6B,aAClBC,EAAW9B,EAAS+B,iBAAmB,CAAE,EAAK,OAAQ,EAAK,SAC3DC,EAAWhC,EAAS4B,IAAWH,EAAMG,GAE3C,IAAKI,IAAsC,IAA1BA,EAASC,aACjB,MAAA,CACLlB,eAAgB,CAAEnB,MAAO,UAAWE,SAAU,IAC9CkB,eAAgB,GAChBC,eAAgB,GAChBC,WAAY,MAIV,MAAAgB,EAAiBlC,EAASmC,iBAAmB,GAC7CC,EA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GAAcN,EAA2BC,EAAS,SAClDI,EAAQ4B,WAAW,uBAGlCjB,EAASf,EAAS,KAAMA,EAASI,EAASC,GAAW,EAAML,KAKjE,MAAMP,EAA0BvM,OAAO+O,YACrC/O,OAAOgP,QAAQ1C,GAAUtJ,IAAI,EAAEvB,EAAGwN,KAAO,CAACxN,EAAGwN,EAAEV,SAE3C/B,EAA0BxM,OAAO+O,YACrC/O,OAAOgP,QAAQ1C,GAAUtJ,IAAI,EAAEvB,EAAGwN,KAAO,CAACxN,EAAGwN,EAAE9B,aAGjD,MAAO,CAAEd,sBAAAA,EAAuBC,SAAUC,EAAyBC,wBAAAA,IAElE,CAACR,EAAkBC,EAAkBpN,EAAuBD,EAAUS,IAElE,MAAA,CACLA,kBACAM,iBACAC,iBACAC,iBACAkM,eACAC,mBACAC,mBACAE,gBACAE,wBACAE,0BACAC,0BACA1M"}
@@ -1,2 +1,2 @@
1
- import{__assign as n}from"tslib";import{useState as e,useCallback as t,useRef as o,useEffect as i}from"react";import{EMPTY_SECTION_POPUP_STATE as r,EMPTY_SUMMARY_POPUP_STATE as u,POPUP_GAP as c,VIEWPORT_MARGIN as a,ARROW_SIZE as l,POPUP_WIDTH as p}from"../CognitiveCompareConstants.js";var s=function(s){var m=e(r),v=m[0],f=m[1],d=e(r),h=d[0],g=d[1],w=e(u),P=w[0],C=w[1],E=t(function(){C(u)},[]),F=e(null),M=F[0],b=F[1],x=e(null),A=x[0],L=x[1],S=o(null),I=o(null);i(function(){I.current=null},[v.sectionIdx,v.open]);var y=t(function(){b(null),f(r),L(null)},[]),z=t(function(){g(r)},[]),B=t(function(){var n;if(v.anchorEl&&v.refSectionTitle){var e=v.anchorEl.getBoundingClientRect();if(0!==e.width||0!==e.height){var t=(null===(n=null==S?void 0:S.current)||void 0===n?void 0:n.offsetHeight)||0,o=Math.min(p,window.innerWidth-2*a),i=window.innerHeight-e.bottom-c-a,r=e.top-c-a,u=i<t&&r>i;u=null!==I.current?!0===I.current&&(r>=t||r>=i):!(i>=t||i>=r),I.current=u;var s=u?r:i,m=Math.min(t||9999,s),f=u?e.top-c-m:e.bottom+c,d=e.left+e.width/2,h=d-o/2,g=Math.max(a,Math.min(h,window.innerWidth-o-a)),w=Math.max(l+4,Math.min(d-g,o-l-4));b({top:f,left:g,arrowLeft:w,openAbove:u,maxHeight:s})}}},[v.anchorEl,v.refSectionTitle]);i(function(){if(v.open){window.addEventListener("resize",B);var n=requestAnimationFrame(B),e=null;return S.current&&(e=new ResizeObserver(function(){cancelAnimationFrame(n),n=requestAnimationFrame(B)})).observe(S.current),function(){cancelAnimationFrame(n),window.removeEventListener("resize",B),null==e||e.disconnect()}}},[v.open,B]),i(function(){var n=s.current;if(n&&(h.open||v.open)){var e=function(n){z(),S.current&&S.current.contains(n.target)||(b(null),y())};return n.addEventListener("scroll",e,{capture:!0}),function(){n.removeEventListener("scroll",e,{capture:!0})}}},[s,h.open,v.open,z,y]);var H=t(function(n){z(),b(null),f(n)},[z]),R=t(function(){null!==h.sectionIdx&&h.anchorEl?H(n(n({},h),{open:!0})):z()},[h,z,H]);return{cognitivePopup:v,setCognitivePopup:f,moreFunctions:h,setMoreFunctions:g,summaryPopup:P,setSummaryPopup:C,closeSummaryPopup:E,position:M,setPosition:b,activeBadgeId:A,setActiveBadgeId:L,popupRef:S,closeCognitivePopup:y,closeMoreFunctionsPopup:z,recalcPosition:B,handleOpenCognitiveCompare:R,openCognitivePopupFromState:H}};export{s as useComparePopups};
1
+ import{useState as e,useCallback as n,useRef as t,useEffect as o}from"react";import{EMPTY_SECTION_POPUP_STATE as r,EMPTY_SUMMARY_POPUP_STATE as i,POPUP_GAP as c,VIEWPORT_MARGIN as u,ARROW_SIZE as l,POPUP_WIDTH as s}from"../CognitiveCompareConstants.js";const a=a=>{const[p,m]=e(r),[d,h]=e(r),[v,g]=e(i),f=n(()=>{g(i)},[]),[w,P]=e(null),[C,E]=e(null),F=t(null),M=t(null);o(()=>{M.current=null},[p.sectionIdx,p.open]);const x=n(()=>{P(null),m(r),E(null)},[]),A=n(()=>{h(r)},[]),b=n(()=>{if(!p.anchorEl||!p.refSectionTitle)return;const e=p.anchorEl.getBoundingClientRect();if(0===e.width&&0===e.height)return;const n=F?.current?.offsetHeight||0,t=Math.min(s,window.innerWidth-2*u),o=window.innerHeight-e.bottom-c-u,r=e.top-c-u;let i=o<n&&r>o;i=null!==M.current?!0===M.current&&(r>=n||r>=o):!(o>=n||o>=r),M.current=i;const a=i?r:o,m=Math.min(n||9999,a),d=i?e.top-c-m:e.bottom+c,h=e.left+e.width/2,v=h-t/2,g=Math.max(u,Math.min(v,window.innerWidth-t-u)),f=Math.max(l+4,Math.min(h-g,t-l-4));P({top:d,left:g,arrowLeft:f,openAbove:i,maxHeight:a})},[p.anchorEl,p.refSectionTitle]);o(()=>{if(!p.open)return;window.addEventListener("resize",b);let e=requestAnimationFrame(b),n=null;return F.current&&(n=new ResizeObserver(()=>{cancelAnimationFrame(e),e=requestAnimationFrame(b)}),n.observe(F.current)),()=>{cancelAnimationFrame(e),window.removeEventListener("resize",b),n?.disconnect()}},[p.open,b]),o(()=>{const e=a.current;if(!e||!d.open&&!p.open)return;const n=e=>{A(),F.current&&F.current.contains(e.target)||(P(null),x())};return e.addEventListener("scroll",n,{capture:!0}),()=>{e.removeEventListener("scroll",n,{capture:!0})}},[a,d.open,p.open,A,x]);const L=n(e=>{A(),P(null),m(e)},[A]),S=n(()=>{null!==d.sectionIdx&&d.anchorEl?L({...d,open:!0}):A()},[d,A,L]);return{cognitivePopup:p,setCognitivePopup:m,moreFunctions:d,setMoreFunctions:h,summaryPopup:v,setSummaryPopup:g,closeSummaryPopup:f,position:w,setPosition:P,activeBadgeId:C,setActiveBadgeId:E,popupRef:F,closeCognitivePopup:x,closeMoreFunctionsPopup:A,recalcPosition:b,handleOpenCognitiveCompare:S,openCognitivePopupFromState:L}};export{a as useComparePopups};
2
2
  //# sourceMappingURL=useComparePopups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useComparePopups.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useComparePopups.js","sources":["../../../../src/features/CognitiveCompare/hooks/useComparePopups.tsx"],"sourcesContent":["import React, { useState, useCallback, useRef, useEffect } from \"react\";\nimport { SectionPopupState, PopupPosition, SummaryPopupState } from \"../CognitiveCompareTypes\";\nimport { EMPTY_SECTION_POPUP_STATE, POPUP_GAP, POPUP_WIDTH, VIEWPORT_MARGIN, ARROW_SIZE, EMPTY_SUMMARY_POPUP_STATE } from \"../CognitiveCompareConstants\";\n\nexport const useComparePopups = (scrollContainerRef: React.RefObject<HTMLDivElement>,) => {\n const [cognitivePopup, setCognitivePopup] = useState<SectionPopupState>(EMPTY_SECTION_POPUP_STATE);\n const [moreFunctions, setMoreFunctions] = useState<SectionPopupState>(EMPTY_SECTION_POPUP_STATE);\n const [summaryPopup, setSummaryPopup] = useState<SummaryPopupState>(EMPTY_SUMMARY_POPUP_STATE);\n const closeSummaryPopup = useCallback(()=>{\n setSummaryPopup(EMPTY_SUMMARY_POPUP_STATE);\n }, []);\n const [position, setPosition] = useState<PopupPosition | null>(null);\n const [activeBadgeId, setActiveBadgeId] = useState<string | null>(null);\n\n const popupRef = useRef<HTMLDivElement>(null);\n const popupDirectionLock = useRef<boolean | null>(null);\n\n useEffect(() => {\n popupDirectionLock.current = null;\n }, [cognitivePopup.sectionIdx, cognitivePopup.open]);\n\n const closeCognitivePopup = useCallback(() => {\n setPosition(null);\n setCognitivePopup(EMPTY_SECTION_POPUP_STATE);\n setActiveBadgeId(null);\n }, []);\n\n const closeMoreFunctionsPopup = useCallback(() => {\n setMoreFunctions(EMPTY_SECTION_POPUP_STATE);\n }, []);\n\n const recalcPosition = useCallback(() => {\n if (!cognitivePopup.anchorEl || !cognitivePopup.refSectionTitle) return;\n\n const badgeRect = cognitivePopup.anchorEl.getBoundingClientRect();\n if (badgeRect.width === 0 && badgeRect.height === 0) return;\n\n const popupH = popupRef?.current?.offsetHeight || 0;\n const popupW = Math.min(POPUP_WIDTH, window.innerWidth - VIEWPORT_MARGIN * 2);\n\n const spaceBelow = window.innerHeight - badgeRect.bottom - POPUP_GAP - VIEWPORT_MARGIN;\n const spaceAbove = badgeRect.top - POPUP_GAP - VIEWPORT_MARGIN;\n\n let openAbove = spaceBelow < popupH && spaceAbove > spaceBelow;\n if (popupDirectionLock.current !== null) {\n openAbove = popupDirectionLock.current === true ? (spaceAbove >= popupH || spaceAbove >= spaceBelow) : false;\n } else {\n openAbove = !(spaceBelow >= popupH || spaceBelow >= spaceAbove);\n }\n\n popupDirectionLock.current = openAbove;\n const dynamicMaxHeight = openAbove ? spaceAbove : spaceBelow;\n const actualPopupH = Math.min(popupH || 9999, dynamicMaxHeight);\n\n const top = openAbove ? badgeRect.top - POPUP_GAP - actualPopupH : badgeRect.bottom + POPUP_GAP;\n const badgeCenterX = badgeRect.left + badgeRect.width / 2;\n const rawLeft = badgeCenterX - popupW / 2;\n const clampedLeft = Math.max(VIEWPORT_MARGIN, Math.min(rawLeft, window.innerWidth - popupW - VIEWPORT_MARGIN));\n const arrowLeft = Math.max(ARROW_SIZE + 4, Math.min(badgeCenterX - clampedLeft, popupW - ARROW_SIZE - 4));\n\n setPosition({ top, left: clampedLeft, arrowLeft, openAbove, maxHeight: dynamicMaxHeight });\n }, [cognitivePopup.anchorEl, cognitivePopup.refSectionTitle]);\n\n useEffect(() => {\n if (!cognitivePopup.open) return;\n window.addEventListener(\"resize\", recalcPosition);\n let raf = requestAnimationFrame(recalcPosition);\n let popupObserver: ResizeObserver | null = null;\n if (popupRef.current) {\n popupObserver = new ResizeObserver(() => {\n cancelAnimationFrame(raf);\n raf = requestAnimationFrame(recalcPosition);\n });\n popupObserver.observe(popupRef.current);\n }\n return () => {\n cancelAnimationFrame(raf);\n window.removeEventListener(\"resize\", recalcPosition);\n popupObserver?.disconnect();\n };\n }, [cognitivePopup.open, recalcPosition]);\n\n useEffect(() => {\n const scrollContainer = scrollContainerRef.current;\n if (!scrollContainer || (!moreFunctions.open && !cognitivePopup.open)) return;\n\n const handleScroll = (e: Event) => {\n closeMoreFunctionsPopup();\n if (popupRef.current && popupRef.current.contains(e.target as Node)) {\n return;\n }\n setPosition(null);\n closeCognitivePopup();\n };\n\n scrollContainer.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => {\n scrollContainer.removeEventListener(\"scroll\", handleScroll, {\n capture: true,\n });\n };\n }, [\n scrollContainerRef,\n moreFunctions.open,\n cognitivePopup.open,\n closeMoreFunctionsPopup,\n closeCognitivePopup,\n ]);\n\n\n const openCognitivePopupFromState = useCallback(\n (nextPopup: SectionPopupState) => {\n closeMoreFunctionsPopup();\n setPosition(null);\n setCognitivePopup(nextPopup);\n },\n [closeMoreFunctionsPopup],\n );\n\n const handleOpenCognitiveCompare = useCallback(() => {\n if (moreFunctions.sectionIdx === null || !moreFunctions.anchorEl) {\n closeMoreFunctionsPopup();\n return;\n }\n\n openCognitivePopupFromState({\n ...moreFunctions,\n open: true,\n });\n }, [moreFunctions, closeMoreFunctionsPopup, openCognitivePopupFromState]);\n\n return {\n cognitivePopup,\n setCognitivePopup,\n moreFunctions,\n setMoreFunctions,\n summaryPopup,\n setSummaryPopup,\n closeSummaryPopup,\n position,\n setPosition,\n activeBadgeId,\n setActiveBadgeId,\n popupRef,\n closeCognitivePopup,\n closeMoreFunctionsPopup,\n recalcPosition,\n handleOpenCognitiveCompare,\n openCognitivePopupFromState,\n };\n};\n"],"names":["useComparePopups","scrollContainerRef","cognitivePopup","setCognitivePopup","useState","EMPTY_SECTION_POPUP_STATE","moreFunctions","setMoreFunctions","summaryPopup","setSummaryPopup","EMPTY_SUMMARY_POPUP_STATE","closeSummaryPopup","useCallback","position","setPosition","activeBadgeId","setActiveBadgeId","popupRef","useRef","popupDirectionLock","useEffect","current","sectionIdx","open","closeCognitivePopup","closeMoreFunctionsPopup","recalcPosition","anchorEl","refSectionTitle","badgeRect","getBoundingClientRect","width","height","popupH","offsetHeight","popupW","Math","min","POPUP_WIDTH","window","innerWidth","VIEWPORT_MARGIN","spaceBelow","innerHeight","bottom","POPUP_GAP","spaceAbove","top","openAbove","dynamicMaxHeight","actualPopupH","badgeCenterX","left","rawLeft","clampedLeft","max","arrowLeft","ARROW_SIZE","maxHeight","addEventListener","raf","requestAnimationFrame","popupObserver","ResizeObserver","cancelAnimationFrame","observe","removeEventListener","disconnect","scrollContainer","handleScroll","e","contains","target","capture","openCognitivePopupFromState","nextPopup","handleOpenCognitiveCompare"],"mappings":"6PAIa,MAAAA,EAAoBC,IAC/B,MAAOC,EAAgBC,GAAqBC,EAA4BC,IACjEC,EAAeC,GAAoBH,EAA4BC,IAC/DG,EAAcC,GAAmBL,EAA4BM,GAC9DC,EAAoBC,EAAY,KACpCH,EAAgBC,IACf,KACIG,EAAUC,GAAeV,EAA+B,OACxDW,EAAeC,GAAoBZ,EAAwB,MAE5Da,EAAWC,EAAuB,MAClCC,EAAqBD,EAAuB,MAElDE,EAAU,KACRD,EAAmBE,QAAU,MAC5B,CAACnB,EAAeoB,WAAYpB,EAAeqB,OAExC,MAAAC,EAAsBZ,EAAY,KACtCE,EAAY,MACZX,EAAkBE,GAClBW,EAAiB,OAChB,IAEGS,EAA0Bb,EAAY,KAC1CL,EAAiBF,IAChB,IAEGqB,EAAiBd,EAAY,KACjC,IAAKV,EAAeyB,WAAazB,EAAe0B,gBAAiB,OAE3D,MAAAC,EAAY3B,EAAeyB,SAASG,wBAC1C,GAAwB,IAApBD,EAAUE,OAAoC,IAArBF,EAAUG,OAAc,OAE/C,MAAAC,EAAShB,GAAUI,SAASa,cAAgB,EAC5CC,EAASC,KAAKC,IAAIC,EAAaC,OAAOC,WAA+B,EAAlBC,GAEnDC,EAAaH,OAAOI,YAAcd,EAAUe,OAASC,EAAYJ,EACjEK,EAAajB,EAAUkB,IAAMF,EAAYJ,EAE3C,IAAAO,EAAYN,EAAaT,GAAUa,EAAaJ,EAElDM,EADiC,OAA/B7B,EAAmBE,SACsB,IAA/BF,EAAmBE,UAAoByB,GAAcb,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DI,SAAS,MAGZ,CACDxE,EACAK,EAAciB,KACdrB,EAAeqB,KACfE,EACAD,IAIF,MAAMkD,EAA8B9D,EAC/B+D,IACyBlD,IACxBX,EAAY,MACZX,EAAkBwE,IAEpB,CAAClD,IAGCmD,EAA6BhE,EAAY,KACV,OAA7BN,EAAcgB,YAAwBhB,EAAcqB,SAK5B+C,EAAA,IACvBpE,EACHiB,MAAM,IANkBE,KAQzB,CAACnB,EAAemB,EAAyBiD,IAEvC,MAAA,CACLxE,iBACAC,oBACAG,gBACAC,mBACAC,eACAC,kBACAE,oBACAE,WACAC,cACAC,gBACAC,mBACAC,WACAO,sBACAC,0BACAC,iBACAkD,6BACAF"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{useState as o,useRef as i,useEffect as n,useCallback as t}from"react";import{smoothScrollTo as r,debounce as l,DEVIATION_BADGE_SEPARATOR as u}from"../CognitiveComparehelpers.js";var c=function(c){var s=c.proposedSections,d=c.existingSections,v=c.parentDeviationRecord,f=c.expandedSections,a=c.maintainRelativeOrder,h=c.scrollContainerRef,g=c.leftContainerRef,w=c.rightContainerRef,R=c.lhsBadgeRefs,p=c.rhsBadgeRefs,b=o({}),m=b[0],B=b[1],C=i();n(function(){if(h.current){var o=a?g.current:h.current;if(o){var i=null,n=setTimeout(function(){var n=function(e,o){var i=e.getBoundingClientRect(),n=o.getBoundingClientRect();return i.bottom<n.top?"above":i.top>n.bottom?"below":"inside"};i=l(function(){B(function(i){var t=e({},i);return s.forEach(function(e,i){var r=a?!!f["left-".concat(i)]:!!f[String(i)],l=!1,c=!1,s=null,d=null,h=null,g=null;r&&(null==e?void 0:e.id)&&(v[e.id]||[]).forEach(function(i){var t="".concat(i.id).concat(u,"0"),r=R.current[t];if(null==r?void 0:r.current){var v=n(r.current,o);h||(h=r,g=v),"above"===v?(l=!0,s=r):"below"!==v||c?C.current===e.id&&(C.current=""):(c=!0,d=r)}}),e.id&&(t[e.id]={showAbove:l,showBelow:c,showAboveRef:s,showBelowRef:d,firstDeviationRef:h,firstDeviationPosition:g,columnKey:"left"})}),a||d.forEach(function(e,i){var r=!!f[String(i)],l=!1,c=!1,s=null,d=null,a=null,h=null;r&&(null==e?void 0:e.id)&&(v[e.id]||[]).forEach(function(i){var r,v,f,g,w,R=!(null===(r=i.refIndexes)||void 0===r?void 0:r.length)||void 0!==i.selfIndex&&i.selfIndex<0,b="".concat(i.id).concat(u,"0"),m=p.current[b];if((null==m?void 0:m.current)&&R&&(null==e?void 0:e.id)){var B=n(m.current,o);if(a||(a=m,h=B),"above"===B){var D=null===(f=null===(v=t[e.id])||void 0===v?void 0:v.showAboveRef)||void 0===f?void 0:f.current;(!D||D.getBoundingClientRect().top<m.current.getBoundingClientRect().top)&&(l=!0,s=m)}else if("below"!==B||c)C.current===e.id&&(C.current="");else{var A=null===(w=null===(g=t[e.id])||void 0===g?void 0:g.showBelowRef)||void 0===w?void 0:w.current;(!A||A.getBoundingClientRect().top>m.current.getBoundingClientRect().top)&&(c=!0,d=m)}}}),e.id&&r&&(l&&(t[e.id]=t[e.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},t[e.id].showAbove=l,t[e.id].showAboveRef=s,t[e.id].firstDeviationRef=a,t[e.id].firstDeviationPosition=h,t[e.id].columnKey="right"),c&&(t[e.id]=t[e.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},t[e.id].showBelow=c,t[e.id].showBelowRef=d,t[e.id].firstDeviationRef=a,t[e.id].firstDeviationPosition=h,t[e.id].columnKey="right"))}),t})},100),i(),null==o||o.addEventListener("scroll",i)},0);return function(){clearTimeout(n),i&&o.removeEventListener("scroll",i)}}}},[s,d,v,f,a,h,g,R,p]);var D=t(function(e,o,i){var n,t;if(null==i?void 0:i.skipScroll)o();else if(e){var l=h.current;if(a&&((null===(n=g.current)||void 0===n?void 0:n.contains(e))?l=g.current:(null===(t=w.current)||void 0===t?void 0:t.contains(e))&&(l=w.current)),l){var u=e.getBoundingClientRect(),c=l.getBoundingClientRect(),s=c.bottom-.35*c.height,d=c.top+.35*c.height;if(u.top>s||u.top<d){var v=c.top+c.height/2,f=u.top+u.height/2-v,R=250;if(a){var p=g.current,b=w.current;p&&b?(r(b,b.scrollTop+f,R),r(p,p.scrollTop+f,R,o)):p?r(p,p.scrollTop+f,R,o):b?r(b,b.scrollTop+f,R,o):o()}else h.current?r(h.current,h.current.scrollTop+f,R,o):o()}else o()}else o()}else o()},[a]);return{showDeviationNavigation:m,showOpenNodeRef:C,adjustScrollForPopup:D}};export{c as useDeviationNavigation};
1
+ import{useState as e,useRef as t,useEffect as o,useCallback as n}from"react";import{smoothScrollTo as i,debounce as r,DEVIATION_BADGE_SEPARATOR as l}from"../CognitiveComparehelpers.js";const s=({proposedSections:s,existingSections:c,parentDeviationRecord:u,expandedSections:d,maintainRelativeOrder:f,scrollContainerRef:h,leftContainerRef:a,rightContainerRef:v,lhsBadgeRefs:g,rhsBadgeRefs:w})=>{const[R,p]=e({}),B=t();o(()=>{if(!h.current)return;const e=f?a.current:h.current;if(!e)return;let t=null;const o=setTimeout(()=>{const o=(e,t)=>{const o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return o.bottom<n.top?"above":o.top>n.bottom?"below":"inside"};t=r(()=>{p(t=>{const n={...t};return s.forEach((t,i)=>{const r=f?!!d[`left-${i}`]:!!d[String(i)];let s=!1,c=!1,h=null,a=null,v=null,w=null;r&&t?.id&&(u[t.id]||[]).forEach(n=>{const i=`${n.id}${l}0`,r=g.current[i];if(!r?.current)return;const u=o(r.current,e);v||(v=r,w=u),"above"===u?(s=!0,h=r):"below"!==u||c?B.current===t.id&&(B.current=""):(c=!0,a=r)}),t.id&&(n[t.id]={showAbove:s,showBelow:c,showAboveRef:h,showBelowRef:a,firstDeviationRef:v,firstDeviationPosition:w,columnKey:"left"})}),f||c.forEach((t,i)=>{const r=!!d[String(i)];let s=!1,c=!1,f=null,h=null,a=null,v=null;r&&t?.id&&(u[t.id]||[]).forEach(i=>{const r=!i.refIndexes?.length||void 0!==i.selfIndex&&i.selfIndex<0,u=`${i.id}${l}0`,d=w.current[u];if(!d?.current||!r||!t?.id)return;const g=o(d.current,e);if(a||(a=d,v=g),"above"===g){const e=n[t.id]?.showAboveRef?.current;(!e||e.getBoundingClientRect().top<d.current.getBoundingClientRect().top)&&(s=!0,f=d)}else if("below"!==g||c)B.current===t.id&&(B.current="");else{const e=n[t.id]?.showBelowRef?.current;(!e||e.getBoundingClientRect().top>d.current.getBoundingClientRect().top)&&(c=!0,h=d)}}),t.id&&r&&(s&&(n[t.id]=n[t.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},n[t.id].showAbove=s,n[t.id].showAboveRef=f,n[t.id].firstDeviationRef=a,n[t.id].firstDeviationPosition=v,n[t.id].columnKey="right"),c&&(n[t.id]=n[t.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},n[t.id].showBelow=c,n[t.id].showBelowRef=h,n[t.id].firstDeviationRef=a,n[t.id].firstDeviationPosition=v,n[t.id].columnKey="right"))}),n})},100),t(),e?.addEventListener("scroll",t)},0);return()=>{clearTimeout(o),t&&e.removeEventListener("scroll",t)}},[s,c,u,d,f,h,a,g,w]);const b=n((e,t,o)=>{if(o?.skipScroll)return void t();if(!e)return void t();let n=h.current;if(f&&(a.current?.contains(e)?n=a.current:v.current?.contains(e)&&(n=v.current)),!n)return void t();const r=e.getBoundingClientRect(),l=n.getBoundingClientRect(),s=l.bottom-.35*l.height,c=l.top+.35*l.height;if(r.top>s||r.top<c){const e=l.top+l.height/2,o=r.top+r.height/2-e,n=250;if(f){const e=a.current,r=v.current;e&&r?(i(r,r.scrollTop+o,n),i(e,e.scrollTop+o,n,t)):e?i(e,e.scrollTop+o,n,t):r?i(r,r.scrollTop+o,n,t):t()}else h.current?i(h.current,h.current.scrollTop+o,n,t):t()}else t()},[f]);return{showDeviationNavigation:R,showOpenNodeRef:B,adjustScrollForPopup:b}};export{s as useDeviationNavigation};
2
2
  //# sourceMappingURL=useDeviationNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDeviationNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useDeviationNavigation.js","sources":["../../../../src/features/CognitiveCompare/hooks/useDeviationNavigation.ts"],"sourcesContent":["import React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { DEVIATION_BADGE_SEPARATOR, debounce, smoothScrollTo } from \"../CognitiveComparehelpers\";\nimport { SectionBlock } from \"../CognitiveCompareTypes\";\n\nexport type DeviationNavigationEntry = {\n showAbove: boolean;\n showAboveRef: React.RefObject<HTMLDivElement> | null;\n showBelow: boolean;\n showBelowRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null;\n columnKey: \"left\" | \"right\";\n};\n\ntype UseDeviationNavigationParams = {\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n parentDeviationRecord: Record<string, SectionBlock[]>;\n expandedSections: Record<string, boolean>;\n maintainRelativeOrder: boolean;\n scrollContainerRef: React.RefObject<HTMLDivElement>;\n leftContainerRef: React.RefObject<HTMLDivElement>;\n rightContainerRef: React.RefObject<HTMLDivElement>;\n lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n};\n\nexport const useDeviationNavigation = ({\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n rightContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n}: UseDeviationNavigationParams) => {\n const [showDeviationNavigation, setShowDeviationNavigation] = useState<\n Record<string, DeviationNavigationEntry>\n >({});\n const showOpenNodeRef = useRef<string | undefined>();\n\n useEffect(() => {\n if (!scrollContainerRef.current) return;\n\n const scrollElement = maintainRelativeOrder\n ? leftContainerRef.current\n : scrollContainerRef.current;\n if (!scrollElement) return;\n\n let debouncedHandleScroll: (() => void) | null = null;\n const timer = setTimeout(() => {\n const getPositionInContainer = (\n element: HTMLElement,\n container: HTMLElement,\n ) => {\n const rect = element.getBoundingClientRect();\n const parentRect = container.getBoundingClientRect();\n if (rect.bottom < parentRect.top) return \"above\";\n if (rect.top > parentRect.bottom) return \"below\";\n return \"inside\";\n };\n\n const handleScroll = () => {\n setShowDeviationNavigation((prev) => {\n const next = { ...prev };\n\n proposedSections.forEach((section, idx) => {\n const isExpanded = maintainRelativeOrder\n ? !!expandedSections[`left-${idx}`]\n : !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = lhsBadgeRefs.current[refId];\n if (!ref?.current) return;\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n showAbove = true;\n showAboveRef = ref;\n } else if (pos === \"below\" && !showBelow) {\n showBelow = true;\n showBelowRef = ref;\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id) {\n next[section.id] = {\n showAbove,\n showBelow,\n showAboveRef,\n showBelowRef,\n firstDeviationRef,\n firstDeviationPosition,\n columnKey: \"left\",\n };\n }\n });\n\n if (maintainRelativeOrder) {\n return next;\n }\n\n existingSections.forEach((section, idx) => {\n const isExpanded = !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const isChildOrphan =\n !child.refIndexes?.length ||\n (child.selfIndex !== undefined && child.selfIndex < 0);\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = rhsBadgeRefs.current[refId];\n if (\n !ref?.current ||\n !isChildOrphan ||\n !section?.id\n ) {\n return;\n }\n\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n const currentAboveRef = next[section.id]?.showAboveRef?.current;\n if (\n !currentAboveRef ||\n currentAboveRef.getBoundingClientRect().top <\n ref.current.getBoundingClientRect().top\n ) {\n showAbove = true;\n showAboveRef = ref;\n }\n } else if (pos === \"below\" && !showBelow) {\n const currentBelowRef = next[section.id]?.showBelowRef?.current;\n if (\n !currentBelowRef ||\n currentBelowRef.getBoundingClientRect().top >\n ref.current.getBoundingClientRect().top\n ) {\n showBelow = true;\n showBelowRef = ref;\n }\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id && isExpanded) {\n if (showAbove) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showAbove = showAbove;\n next[section.id].showAboveRef = showAboveRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n if (showBelow) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showBelow = showBelow;\n next[section.id].showBelowRef = showBelowRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n }\n });\n\n return next;\n });\n };\n\n debouncedHandleScroll = debounce(handleScroll, 100);\n debouncedHandleScroll();\n scrollElement?.addEventListener(\"scroll\", debouncedHandleScroll);\n }, 0);\n\n return () => {\n clearTimeout(timer);\n if (debouncedHandleScroll) {\n scrollElement.removeEventListener(\"scroll\", debouncedHandleScroll);\n }\n };\n }, [\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n ]);\n\n // Centralized scroll adjuster for popups\n const adjustScrollForPopup = useCallback((\n anchorEl: HTMLElement | null,\n onComplete: () => void,\n options?: { skipScroll?: boolean },\n ) => {\n if (options?.skipScroll) {\n onComplete();\n return;\n }\n if (!anchorEl) {\n onComplete();\n return;\n }\n // 1. Determine the primary container to measure the boundary threshold against\n let primaryContainer: HTMLElement | null = scrollContainerRef.current;\n if (maintainRelativeOrder) {\n if (leftContainerRef.current?.contains(anchorEl)) {\n primaryContainer = leftContainerRef.current;\n } else if (rightContainerRef.current?.contains(anchorEl)) {\n primaryContainer = rightContainerRef.current;\n }\n }\n\n if (!primaryContainer) {\n onComplete();\n return;\n }\n\n const rect = anchorEl.getBoundingClientRect();\n const containerRect = primaryContainer.getBoundingClientRect();\n const bottomThreshold = containerRect.bottom - (containerRect.height * 0.35);\n const topThreshold = containerRect.top + (containerRect.height * 0.35);\n\n if (rect.top > bottomThreshold || rect.top < topThreshold) {\n const targetViewY = containerRect.top + (containerRect.height / 2);\n const currentViewY = rect.top + (rect.height / 2);\n const scrollOffset = currentViewY - targetViewY;\n const ANIM_SPEED = 250;\n\n if (maintainRelativeOrder) {\n const leftC = leftContainerRef.current;\n const rightC = rightContainerRef.current;\n \n // Smoothly scroll both columns, but only attach the onComplete \n // callback to one of them so the popup doesn't open twice.\n if (leftC && rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED);\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (leftC) {\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else {\n onComplete();\n }\n } else {\n if (scrollContainerRef.current) {\n smoothScrollTo(\n scrollContainerRef.current, \n scrollContainerRef.current.scrollTop + scrollOffset, \n ANIM_SPEED, \n onComplete\n );\n } else {\n onComplete();\n }\n }\n } else {\n // If no scrolling is needed, execute the callback immediately\n onComplete();\n }\n }, [maintainRelativeOrder]);\n\n return {\n showDeviationNavigation,\n showOpenNodeRef,\n adjustScrollForPopup,\n };\n};\n"],"names":["useDeviationNavigation","proposedSections","existingSections","parentDeviationRecord","expandedSections","maintainRelativeOrder","scrollContainerRef","leftContainerRef","rightContainerRef","lhsBadgeRefs","rhsBadgeRefs","showDeviationNavigation","setShowDeviationNavigation","useState","showOpenNodeRef","useRef","useEffect","current","scrollElement","debouncedHandleScroll","timer","setTimeout","getPositionInContainer","element","container","rect","getBoundingClientRect","parentRect","bottom","top","debounce","prev","next","forEach","section","idx","isExpanded","String","showAbove","showBelow","showAboveRef","showBelowRef","firstDeviationRef","firstDeviationPosition","id","child","refId","DEVIATION_BADGE_SEPARATOR","ref","pos","columnKey","isChildOrphan","refIndexes","length","selfIndex","currentAboveRef","currentBelowRef","addEventListener","clearTimeout","removeEventListener","adjustScrollForPopup","useCallback","anchorEl","onComplete","options","skipScroll","primaryContainer","contains","containerRect","bottomThreshold","height","topThreshold","targetViewY","scrollOffset","ANIM_SPEED","leftC","rightC","smoothScrollTo","scrollTop"],"mappings":"yLA2BO,MAAMA,EAAyB,EACpCC,mBACAC,mBACAC,wBACAC,mBACAC,wBACAC,qBACAC,mBACAC,oBACAC,eACAC,mBAEA,MAAOC,EAAyBC,GAA8BC,EAE5D,CAAE,GACEC,EAAkBC,IAExBC,EAAU,KACJ,IAACV,EAAmBW,QAAS,OAEjC,MAAMC,EAAgBb,EAClBE,EAAiBU,QACjBX,EAAmBW,QACvB,IAAKC,EAAe,OAEpB,IAAIC,EAA6C,KAC3C,MAAAC,EAAQC,WAAW,KACjB,MAAAC,EAAyB,CAC7BC,EACAC,KAEM,MAAAC,EAAOF,EAAQG,wBACfC,EAAaH,EAAUE,wBAC7B,OAAID,EAAKG,OAASD,EAAWE,IAAY,QACrCJ,EAAKI,IAAMF,EAAWC,OAAe,QAClC,UAwJeT,EAAAW,EArJH,KACnBlB,EAA4BmB,IACpB,MAAAC,EAAO,IAAKD,GAgDlB,OA9CiB9B,EAAAgC,QAAQ,CAACC,EAASC,KACjC,MAAMC,EAAa/B,IACbD,EAAiB,QAAQ+B,OACzB/B,EAAiBiC,OAAOF,IAC9B,IAAIG,GAAY,EACZC,GAAY,EACZC,EAAuD,KACvDC,EAAuD,KACvDC,EAA4D,KAC5DC,EAA8D,KAE9DP,GAAcF,GAASU,KACxBzC,EAAsB+B,EAAQU,KAAO,IAAIX,QAASY,IACjD,MAAMC,EAAQ,GAAGD,EAAMD,KAAKG,KACtBC,EAAMvC,EAAaQ,QAAQ6B,GAC7B,IAACE,GAAK/B,QAAS,OACnB,MAAMgC,EAAM3B,EAAuB0B,EAAI/B,QAASC,GAC3CwB,IACiBA,EAAAM,EACKL,EAAAM,GAEf,UAARA,GACUX,GAAA,EACGE,EAAAQ,GACE,UAARC,GAAoBV,EAGpBzB,EAAgBG,UAAYiB,EAAQU,KAC7C9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