@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":"CognitiveCompare.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveCompare.js","sources":["../../../src/features/CognitiveCompare/CognitiveCompare.tsx"],"sourcesContent":["import React, {\n useState,\n useRef,\n useEffect,\n useMemo,\n useCallback,\n} from \"react\";\nimport {\n Box,\n Typography,\n Accordion,\n AccordionSummary,\n AccordionDetails,\n Snackbar,\n Alert,\n Tooltip,\n Tabs,\n Tab,\n} from \"@mui/material\";\nimport { ChevronDown, EllipsisVertical } from \"lucide-react\";\n\nimport { ButtonCognitiveIcon } from \"../../assests/svg/ButtonCognitiveIcon\";\nimport OverlayLoader from \"./OverlayComponent\";\nimport {\n safeStringify,\n hasValue,\n generateColorPalette,\n debounce,\n DEVIATION_BADGE_SEPARATOR,\n getBentArrowPath,\n smoothScrollTo,\n isMissingStr,\n extractDeviationScore,\n getFirstDeviationColor,\n getFirstDeviationOutputValue,\n recursivelyFindSubSectionIdxById,\n scrollAndHighlightClause,\n resetClauseHighlight,\n findKeyPathByNodeId,\n waitForElementVisible,\n hasMeaningfulRedlineTags,\n scrollAndWait,\n waitForScrollIdle\n} from \"./CognitiveComparehelpers\";\nimport {\n CognitiveDecisioningEntry,\n CognitiveCompareProps,\n StyleVariant,\n ComparisonConfig,\n SectionBlock,\n SectionPopupState,\n CachedBadgePosition,\n DivRefMap\n} from \"./CognitiveCompareTypes\";\nimport {\n DEFAULT_FIELD_CONFIG,\n DEFAULT_COMPARISON_CONFIG,\n SHARED_MARKDOWN_STYLES,\n} from \"./CognitiveCompareConfig\";\nimport { DEFAULT_DEVIAION_COLOR, DEFAULT_COMPONENT_HEADER_TEXT, EMPTY_SUMMARY_POPUP_STATE } from \"./CognitiveCompareConstants\";\nimport CognitivePopup from \"./CognitivePopup\";\nimport MoreFunctionsPopup from \"./MoreFunctionsPopup\";\nimport BouncingDotsLoader from \"./LoaderComponent\";\nimport ThreeDotsLoader from \"./components/ThreeDotsLoader\";\nimport { MemoizedMarkdown } from \"./hooks/memoizedMarkdown\";\nimport { useCognitiveTreeData } from \"./hooks/useCompareData\";\nimport { useComparePopups } from \"./hooks/useComparePopups\";\nimport { useSectionRefs } from \"./hooks/useSectionRefs\";\nimport { useAccordionState } from \"./hooks/useAccordionState\";\nimport { useDeviationNavigation } from \"./hooks/useDeviationNavigation\";\nimport CompareHeader from \"./components/CompareHeader\";\nimport SectionAccordion from \"./components/SectionAccordion\";\nimport SubSectionAccordion from \"./components/SubSectionAccordion\";\nimport LHSSectionRow from \"./components/LHSSectionRow\";\nimport RHSSectionRow from \"./components/RHSSectionRow\";\nimport CognitiveSummaryPopup from \"./components/CognitiveSummaryPopup\";\nimport ConnectedLinesComp from \"./components/connectedLines\";\nimport { CompareContextProvider } from \"./CompareContext\";\nimport { useStyleHelpers } from \"./hooks/useStyles\";\nimport { useResizeHandler } from \"./hooks/useResizeHandler\";\nimport { useLinesCalculator } from \"./hooks/useLinesCalculator\";\nimport { useSideBySide } from \"./hooks/useSideBySide\";\nimport SvgConnectors from \"./components/SvgConnectors\";\nimport GuidelinePanel from \"./Guidelines/components/GuidelinePanel\";\nimport WebGptPanel from \"./Guidelines/components/WebGptPanel\";\n// import GuidelinePanel from \"./components/GuidelinePanel\"; // ── NEW IMPORT ──\n\nconst CognitiveCompare = ({\n componentHeaderText = DEFAULT_COMPONENT_HEADER_TEXT,\n treeData,\n comparisonConfig,\n leftColumnTitleText,\n rightColumnTitleText,\n markdownStyles,\n resetTrigger,\n displayConfig = {\n isHeaderVisible: true,\n isToggleVisible: true,\n maintainRelativeOrder: false,\n isLoading: true,\n showDeviationBadges: false,\n enableDeviationSchemaBackwardCompatibility: false,\n displayEmailNotifier: true,\n isStreamingEnabled: false\n },\n onMaintainRelativeOrderChange,\n popupConfig,\n deviationData = {},\n deviationNodeIdToView,\n resetDeviationNodeId,\n isProposingFix = false,\n proposingFixNodeId,\n isRedlineFlow,\n badgeStyleOverride,\n guidelinesData, // ── NEW PROP ──\n gptWebCitationConfig\n}: CognitiveCompareProps) => {\n const [maintainRelativeOrder, setMaintainRelativeOrder] = useState(displayConfig.maintainRelativeOrder);\n const expandLevels = displayConfig?.expandLevels ?? 0; // how deep to auto-expand\n const shouldExpandAll = !!displayConfig?.expandAllSections; // expand everything\n const shouldShowDeviationBadges =\n !!maintainRelativeOrder || !!displayConfig?.showDeviationBadges;\n const [isToggling, setIsToggling] = useState(false);\n const [errorToast, setErrorToast] = useState<string | null>(null);\n const [isDeviationBackwardCompatible] = useState(\n treeData?.newEvaluationResult ??\n displayConfig?.enableDeviationSchemaBackwardCompatibility ??\n true\n );\n\n const [connectedSections, setConnectedSections] = useState<Set<number | string>>(new Set());\n const [connectedLines, setConnectedLines] = useState<Record<string, any>[]>([]);\n const [scrollSyncLocked, setScrollSyncLocked] = useState(false);\n const [guidelinesTab, setGuidelinesTab] = useState(0);\n\n const svgContainerRef = useRef<SVGSVGElement | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const leftHeaderRef = useRef<HTMLDivElement>(null);\n const rightHeaderRef = useRef<HTMLDivElement>(null);\n const pendingClauseScrollRef = useRef<string | null>(null);\n const isAnimatingRef = useRef(false);\n const animationTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const pathRefs = useRef<Record<string, SVGPathElement | null>>({});\n const cachedConnectedPositions = useRef<CachedBadgePosition[]>([]);\n const calculateLinesRef = useRef<() => void>(() => { });\n const resizeTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const handleResizeRef = useRef<() => void>(() => { });\n\n const stableDeviationDataStr = useMemo(\n () => JSON.stringify(deviationData || {}),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [JSON.stringify(deviationData)]\n);\nconst stableDeviationData = useMemo(\n () => (deviationData || {}) as Record<string, any>,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [stableDeviationDataStr]\n);\n const cognitiveMap = useMemo<Record<string, CognitiveDecisioningEntry>>(\n () => treeData?.cognitive_decisioning || {},\n [treeData],\n );\n\n const resolvedMarkdownStyles = useMemo(\n () => ({ ...SHARED_MARKDOWN_STYLES, ...markdownStyles }),\n [markdownStyles],\n );\n\n const scrollContainerRef = useRef<HTMLDivElement>(null);\n const ruleComponentRef = useRef<HTMLDivElement>(null);\n const rightContainerRef = useRef<HTMLDivElement>(null);\n const rhsTopSpacerRef = useRef<HTMLDivElement>(null);\n const rhsBottomSpacerRef = useRef<HTMLDivElement>(null);\n const lhsTopSpacerRef = useRef<HTMLDivElement>(null);\n const lhsBottomSpacerRef = useRef<HTMLDivElement>(null);\n const leftContainerRef = useRef<HTMLDivElement>(null);\n\n const pendingScrollTargetRef = useRef<number | null>(null);\n const pendingScrollCallbackRef = useRef<(() => void) | null>(null);\n \n\n const {\n cognitivePopup,\n setCognitivePopup,\n moreFunctions,\n setMoreFunctions,\n position,\n setPosition,\n activeBadgeId,\n summaryPopup,\n setSummaryPopup,\n closeSummaryPopup,\n setActiveBadgeId,\n popupRef,\n handleOpenCognitiveCompare,\n openCognitivePopupFromState,\n closeCognitivePopup,\n closeMoreFunctionsPopup,\n } = useComparePopups(scrollContainerRef);\n\n // Merges caller overrides with defaults so UI thresholds/colors are always fully populated.\n const resolvedComparisonConfig = useMemo<ComparisonConfig>(\n () => ({\n fields: comparisonConfig?.fields ?? DEFAULT_FIELD_CONFIG,\n thresholds: {\n high:\n comparisonConfig?.thresholds?.high ??\n DEFAULT_COMPARISON_CONFIG.thresholds.high,\n medium:\n comparisonConfig?.thresholds?.medium ??\n DEFAULT_COMPARISON_CONFIG.thresholds.medium,\n exact:\n comparisonConfig?.thresholds?.exact ??\n DEFAULT_COMPARISON_CONFIG.thresholds.exact,\n },\n }),\n [comparisonConfig],\n );\n\n\n const [localHighlightField, setLocalHighlightField] = useState<string | null>(\n null,\n );\n const jsonLeftTitle =\n treeData?.documents?.[treeData?.input_index_map?.[\"0\"]]?.title;\n const jsonRightTitle =\n treeData?.documents?.[treeData?.input_index_map?.[\"1\"]]?.title;\n const leftColumnTitle: string = safeStringify(\n leftColumnTitleText || jsonLeftTitle || \"Uploaded Contract\",\n );\n\n const jsonLeftTitleTrimmed = treeData?.documents?.[treeData?.input_index_map?.[\"0\"]]?.metadata?.file_name;\n const leftTitleTrimmed = safeStringify(jsonLeftTitleTrimmed);\n\n const jsonRightTitleTrimmed = treeData?.documents?.[treeData?.input_index_map?.[\"1\"]]?.metadata?.file_name;\n const rightTitleTrimmed = safeStringify(jsonRightTitleTrimmed);\n const rightColumnTitle: string = safeStringify(\n rightColumnTitleText || jsonRightTitle || \"Reference Template\",\n );\n const {\n isGuidelineMode, // ── EXTRACT ──\n activeProposed,\n existingRule,\n proposedSections,\n existingSections,\n visibleFields,\n parentDeviationRecord,\n deviationNumberRegistry,\n deviationParentRegistry,\n parseError\n } = useCognitiveTreeData(\n treeData as Record<string, any>,\n maintainRelativeOrder as boolean,\n stableDeviationData,\n resolvedComparisonConfig,\n isDeviationBackwardCompatible,\n guidelinesData // ── NEW ──\n );\n\n useEffect(() => {\n if (parseError) setErrorToast(`Failed to load comparison: ${parseError}`);\n }, [parseError]);\n\n const hasSectionAccordions =\n proposedSections.length > 0 || existingSections.length > 0;\n\n const redlineLayoutSignature = useMemo(() => {\n if (!isRedlineFlow) return \"off\";\n let count = 0;\n let totalLen = 0;\n\n const walk = (sections?: SectionBlock[]) => {\n if (!Array.isArray(sections)) return;\n sections.forEach((section) => {\n const content = section?.content || \"\";\n if (hasMeaningfulRedlineTags(content)) {\n count += 1;\n totalLen += String(content).length;\n }\n if (section?.subsections?.length) {\n walk(section.subsections as SectionBlock[]);\n }\n });\n };\n\n walk(proposedSections as SectionBlock[]);\n walk(existingSections as SectionBlock[]);\n\n return `${count}:${totalLen}`;\n }, [isRedlineFlow, proposedSections, existingSections]);\n\n useEffect(() => {\n if (!proposedSections.length && !existingSections.length) return;\n\n if (shouldExpandAll) {\n const nextSections: Record<string, boolean> = {};\n const nextSubSections: Record<string, boolean> = {};\n\n const expandAll = (sections: SectionBlock[], side: \"left\" | \"right\") => {\n sections.forEach((sec, idx) => {\n const key = maintainRelativeOrder ? `${side}-${idx}` : String(idx);\n nextSections[key] = true;\n\n const expandSubsRecursively = (subsections: SectionBlock[], parentPath: string) => {\n subsections?.forEach((sub, subIdx) => {\n const subPath = `${parentPath}-${subIdx}`;\n nextSubSections[subPath] = true;\n if (sub.subsections?.length) {\n expandSubsRecursively(sub.subsections as SectionBlock[], subPath);\n }\n });\n };\n\n if (sec.subsections?.length) {\n expandSubsRecursively(sec.subsections as SectionBlock[], String(idx));\n }\n });\n };\n\n expandAll(proposedSections as SectionBlock[], \"left\");\n expandAll(existingSections as SectionBlock[], \"right\");\n\n setExpandedSections(nextSections);\n setExpandedSubSections(nextSubSections);\n\n } else if (expandLevels > 0) {\n const nextSections: Record<string, boolean> = {};\n const nextSubSections: Record<string, boolean> = {};\n\n const expandToDepth = (\n sections: SectionBlock[],\n side: \"left\" | \"right\",\n maxDepth: number\n ) => {\n sections.forEach((sec, idx) => {\n if (maxDepth >= 1) {\n const key = maintainRelativeOrder ? `${side}-${idx}` : String(idx);\n nextSections[key] = true;\n }\n\n const expandSubsToDepth = (\n subsections: SectionBlock[],\n parentPath: string,\n currentDepth: number\n ) => {\n if (currentDepth > maxDepth) return;\n subsections?.forEach((sub, subIdx) => {\n const subPath = `${parentPath}-${subIdx}`;\n nextSubSections[subPath] = true;\n if (sub.subsections?.length) {\n expandSubsToDepth(sub.subsections as SectionBlock[], subPath, currentDepth + 1);\n }\n });\n };\n\n if (sec.subsections?.length && maxDepth >= 2) {\n expandSubsToDepth(sec.subsections as SectionBlock[], String(idx), 2);\n }\n });\n };\n\n expandToDepth(proposedSections as SectionBlock[], \"left\", expandLevels);\n expandToDepth(existingSections as SectionBlock[], \"right\", expandLevels);\n\n setExpandedSections(nextSections);\n setExpandedSubSections(nextSubSections);\n }\n}, [shouldExpandAll, expandLevels, proposedSections, existingSections, maintainRelativeOrder]);\n \n const {\n leftRefs,\n rightRefs,\n sectionLeftRefs,\n sectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n sectionRightRowRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n sectionRowRefs,\n getSectionRowRef,\n getSubSectionRef,\n getBadgeRef,\n } = useSectionRefs(\n visibleFields.map(({ key }) => key),\n Math.max(proposedSections.length, existingSections.length),\n );\n\n const { isSideBySide, isArrowVisible, setIsSideBySide, setIsArrowVisible, isResizing, setIsResizing, isSideBySideLoading, setIsSideBySideLoading, activeSideBySideSection, setActiveSideBySideSection, scrollLock, sideBySideCacheRef, isSideBySideRef, activeSideBySideRightSectionRef, activeSideBySideSectionRef, sideBySideLineRef, highlightedClauseRefs, clearClauseHighlight, applyAlignmentPadding, resetSideBySide, activateSideBySide } = useSideBySide({\n isGuidelineMode,\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n leftContainerRef, rightContainerRef, scrollContainerRef,\n sectionLeftRefs, sectionRightRefs,\n subSectionLeftRefs, subSectionRightRefs,\n lhsBadgeRefs, rhsBadgeRefs,\n sectionRowRefs, sectionRightRowRefs,\n rhsTopSpacerRef, rhsBottomSpacerRef, lhsTopSpacerRef, lhsBottomSpacerRef,\n calculateLinesRef,\n setConnectedSections, setConnectedLines, cachedConnectedPositions,\n closeMoreFunctionsPopup, setErrorToast, moreFunctions, closeSummaryPopup\n });\n const activateSideBySideRef = useRef(activateSideBySide);\n useEffect(() => {\n activateSideBySideRef.current = activateSideBySide;\n }, [activateSideBySide]);\n\n const {\n expandedSections,\n setExpandedSections,\n expandedSubSections,\n setExpandedSubSections,\n handleSubSectionToggle,\n toggleSection,\n forceExpandCrossWiredSections,\n } = useAccordionState({\n maintainRelativeOrder: !!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 });\n\n const alignActiveSections = () => {\n if (activeSideBySideSection == null) return;\n\n const leftEl =\n sectionLeftRefs.current[activeSideBySideSection]?.current;\n\n const rightEl =\n sectionRightRefs.current[activeSideBySideSection]?.current;\n\n const rightContainer = rightContainerRef.current;\n\n if (!leftEl || !rightEl || !rightContainer) return;\n\n const leftRect = leftEl.getBoundingClientRect();\n const rightRect = rightEl.getBoundingClientRect();\n const containerRect = rightContainer.getBoundingClientRect();\n\n // desired position inside RHS container\n const desiredTopInsideContainer =\n leftRect.top - containerRect.top;\n\n const currentTopInsideContainer =\n rightRect.top - containerRect.top;\n\n const delta =\n currentTopInsideContainer - desiredTopInsideContainer;\n\n rightContainer.scrollBy({\n top: delta,\n behavior: \"smooth\",\n });\n };\n\n const toggleScrollSyncLocked = useCallback(\n (e?: React.MouseEvent) => {\n e?.stopPropagation();\n\n setScrollSyncLocked((prev) => {\n const nextLocked = !prev;\n\n if (nextLocked) {\n // wait for React to finish updates\n requestAnimationFrame(() => {\n alignActiveSections();\n });\n }\n\n return nextLocked;\n });\n },\n [alignActiveSections]\n );\n useEffect(() => {\n if (!isRedlineFlow) return;\n if (redlineLayoutSignature === \"off\" || redlineLayoutSignature === \"0:0\") return;\n sideBySideCacheRef.current = null;\n cachedConnectedPositions.current = [];\n requestAnimationFrame(() => {\n calculateLinesRef.current?.();\n });\n }, [isRedlineFlow, redlineLayoutSignature]);\n\n // --- NEW: Centralized Unified Numbering System ---\n const unifiedNumbering = useMemo(() => {\n const leftNums = new Map<string, number>();\n const rightNums = new Map<string, string>();\n let counter = 1;\n\n if (!maintainRelativeOrder) {\n const maxLen = Math.max(proposedSections.length, existingSections.length);\n for (let i = 0; i < maxLen; i++) {\n const leftSec = proposedSections[i] as any;\n const rightSec = existingSections[i] as any;\n if (leftSec) {\n leftNums.set(leftSec.id, counter);\n if (rightSec) rightNums.set(rightSec.id, String(counter));\n counter++;\n } else if (rightSec) {\n rightNums.set(rightSec.id, String(counter++));\n }\n }\n } else {\n // 1. Assign sequential numbers to all Proposed (Left) sections\n proposedSections.forEach((sec: any) => {\n const isEmpty = !sec.title && !sec.content;\n if (isEmpty) return; // Skip hidden sections from eating a number\n\n if (sec.id) leftNums.set(sec.id, counter++);\n });\n\n // 2. Map existing (Right) sections\n existingSections.forEach((sec: any) => {\n if (!sec.id) return;\n \n const isEmpty = !sec.title && !sec.content;\n if (isEmpty) return; \n\n const mappedLhs = proposedSections.filter((l: any) => l.refIndexes?.includes(sec.selfIndex));\n\n if (mappedLhs.length > 0) {\n // If mapped, inherit the Left section's number(s) to match identically\n const nums = mappedLhs.map((l: any) => leftNums.get(l.id)).filter(Boolean);\n rightNums.set(sec.id, nums.join(\", \"));\n } else {\n // If orphan, continue the global counter so it's strictly unique\n rightNums.set(sec.id, String(counter++));\n }\n });\n }\n return { leftNums, rightNums };\n }, [proposedSections, existingSections, maintainRelativeOrder]);\n\n const analysisData = existingRule.analysis;\n const overallSummaryRaw = safeStringify(\n analysisData?.rule_difference_comparison?.summary?.overall_summary,\n );\n const reasoningMatch = overallSummaryRaw.match(\n /<ai_reasoning>([\\s\\S]*?)<\\/ai_reasoning>/i,\n );\n const hasReasoning = !!reasoningMatch;\n\n const rootDeviationId = treeData?.base_root_id ?? '-1'\n const rootNode = treeData?.[rootDeviationId]\n const rootEvaluationResult = !isDeviationBackwardCompatible\n ? (deviationData && deviationData?.[rootDeviationId]?.evaluation_result?.[0]) ??\n treeData?.nodes?.[rootDeviationId]?.evaluation_result?.[0] ??\n null\n : (deviationData && deviationData?.[rootDeviationId]?.evaluation_result) ??\n treeData?.nodes?.[rootDeviationId]?.evaluation_result ??\n null;\n const rootDeviationScore = extractDeviationScore(rootEvaluationResult);\n \n let rootDeviationStyle = generateColorPalette(\n rootEvaluationResult?.evaluation_outputs?.metadata?.label_color ?? DEFAULT_DEVIAION_COLOR,\n );\n\n if (badgeStyleOverride) {\n const override = badgeStyleOverride(rootDeviationScore as string | null | undefined);\n \n if (override) {\n rootDeviationStyle = {\n ...rootDeviationStyle,\n badgeBg: override.bg,\n badgeText: override.text,\n badgeBorder: override.border,\n };\n }\n }\nconst resetSideBySideRef = useRef(resetSideBySide);\nuseEffect(() => { resetSideBySideRef.current = resetSideBySide; }, [resetSideBySide]);\n\nconst closeCognitivePopupRef = useRef(closeCognitivePopup);\nuseEffect(() => { closeCognitivePopupRef.current = closeCognitivePopup; }, [closeCognitivePopup]);\nconst openMoreFunctionsPopupStable = useCallback(\n (e: React.MouseEvent, baseSec: SectionBlock, isOrphan: boolean, refSec: SectionBlock, id: string | number, style?: StyleVariant | null) => \n openMoreFunctionsPopupRef.current(e, baseSec, isOrphan, refSec, id, style),\n []\n);\n\nconst handleOpenSummaryPopupStable = useCallback(\n (e: React.MouseEvent, actionId: string, isOrphan: boolean, summary: any, displayImpact?: boolean) => \n handleOpenSummaryPopupRef.current(e, actionId, isOrphan, summary, displayImpact),\n []\n);\n\nconst handleCloseSummaryPopupStable = useCallback(() => handleCloseSummaryPopupRef.current(), []);\n\nconst toggleSectionStable = useCallback(\n (idx: number, columnKey: \"left\" | \"right\") => toggleSectionRef.current(idx, columnKey), \n []\n);\n\nconst handleSubSectionToggleStable = useCallback(\n (keyPath: string) => handleSubSectionToggleRef.current(keyPath), \n []\n);\n\nconst renderSubSectionAccordionStable = useCallback(\n (args: any) => renderSubSectionAccordionRef.current(args), \n []\n);\n\nconst resetSideBySideStable = useCallback(() => resetSideBySideContextRef.current(), []);\n\n const resetAll = useCallback(() => {\n clearClauseHighlight();\n resetSideBySideRef.current?.();\n setScrollSyncLocked(false);\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n setLines([]);\n setOverallConnector(null);\n setSummaryPopup(EMPTY_SUMMARY_POPUP_STATE);\n closeCognitivePopupRef.current?.();\n\n requestAnimationFrame(() => {\n calculateLinesRef.current?.();\n });\n }, []);\n const resetAllRef = useRef(resetAll);\n useEffect(() => {\n resetAllRef.current = resetAll;\n }, [resetAll]);\n\n useEffect(() => {\n if (resetTrigger) {\n resetAllRef.current();\n }\n }, [resetTrigger]);\n const stableDocData = useMemo(() => ({\n documents: treeData?.documents,\n input_index_map: treeData?.input_index_map,\n}), [\n JSON.stringify(treeData?.documents),\n JSON.stringify(treeData?.input_index_map),\n]);\n\n const [baseDocName, setBaseDocName] = useState<string>(\"\");\n\n const treeDataRef = useRef(treeData);\n useEffect(() => { treeDataRef.current = treeData; \n const baseId = treeData?.input_index_map?.[0];\n const baseContractName = treeData?.documents?.[baseId]?.title;\n setBaseDocName(baseContractName);\n }, [treeData]);\n\n const cognitiveMapRef = useRef(cognitiveMap);\n useEffect(() => { cognitiveMapRef.current = cognitiveMap; }, [cognitiveMap]);\n\n const buildSectionPopupState = useCallback(\n (\n anchorEl: HTMLElement | null,\n baseSec: SectionBlock | null,\n refSec: SectionBlock | null,\n sectionIdx: number | string,\n isOrphan?: boolean,\n style?: StyleVariant | null,\n rootNode?: boolean\n ): SectionPopupState => {\n const getDeviationDataForBadge = () => {\n const fallbackEval = baseSec?.evaluationResult || refSec?.evaluationResult || null;\n // For supporting legacy data\n const getFirstDeviationEntry = (evaluationResult: any) => {\n if (!evaluationResult || typeof evaluationResult !== \"object\") return null;\n\n const fromEntries = evaluationResult?.deviation_entries;\n if (fromEntries && typeof fromEntries === \"object\") {\n const firstEntryKey = Object.keys(fromEntries).sort(\n (a, b) => Number(a) - Number(b),\n )[0];\n if (firstEntryKey && fromEntries[firstEntryKey]) return fromEntries[firstEntryKey];\n }\n\n const numericKeys = Object.keys(evaluationResult)\n .filter((k) => /^\\d+$/.test(k))\n .sort((a, b) => Number(a) - Number(b));\n if (numericKeys.length && evaluationResult[numericKeys[0]]) {\n return evaluationResult[numericKeys[0]];\n }\n\n const fromDeviations = evaluationResult?.deviations;\n if (fromDeviations && typeof fromDeviations === \"object\") {\n const firstDeviationKey = Object.keys(fromDeviations).sort(\n (a, b) => Number(a) - Number(b),\n )[0];\n if (firstDeviationKey && fromDeviations[firstDeviationKey]) {\n return fromDeviations[firstDeviationKey];\n }\n }\n\n return null;\n };\n\n const mergeWithFallbackEntry = (evaluationResult: any) => {\n const firstEntry = getFirstDeviationEntry(evaluationResult);\n if (!firstEntry) return evaluationResult;\n\n return {\n ...evaluationResult,\n deviation_summary:\n evaluationResult?.deviation_summary || firstEntry?.deviation_summary,\n deviation_title:\n evaluationResult?.deviation_title || firstEntry?.deviation_title,\n deviation_impact:\n evaluationResult?.deviation_impact || firstEntry?.deviation_impact,\n deviation_explanation:\n evaluationResult?.deviation_explanation || firstEntry?.deviation_explanation,\n evaluation_outputs:\n evaluationResult?.evaluation_outputs || firstEntry?.evaluation_outputs,\n cognitive_decisioning:\n evaluationResult?.cognitive_decisioning || firstEntry?.cognitive_decisioning,\n };\n };\n\n const isDeviationBadge =\n typeof sectionIdx === \"string\" &&\n sectionIdx.includes(DEVIATION_BADGE_SEPARATOR);\n\n if (!isDeviationBadge) return mergeWithFallbackEntry(fallbackEval);\n\n const parts = sectionIdx.split(DEVIATION_BADGE_SEPARATOR);\n const devKey = parts[1];\n if (!devKey) return fallbackEval;\n\n const evaluationResult =\n baseSec?.evaluationResult || refSec?.evaluationResult || {};\n const deviationEntry =\n evaluationResult?.deviation_entries?.[devKey] ||\n evaluationResult?.deviations?.[devKey] ||\n null;\n\n if (!deviationEntry) return mergeWithFallbackEntry(fallbackEval);\n\n return {\n ...evaluationResult,\n ...deviationEntry,\n deviation_summary:\n deviationEntry?.deviation_summary || evaluationResult?.deviation_summary,\n deviation_title:\n deviationEntry?.deviation_title || evaluationResult?.deviation_title,\n deviation_impact:\n deviationEntry?.deviation_impact || evaluationResult?.deviation_impact,\n deviation_explanation:\n deviationEntry?.deviation_explanation || evaluationResult?.deviation_explanation,\n evaluation_outputs:\n deviationEntry?.evaluation_outputs || evaluationResult?.evaluation_outputs,\n cognitive_decisioning:\n deviationEntry?.cognitive_decisioning || evaluationResult?.cognitive_decisioning,\n };\n };\n\n const sectionId =\n safeStringify(baseSec?.id) || safeStringify(refSec?.id) || \"\";\n const cogData =\n (sectionId ? cognitiveMapRef.current?.[sectionId] : null) ||\n baseSec?.cognitiveData ||\n refSec?.cognitiveData ||\n {\n section_id: sectionId,\n decisioning: [],\n gap: [],\n relevance_score: 0,\n };\n\n const sectionRowEl = sectionRowRefs.current[sectionIdx as any]?.current ?? null;\n\n const resolvedDeviationData = getDeviationDataForBadge();\n\n const hasDeviationContent =\n (resolvedDeviationData?.cognitive_decisioning?.decisioning_factors?.length ?? 0) > 0 ||\n (resolvedDeviationData?.cognitive_decisioning?.gaps_in_decision?.length ?? 0) > 0;\n\n const globallyLoading = displayConfig?.isLoading ?? false;\n\n // ── FIXED LOGIC: Accurately check the exact specific resolved data for the clause/deviation ──\n let hasGuidelineMatches = true;\n if (isGuidelineMode) {\n const devHighlights = resolvedDeviationData?.deviation_highlights;\n \n if (devHighlights && typeof devHighlights === \"object\") {\n // Check if ANY of the arrays inside deviation_highlights actually have content (length > 0)\n const hasAnyTextToHighlight = Object.values(devHighlights).some(\n (highlightArray: any) => Array.isArray(highlightArray) && highlightArray.length > 0\n );\n \n hasGuidelineMatches = hasAnyTextToHighlight;\n } else {\n hasGuidelineMatches = false; // Disable if deviation_highlights is completely missing\n }\n }\n\n return {\n isLoading: globallyLoading && !hasDeviationContent,\n open: true,\n sectionTitle: baseSec?.title ? baseSec?.title : 'No Counterpart',\n refSectionTitle: refSec?.title ? refSec?.title : 'No Counterpart',\n cognitiveData: cogData,\n anchorEl,\n sectionAnchorEl: sectionRowEl,\n badgeStyle: style || null,\n sectionIdx: sectionIdx as any,\n docData: stableDocData,\n deviationData: resolvedDeviationData,\n isOrphan: !!isOrphan,\n hasGuidelineMatches, // ── PASS FLAG TO POPUP ──\n };\n },\n [stableDocData, displayConfig?.isLoading, isGuidelineMode],\n );\n\n\n\n const openMoreFunctionsPopup = useCallback(\n (\n e: React.MouseEvent,\n baseSec: SectionBlock,\n isOrphan: boolean,\n refSec: SectionBlock,\n sectionIdx: number | string,\n style?: StyleVariant | null,\n ) => {\n e.stopPropagation();\n if (moreFunctions.open && moreFunctions.sectionIdx === sectionIdx) {\n closeMoreFunctionsPopup();\n return;\n }\n\n const initialAnchor = e.currentTarget as HTMLElement;\n let sourceSide: \"left\" | \"right\" = \"left\";\n if (rightContainerRef.current?.contains(initialAnchor)) {\n sourceSide = \"right\";\n }\n\n const getFreshAnchor = () => {\n const isSub = typeof sectionIdx === \"string\" && sectionIdx.includes(DEVIATION_BADGE_SEPARATOR);\n if (isSub) {\n const parts = (sectionIdx as string).split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n return sourceSide === \"right\"\n ? rhsBadgeRefs.current[refId]?.current\n : lhsBadgeRefs.current[refId]?.current;\n } else {\n return sourceSide === \"right\"\n ? rhsBadgeRefs.current[sectionIdx as any]?.current\n : lhsBadgeRefs.current[sectionIdx as any]?.current;\n }\n };\n clearClauseHighlight();\n if (isSideBySideRef.current) {\n resetSideBySide();\n }\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n closeCognitivePopup();\n\n if (summaryPopup.open) {\n handleCloseSummaryPopup();\n } else {\n closeSummaryPopup();\n }\n\n requestAnimationFrame(() => {\n const freshAnchor = getFreshAnchor() || initialAnchor;\n\n setMoreFunctions(\n buildSectionPopupState(\n freshAnchor,\n baseSec,\n refSec,\n sectionIdx,\n isOrphan,\n style,\n ),\n );\n });\n },\n [moreFunctions.open, moreFunctions.sectionIdx, closeMoreFunctionsPopup, closeSummaryPopup, buildSectionPopupState, /* other deps used inside */]\n );\n\n const handleConnect = useCallback(() => {\n const idx = moreFunctions.sectionIdx;\n const isOrphan = moreFunctions.isOrphan;\n\n closeMoreFunctionsPopup();\n closeSummaryPopup();\n\n if (idx === null) return;\n // if (isOrphan) {\n // setErrorToast(\"No counterpart exists to connect to.\");\n // return;\n // }\n forceExpandCrossWiredSections(idx);\n clearClauseHighlight();\n if (isSideBySideRef.current) {\n resetSideBySide();\n }\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n\n if (isGuidelineMode && idx !== null) {\n setGuidelinesTab(getGuidelineTabFromId(idx));\n }\n\n setConnectedSections((prev) => {\n if (prev.has(idx)) {\n return new Set();\n }\n return new Set([idx]);\n });\n\n setTimeout(() => {\n if (calculateLinesRef.current) {\n calculateLinesRef.current();\n }\n }, 50);\n\n }, [\n moreFunctions.sectionIdx,\n moreFunctions.isOrphan,\n closeMoreFunctionsPopup,\n closeSummaryPopup,\n resetSideBySide\n ]);\n\n const executePendingClauseScroll = useCallback(() => {\n const nodeId = pendingClauseScrollRef.current;\n if (!nodeId) return;\n pendingClauseScrollRef.current = null;\n\n const leftSectionIdx = (proposedSections as any[]).findIndex((s) => s.id === nodeId);\n const rightSectionIdx = (existingSections as any[]).findIndex((s) => s.id === nodeId);\n const leftKeyPath = leftSectionIdx === -1\n ? findKeyPathByNodeId(proposedSections as SectionBlock[], nodeId) : null;\n const rightKeyPath = rightSectionIdx === -1\n ? findKeyPathByNodeId(existingSections as SectionBlock[], nodeId) : null;\n\n const parentLeftIdx = leftSectionIdx !== -1 ? leftSectionIdx\n : leftKeyPath ? Number(leftKeyPath.split(\"-\")[0]) : -1;\n const parentRightIdx = rightSectionIdx !== -1 ? rightSectionIdx\n : rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : -1;\n\n const resolveEl = (\n sectionIdx: number,\n keyPath: string | null,\n sideRefs: typeof sectionLeftRefs,\n subSideRefs: typeof subSectionLeftRefs,\n ): HTMLElement | null => {\n if (sectionIdx !== -1) return sideRefs.current[sectionIdx]?.current ?? null;\n if (keyPath) return subSideRefs.current[keyPath]?.current ?? null;\n return null;\n };\n\n const scrollWhenReady = (\n getEl: () => HTMLElement | null,\n container: HTMLElement,\n maxAttempts = 30,\n ) => {\n let attempts = 0;\n const tryScroll = () => {\n const el = getEl();\n if (!el || el.getBoundingClientRect().height === 0) {\n if (attempts++ < maxAttempts) requestAnimationFrame(tryScroll);\n return;\n }\n highlightedClauseRefs.current.add(el);\n scrollAndHighlightClause(el, container);\n };\n requestAnimationFrame(tryScroll);\n };\n\n if (maintainRelativeOrder) {\n if (parentLeftIdx !== -1 && leftContainerRef.current) {\n scrollWhenReady(\n () => resolveEl(leftSectionIdx, leftKeyPath, sectionLeftRefs, subSectionLeftRefs),\n leftContainerRef.current,\n );\n }\n if (parentRightIdx !== -1 && rightContainerRef.current) {\n scrollWhenReady(\n () => resolveEl(rightSectionIdx, rightKeyPath, sectionRightRefs, subSectionRightRefs),\n rightContainerRef.current,\n );\n }\n } else {\n const container = scrollContainerRef.current;\n if (!container) return;\n scrollWhenReady(\n () => parentLeftIdx !== -1\n ? resolveEl(leftSectionIdx, leftKeyPath, sectionLeftRefs, subSectionLeftRefs)\n : resolveEl(rightSectionIdx, rightKeyPath, sectionRightRefs, subSectionRightRefs),\n container,\n );\n }\n }, [\n proposedSections,\n existingSections,\n maintainRelativeOrder,\n sectionLeftRefs,\n sectionRightRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n leftContainerRef,\n rightContainerRef,\n scrollContainerRef,\n ]);\n\n const scrollToClauseAndHighlightClause = useCallback(\n (nodeId: string) => {\n if (!nodeId) return;\n\n clearClauseHighlight();\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n closeSummaryPopup();\n closeCognitivePopup();\n\n const leftSectionIdx = (proposedSections as any[]).findIndex((s) => s.id === nodeId);\n const rightSectionIdx = (existingSections as any[]).findIndex((s) => s.id === nodeId);\n\n const leftKeyPath = leftSectionIdx === -1\n ? findKeyPathByNodeId(proposedSections as SectionBlock[], nodeId) : null;\n const rightKeyPath = rightSectionIdx === -1\n ? findKeyPathByNodeId(existingSections as SectionBlock[], nodeId) : null;\n\n if (leftSectionIdx === -1 && !leftKeyPath && rightSectionIdx === -1 && !rightKeyPath) {\n console.warn(`scrollToAndHighlightClause: nodeId \"${nodeId}\" not found`);\n return;\n }\n\n const parentLeftIdx = leftSectionIdx !== -1 ? leftSectionIdx\n : leftKeyPath ? Number(leftKeyPath.split(\"-\")[0]) : -1;\n const parentRightIdx = rightSectionIdx !== -1 ? rightSectionIdx\n : rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : -1;\n\n pendingClauseScrollRef.current = nodeId;\n\n setExpandedSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n if (parentLeftIdx !== -1) {\n const key = maintainRelativeOrder ? `left-${parentLeftIdx}` : String(parentLeftIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n if (parentRightIdx !== -1) {\n const key = maintainRelativeOrder ? `right-${parentRightIdx}` : String(parentRightIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n return changed ? next : prev;\n });\n\n setExpandedSubSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n\n const expandPath = (path: string) => {\n const parts = path.split(\"-\");\n let current = parts[0];\n for (let i = 1; i < parts.length; i++) {\n current += `-${parts[i]}`;\n if (!next[current]) {\n next[current] = true;\n changed = true;\n }\n }\n };\n\n if (leftKeyPath) expandPath(leftKeyPath);\n if (rightKeyPath) expandPath(rightKeyPath);\n\n return changed ? next : prev;\n });\n setTimeout(() => {\n requestAnimationFrame(() => {\n if (pendingClauseScrollRef.current === nodeId) {\n executePendingClauseScrollRef.current();\n }\n });\n }, 50);\n },\n [\n proposedSections,\n existingSections,\n maintainRelativeOrder,\n setExpandedSections,\n setExpandedSubSections,\n resetSideBySide,\n closeSummaryPopup,\n closeCognitivePopup,\n ]\n );\n const executePendingClauseScrollRef = useRef(executePendingClauseScroll);\n useEffect(() => {\n executePendingClauseScrollRef.current = executePendingClauseScroll;\n }, [executePendingClauseScroll]);\n\n const summaryGapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (localHighlightField) {\n const cfg = resolvedComparisonConfig.fields.find(\n (f) =>\n f.analysisKey === localHighlightField ||\n f.key === localHighlightField,\n );\n if (cfg) {\n const targetRef =\n leftRefs.current[cfg.key] || rightRefs.current[cfg.key];\n if (targetRef?.current)\n setTimeout(\n () =>\n targetRef.current!.scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n }),\n 150,\n );\n }\n }\n }, [localHighlightField, resolvedComparisonConfig.fields]);\n\n const getFieldData = useCallback(\n (analysisKey: string) => {\n const fields = analysisData?.rule_difference_comparison?.fields as Record<\n string,\n any\n >;\n if (!fields || !fields[analysisKey]) {\n return {\n score: 0,\n relation: \"\",\n highlightsA: [],\n highlightsB: [],\n hasContent: false,\n };\n }\n const field = fields[analysisKey];\n const hasActualContent =\n field?.relation ||\n field?.highlights?.ruleA_spans?.length ||\n field?.highlights?.ruleB_spans?.length ||\n (field?.mappings && field.mappings.length > 0);\n\n if (field.mappings) {\n const mapping = field.mappings[0] || {};\n return {\n score: field.score,\n relation: mapping.relation || \"\",\n highlightsA: mapping.highlights?.ruleA_spans || [],\n highlightsB: mapping.highlights?.ruleB_spans || [],\n hasContent: !!hasActualContent,\n };\n }\n return {\n score: field.score,\n relation: field.relation || \"\",\n highlightsA: field.highlights?.ruleA_spans || [],\n highlightsB: field.highlights?.ruleB_spans || [],\n hasContent: !!hasActualContent,\n };\n },\n [analysisData],\n );\n\n const { getSectionCompareStyle, getSubSectionCompareStyle, getDeviationStyleByKey } = useStyleHelpers(\n {\n proposedSections,\n existingSections,\n maintainRelativeOrder: maintainRelativeOrder as boolean,\n cognitiveMap,\n deviationData: stableDeviationData,\n treeData,\n resolvedComparisonConfig,\n badgeStyleOverride,\n }\n )\n const { lines, setLines, overallConnector, setOverallConnector, svgDimensions, calculateLines, calculateLinesDebounced, handleColumnScroll } = useLinesCalculator({\n containerRef,\n leftContainerRef,\n rightContainerRef,\n svgContainerRef,\n pathRefs,\n leftHeaderRef, rightHeaderRef,\n proposedSections, existingSections,\n visibleFields,\n leftRefs, rightRefs,\n sectionLeftRefs, sectionRightRefs,\n subSectionLeftRefs, subSectionRightRefs,\n lhsBadgeRefs, rhsBadgeRefs,\n sectionRowRefs,\n expandedSections, expandedSubSections,\n connectedSections,\n isSideBySide, activeSideBySideSection,\n maintainRelativeOrder,\n isGuidelineMode,\n cognitiveMap,\n getSectionCompareStyle, getSubSectionCompareStyle, getDeviationStyleByKey,\n isArrowVisible,\n\n isAnimatingRef,\n isSideBySideRef,\n sideBySideCacheRef,\n sideBySideLineRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n connectedLines,\n setConnectedLines,\n cachedConnectedPositions,\n calculateLinesRef,\n resizeTimerRef,\n scrollLock,\n scrollSyncLocked,\n\n handleResizeRef,\n activeProposed, existingRule, analysisData,\n pendingScrollTargetRef, pendingScrollCallbackRef,\n\n resolvedComparisonConfig,\n getFieldData\n })\n\n useEffect(() => {\n if (!summaryPopup.anchorEl) return;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n calculateLinesRef.current?.();\n });\n });\n }, [summaryPopup.anchorEl, scrollSyncLocked]);\n\n const handleCollapseAll = useCallback(() => {\n clearClauseHighlight();\n setScrollSyncLocked(false);\n setExpandedSections({});\n setExpandedSubSections({});\n\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n\n closeSummaryPopup();\n closeCognitivePopup();\n closeMoreFunctionsPopup();\n\n requestAnimationFrame(() => {\n if (calculateLinesRef.current) {\n calculateLinesRef.current();\n }\n });\n }, [\n setExpandedSections,\n setExpandedSubSections,\n resetSideBySide,\n closeSummaryPopup,\n closeCognitivePopup,\n closeMoreFunctionsPopup,\n ]);\n\n useEffect(() => {\n if (!isSideBySide && connectedSections.size === 0) {\n setScrollSyncLocked(false);\n }\n }, [isSideBySide, connectedSections]);\n\n const isAnySectionExpanded = useMemo(() => {\n return (\n Object.values(expandedSections).some(Boolean) ||\n Object.values(expandedSubSections).some(Boolean)\n );\n }, [expandedSections, expandedSubSections]);\n\n\n\n const timerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n const prevRootWidthRef = useRef<number>(0);\n const prevScrollWidthRef = useRef<number>(0);\n const prevContainerWidthRef = useRef<number>(0);\n const { handleResize } = useResizeHandler({\n timerRef, ruleComponentRef, scrollContainerRef, containerRef, maintainRelativeOrder, proposedSections,\n existingSections, isSideBySideRef, activeSideBySideSectionRef, activeSideBySideRightSectionRef, sectionRowRefs,\n sectionRightRowRefs, sectionLeftRefs, sectionRightRefs, subSectionLeftRefs, subSectionRightRefs, lhsBadgeRefs,\n rhsBadgeRefs, leftContainerRef, rightContainerRef, calculateLinesRef, handleResizeRef, setIsResizing, setIsArrowVisible,\n sideBySideCacheRef, cachedConnectedPositions\n });\n\n useEffect(() => {\n handleResizeRef.current = handleResize;\n }, [handleResize, handleResizeRef]);\n\n\n // Stable mount-once — watches root, scrollContainer, and inner container\n // Kept at [] so it never tears down from state changes, eliminating the\n // \"reset prevWidth → spurious handleResize → isResizing stuck true\" race.\n useEffect(() => {\n const makeWidthObserver = (\n el: HTMLElement,\n prevWidthRef: React.MutableRefObject<number>,\n rafRef: React.MutableRefObject<number | null>,\n onWidthChange: () => void,\n onNoChange: () => void,\n ): ResizeObserver => {\n prevWidthRef.current = el.getBoundingClientRect().width;\n\n const observer = new ResizeObserver((entries) => {\n if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);\n\n rafRef.current = requestAnimationFrame(() => {\n rafRef.current = null;\n const entry = entries[entries.length - 1];\n if (!entry) return;\n\n const newWidth =\n entry.borderBoxSize?.[0]?.inlineSize ?? entry.contentRect.width;\n\n if (Math.abs(newWidth - prevWidthRef.current) < 1) {\n onNoChange();\n return;\n }\n prevWidthRef.current = newWidth;\n onWidthChange();\n });\n });\n\n observer.observe(el);\n return observer;\n };\n\n // Each observer gets its own RAF ref so they don't cancel each other\n const rootRafRef: React.MutableRefObject<number | null> = { current: null };\n const scrollRafRef: React.MutableRefObject<number | null> = { current: null };\n const containerRafRef: React.MutableRefObject<number | null> = { current: null };\n\n const observers: ResizeObserver[] = [];\n const rafRefs = [rootRafRef, scrollRafRef, containerRafRef];\n\n if (ruleComponentRef.current) {\n observers.push(\n makeWidthObserver(\n ruleComponentRef.current,\n prevRootWidthRef,\n rootRafRef,\n () => handleResizeRef.current(),\n () => { },\n ),\n );\n }\n\n if (scrollContainerRef.current) {\n observers.push(\n makeWidthObserver(\n scrollContainerRef.current,\n prevScrollWidthRef,\n scrollRafRef,\n () => handleResizeRef.current(),\n () => calculateLinesRef.current(),\n ),\n );\n }\n\n if (containerRef.current) {\n observers.push(\n makeWidthObserver(\n containerRef.current,\n prevContainerWidthRef,\n containerRafRef,\n () => handleResizeRef.current(),\n () => calculateLinesRef.current(),\n ),\n );\n }\n\n return () => {\n observers.forEach((o) => o.disconnect());\n rafRefs.forEach((r) => {\n if (r.current !== null) {\n cancelAnimationFrame(r.current);\n r.current = null;\n }\n });\n };\n }, []);\n\n useEffect(() => {\n isSideBySideRef.current = isSideBySide;\n }, [isSideBySide]);\n\n useEffect(() => {\n activeSideBySideSectionRef.current = activeSideBySideSection;\n }, [activeSideBySideSection]);\n\n const getGuidelineTabFromId = useCallback((identifier: string | number) => {\n let nId = \"\";\n let dKey = \"0\";\n \n if (typeof identifier === \"number\") {\n nId = proposedSections[identifier]?.nodeId || proposedSections[identifier]?.id || \"\";\n } else {\n const parts = String(identifier).split(DEVIATION_BADGE_SEPARATOR);\n nId = parts[0];\n dKey = parts[1] || \"0\";\n }\n \n const res = stableDeviationData?.[nId]?.evaluation_result;\n const node = Array.isArray(res) ? res[parseInt(dKey, 10)] : res?.[dKey];\n \n // If explicitly false, open Web GPT Tab (1), otherwise default to Guideline Tab (0)\n return node?.evaluation_outputs?.guideline_flag?.rulebook_used === false ? 1 : 0;\n }, [proposedSections, stableDeviationData]);\n\n const alignStraightLines = useCallback((actionId: string) => {\n // Select either the Guideline highlight OR the WebGPT box\n const targets = document.querySelectorAll('[id^=\"guideline-target-\"], [data-web-gpt-active=\"true\"]');\n const lContainer = leftContainerRef.current;\n const rContainer = rightContainerRef.current;\n \n // Re-calculate refId from actionId to dynamically find the exact Left Badge\n const isSub = typeof actionId === \"string\" && actionId.includes(DEVIATION_BADGE_SEPARATOR);\n let refId = actionId;\n if (isSub) {\n const parts = actionId.split(DEVIATION_BADGE_SEPARATOR);\n if (parts.length >= 2) {\n refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n }\n }\n \n // Grab the Left Element safely from the ref map\n const leftEl = lhsBadgeRefs.current[refId]?.current || lhsBadgeRefs.current[actionId as any]?.current;\n\n if (targets.length > 0 && leftEl && lContainer && rContainer) {\n const rightEl = targets[0] as HTMLElement;\n\n // 1. Reset all spacers to 0px first to measure the true intrinsic positions without fake padding\n if (lhsTopSpacerRef.current) lhsTopSpacerRef.current.style.height = '0px';\n if (rhsTopSpacerRef.current) rhsTopSpacerRef.current.style.height = '0px';\n if (lhsBottomSpacerRef.current) lhsBottomSpacerRef.current.style.height = '0px';\n if (rhsBottomSpacerRef.current) rhsBottomSpacerRef.current.style.height = '0px';\n\n // 2. Wait for the browser to register the 0px heights before measuring\n requestAnimationFrame(() => {\n const lRect = leftEl.getBoundingClientRect();\n const rRect = rightEl.getBoundingClientRect();\n const lContRect = lContainer.getBoundingClientRect();\n const rContRect = rContainer.getBoundingClientRect();\n\n // Calculate absolute Y coordinate of the center of elements relative to the top of the scrollable content\n const lContentY = lContainer.scrollTop + (lRect.top - lContRect.top) + (lRect.height / 2);\n const rContentY = rContainer.scrollTop + (rRect.top - rContRect.top) + (rRect.height / 2);\n\n // Calculate Ideal Scroll for LHS to be in the center\n const idealLTargetScroll = lContentY - (lContRect.height / 2);\n\n // ── RULE 1: No Top Spacer for LHS. If it's at the top, it stays at the top. ──\n const lTargetScroll = Math.max(0, idealLTargetScroll);\n\n // ── RULE 2: Calculate Bottom Spacer for LHS if it's at the very bottom ──\n const lMaxScrollRaw = lContainer.scrollHeight - lContainer.clientHeight;\n const lBottomSpacer = lTargetScroll > lMaxScrollRaw ? lTargetScroll - lMaxScrollRaw : 0;\n\n // Determine the EXACT visual screen Y coordinate where the LHS center will sit\n const finalScreenY = lContRect.top + lContentY - lTargetScroll;\n\n // ── RULE 3: Force RHS to match finalScreenY perfectly ──\n // Equation: finalScreenY = rContRect.top + rContentY + rTopSpacer - rTargetScroll\n let rTargetScroll = rContRect.top + rContentY - finalScreenY;\n let rTopSpacer = 0;\n\n if (rTargetScroll < 0) {\n // RHS element is too close to top. We must push it down with a top spacer.\n rTopSpacer = Math.abs(rTargetScroll);\n rTargetScroll = 0;\n }\n\n // ── RULE 4: Calculate Bottom Spacer for RHS if it's at the very bottom ──\n const rMaxScrollRaw = rContainer.scrollHeight - rContainer.clientHeight;\n const rMaxScrollWithTop = rMaxScrollRaw + rTopSpacer;\n const rBottomSpacer = rTargetScroll > rMaxScrollWithTop ? rTargetScroll - rMaxScrollWithTop : 0;\n\n // Apply Spacers\n if (lhsBottomSpacerRef.current) lhsBottomSpacerRef.current.style.height = `${lBottomSpacer}px`;\n if (rhsTopSpacerRef.current) rhsTopSpacerRef.current.style.height = `${rTopSpacer}px`;\n if (rhsBottomSpacerRef.current) rhsBottomSpacerRef.current.style.height = `${rBottomSpacer}px`;\n\n // Execute Smooth Scroll and Draw Lines\n requestAnimationFrame(() => {\n lContainer.scrollTo({ top: lTargetScroll, behavior: \"smooth\" });\n rContainer.scrollTo({ top: rTargetScroll, behavior: \"smooth\" });\n \n if (calculateLinesRef.current) {\n setTimeout(() => calculateLinesRef.current(), 50);\n }\n });\n });\n }\n }, [DEVIATION_BADGE_SEPARATOR]);\n\n\n\n\n const handleOpenSideBySide = useCallback(() => {\n const idx = moreFunctions.sectionIdx;\n const isOrphan = moreFunctions.isOrphan;\n closeSummaryPopup();\n if (idx == null) return;\n\n let sourceSide: \"left\" | \"right\" = \"left\";\n if (moreFunctions.anchorEl && rightContainerRef.current?.contains(moreFunctions.anchorEl)) {\n sourceSide = \"right\";\n }\n \n forceExpandCrossWiredSections(idx);\n\n if (isGuidelineMode) {\n setGuidelinesTab(getGuidelineTabFromId(idx));\n setConnectedSections(new Set([idx]));\n }\n \n\n activateSideBySide(idx, isOrphan, { \n sourceSide,\n onReady: () => {\n if (isGuidelineMode) {\n setTimeout(() => alignStraightLines(String(idx)), 150);\n }\n }\n });\n }, [\n activateSideBySide, \n moreFunctions.isOrphan, \n moreFunctions.sectionIdx, \n moreFunctions.anchorEl, \n closeSummaryPopup, \n forceExpandCrossWiredSections,\n isGuidelineMode,\n alignStraightLines,\n getGuidelineTabFromId\n ]);\n\n const handleCloseSummaryPopup = useCallback(() => {\n closeSummaryPopup();\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n }, [closeSummaryPopup, resetSideBySide]);\n\n const isCurrentSectionConnected =\n moreFunctions.sectionIdx !== null &&\n connectedSections.has(moreFunctions.sectionIdx);\n\n const { showDeviationNavigation, showOpenNodeRef, adjustScrollForPopup } = useDeviationNavigation({\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder: !!maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n rightContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n });\n\n \n\n const handleOpenSummaryPopup = useCallback(\n (\n e: React.MouseEvent,\n actionId: string,\n isOrphan: boolean,\n summary: any,\n displayImpact?: boolean,\n ) => {\n const summaryText = typeof summary === \"string\"\n ? safeStringify(summary).trim()\n : safeStringify(summary?.deviation_summary).trim();\n\n const initialAnchor = e.currentTarget as HTMLElement;\n closeCognitivePopup();\n\n let sourceSide: \"left\" | \"right\" = \"left\";\n if (rightContainerRef.current?.contains(initialAnchor)) {\n sourceSide = \"right\";\n }\n\n const getFreshAnchor = () => {\n const isSub = typeof actionId === \"string\" && actionId.includes(DEVIATION_BADGE_SEPARATOR);\n if (isSub) {\n const parts = actionId.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n return sourceSide === \"right\"\n ? rhsBadgeRefs.current[refId]?.current\n : lhsBadgeRefs.current[refId]?.current;\n } else {\n return sourceSide === \"right\"\n ? rhsBadgeRefs.current[actionId as any]?.current\n : lhsBadgeRefs.current[actionId as any]?.current;\n }\n };\n\n if (isOrphan && !isGuidelineMode) {\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n\n if (summaryText) {\n forceExpandCrossWiredSections(actionId);\n requestAnimationFrame(() => {\n const freshAnchor = getFreshAnchor() || initialAnchor;\n \n if (freshAnchor) {\n const rect = freshAnchor.getBoundingClientRect();\n if (rect.top > window.innerHeight * 0.8) {\n freshAnchor.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n }\n }\n\n setSummaryPopup({\n open: true,\n anchorEl: freshAnchor,\n summary,\n displayImpact,\n });\n });\n }\n return;\n }\n\n forceExpandCrossWiredSections(actionId);\n\n if (isGuidelineMode) {\n setGuidelinesTab(getGuidelineTabFromId(actionId));\n setConnectedSections(new Set([actionId]));\n }\n\n if (!summaryText) {\n setTimeout(() => {\n activateSideBySide(actionId, isOrphan, { toggleIfSame: false, sourceSide });\n \n if (isGuidelineMode) {\n setTimeout(() => alignStraightLines(actionId), 150);\n }\n }, 350);\n return;\n }\n\n setTimeout(() => {\n activateSideBySide(actionId, isOrphan, {\n toggleIfSame: false,\n sourceSide,\n onReady: () => {\n const freshAnchor = getFreshAnchor() || initialAnchor;\n \n if (isGuidelineMode) {\n setTimeout(() => alignStraightLines(actionId), 150);\n } else {\n if (freshAnchor) {\n const rect = freshAnchor.getBoundingClientRect();\n if (rect.top > window.innerHeight * 0.8 || rect.top < 100) {\n const offsetToCenter = rect.top - (window.innerHeight / 2);\n \n if (maintainRelativeOrder) {\n leftContainerRef.current?.scrollBy({ top: offsetToCenter, behavior: \"smooth\" });\n rightContainerRef.current?.scrollBy({ top: offsetToCenter, behavior: \"smooth\" });\n } else {\n scrollContainerRef.current?.scrollBy({ top: offsetToCenter, behavior: \"smooth\" });\n }\n }\n }\n }\n\n setSummaryPopup({\n open: true,\n anchorEl: freshAnchor,\n summary,\n displayImpact,\n });\n },\n });\n }, 350);\n },\n [\n activateSideBySide, \n closeCognitivePopup, \n setSummaryPopup, \n resetSideBySide, \n forceExpandCrossWiredSections, \n isGuidelineMode, \n maintainRelativeOrder,\n alignStraightLines,\n stableDeviationData\n ],\n );\n\n const deviationTargetParentId = useMemo(() => {\n if (!deviationNodeIdToView) return null;\n const targetNodeId = deviationNodeIdToView?.id?.split(\":\")[0];\n for (const nodeId in parentDeviationRecord) {\n const entries = parentDeviationRecord[nodeId] || [];\n if (entries.some((entry: any) => entry.id === targetNodeId)) {\n return nodeId;\n }\n }\n return null;\n }, [deviationNodeIdToView, parentDeviationRecord]);\n const lastDeviationTriggerRef = useRef<{\n id: string | null;\n triggerMs: number | null;\n }>({ id: null, triggerMs: null });\n const clearedForDeviationId = useRef<string | null>(null);\n\n useEffect(() => {\n if (!deviationNodeIdToView?.id) return;\n\n const triggerMs = Number(deviationNodeIdToView.trigger);\n const lastTrigger = lastDeviationTriggerRef.current;\n if (\n lastTrigger?.id === deviationNodeIdToView.id &&\n lastTrigger?.triggerMs === triggerMs\n ) return;\n\n const hasDeviationKeySuffix =\n deviationNodeIdToView.id.includes(\":\") &&\n /:\\d+$/.test(deviationNodeIdToView.id);\n\n if (!hasDeviationKeySuffix) {\n lastDeviationTriggerRef.current = { id: deviationNodeIdToView.id, triggerMs };\n scrollToClauseAndHighlightClause(deviationNodeIdToView.id);\n\n const leftSectionIdx = proposedSections.findIndex((s: any) => s.id === deviationNodeIdToView.id);\n const rightSectionIdx = existingSections.findIndex((s: any) => s.id === deviationNodeIdToView.id);\n\n if (leftSectionIdx !== -1 || rightSectionIdx !== -1) {\n setTimeout(() => {\n const targetIdx = leftSectionIdx !== -1 ? leftSectionIdx : rightSectionIdx;\n const isOrphan = leftSectionIdx === -1;\n\n // ── NEW C2G LOGIC FOR ROOT NODES ──\n if (isGuidelineMode) {\n setGuidelinesTab(getGuidelineTabFromId(targetIdx));\n }\n setConnectedSections(new Set([targetIdx]));\n\n activateSideBySideRef.current(targetIdx, isOrphan, {\n sourceSide: isOrphan ? \"right\" : \"left\",\n onReady: () => {\n if (isGuidelineMode) {\n setTimeout(() => alignStraightLines(String(targetIdx)), 150);\n }\n }\n });\n }, 400);\n }\n return;\n }\n\n const [targetNodeId, requestedDeviationKeyRaw] = deviationNodeIdToView.id.split(\":\");\n const requestedDeviationKey = requestedDeviationKeyRaw ?? \"0\";\n\n const requestKey = `${deviationNodeIdToView.id}:${triggerMs}`;\n if (clearedForDeviationId.current !== requestKey) {\n closeSummaryPopup();\n closeCognitivePopup();\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n clearedForDeviationId.current = requestKey;\n }\n\n let cancelled = false;\n let attempts = 0;\n const maxAttempts = 30;\n let timer: ReturnType<typeof setTimeout> | null = null;\n let layoutWatcherCleanup: (() => void) | null = null;\n let expansionDone = false;\n const waitForStableLayout = (\n getElement: () => HTMLElement | null | undefined,\n onStable: () => void\n ): (() => void) => {\n let stableFrames = 0;\n let lastTop: number | null = null;\n let lastHeight: number | null = null;\n let rafId: number;\n const startedAt = performance.now();\n\n const check = () => {\n if (cancelled) return;\n\n if (performance.now() - startedAt > 3000) {\n onStable();\n return;\n }\n\n const el = getElement();\n if (!el || el.getBoundingClientRect().height === 0) {\n rafId = requestAnimationFrame(check);\n return;\n }\n\n const rect = el.getBoundingClientRect();\n\n const top = rect.top;\n const height = rect.height;\n\n const topStable =\n lastTop !== null && Math.abs(top - lastTop) < 0.5;\n\n const heightStable =\n lastHeight !== null && Math.abs(height - lastHeight) < 0.5;\n\n if (topStable && heightStable) {\n stableFrames++;\n\n if (stableFrames >= 5) {\n onStable();\n return;\n }\n } else {\n stableFrames = 0;\n }\n\n lastTop = top;\n lastHeight = height;\n\n rafId = requestAnimationFrame(check);\n };\n\n rafId = requestAnimationFrame(check);\n return () => cancelAnimationFrame(rafId);\n };\n\n const findKeyPath = (sections: any[], targetIds: string[]): string | null => {\n const walk = (node: any, path: string): string | null => {\n if (!node) return null;\n if (\n targetIds.includes(node.id) ||\n targetIds.includes(node.nodeId) ||\n targetIds.includes(node.contentId)\n ) return path;\n if (!Array.isArray(node.subsections)) return null;\n for (let i = 0; i < node.subsections.length; i++) {\n const next = walk(node.subsections[i], `${path}-${i}`);\n if (next) return next;\n }\n return null;\n };\n for (let i = 0; i < sections.length; i++) {\n const found = walk(sections[i], String(i));\n if (found) return found;\n }\n return null;\n };\n\n const tryConnect = () => {\n if (cancelled) return;\n\n const markProcessed = () => {\n lastDeviationTriggerRef.current = {\n id: deviationNodeIdToView.id,\n triggerMs,\n };\n };\n\n let targetParentId: string | null = null;\n let targetChild: any = null;\n for (const nodeId in parentDeviationRecord) {\n const child = parentDeviationRecord[nodeId].find(\n (entry: any) =>\n entry.id === targetNodeId ||\n entry.nodeId === targetNodeId ||\n entry.contentId === targetNodeId ||\n entry.evaluationResult?.nodeId === targetNodeId,\n );\n if (child) {\n targetParentId = nodeId;\n targetChild = child;\n break;\n }\n }\n\n if (!targetChild || !targetParentId) {\n attempts++;\n if (attempts < maxAttempts) timer = setTimeout(tryConnect, 100);\n return;\n }\n\n const targetIds = Array.from(new Set([\n targetNodeId,\n targetChild.id,\n targetChild.nodeId,\n targetChild.contentId,\n targetChild.evaluationResult?.nodeId,\n ].filter(Boolean))) as string[];\n\n const lhsNodeIdx = proposedSections.findIndex((section) => section.id === targetParentId);\n const rhsNodeIdx = existingSections.findIndex((section) => section.id === targetParentId);\n\n const isRhsOrphan = lhsNodeIdx === -1 && rhsNodeIdx !== -1;\n\n const leftKeyPath = findKeyPath(proposedSections as any[], targetIds);\n let rightKeyPath = findKeyPath(existingSections as any[], targetIds);\n\n if (leftKeyPath && !rightKeyPath && !isRhsOrphan) {\n const parts = leftKeyPath.split(\"-\");\n let rhsIdx = Number(parts[0]);\n if (maintainRelativeOrder) {\n const rhsSelfIndex = (proposedSections as any[])[rhsIdx]?.refIndexes?.[0];\n const rhsArrayIdx = (existingSections as any[]).findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n if (rhsArrayIdx !== -1) rhsIdx = rhsArrayIdx;\n }\n rightKeyPath = [rhsIdx, ...parts.slice(1)].join(\"-\");\n }\n\n if (!leftKeyPath && !rightKeyPath) {\n attempts++;\n if (attempts < maxAttempts) timer = setTimeout(tryConnect, 100);\n return;\n }\n\n const leftSectionIdx = leftKeyPath ? Number(leftKeyPath.split(\"-\")[0]) : lhsNodeIdx;\n const rightSectionIdx = rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : rhsNodeIdx;\n const effectiveRightSectionIdx =\n rightSectionIdx >= 0\n ? rightSectionIdx\n : rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : -1;\n\n const leftSec: any = (proposedSections as any[])[leftSectionIdx];\n const rightSec: any = (existingSections as any[])[effectiveRightSectionIdx];\n const isLeftEmpty = leftSec && !leftSec.title && !leftSec.content;\n const isRightEmpty = rightSec && !rightSec.title && !rightSec.content;\n\n const isTargetRhsOnly = (!leftKeyPath && !!rightKeyPath) || (isLeftEmpty && !isRightEmpty);\n const shouldNavigateRight = isRhsOrphan || isTargetRhsOnly;\n\n if (shouldNavigateRight) {\n const isExpanded = maintainRelativeOrder\n ? !!expandedSectionsRef.current[`right-${rightSectionIdx}`]\n : !!expandedSectionsRef.current[String(rightSectionIdx)];\n if (!isExpanded && rightSectionIdx >= 0) {\n toggleSection(rightSectionIdx, \"right\");\n timer = setTimeout(tryConnect, 200);\n return;\n }\n } else {\n const isExpanded = maintainRelativeOrder\n ? !!expandedSectionsRef.current[`left-${leftSectionIdx}`]\n : !!expandedSectionsRef.current[String(leftSectionIdx)];\n if (!isExpanded && leftSectionIdx >= 0) {\n toggleSection(leftSectionIdx, \"left\");\n timer = setTimeout(tryConnect, 200);\n return;\n }\n }\n \n const safeLeftPath = leftKeyPath || \"\";\n const safeRightPath = rightKeyPath || \"\";\n const refIdCandidates = targetIds.map(\n (id) => `${id}${DEVIATION_BADGE_SEPARATOR}${requestedDeviationKey}`,\n );\n const fallbackRefId = refIdCandidates[0];\n const getMountedBadges = () => {\n for (const candidateRefId of refIdCandidates) {\n const left = lhsBadgeRefs.current[candidateRefId]?.current || null;\n const right = rhsBadgeRefs.current[candidateRefId]?.current || null;\n if (left || right) return { refId: candidateRefId, left, right };\n }\n return { refId: fallbackRefId, left: null, right: null };\n };\n const buildActionId = (refId: string) =>\n `${refId}${DEVIATION_BADGE_SEPARATOR}${safeLeftPath}${DEVIATION_BADGE_SEPARATOR}${safeRightPath}`;\n \n if (!expansionDone) {\n forceExpandCrossWiredSections(buildActionId(fallbackRefId));\n expansionDone = true;\n attempts = 0;\n const getTargetElement = (): HTMLElement | null => {\n const { left: leftEl, right: rightEl } = getMountedBadges();\n const useRight = shouldNavigateRight || (!leftEl && !!rightEl);\n return (useRight ? rightEl : leftEl) as HTMLElement | null;\n };\n\n layoutWatcherCleanup?.();\n\n timer = setTimeout(() => {\n if (cancelled) return;\n layoutWatcherCleanup = waitForStableLayout(getTargetElement, () => {\n if (cancelled) return;\n layoutWatcherCleanup = null;\n tryConnect();\n });\n }, 300);\n\n return;\n }\n\n const {\n refId,\n left: leftElement,\n right: rightElement,\n } = getMountedBadges();\n const actionId = buildActionId(refId);\n\n // If refs still aren't attached, keep retrying\n if (!leftElement && !rightElement) {\n attempts++;\n if (attempts < maxAttempts) timer = setTimeout(tryConnect, 100);\n return;\n }\n\n const useRightTarget = shouldNavigateRight || (!leftElement && !!rightElement);\n const targetElement = useRightTarget ? rightElement : leftElement;\n\n const scrollContainer: HTMLElement | null = maintainRelativeOrder\n ? (useRightTarget ? rightContainerRef.current : leftContainerRef.current)\n : scrollContainerRef.current;\n\n if (!targetElement || !scrollContainer) {\n attempts++;\n if (attempts < maxAttempts) timer = setTimeout(tryConnect, 100);\n return;\n }\n\n const elementRect = targetElement.getBoundingClientRect();\n\n if (elementRect.height === 0) {\n attempts++;\n if (attempts < maxAttempts) timer = setTimeout(tryConnect, 100);\n return;\n }\n\n const containerRect = scrollContainer.getBoundingClientRect();\n \n const targetTop = \n elementRect.top - \n containerRect.top + \n scrollContainer.scrollTop - \n (containerRect.height / 2) + \n (elementRect.height / 2);\n\n const isTargetSub = (leftKeyPath?.includes(\"-\")) || (rightKeyPath?.includes(\"-\"));\n \n const onScrollComplete = async() => {\n if (cancelled) return;\n markProcessed();\n\n const boxShadowColor = targetElement instanceof Element\n ? window.getComputedStyle(targetElement).color\n : \"\";\n [leftElement, rightElement].forEach((el) => {\n if (!el) return;\n el.style.transition = \"box-shadow 300ms ease-in-out\";\n el.style.boxShadow = `0 0 10px ${boxShadowColor}`;\n });\n setTimeout(() => {\n [leftElement, rightElement].forEach((el) => {\n if (el) el.style.boxShadow = \"\";\n });\n }, 2000);\n\n const deviationMap = targetChild.evaluationResult?.deviations?.[requestedDeviationKey] || targetChild;\n const evalOutputs = targetChild.evaluationResult?.evaluation_outputs || targetChild.evaluation_outputs;\n const hasBothCounterparts = !!leftElement && !!rightElement;\n\n if (!hasBothCounterparts && !isGuidelineMode) {\n const freshElement = useRightTarget\n ? (rhsBadgeRefs.current[isTargetSub ? refId : (rightSectionIdx as any)]?.current || rightElement)\n : (lhsBadgeRefs.current[isTargetSub ? refId : (leftSectionIdx as any)]?.current || leftElement);\n\n adjustScrollForPopup(freshElement, () => {\n setSummaryPopup({\n open: true,\n anchorEl: freshElement,\n displayImpact: deviationNodeIdToView.displayImpact,\n summary: {\n ...deviationMap,\n evaluation_outputs: evalOutputs,\n },\n });\n }, { skipScroll: true });\n resetDeviationNodeId?.();\n return;\n }\n // Wait for any in-progress scroll to idle before activating side-by-side\n const waitWithTimeout = (p: Promise<void>, ms: number) => Promise.race([p, new Promise<void>((res) => setTimeout(res, ms))]);\n if (maintainRelativeOrder) {\n await Promise.all([\n leftContainerRef.current\n ? waitWithTimeout(waitForScrollIdle(leftContainerRef.current), 600)\n : Promise.resolve(),\n rightContainerRef.current\n ? waitWithTimeout(waitForScrollIdle(rightContainerRef.current), 600)\n : Promise.resolve(),\n ]);\n }\n\n // ── NEW C2G LOGIC: Set tab and connection for sub-nodes ──\n if (isGuidelineMode) {\n setGuidelinesTab(getGuidelineTabFromId(actionId));\n setConnectedSections(new Set([actionId]));\n }\n\n activateSideBySideRef.current(actionId, false, {\n toggleIfSame: false,\n sourceSide: isRhsOrphan ? \"right\" : \"left\", \n onReady: () => {\n markProcessed();\n const freshElement = useRightTarget\n ? (rhsBadgeRefs.current[refId]?.current || rightElement)\n : (lhsBadgeRefs.current[refId]?.current || leftElement);\n\n // ── NEW C2G LOGIC: Straight Line Math ──\n if (isGuidelineMode) {\n setTimeout(() => alignStraightLines(actionId), 150);\n } else {\n const freshLeft = lhsBadgeRefs.current[refId]?.current || leftElement;\n const freshRight = rhsBadgeRefs.current[refId]?.current || rightElement;\n\n if (freshLeft) {\n freshLeft.style.scrollMarginTop = '150px';\n freshLeft.scrollIntoView({ behavior: 'smooth', block: 'start' });\n }\n if (freshRight) {\n freshRight.style.scrollMarginTop = '150px';\n freshRight.scrollIntoView({ behavior: 'smooth', block: 'start' });\n }\n }\n\n setSummaryPopup({\n open: true,\n anchorEl: freshElement,\n displayImpact: deviationNodeIdToView.displayImpact,\n summary: { ...deviationMap },\n });\n\n resetDeviationNodeId?.();\n },\n });\n };\n\n if (Math.abs(scrollContainer.scrollTop - targetTop) <= 2) {\n onScrollComplete();\n } else {\n // // --- USE REF TO TRACK NATIVE SCROLL COMPLETION ---\n // pendingScrollTargetRef.current = targetTop;\n // pendingScrollCallbackRef.current = onScrollComplete;\n\n // scrollContainer.scrollTo({ top: targetTop, behavior: \"smooth\" });\n\n // // Failsafe timer (800ms) just in case native scroll misses the exact 2px boundary\n // if (timer) clearTimeout(timer);\n // timer = setTimeout(() => {\n // if (pendingScrollCallbackRef.current) {\n // pendingScrollTargetRef.current = null;\n // const cb = pendingScrollCallbackRef.current;\n // pendingScrollCallbackRef.current = null;\n // cb();\n // }\n // }, 800);\n // }\n scrollAndWait(scrollContainer, targetTop, onScrollComplete);\n }\n };\n\n timer = setTimeout(tryConnect, 100);\n\n return () => {\n cancelled = true;\n if (timer) clearTimeout(timer);\n layoutWatcherCleanup?.();\n };\n }, [\n deviationNodeIdToView?.id,\n deviationNodeIdToView?.trigger,\n deviationNodeIdToView?.displayImpact,\n parentDeviationRecord,\n proposedSections,\n existingSections,\n maintainRelativeOrder,\n setSummaryPopup,\n scrollToClauseAndHighlightClause,\n isGuidelineMode, // Added explicitly to fix exhaustive-deps\n getGuidelineTabFromId, // Added explicitly\n alignStraightLines // Added explicitly\n ]);\n\n useEffect(() => {\n if (!summaryPopup.open) return;\n const anchor = summaryPopup.anchorEl;\n if (!anchor) return;\n if (anchor.isConnected) return;\n\n // Anchor is detached — find the fresh DOM node by data attribute\n const findRefIdByContent = (refs:DivRefMap) => {\n for (const [key, ref] of Object.entries(refs)) {\n if (ref.current?.textContent === anchor.textContent) return key;\n }\n return null;\n };\n const refId = anchor.dataset?.deviationRefId || findRefIdByContent(lhsBadgeRefs.current) || findRefIdByContent(rhsBadgeRefs.current);\n // Optimization done above using map\n // const refId =\n // anchor.dataset?.deviationRefId ||\n // // fallback: scan both ref maps for a live node matching this anchor's text content\n // Object.keys(lhsBadgeRefs.current).find(\n // key => lhsBadgeRefs.current[key]?.current?.textContent === anchor.textContent\n // )\n // || Object.keys(rhsBadgeRefs.current).find(\n // key => rhsBadgeRefs.current[key]?.current?.textContent === anchor.textContent\n // );\n \n if (!refId) return;\n\n const freshAnchor =\n rhsBadgeRefs.current[refId]?.current ||\n lhsBadgeRefs.current[refId]?.current;\n\n if (!freshAnchor || !freshAnchor.isConnected) return;\n\n setSummaryPopup(prev => ({ ...prev, anchorEl: freshAnchor }));\n}, [\n summaryPopup.open,\n summaryPopup.anchorEl,\n scrollSyncLocked,\n connectedSections,\n expandedSections,\n]);\n\n const {\n open: cognitivePopupOpen,\n sectionIdx: cognitivePopupSectionIdx,\n isOrphan: cognitivePopupIsOrphan,\n badgeStyle: cognitivePopupBadgeStyle,\n anchorEl: cognitivePopupAnchorEl,\n sectionAnchorEl: cognitivePopupSectionAnchorEl,\n } = cognitivePopup;\n\n useEffect(() => {\n if(!displayConfig.isStreamingEnabled) return\n if (!cognitivePopupOpen || cognitivePopupSectionIdx == null) return;\n if (cognitivePopupSectionIdx === rootDeviationId) return;\n\n const sectionId =\n typeof cognitivePopupSectionIdx === \"string\"\n ? cognitivePopupSectionIdx.split(DEVIATION_BADGE_SEPARATOR)[0]\n : null;\n\n const findNodeRecursively = (sections: any[], targetId: string): any => {\n if (!sections || !Array.isArray(sections)) return null;\n for (const sec of sections) {\n if (sec.id === targetId) return sec;\n if (sec.subsections?.length) {\n const found = findNodeRecursively(sec.subsections, targetId);\n if (found) return found;\n }\n }\n return null;\n };\n\n const baseSecById =\n sectionId && typeof sectionId === \"string\"\n ? findNodeRecursively(proposedSections, sectionId)\n : null;\n\n const refSecById =\n sectionId && typeof sectionId === \"string\"\n ? findNodeRecursively(existingSections, sectionId)\n : null;\n\n const baseSec =\n typeof cognitivePopupSectionIdx === \"number\"\n ? proposedSections[cognitivePopupSectionIdx] || null\n : baseSecById ||\n (sectionId\n ? (treeData?.nodes?.[sectionId] as SectionBlock) ||\n (treeData?.[sectionId] as SectionBlock) ||\n null\n : null);\n\n const refSec =\n typeof cognitivePopupSectionIdx === \"number\"\n ? existingSections[cognitivePopupSectionIdx] || null\n : refSecById;\n\n const refreshedPopup = buildSectionPopupState(\n cognitivePopupAnchorEl,\n baseSec,\n refSec,\n cognitivePopupSectionIdx,\n cognitivePopupIsOrphan,\n cognitivePopupBadgeStyle,\n );\n\n setCognitivePopup((prev) => {\n if (!prev.open) return prev;\n \n const isSame =\n safeStringify(prev.cognitiveData) === safeStringify(refreshedPopup.cognitiveData) &&\n safeStringify(prev.deviationData) === safeStringify(refreshedPopup.deviationData) &&\n prev.sectionTitle === refreshedPopup.sectionTitle &&\n prev.refSectionTitle === refreshedPopup.refSectionTitle;\n \n if (isSame) return prev;\n\n return {\n ...prev,\n ...refreshedPopup,\n open: true,\n anchorEl: prev.anchorEl,\n sectionAnchorEl: prev.sectionAnchorEl,\n };\n });\n }, [\n cognitivePopupOpen,\n cognitivePopupSectionIdx,\n cognitivePopupIsOrphan,\n cognitivePopupBadgeStyle,\n cognitivePopupAnchorEl,\n cognitivePopupSectionAnchorEl,\n proposedSections,\n existingSections,\n buildSectionPopupState,\n ]);\n\n const renderSubSectionAccordion = useCallback(\n ({\n section,\n keyPath,\n depth = 0,\n columnKey = \"left\",\n parentNodeId = \"\",\n sectionOffset,\n rhsOrphanVisualIndexes,\n }: {\n section: SectionBlock;\n keyPath: string;\n depth?: number;\n columnKey?: \"left\" | \"right\";\n parentNodeId?: string;\n sectionOffset?: number;\n rhsOrphanVisualIndexes?: ReadonlyMap<string, number>;\n }): React.ReactNode => {\n return (\n <SubSectionAccordion\n section={section}\n keyPath={keyPath}\n depth={depth}\n columnKey={columnKey}\n parentNodeId={parentNodeId}\n sectionOffset={sectionOffset}\n rhsOrphanVisualIndexes={rhsOrphanVisualIndexes}\n />\n );\n },\n []);\n\n const leftRows = useMemo(() => {\n return proposedSections.map((section, idx) => {\n const isEmpty = !section?.title && !section?.content;\n const isOrphan = !section?.refIndexes || section.refIndexes.length === 0;\n if (isEmpty && isOrphan && maintainRelativeOrder) return null;\n\n return (\n <LHSSectionRow\n key={section?.layoutKey ?? section?.id ?? `left-row-${idx}`}\n section={section}\n idx={idx}\n />\n );\n });\n }, [proposedSections, maintainRelativeOrder]);\n\n const rightRows = useMemo(() => {\n return existingSections.map((section, idx) => {\n const isEmpty = !section?.title && !section?.content;\n const isOrphan = !section?.refIndexes || section.refIndexes.length === 0;\n if (isEmpty && isOrphan && maintainRelativeOrder) return null;\n\n return (\n <RHSSectionRow\n key={section?.layoutKey ?? section?.id ?? `right-row-${idx}`}\n section={section}\n idx={idx}\n />\n );\n });\n }, [existingSections, maintainRelativeOrder]);\n // Callback refs in order to keep them always open even when deviation data is getting streamed\n // These change identity often but children only ever call them — they don't\n // need to cause context consumers to re-render when they change.\n const openMoreFunctionsPopupRef = useRef(openMoreFunctionsPopup);\n useEffect(() => { openMoreFunctionsPopupRef.current = openMoreFunctionsPopup; }, [openMoreFunctionsPopup]);\n\n const expandedSectionsRef = useRef(expandedSections);\n useEffect(() => {\n expandedSectionsRef.current = expandedSections;\n }, [expandedSections]);\n\n const handleOpenSummaryPopupRef = useRef(handleOpenSummaryPopup);\n useEffect(() => { handleOpenSummaryPopupRef.current = handleOpenSummaryPopup; }, [handleOpenSummaryPopup]);\n\n const handleCloseSummaryPopupRef = useRef(handleCloseSummaryPopup);\n useEffect(() => { handleCloseSummaryPopupRef.current = handleCloseSummaryPopup; }, [handleCloseSummaryPopup]);\n\n const toggleSectionRef = useRef(toggleSection);\n useEffect(() => { toggleSectionRef.current = toggleSection; }, [toggleSection]);\n\n const handleSubSectionToggleRef = useRef(handleSubSectionToggle);\n useEffect(() => { handleSubSectionToggleRef.current = handleSubSectionToggle; }, [handleSubSectionToggle]);\n\n const renderSubSectionAccordionRef = useRef(renderSubSectionAccordion);\n useEffect(() => { renderSubSectionAccordionRef.current = renderSubSectionAccordion; }, [renderSubSectionAccordion]);\n\n const resetSideBySideContextRef = useRef(resetSideBySide);\n useEffect(() => { resetSideBySideContextRef.current = resetSideBySide; }, [resetSideBySide]);\n \n // ── NEW: Added isGuidelineMode to Context ──\n const compareContextValue = useMemo(() => ({\n isGuidelineMode, \n maintainRelativeOrder: !!maintainRelativeOrder,\n showDeviationBadges: shouldShowDeviationBadges,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n isSideBySide,\n activeSideBySideSection,\n scrollSyncLocked,\n toggleScrollSyncLocked,\n summaryPopupAnchorEl: summaryPopup.anchorEl,\n connectedSections,\n proposedSections,\n existingSections,\n deviationNumberRegistry,\n deviationParentRegistry,\n treeData,\n displayConfig,\n resolvedMarkdownStyles,\n unifiedNumbering,\n expandedSections,\n expandedSubSections,\n setExpandedSubSections,\n getSectionCompareStyle,\n getSubSectionCompareStyle,\n getBadgeRef,\n getSectionRowRef,\n getSubSectionRef,\n sectionLeftRefs,\n sectionRightRefs,\n sectionRowRefs,\n sectionRightRowRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n // Stable refs to always keep them open even when deviation data is getting streamed\n openMoreFunctionsPopup: openMoreFunctionsPopupStable,\n handleOpenSummaryPopup: handleOpenSummaryPopupStable,\n openSummaryPopup: handleOpenSummaryPopupStable,\n handleCloseSummaryPopup: handleCloseSummaryPopupStable,\n toggleSection: toggleSectionStable,\n handleSubSectionToggle: handleSubSectionToggleStable,\n renderSubSectionAccordion: renderSubSectionAccordionStable,\n resetSideBySide: resetSideBySideStable,\n\n setConnectedSections,\n setConnectedLines,\n cachedConnectedPositions,\n showDeviationNavigation,\n showOpenNodeRef,\n deviationNodeIdToView: deviationNodeIdToView?.id,\n deviationTargetParentId,\n guidelinesData,\n gptWebCitationConfig\n}), [\n isGuidelineMode, // ── NEW ──\n maintainRelativeOrder,\n shouldShowDeviationBadges,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n isSideBySide,\n activeSideBySideSection,\n scrollSyncLocked,\n toggleScrollSyncLocked,\n summaryPopup.anchorEl,\n connectedSections,\n proposedSections,\n existingSections,\n deviationNumberRegistry,\n displayConfig,\n resolvedMarkdownStyles,\n unifiedNumbering,\n expandedSections,\n expandedSubSections,\n setExpandedSubSections,\n getSectionCompareStyle,\n getSubSectionCompareStyle,\n getBadgeRef,\n getSectionRowRef,\n getSubSectionRef,\n // NOTE: all the volatile callbacks are intentionally REMOVED from deps.\n // They are accessed via refs (openMoreFunctionsPopupRef etc.) so changing\n // them does not invalidate the context value or re-render consumers.\n showDeviationNavigation,\n showOpenNodeRef,\n deviationNodeIdToView,\n deviationTargetParentId,\n guidelinesData,\n gptWebCitationConfig\n ]);\n\n const cognitivePopupLeftTitle = safeStringify(\n cognitivePopup.sectionTitle || leftTitleTrimmed || leftColumnTitle,\n );\n const cognitivePopupRightTitle = safeStringify(\n isGuidelineMode\n ? rightTitleTrimmed || rightColumnTitle || cognitivePopup.refSectionTitle\n : cognitivePopup.refSectionTitle || rightTitleTrimmed || rightColumnTitle,\n );\n\n return (\n <CompareContextProvider value={compareContextValue}>\n <Box\n ref={ruleComponentRef}\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n bgcolor: \"#F6F7F9B2\",\n fontFamily: '\"Plus Jakarta Sans\", sans-serif',\n overflow: \"visible\", // ← always visible, was conditional on !maintainRelativeOrder\n position: \"relative\",\n }}\n >\n {isToggling && (\n <Box\n sx={{\n position: \"absolute\",\n inset: 0,\n bgcolor: \"rgba(255, 255, 255, 0.6)\",\n backdropFilter: \"blur(10px)\",\n zIndex: 9999,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: \"8px\",\n }}\n >\n <BouncingDotsLoader />\n </Box>\n )}\n {summaryPopup.open && (\n <CognitiveSummaryPopup\n open={summaryPopup.open}\n anchorEl={summaryPopup.anchorEl}\n containerEl={summaryGapRef.current}\n clipTopEl={leftHeaderRef.current}\n scrollContainerEl={scrollContainerRef.current}\n onClose={handleCloseSummaryPopup}\n summary={summaryPopup.summary}\n displayImpact={summaryPopup.displayImpact}\n isScrollLocked={scrollSyncLocked}\n />\n )}\n {\n <MoreFunctionsPopup\n open={moreFunctions.open}\n anchorEl={moreFunctions.anchorEl}\n maintainRelativeOrder={!!maintainRelativeOrder}\n sectionTitle={moreFunctions.sectionTitle}\n referenceSectionTitle={moreFunctions.refSectionTitle}\n onClose={closeMoreFunctionsPopup}\n onOpenCognitiveCompare={handleOpenCognitiveCompare}\n onOpenSideBySide={handleOpenSideBySide}\n onConnect={handleConnect}\n isConnected={isCurrentSectionConnected}\n isOrphan={isGuidelineMode ? false : !!moreFunctions.isOrphan} \n isGuidelineMode={isGuidelineMode}\n hasGuidelineMatches={moreFunctions.hasGuidelineMatches}\n />\n }\n\n {cognitivePopup.open && (\n <CognitivePopup\n open={cognitivePopup.open}\n popupRef={popupRef}\n position={position}\n popupConfig={popupConfig}\n onClose={() => {\n setPosition(null);\n setCognitivePopup((p) => ({ ...p, open: false }));\n setActiveBadgeId(null);\n }}\n markdownStyles={markdownStyles}\n sectionTitle={cognitivePopupLeftTitle}\n referenceSectionTitle={cognitivePopupRightTitle}\n cognitiveData={cognitivePopup.cognitiveData}\n anchorEl={cognitivePopup.anchorEl}\n sectionAnchorEl={cognitivePopup.sectionAnchorEl}\n scrollContainerEl={scrollContainerRef.current}\n badgeStyle={cognitivePopup.badgeStyle}\n docData={cognitivePopup.docData}\n deviationData={cognitivePopup.deviationData}\n isLoading={cognitivePopup.isLoading}\n />\n )}\n\n <Snackbar\n open={!!errorToast}\n autoHideDuration={8000}\n onClose={() => setErrorToast(null)}\n anchorOrigin={{ vertical: \"top\", horizontal: \"center\" }}\n >\n <Alert\n onClose={() => setErrorToast(null)}\n severity=\"error\"\n sx={{ width: \"100%\", whiteSpace: \"pre-line\" }}\n >\n {errorToast}\n </Alert>\n </Snackbar>\n\n <CompareHeader\n componentHeaderText={componentHeaderText}\n displayConfig={displayConfig}\n maintainRelativeOrder={maintainRelativeOrder}\n onCollapseAll={handleCollapseAll}\n showCollapseAll={isAnySectionExpanded}\n onToggleView={(isDefaultView) => {\n setIsToggling(true);\n \n setTimeout(() => {\n setMaintainRelativeOrder(!isDefaultView);\n onMaintainRelativeOrderChange?.(!isDefaultView);\n setScrollSyncLocked(false);\n resetSideBySide();\n closeSummaryPopup();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n setTimeout(() => {\n setIsToggling(false);\n }, 600);\n });\n });\n }, 50);\n }}\n />\n\n {/* ── Main scrollable content ── */}\n <Box\n ref={scrollContainerRef}\n onScroll={handleColumnScroll}\n sx={{\n flex: 1,\n minHeight: 0,\n pt: 1.5,\n pb: 1,\n px: 3,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"flex-start\",\n bgcolor: \"#FFFFFF\",\n overflowY: maintainRelativeOrder ? \"visible\" : \"auto\", // ← \"visible\" not \"hidden\"\n borderTop: overallSummaryRaw && hasReasoning ? \"none\" : \"1.5px solid #EEF0F4\",\n }}\n >\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n width: \"100%\",\n maxWidth: \"1200px\",\n ...(maintainRelativeOrder ? { flex: 1 } : {}), \n }}\n >\n <Box\n ref={containerRef}\n sx={{\n display: \"grid\",\n gridTemplateColumns: \"minmax(0, 1fr) 180px minmax(0, 1fr)\",\n // NOTE: WHILE INCREASING OR REDUCING THIS WIDTH CHANGE THE PADDING LEFT AND MARGIN OF THE BOX with rightContainerRef TO ENSURE MORE FUNCTIONS POPUP BUTTON IS VISIBLE IN THE VIEW TO CLICK\n // Increased gap for Cognitive AI Summary Popup\n gap: \"100px\",\n maxWidth: \"1200px\",\n width: \"100%\",\n position: \"relative\",\n minHeight: 0,\n ...(maintainRelativeOrder ? { flex: 1, overflow: \"visible\" } : {}),\n }}\n >\n {/* ── SVG connector lines & deviation badges ── */}\n <SvgConnectors\n svgContainerRef={svgContainerRef}\n svgDimensions={svgDimensions}\n isResizing={isResizing}\n overallConnector={overallConnector}\n rootDeviationStyle={rootDeviationStyle}\n lines={lines}\n isSideBySide={isSideBySide}\n activeSideBySideSection={activeSideBySideSection}\n isArrowVisible={isArrowVisible}\n maintainRelativeOrder={maintainRelativeOrder}\n proposedSections={proposedSections}\n existingSections={existingSections}\n cognitivePopup={cognitivePopup}\n activeBadgeId={activeBadgeId}\n closeCognitivePopup={closeCognitivePopup}\n setActiveBadgeId={setActiveBadgeId}\n openCognitivePopupFromState={openCognitivePopupFromState}\n buildSectionPopupState={buildSectionPopupState}\n connectedLines={connectedLines}\n isGuidelineMode={isGuidelineMode}\n pathRefs={pathRefs}\n />\n\n {/* ── Left Column ── */}\n <Box\n sx={{\n border: \"1px solid #E7E7E9\",\n borderRadius: \"8px\",\n bgcolor: \"#FFFFFF\",\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n zIndex: 2,\n filter: \"drop-shadow(0px 2px 4px #F2F2F2)\",\n ...(maintainRelativeOrder ? { flex: 1, overflow: \"visible\" } : {}),\n }}\n >\n <Box\n ref={leftHeaderRef}\n sx={{\n p: \"8px\",\n bgcolor: \"#F7F8FA\",\n borderBottom: \"1px solid #E7E7E9\",\n borderRadius: \"8px 8px 0 0\",\n display: \"flex\",\n alignItems: \"center\",\n minHeight: \"40px\",\n overflow: \"hidden\",\n minWidth: 0,\n }}\n >\n <Tooltip title={leftColumnTitle} placement=\"top\">\n <Typography\n sx={{\n fontSize: \"16px\",\n fontWeight: 500,\n color: \"#19213D\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n width: \"100%\",\n minWidth: 0,\n textAlign: \"center\",\n display: \"block\",\n }}\n >\n {leftColumnTitle}\n </Typography>\n </Tooltip>\n </Box>\n <Box\n ref={leftContainerRef}\n onScroll={handleColumnScroll}\n sx={{\n p: \"12px\",\n display: \"flex\",\n flexDirection: \"column\",\n ...(maintainRelativeOrder\n ? {\n maxHeight: \"calc(100vh - 250px)\",\n flex: 1,\n overflowY: \"auto\",\n overflowX: \"hidden\",\n minHeight: 0,\n mr: \"-180px\",\n pr: \"192px\",\n \"&::-webkit-scrollbar\": { display: \"none\" },\n scrollbarWidth: \"none\",\n }\n : {}),\n }}\n >\n <div ref={lhsTopSpacerRef} style={{ width: \"100%\", height: \"0px\", flexShrink: 0 }} />\n {hasSectionAccordions && leftRows}\n <div ref={lhsBottomSpacerRef} style={{ width: \"100%\", height: \"0px\", flexShrink: 0 }} />\n </Box>\n </Box>\n\n {/* ── Center Column ── */}\n <Box\n ref={summaryGapRef}\n sx={{\n width: \"180px\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n pt: \"15px\",\n gap: 0,\n zIndex: 20,\n pointerEvents: \"none\",\n }}\n >\n <Box\n sx={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n mt: 0,\n }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (cognitivePopup.open && activeBadgeId === rootDeviationId) {\n closeCognitivePopup();\n return;\n }\n setActiveBadgeId(rootDeviationId);\n openCognitivePopupFromState(\n buildSectionPopupState(\n e.currentTarget as HTMLElement,\n {\n title: baseDocName,\n content: \"\",\n evaluationResult: rootEvaluationResult,\n cognitiveData: {\n section_id: \"\",\n decisioning: [],\n gap: [],\n relevance_score: 0,\n isMissingRationale: true,\n },\n } as any,\n null,\n rootDeviationId,\n true,\n { ...rootDeviationStyle, label: \"\" },\n ),\n );\n }}\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"5px\",\n px: 1.5,\n py: \"5px\",\n // DO NOT CHANGE MAINTAINS ALIGNMENT IN DEV\n // IN LOCAL YOU WILL SEE THE ALIGNMENT MISPLACED BUT IN DEV IT IS CORRECT\n top: \"-8px\",\n borderRadius: \"20px\",\n bgcolor: rootDeviationStyle.badgeBg,\n color: rootDeviationStyle.badgeText,\n border: `1px solid ${rootDeviationStyle.badgeBorder}`,\n fontSize: \"12px\",\n fontWeight: 600,\n whiteSpace: \"nowrap\",\n position: \"relative\",\n zIndex: 1,\n pointerEvents: \"auto\",\n cursor: \"pointer\",\n }}\n >\n {rootDeviationScore ?? <ThreeDotsLoader />}\n <Box\n component=\"span\"\n sx={{\n width: 14,\n height: 14,\n display: \"flex\",\n alignItems: \"center\",\n \"& svg\": { width: \"14px\", height: \"14px\" },\n }}\n >\n <ButtonCognitiveIcon />\n </Box>\n <ChevronDown\n size={11}\n style={{\n transform:\n cognitivePopup.open && activeBadgeId === rootDeviationId\n ? \"rotate(180deg)\"\n : \"rotate(0deg)\",\n transition: \"transform 0.25s ease\",\n }}\n />\n </Box>\n </Box>\n </Box>\n\n {/* ── Right Column ── */}\n <Box\n sx={{\n border: \"1px solid #E3E6EA\",\n borderRadius: \"8px\",\n bgcolor: \"#FFFFFF\",\n boxShadow: \"0px 1px 4px #F7F4FE\",\n position: \"relative\",\n zIndex: 2,\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n ...(maintainRelativeOrder\n ? { flex: 1, overflow: \"visible\", minHeight: 0 }\n : {}),\n }}\n >\n {isSideBySideLoading && <OverlayLoader sections={11} />}\n <Box\n ref={rightHeaderRef}\n // onScroll={handleColumnScroll}\n sx={{\n p: \"8px\",\n bgcolor: isGuidelineMode ? \"#F1F3F5\" : \"#F7F8FA\",\n borderBottom: \"1px solid #D7DCE2\",\n borderRadius: \"8px 8px 0 0\",\n display: \"flex\",\n alignItems: \"center\",\n ...(maintainRelativeOrder\n ? {\n maxHeight: \"calc(100vh - 250px)\",\n // flex: 1,\n overflowY: \"auto\",\n overflowX: \"hidden\",\n minHeight: 0,\n // ml: \"-150px\",\n // pl: \"165px\",\n // ── NEW: Conditionally show scrollbar for Guidelines ──\n ...(isGuidelineMode \n ? {\n \"&::-webkit-scrollbar\": { width: \"6px\", display: \"block\" },\n \"&::-webkit-scrollbar-track\": { background: \"transparent\" },\n \"&::-webkit-scrollbar-thumb\": { background: \"#CBD5E1\", borderRadius: \"10px\" },\n \"&::-webkit-scrollbar-thumb:hover\": { background: \"#94A3B8\" },\n scrollbarWidth: \"thin\",\n scrollbarColor: \"#CBD5E1 transparent\",\n }\n : {\n \"&::-webkit-scrollbar\": { display: \"none\" },\n scrollbarWidth: \"none\",\n }),\n }\n : {}),\n }}\n >\n {isGuidelineMode ? (\n <Tabs\n value={guidelinesTab}\n onChange={(_, value) => setGuidelinesTab(value)}\n variant=\"fullWidth\"\n TabIndicatorProps={{ sx: { display: \"none\" } }}\n sx={{\n width: \"100%\",\n minHeight: \"36px\",\n \"& .MuiTab-root\": {\n minHeight: \"36px\",\n // mx: 1,\n px: 1,\n py: 0,\n borderRadius: \"8px\",\n fontSize: \"14px\",\n lineHeight: 1,\n fontWeight: 500,\n textTransform: \"none\",\n color: \"#374151\",\n minWidth: 0,\n transition: \"background-color 160ms ease, box-shadow 160ms ease\",\n },\n \"& .Mui-selected\": {\n color: \"#374151\",\n bgcolor: \"#FFFFFF\",\n // boxShadow: \"0 2px 8px rgba(15, 23, 42, 0.18)\",\n },\n }}\n >\n <Tab\n label={\n <Tooltip title={rightColumnTitle} placement=\"top\">\n <Box\n component=\"span\"\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n display: \"block\",\n width: \"100%\",\n }}\n >\n Redline Guidelines\n </Box>\n </Tooltip>\n }\n />\n {/* webGptPanel */}\n <Tab label={\n <Tooltip title={'Web & GPT Sources'} placement=\"top\">\n <Box\n component=\"span\"\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n display: \"block\",\n width: \"100%\",\n }}\n >\n Web & GPT Sources\n </Box>\n </Tooltip>\n } />\n </Tabs>\n ) : (\n <Tooltip title={rightColumnTitle} placement=\"top\">\n <Typography\n sx={{\n fontSize: \"16px\",\n fontWeight: 500,\n color: \"#5928ED\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n width: \"100%\",\n minWidth: 0,\n textAlign: \"center\",\n display: \"block\",\n }}\n >\n {rightColumnTitle}\n </Typography>\n </Tooltip>\n )}\n </Box>\n <Box\n ref={rightContainerRef}\n onScroll={handleColumnScroll}\n sx={{\n p: isGuidelineMode ? \"0px\" : \"12px\",\n display: \"flex\",\n flexDirection: \"column\",\n ...(maintainRelativeOrder\n ? {\n maxHeight: \"calc(100vh - 250px)\",\n ...(!isGuidelineMode && { flex: 1 }),\n overflowY: \"auto\",\n overflowX: \"hidden\",\n minHeight: 0,\n // CHANGE THESE TWO VALUES WHEN INCREASING OR DECREASING THE GAP OF BOTH THE COLUMNS\n ml: \"-150px\",\n pl: \"165px\",\n \"&::-webkit-scrollbar\": { display: \"none\" },\n scrollbarWidth: \"none\",\n }\n : {}),\n }}\n >\n <div\n ref={rhsTopSpacerRef}\n style={{ width: \"100%\", height: \"0px\", flexShrink: 0 }}\n />\n \n {/* ── NEW RENDERING LOGIC ── */}\n {isGuidelineMode ? (\n guidelinesTab === 0 ? (\n <GuidelinePanel \n guidelinesData={guidelinesData}\n deviationData={deviationData}\n connectedSections={connectedSections}\n proposedSections={proposedSections} \n />\n ) : (\n <WebGptPanel\n deviationData={deviationData}\n connectedSections={connectedSections}\n proposedSections={proposedSections} \n />\n )\n ) : (\n hasSectionAccordions && rightRows\n )}\n\n <div\n ref={rhsBottomSpacerRef}\n style={{ width: \"100%\", height: \"0px\", flexShrink: 0 }}\n />\n </Box>\n </Box>\n </Box>\n </Box>\n </Box>\n </Box>\n </CompareContextProvider>\n );\n};\n\nexport { SHARED_MARKDOWN_STYLES };\nexport default CognitiveCompare;\n"],"names":["CognitiveCompare","componentHeaderText","DEFAULT_COMPONENT_HEADER_TEXT","treeData","comparisonConfig","leftColumnTitleText","rightColumnTitleText","markdownStyles","resetTrigger","displayConfig","isHeaderVisible","isToggleVisible","maintainRelativeOrder","isLoading","showDeviationBadges","enableDeviationSchemaBackwardCompatibility","displayEmailNotifier","isStreamingEnabled","onMaintainRelativeOrderChange","popupConfig","deviationData","deviationNodeIdToView","resetDeviationNodeId","isProposingFix","proposingFixNodeId","isRedlineFlow","badgeStyleOverride","guidelinesData","gptWebCitationConfig","setMaintainRelativeOrder","useState","expandLevels","shouldExpandAll","expandAllSections","shouldShowDeviationBadges","isToggling","setIsToggling","errorToast","setErrorToast","isDeviationBackwardCompatible","newEvaluationResult","connectedSections","setConnectedSections","Set","connectedLines","setConnectedLines","scrollSyncLocked","setScrollSyncLocked","guidelinesTab","setGuidelinesTab","svgContainerRef","useRef","containerRef","leftHeaderRef","rightHeaderRef","pendingClauseScrollRef","isAnimatingRef","animationTimerRef","pathRefs","cachedConnectedPositions","calculateLinesRef","resizeTimerRef","handleResizeRef","stableDeviationDataStr","useMemo","JSON","stringify","stableDeviationData","cognitiveMap","cognitive_decisioning","resolvedMarkdownStyles","SHARED_MARKDOWN_STYLES","scrollContainerRef","ruleComponentRef","rightContainerRef","rhsTopSpacerRef","rhsBottomSpacerRef","lhsTopSpacerRef","lhsBottomSpacerRef","leftContainerRef","pendingScrollTargetRef","pendingScrollCallbackRef","cognitivePopup","setCognitivePopup","moreFunctions","setMoreFunctions","position","setPosition","activeBadgeId","summaryPopup","setSummaryPopup","closeSummaryPopup","setActiveBadgeId","popupRef","handleOpenCognitiveCompare","openCognitivePopupFromState","closeCognitivePopup","closeMoreFunctionsPopup","useComparePopups","resolvedComparisonConfig","fields","DEFAULT_FIELD_CONFIG","thresholds","high","DEFAULT_COMPARISON_CONFIG","medium","exact","localHighlightField","setLocalHighlightField","jsonLeftTitle","documents","input_index_map","title","jsonRightTitle","leftColumnTitle","safeStringify","jsonLeftTitleTrimmed","metadata","file_name","leftTitleTrimmed","jsonRightTitleTrimmed","rightTitleTrimmed","rightColumnTitle","isGuidelineMode","activeProposed","existingRule","proposedSections","existingSections","visibleFields","parentDeviationRecord","deviationNumberRegistry","deviationParentRegistry","parseError","useCognitiveTreeData","useEffect","hasSectionAccordions","length","redlineLayoutSignature","count","totalLen","walk","sections","Array","isArray","forEach","section","content","hasMeaningfulRedlineTags","String","subsections","nextSections","nextSubSections","expandAll","side","sec","idx","key","expandSubsRecursively","parentPath","sub","subIdx","subPath","setExpandedSections","setExpandedSubSections","expandToDepth","maxDepth","expandSubsToDepth","currentDepth","leftRefs","rightRefs","sectionLeftRefs","sectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRightRowRefs","subSectionLeftRefs","subSectionRightRefs","sectionRowRefs","getSectionRowRef","getSubSectionRef","getBadgeRef","useSectionRefs","map","Math","max","isSideBySide","isArrowVisible","setIsSideBySide","setIsArrowVisible","isResizing","setIsResizing","isSideBySideLoading","setIsSideBySideLoading","activeSideBySideSection","setActiveSideBySideSection","scrollLock","sideBySideCacheRef","isSideBySideRef","activeSideBySideRightSectionRef","activeSideBySideSectionRef","sideBySideLineRef","highlightedClauseRefs","clearClauseHighlight","applyAlignmentPadding","resetSideBySide","activateSideBySide","useSideBySide","activateSideBySideRef","current","expandedSections","expandedSubSections","handleSubSectionToggle","toggleSection","forceExpandCrossWiredSections","useAccordionState","alignActiveSections","leftEl","rightEl","rightContainer","leftRect","getBoundingClientRect","rightRect","containerRect","desiredTopInsideContainer","top","delta","scrollBy","behavior","toggleScrollSyncLocked","useCallback","e","stopPropagation","prev","nextLocked","requestAnimationFrame","unifiedNumbering","leftNums","Map","rightNums","counter","id","set","mappedLhs","filter","l","refIndexes","includes","selfIndex","nums","get","Boolean","join","maxLen","i","leftSec","rightSec","analysisData","analysis","overallSummaryRaw","rule_difference_comparison","summary","overall_summary","hasReasoning","match","rootDeviationId","base_root_id","rootEvaluationResult","evaluation_result","nodes","rootDeviationScore","extractDeviationScore","rootDeviationStyle","generateColorPalette","evaluation_outputs","label_color","DEFAULT_DEVIAION_COLOR","override","badgeBg","bg","badgeText","text","badgeBorder","border","resetSideBySideRef","closeCognitivePopupRef","openMoreFunctionsPopupStable","baseSec","isOrphan","refSec","style","openMoreFunctionsPopupRef","handleOpenSummaryPopupStable","actionId","displayImpact","handleOpenSummaryPopupRef","handleCloseSummaryPopupStable","handleCloseSummaryPopupRef","toggleSectionStable","columnKey","toggleSectionRef","handleSubSectionToggleStable","keyPath","handleSubSectionToggleRef","renderSubSectionAccordionStable","args","renderSubSectionAccordionRef","resetSideBySideStable","resetSideBySideContextRef","resetAll","setLines","setOverallConnector","EMPTY_SUMMARY_POPUP_STATE","resetAllRef","stableDocData","baseDocName","setBaseDocName","treeDataRef","baseId","baseContractName","cognitiveMapRef","buildSectionPopupState","anchorEl","sectionIdx","rootNode","sectionId","cogData","cognitiveData","section_id","decisioning","gap","relevance_score","sectionRowEl","resolvedDeviationData","fallbackEval","evaluationResult","mergeWithFallbackEntry","firstEntry","fromEntries","deviation_entries","firstEntryKey","Object","keys","sort","a","b","Number","numericKeys","k","test","fromDeviations","deviations","firstDeviationKey","getFirstDeviationEntry","deviation_summary","deviation_title","deviation_impact","deviation_explanation","DEVIATION_BADGE_SEPARATOR","devKey","split","deviationEntry","getDeviationDataForBadge","hasDeviationContent","decisioning_factors","gaps_in_decision","globallyLoading","hasGuidelineMatches","devHighlights","deviation_highlights","values","some","highlightArray","open","sectionTitle","refSectionTitle","sectionAnchorEl","badgeStyle","docData","openMoreFunctionsPopup","initialAnchor","currentTarget","sourceSide","contains","handleCloseSummaryPopup","freshAnchor","parts","refId","getFreshAnchor","handleConnect","getGuidelineTabFromId","has","setTimeout","executePendingClauseScroll","nodeId","leftSectionIdx","findIndex","s","rightSectionIdx","leftKeyPath","findKeyPathByNodeId","rightKeyPath","parentLeftIdx","parentRightIdx","resolveEl","sideRefs","subSideRefs","scrollWhenReady","getEl","container","maxAttempts","attempts","tryScroll","el","height","add","scrollAndHighlightClause","scrollToClauseAndHighlightClause","console","warn","next","changed","expandPath","path","executePendingClauseScrollRef","summaryGapRef","cfg","find","f","analysisKey","targetRef","scrollIntoView","block","getFieldData","score","relation","highlightsA","highlightsB","hasContent","field","hasActualContent","highlights","ruleA_spans","ruleB_spans","mappings","mapping","getSectionCompareStyle","getSubSectionCompareStyle","getDeviationStyleByKey","useStyleHelpers","lines","overallConnector","svgDimensions","calculateLines","calculateLinesDebounced","handleColumnScroll","useLinesCalculator","handleCollapseAll","size","isAnySectionExpanded","timerRef","prevRootWidthRef","prevScrollWidthRef","prevContainerWidthRef","handleResize","useResizeHandler","makeWidthObserver","prevWidthRef","rafRef","onWidthChange","onNoChange","width","observer","ResizeObserver","entries","cancelAnimationFrame","entry","newWidth","borderBoxSize","inlineSize","contentRect","abs","observe","rootRafRef","scrollRafRef","containerRafRef","observers","rafRefs","push","o","disconnect","r","identifier","nId","dKey","res","node","parseInt","guideline_flag","rulebook_used","alignStraightLines","targets","document","querySelectorAll","lContainer","rContainer","isSub","lRect","rRect","lContRect","rContRect","lContentY","scrollTop","rContentY","idealLTargetScroll","lTargetScroll","lMaxScrollRaw","scrollHeight","clientHeight","lBottomSpacer","finalScreenY","rTargetScroll","rTopSpacer","rMaxScrollWithTop","rBottomSpacer","scrollTo","handleOpenSideBySide","onReady","isCurrentSectionConnected","showDeviationNavigation","showOpenNodeRef","adjustScrollForPopup","useDeviationNavigation","handleOpenSummaryPopup","summaryText","trim","window","innerHeight","toggleIfSame","rect","offsetToCenter","deviationTargetParentId","targetNodeId","lastDeviationTriggerRef","triggerMs","clearedForDeviationId","trigger","lastTrigger","targetIdx","requestedDeviationKeyRaw","requestedDeviationKey","requestKey","cancelled","timer","layoutWatcherCleanup","expansionDone","findKeyPath","targetIds","contentId","found","tryConnect","markProcessed","targetParentId","targetChild","child","from","lhsNodeIdx","rhsNodeIdx","isRhsOrphan","rhsIdx","rhsSelfIndex","rhsArrayIdx","slice","effectiveRightSectionIdx","isLeftEmpty","isRightEmpty","shouldNavigateRight","expandedSectionsRef","safeLeftPath","safeRightPath","refIdCandidates","fallbackRefId","getMountedBadges","candidateRefId","left","right","buildActionId","getTargetElement","getElement","onStable","rafId","stableFrames","lastTop","lastHeight","startedAt","performance","now","check","topStable","heightStable","waitForStableLayout","leftElement","rightElement","useRightTarget","targetElement","scrollContainer","elementRect","targetTop","isTargetSub","onScrollComplete","async","boxShadowColor","Element","getComputedStyle","color","transition","boxShadow","deviationMap","evalOutputs","freshElement","skipScroll","waitWithTimeout","p","ms","Promise","race","all","waitForScrollIdle","resolve","freshLeft","freshRight","scrollMarginTop","scrollAndWait","anchor","isConnected","findRefIdByContent","refs","ref","textContent","dataset","deviationRefId","cognitivePopupOpen","cognitivePopupSectionIdx","cognitivePopupIsOrphan","cognitivePopupBadgeStyle","cognitivePopupAnchorEl","cognitivePopupSectionAnchorEl","findNodeRecursively","targetId","baseSecById","refSecById","refreshedPopup","renderSubSectionAccordion","depth","parentNodeId","sectionOffset","rhsOrphanVisualIndexes","jsx","SubSectionAccordion","leftRows","isEmpty","LHSSectionRow","layoutKey","rightRows","RHSSectionRow","compareContextValue","summaryPopupAnchorEl","openSummaryPopup","cognitivePopupLeftTitle","cognitivePopupRightTitle","CompareContextProvider","value","children","jsxs","Box","sx","display","flexDirection","bgcolor","fontFamily","overflow","inset","backdropFilter","zIndex","alignItems","justifyContent","borderRadius","BouncingDotsLoader","CognitiveSummaryPopup","containerEl","clipTopEl","scrollContainerEl","onClose","isScrollLocked","MoreFunctionsPopup","referenceSectionTitle","onOpenCognitiveCompare","onOpenSideBySide","onConnect","CognitivePopup","Snackbar","autoHideDuration","anchorOrigin","vertical","horizontal","Alert","severity","whiteSpace","CompareHeader","onCollapseAll","showCollapseAll","onToggleView","isDefaultView","onScroll","flex","minHeight","pt","pb","px","overflowY","borderTop","maxWidth","gridTemplateColumns","SvgConnectors","borderBottom","minWidth","Tooltip","placement","Typography","fontSize","fontWeight","textOverflow","textAlign","maxHeight","overflowX","mr","pr","scrollbarWidth","flexShrink","pointerEvents","mt","onClick","isMissingRationale","label","py","cursor","ThreeDotsLoader","component","ButtonCognitiveIcon","ChevronDown","transform","OverlayLoader","background","scrollbarColor","Tabs","onChange","_","variant","TabIndicatorProps","lineHeight","textTransform","Tab","ml","pl","GuidelinePanel","WebGptPanel"],"mappings":"8oEAuFA,MAAMA,GAAmB,EACvBC,uBAAsBC,EACtBC,YACAC,oBACAC,uBACAC,wBACAC,kBACAC,gBACAC,iBAAgB,CACdC,iBAAiB,EACjBC,iBAAiB,EACjBC,uBAAuB,EACvBC,WAAW,EACXC,qBAAqB,EACrBC,4CAA4C,EAC5CC,sBAAsB,EACtBC,oBAAoB,GAEtBC,iCACAC,eACAC,iBAAgB,CAAC,EACjBC,yBACAC,wBACAC,mBAAiB,EACjBC,sBACAC,iBACAC,sBACAC,kBACAC,4BAEA,MAAOhB,GAAuBiB,IAA4BC,EAASrB,GAAcG,uBAC3EmB,GAAetB,IAAesB,cAAgB,EAC9CC,KAAoBvB,IAAewB,kBACnCC,KACFt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,CACAgtB,UAAW,0BACNjmB,IAAmB,CAAE8kB,KAAM,GAChCK,UAAW,OACXe,UAAW,SACXnB,UAAW,EAEX+C,GAAI,SACJC,GAAI,QACJ,uBAAwB,CAAEvF,QAAS,QACnC6D,eAAgB,QAEhB,CAAC,GAGPjE,SAAA,CAAAf,EAAC,MAAA,CACCpB,IAAKjjB,GACLsN,MAAO,CAAEqL,MAAO,OAAQzD,OAAQ,MAAOoU,WAAY,KAIpDtmB,GACmB,IAAlB3E,GACEgmB,EAAC2G,EAAA,CACChuB,kBACAP,iBACAqB,qBACAqF,sBAGFkhB,EAAC4G,EAAA,CACCxuB,iBACAqB,qBACAqF,sBAIJS,IAAwB+gB,GAG1BN,EAAC,MAAA,CACCpB,IAAKhjB,GACLqN,MAAO,CAAEqL,MAAO,OAAQzD,OAAQ,MAAOoU,WAAY"}
@@ -1,2 +1,2 @@
1
- var e=[{key:"title",label:"Title",analysisKey:"title"},{key:"description",label:"Description",analysisKey:"description"}],i={fields:e,thresholds:{exact:90,high:70,medium:40}},t={fontSize:"13px",color:"#0B0E1A",lineHeight:1.4,wordBreak:"break-word",overflowWrap:"break-word",overflow:"hidden","& p":{mt:0,mb:1.5},"& p:last-child":{mb:0},"& ul":{mt:0,mb:1.5,pl:2.5,listStyleType:"disc"},"& ol":{mt:0,mb:1.5,pl:2.5,listStyleType:"decimal"},"& li":{mb:.5},"& strong":{fontWeight:600},"& code":{whiteSpace:"pre-wrap",wordBreak:"break-word"}},a={tabs:{deviation:{key:"deviation",label:"Deviation Analysis",subtitle:"Why this is a deviation?",placeholderTitle:"Deviation Analysis",placeholderBody:"Deviation analysis content will appear here..."},association:{key:"association",label:"Association Logic",subtitle:"Why these sections are paired?"}},decisionStrengthLabel:"Decision Strength",sectionTitles:{decisioningFactors:"Decision Making Factors",gaps:"Gaps in Decision"},emptyStateMessage:"No cognitive decisioning data available for this section.",accentColor:"#5928ED"};export{i as DEFAULT_COMPARISON_CONFIG,e as DEFAULT_FIELD_CONFIG,a as DEFAULT_POPUP_CONFIG,t as SHARED_MARKDOWN_STYLES};
1
+ const e=[{key:"title",label:"Title",analysisKey:"title"},{key:"description",label:"Description",analysisKey:"description"}],i={fields:e,thresholds:{exact:90,high:70,medium:40}},t={fontSize:"13px",color:"#0B0E1A",lineHeight:1.4,wordBreak:"break-word",overflowWrap:"break-word",overflow:"hidden","& p":{mt:0,mb:1.5},"& p:last-child":{mb:0},"& ul":{mt:0,mb:1.5,pl:2.5,listStyleType:"disc"},"& ol":{mt:0,mb:1.5,pl:2.5,listStyleType:"decimal"},"& li":{mb:.5},"& strong":{fontWeight:600},"& code":{whiteSpace:"pre-wrap",wordBreak:"break-word"}},a={tabs:{deviation:{key:"deviation",label:"Deviation Analysis",subtitle:"Why this is a deviation?",placeholderTitle:"Deviation Analysis",placeholderBody:"Deviation analysis content will appear here..."},association:{key:"association",label:"Association Logic",subtitle:"Why these sections are paired?"}},decisionStrengthLabel:"Decision Strength",sectionTitles:{decisioningFactors:"Decision Making Factors",gaps:"Gaps in Decision"},emptyStateMessage:"No cognitive decisioning data available for this section.",accentColor:"#5928ED"};export{i as DEFAULT_COMPARISON_CONFIG,e as DEFAULT_FIELD_CONFIG,a as DEFAULT_POPUP_CONFIG,t as SHARED_MARKDOWN_STYLES};
2
2
  //# sourceMappingURL=CognitiveCompareConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveCompareConfig.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveCompareConfig.js","sources":["../../../src/features/CognitiveCompare/CognitiveCompareConfig.ts"],"sourcesContent":["import { ComparisonConfig, FieldConfigItem } from \"./CognitiveCompareTypes\";\n\nexport const DEFAULT_FIELD_CONFIG: FieldConfigItem[] = [\n { key: \"title\", label: \"Title\", analysisKey: \"title\" },\n { key: \"description\", label: \"Description\", analysisKey: \"description\" },\n];\nexport const DEFAULT_COMPARISON_CONFIG: ComparisonConfig = {\n fields: DEFAULT_FIELD_CONFIG,\n thresholds: { exact: 90, high: 70, medium: 40 },\n // relationStyles: {\n // noContent: {\n // bg: \"#FFFFFF\",\n // border: \"#E2E8F0\",\n // badgeBg: \"#F8FAFC\",\n // badgeBorder: \"#F1F5F9\",\n // badgeText: \"#64748B\",\n // highlightBg: \"transparent\",\n // },\n // exact: {\n // bg: \"#FFF1F2\",\n // border: \"#FECDD3\",\n // badgeBg: \"#FFE4E6\",\n // badgeBorder: \"#FEE2E2\",\n // badgeText: \"#9F1239\",\n // highlightBg: \"#FECDD3\",\n // },\n // high: {\n // bg: \"#FFF5F5\",\n // border: \"#FECACA\",\n // badgeBg: \"#FEECEC\",\n // badgeBorder: \"#F8C2C2\",\n // badgeText: \"#B42318\",\n // highlightBg: \"#FDD5D5\",\n // },\n // medium: {\n // bg: \"#FFFCF6\",\n // border: \"#FFDD80\",\n // badgeBg: \"#FEF9C3\",\n // badgeBorder: \"#FEF08A\",\n // badgeText: \"#A16207\",\n // highlightBg: \"#FDDEB3\",\n // },\n // low: {\n // bg: \"#F5F9FF\",\n // border: \"#CFE0FF\",\n // badgeBg: \"#EEF4FF\",\n // badgeBorder: \"#BFD3FF\",\n // badgeText: \"#1D4ED8\",\n // highlightBg: \"#DCEAFF\",\n // },\n // },\n};\n\n\n// Normalizes any value into a safe string so UI rendering never crashes on null/objects/arrays.\n// export const SHARED_MARKDOWN_STYLES = {\n// fontSize: \"13px\",\n// color: \"#0B0E1A\",\n// lineHeight: 1.4,\n// wordBreak: \"break-word\",\n// overflowWrap: \"break-word\",\n// overflow: \"hidden\",\n// \"& p\": { mt: 0, mb: 1.5 },\n// \"& p:last-child\": { mb: 0 },\n// \"& ul, & ol\": { mt: 0, mb: 1.5, pl: 2.5 },\n// \"& li\": { mb: 0.5 },\n// \"& strong\": { fontWeight: 600 },\n// \"& code\": { whiteSpace: \"pre-wrap\", wordBreak: \"break-word\" },\n// };\n\nexport const SHARED_MARKDOWN_STYLES = {\n fontSize: \"13px\",\n color: \"#0B0E1A\",\n lineHeight: 1.4,\n wordBreak: \"break-word\",\n overflowWrap: \"break-word\",\n overflow: \"hidden\",\n \"& p\": { mt: 0, mb: 1.5 },\n \"& p:last-child\": { mb: 0 },\n \"& ul\": { mt: 0, mb: 1.5, pl: 2.5, listStyleType: \"disc\" },\n \"& ol\": { mt: 0, mb: 1.5, pl: 2.5, listStyleType: \"decimal\" },\n \"& li\": { mb: 0.5 },\n \"& strong\": { fontWeight: 600 },\n \"& code\": { whiteSpace: \"pre-wrap\", wordBreak: \"break-word\" },\n};\n\n// Add this to your existing CognitiveCompareConfig.ts\n\nexport const DEFAULT_POPUP_CONFIG = {\n tabs: {\n deviation: {\n key: \"deviation\",\n label: \"Deviation Analysis\",\n subtitle: \"Why this is a deviation?\",\n placeholderTitle: \"Deviation Analysis\",\n placeholderBody: \"Deviation analysis content will appear here...\",\n },\n association: {\n key: \"association\",\n label: \"Association Logic\",\n subtitle: \"Why these sections are paired?\",\n },\n },\n decisionStrengthLabel: \"Decision Strength\",\n sectionTitles: {\n decisioningFactors: \"Decision Making Factors\",\n gaps: \"Gaps in Decision\",\n },\n emptyStateMessage: \"No cognitive decisioning data available for this section.\",\n accentColor: \"#5928ED\",\n};"],"names":["DEFAULT_FIELD_CONFIG","key","label","analysisKey","DEFAULT_COMPARISON_CONFIG","fields","thresholds","exact","high","medium","SHARED_MARKDOWN_STYLES","fontSize","color","lineHeight","wordBreak","overflowWrap","overflow","mt","mb","pl","listStyleType","fontWeight","whiteSpace","DEFAULT_POPUP_CONFIG","tabs","deviation","subtitle","placeholderTitle","placeholderBody","association","decisionStrengthLabel","sectionTitles","decisioningFactors","gaps","emptyStateMessage","accentColor"],"mappings":"AAEO,MAAMA,EAA0C,CACrD,CAAEC,IAAK,QAASC,MAAO,QAASC,YAAa,SAC7C,CAAEF,IAAK,cAAeC,MAAO,cAAeC,YAAa,gBAE9CC,EAA8C,CACzDC,OAAQL,EACRM,WAAY,CAAEC,MAAO,GAAIC,KAAM,GAAIC,OAAQ,KA8DhCC,EAAyB,CACpCC,SAAU,OACVC,MAAO,UACPC,WAAY,IACZC,UAAW,aACXC,aAAc,aACdC,SAAU,SACV,MAAO,CAAEC,GAAI,EAAGC,GAAI,KACpB,iBAAkB,CAAEA,GAAI,GACxB,OAAQ,CAAED,GAAI,EAAGC,GAAI,IAAKC,GAAI,IAAKC,cAAe,QAClD,OAAQ,CAAEH,GAAI,EAAGC,GAAI,IAAKC,GAAI,IAAKC,cAAe,WAClD,OAAQ,CAAEF,GAAI,IACd,WAAY,CAAEG,WAAY,KAC1B,SAAU,CAAEC,WAAY,WAAYR,UAAW,eAKpCS,EAAuB,CAClCC,KAAM,CACJC,UAAW,CACTxB,IAAK,YACLC,MAAO,qBACPwB,SAAU,2BACVC,iBAAkB,qBAClBC,gBAAiB,kDAEnBC,YAAa,CACX5B,IAAK,cACLC,MAAO,oBACPwB,SAAU,mCAGdI,sBAAuB,oBACvBC,cAAe,CACbC,mBAAoB,0BACpBC,KAAM,oBAERC,kBAAmB,4DACnBC,YAAa"}
@@ -1,2 +1,2 @@
1
- var l="#3730A3",n=12,a=680,o=12,t=10,e="Contract Comparison",i={isLoading:!1,open:!1,sectionTitle:"",refSectionTitle:"",cognitiveData:null,anchorEl:null,sectionAnchorEl:null,badgeStyle:null,sectionIdx:null,isOrphan:!1,docData:null,deviationData:null},c={open:!1,anchorEl:null,summary:"",markdownStyles:{},displayImpact:!1};export{t as ARROW_SIZE,e as DEFAULT_COMPONENT_HEADER_TEXT,l as DEFAULT_DEVIAION_COLOR,i as EMPTY_SECTION_POPUP_STATE,c as EMPTY_SUMMARY_POPUP_STATE,n as POPUP_GAP,a as POPUP_WIDTH,o as VIEWPORT_MARGIN};
1
+ const n="#3730A3",l=12,o=680,a=12,t=10,e="Contract Comparison",i={isLoading:!1,open:!1,sectionTitle:"",refSectionTitle:"",cognitiveData:null,anchorEl:null,sectionAnchorEl:null,badgeStyle:null,sectionIdx:null,isOrphan:!1,docData:null,deviationData:null},c={open:!1,anchorEl:null,summary:"",markdownStyles:{},displayImpact:!1};export{t as ARROW_SIZE,e as DEFAULT_COMPONENT_HEADER_TEXT,n as DEFAULT_DEVIAION_COLOR,i as EMPTY_SECTION_POPUP_STATE,c as EMPTY_SUMMARY_POPUP_STATE,l as POPUP_GAP,o as POPUP_WIDTH,a as VIEWPORT_MARGIN};
2
2
  //# sourceMappingURL=CognitiveCompareConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveCompareConstants.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveCompareConstants.js","sources":["../../../src/features/CognitiveCompare/CognitiveCompareConstants.ts"],"sourcesContent":["import { RuleData, SectionPopupState, SummaryPopupState } from \"./CognitiveCompareTypes\";\n\nexport const DEFAULT_DEVIAION_COLOR = \"#3730A3\";\n\nexport const POPUP_GAP = 12;\nexport const POPUP_WIDTH = 680;\nexport const VIEWPORT_MARGIN = 12;\nexport const ARROW_SIZE = 10;\n\n\nexport const DEFAULT_RULE_FALLBACK: RuleData = { id: \"\", title: \"\" };\nexport const DEFAULT_COMPONENT_HEADER_TEXT = \"Contract Comparison\";\nexport const EMPTY_SECTION_POPUP_STATE: SectionPopupState = {\n isLoading: false,\n open: false,\n sectionTitle: \"\",\n refSectionTitle: \"\",\n cognitiveData: null,\n anchorEl: null,\n sectionAnchorEl: null,\n badgeStyle: null,\n sectionIdx: null,\n isOrphan: false,\n docData: null,\n deviationData: null\n};\n\nexport const EMPTY_SUMMARY_POPUP_STATE:SummaryPopupState = {\n open: false,\n anchorEl: null,\n summary: \"\",\n markdownStyles: {},\n displayImpact: false,\n}"],"names":["DEFAULT_DEVIAION_COLOR","POPUP_GAP","POPUP_WIDTH","VIEWPORT_MARGIN","ARROW_SIZE","DEFAULT_COMPONENT_HEADER_TEXT","EMPTY_SECTION_POPUP_STATE","isLoading","open","sectionTitle","refSectionTitle","cognitiveData","anchorEl","sectionAnchorEl","badgeStyle","sectionIdx","isOrphan","docData","deviationData","EMPTY_SUMMARY_POPUP_STATE","summary","markdownStyles","displayImpact"],"mappings":"AAEO,MAAMA,EAAyB,UAEzBC,EAAY,GACZC,EAAc,IACdC,EAAkB,GAClBC,EAAa,GAIbC,EAAgC,sBAChCC,EAA+C,CAC1DC,WAAW,EACXC,MAAM,EACNC,aAAc,GACdC,gBAAiB,GACjBC,cAAe,KACfC,SAAU,KACVC,gBAAiB,KACjBC,WAAY,KACZC,WAAY,KACZC,UAAU,EACVC,QAAS,KACTC,cAAe,MAGJC,EAA8C,CACzDX,MAAM,EACNI,SAAU,KACVQ,QAAS,GACTC,eAAgB,CAAC,EACjBC,eAAe"}
@@ -1,2 +1,2 @@
1
- import{DEFAULT_DEVIAION_COLOR as n}from"./CognitiveCompareConstants.js";var t=function(n){return null==n?"":"string"==typeof n?n:Array.isArray(n)?n.map(t).join("\n\n"):"object"==typeof n?JSON.stringify(n):String(n)},e=function(n){return null!=n&&("string"==typeof n?n.trim().length>0:!Array.isArray(n)||n.length>0&&n.some(function(n){return e(n)}))},o=function(n){for(var t=n+1,e="";t>0;){t-=1;e=String.fromCharCode(97+t%26)+e,t=Math.floor(t/26)}return e},r=function(n){var t=n.section,e=n.proposedSections,r=n.leftNums,i=n.fallbackNumber,u=n.firstOnly,l=void 0!==u&&u;if(!(null==t?void 0:t.id))return i;var a=(e||[]).map(function(n){var e=Array.isArray(null==n?void 0:n.refIndexes)?n.refIndexes:[],i=e.findIndex(function(n){return n===t.selfIndex});if(-1===i)return null;var u=(null==n?void 0:n.id)?r.get(n.id):void 0;return null==u?null:e.length>1?"".concat(u).concat(o(i)):String(u)}).filter(Boolean);return 0===a.length?i:l?a[0]:a.join(", ")},i=function(n,t){return null!=(null==n?void 0:n.selfIndex)&&1===(t||[]).filter(function(t){return Array.isArray(null==t?void 0:t.refIndexes)&&t.refIndexes.includes(n.selfIndex)}).length},u=function(n,t,e,o){var r;void 0===o&&(o={});var i=e[t],u=null===(r=null==n?void 0:n.comparison_inputs)||void 0===r?void 0:r[i];return u?(Array.isArray(u)?u:[u]).map(function(n,t){if(n&&"string"==typeof n&&n.trim()){var e=o[n];return e&&"object"==typeof e&&e?{contentId:n,data:e,attributes:e.additional_attributes||{}}:null}return n&&"object"==typeof n?{contentId:n.content_id||n.id||"".concat(i,"-direct-").concat(t),data:n,attributes:n.additional_attributes||{}}:null}).filter(Boolean):[]},l=function(n,e,o,r){var i,l,a;void 0===r&&(r={});var s=u(n,e,o,r),c=(null===(i=s[0])||void 0===i?void 0:i.data)||{},d=(null===(l=s[0])||void 0===l?void 0:l.attributes)||null;return{title:t((null==c?void 0:c.title)||""),content:t((null==c?void 0:c.content)||""),change_history:t((null==c?void 0:c.change_history)||""),attributes:d,subsections:(null==c?void 0:c.subsections)||[],contentId:null===(a=s[0])||void 0===a?void 0:a.contentId,allItems:s}},a=function(n){if(!n.mapping_rationale)return{cognitiveData:{decisioning:[],gap:[],relevance_score:0,isMissingRationale:!0,citations:[]},score:0,relation:"N/A"};var t=n.mapping_rationale,e=parseInt(t.decision_strength||"0");return{cognitiveData:{decisioning:t.decisioning_factors||[],gap:t.gaps_in_decision||[],relevance_score:e,citations:t.citations},score:0,relation:"N/A"}};function s(n){var t=function(n,t){var e=function(n){var t=function(n){return 4===n.length?"#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]:n}(n).replace("#",""),e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:255&e}}(n),o=e.r,r=e.g,i=e.b;return function(n,t,e){return"#"+[n,t,e].map(function(n){return n.toString(16).padStart(2,"0")}).join("").toUpperCase()}(Math.round(o+(255-o)*t),Math.round(r+(255-r)*t),Math.round(i+(255-i)*t))};return{bg:t(n,.8),border:t(n,.5),badgeBg:t(n,.8),badgeBorder:t(n,.5),badgeText:n.toUpperCase(),highlightBg:t(n,.8)}}function c(n,t){var e;return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=this;clearTimeout(e),e=setTimeout(function(){return n.apply(i,o)},t)}}var d=function(n,t){var e,o,r,i,u,l;if(n.content!==t.content)return!1;if(n.overlayContent!==t.overlayContent)return!1;if(n.sxStyles!==t.sxStyles)return!1;if(n.maintainRelativeOrder!==t.maintainRelativeOrder)return!1;if(n.highlightBg!==t.highlightBg)return!1;if(n.suppressHighlightBg!==t.suppressHighlightBg)return!1;if(n.collisionKey!==t.collisionKey)return!1;var a=n.highlights||[],s=t.highlights||[];if(a.length!==s.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!==s[c])return!1;var d=n.deviationBadges||[],v=t.deviationBadges||[];if(d.length!==v.length)return!1;for(c=0;c<d.length;c++){if(d[c].id!==v[c].id)return!1;if(d[c].actionId!==v[c].actionId)return!1;if(d[c].label!==v[c].label)return!1;if(d[c].score!==v[c].score)return!1;if(d[c].isOrphan!==v[c].isOrphan)return!1;if(d[c].isConnected!==v[c].isConnected)return!1;if(d[c].showScrollLockToggle!==v[c].showScrollLockToggle)return!1;if(d[c].scrollSyncLocked!==v[c].scrollSyncLocked)return!1;if((null===(e=d[c].style)||void 0===e?void 0:e.badgeBg)!==(null===(o=v[c].style)||void 0===o?void 0:o.badgeBg))return!1;if((null===(r=d[c].style)||void 0===r?void 0:r.badgeBorder)!==(null===(i=v[c].style)||void 0===i?void 0:i.badgeBorder))return!1;if((null===(u=d[c].style)||void 0===u?void 0:u.badgeText)!==(null===(l=v[c].style)||void 0===l?void 0:l.badgeText))return!1}return!0},v="::",f=function(n){if(!n)return!0;var t=n.trim().toLowerCase();return t.includes("no equivalent")||"n/a"===t||"na"===t||"none"===t},g=function(n){var t;if("string"!=typeof n||!n)return!1;for(var e=/<(updated|deleted|changed|change)\b[^>]*>([\s\S]*?)<\/\1>/gi,o=null;null!==(o=e.exec(n));){if((null!==(t=o[2])&&void 0!==t?t:"").replace(/<[^>]*>/g,"").trim().length>0)return!0}return!1},h=function(n){return"string"==typeof n&&n?n.replace(/<\/?(updated|deleted|changed|change)\b[^>]*>/gi,""):""},p=function(n,e,o){var r=new Map;if(!e)return r;var i=function(n){var e=g(n)?h(n):t(n||"");return t(e).replace(/\\n/g,"\n")};return(n||[]).forEach(function(n){var t=new Map,u=function(n){var r;if(n){var l=i(n.content);((null===(r=n.evaluationResults)||void 0===r?void 0:r.length)?n.evaluationResults:n.evaluationResult?[n.evaluationResult]:[]).forEach(function(r){var u=(null==r?void 0:r.nodeId)||n.nodeId||n.id;Object.entries((null==r?void 0:r.deviations)||{}).forEach(function(n){var r=n[0],a=n[1][e],s=i(a);if(s&&!f(a)&&l.includes(s)){var c="".concat(u).concat("::").concat(r),d=o[c];null!=d&&t.set(c,d)}})}),(n.subsections||[]).forEach(u)}};if(u(n),0!==t.size){var l=Math.min.apply(Math,Array.from(t.values()));t.forEach(function(n,t){r.set(t,n-l+1)})}}),r},b=function(n,t){var e,o,r,i,u,l,a;if(!n)return t;var s=null!==(l=null!==(i=null!==(o=null===(e=n.evaluation_output)||void 0===e?void 0:e.output_score)&&void 0!==o?o:null===(r=n.evaluation_outputs)||void 0===r?void 0:r.output_score)&&void 0!==i?i:null===(u=n.evaluation_outputs)||void 0===u?void 0:u.output_value)&&void 0!==l?l:n.output_score;return null!==(a=null!=s?s:t)&&void 0!==a?a:""},m=function(n,t,e,o,r){void 0===r&&(r=14);var i=n+.5*(e-n),u=o-t;if(Math.abs(u)<3)return"M ".concat(n," ").concat(t," H ").concat(e);var l=u>0?1:-1,a=Math.min(r,Math.abs(u)/2,Math.abs(i-n)/2,Math.abs(e-i)/2);return["M ".concat(n," ").concat(t),"H ".concat(i-a),"Q ".concat(i," ").concat(t," ").concat(i," ").concat(t+l*a),"V ".concat(o-l*a),"Q ".concat(i," ").concat(o," ").concat(i+a," ").concat(o),"H ".concat(e)].join(" ")},y=function(n,t,e,o,r){void 0===e&&(e=300);var i=n.style.scrollBehavior;n.style.scrollBehavior="auto";var u=n.scrollTop,l=t-u,a=null,s=function(c){null===a&&(a=c);var d,v=c-a;v<e?(n.scrollTop=(d=v,d/=e,l*(--d*d*d+1)+u),r&&r(),requestAnimationFrame(s)):(n.scrollTop=t,n.style.scrollBehavior=i,r&&r(),o&&o())};requestAnimationFrame(s)},_=["#B91C1C","#A16207","#1D4ED8","#000000"],T=function(n){var t=_.findIndex(function(t){return t.toLowerCase()===n.toLowerCase()});return-1===t?_.length:t},I=function(t){for(var e,o,r,i,u,l,a,s,c,d,v,f,g,h=[],p=0,b=Object.keys((null==t?void 0:t.deviations)||{}).sort(function(n,t){return Number(n)-Number(t)});p<b.length;p++){var m=b[p];(A=null===(i=null===(r=null===(o=null===(e=null==t?void 0:t.deviations)||void 0===e?void 0:e[m])||void 0===o?void 0:o.evaluation_outputs)||void 0===r?void 0:r.metadata)||void 0===i?void 0:i.label_color)&&h.push(A)}for(var y=0,_=Object.keys((null==t?void 0:t.deviation_entries)||{}).sort(function(n,t){return Number(n)-Number(t)});y<_.length;y++){m=_[y];(A=null===(s=null===(a=null===(l=null===(u=null==t?void 0:t.deviation_entries)||void 0===u?void 0:u[m])||void 0===l?void 0:l.evaluation_outputs)||void 0===a?void 0:a.metadata)||void 0===s?void 0:s.label_color)&&h.push(A)}for(var I=0,x=Object.keys(t||{}).filter(function(n){return/^\d+$/.test(n)}).sort(function(n,t){return Number(n)-Number(t)});I<x.length;I++){var A;m=x[I];(A=null===(v=null===(d=null===(c=null==t?void 0:t[m])||void 0===c?void 0:c.evaluation_outputs)||void 0===d?void 0:d.metadata)||void 0===v?void 0:v.label_color)&&h.push(A)}return 0===h.length?(null===(g=null===(f=null==t?void 0:t.evaluation_outputs)||void 0===f?void 0:f.metadata)||void 0===g?void 0:g.label_color)?t.evaluation_outputs.metadata.label_color:n:h.sort(function(n,t){return T(n)-T(t)})[0]},x=function(n){for(var t,e,o,r,i,u,l,a,s,c=0,d=Object.keys((null==n?void 0:n.deviations)||{}).sort(function(n,t){return Number(n)-Number(t)});c<d.length;c++){var v=d[c];if(b=null===(o=null===(e=null===(t=null==n?void 0:n.deviations)||void 0===t?void 0:t[v])||void 0===e?void 0:e.evaluation_outputs)||void 0===o?void 0:o.output_value)return b}for(var f=0,g=Object.keys((null==n?void 0:n.deviation_entries)||{}).sort(function(n,t){return Number(n)-Number(t)});f<g.length;f++){v=g[f];if(b=null===(u=null===(i=null===(r=null==n?void 0:n.deviation_entries)||void 0===r?void 0:r[v])||void 0===i?void 0:i.evaluation_outputs)||void 0===u?void 0:u.output_value)return b}for(var h=0,p=Object.keys(n||{}).filter(function(n){return/^\d+$/.test(n)}).sort(function(n,t){return Number(n)-Number(t)});h<p.length;h++){var b;v=p[h];if(b=null===(a=null===(l=null==n?void 0:n[v])||void 0===l?void 0:l.evaluation_outputs)||void 0===a?void 0:a.output_value)return b}return(null===(s=null==n?void 0:n.evaluation_outputs)||void 0===s?void 0:s.output_value)?n.evaluation_outputs.output_value:null},A=function(n,t){var e=function(n){var t=n.replace("#","");return[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)]},o=function(n){var t=Math.round(n).toString(16);return 1===t.length?"0"+t:t};try{var r=e(n),i=e(t),u=(r[0]+i[0])/2*.95,l=(r[1]+i[1])/2*.95,a=(r[2]+i[2])/2*.95;return"#".concat(o(u)).concat(o(l)).concat(o(a))}catch(n){return"#FDE68A"}},B=function(n,t,e){if(!n)return null;if(n.id===e||n.nodeId===e||n.contentId===e)return t;if(!Array.isArray(n.subsections))return null;for(var o=0;o<n.subsections.length;o++){var r=B(n.subsections[o],"".concat(t,"-").concat(o),e);if(r)return r}return null},M=function(n,t){for(var e=0;e<n.length;e++){var o=B(n[e],String(e),t);if(o)return o}return null},C=new WeakMap,S=function(n){if(n){var t=C.get(n);null!=t&&(clearTimeout(t),C.delete(n)),n.style.transition="box-shadow 300ms ease-out, outline 300ms ease-out",requestAnimationFrame(function(){n.style.outline="",n.style.boxShadow=""}),window.setTimeout(function(){n.style.transition="",n.style.borderRadius=""},300)}},w=function(n){if(n){var t=C.get(n);null!=t&&clearTimeout(t),n.style.transition="box-shadow 300ms ease-in-out, outline 300ms ease-in-out",n.style.outline="2px solid #ff9494",n.style.borderRadius="6px",n.style.boxShadow="0 0 12px 2px rgba(244, 113, 113, 0.33)";var e=window.setTimeout(function(){S(n)},3e3);C.set(n,e)}},N=function(n,t){var e=t.getBoundingClientRect(),o=n.getBoundingClientRect(),r=t.scrollTop+o.top-e.top-e.height/2+o.height/2;t.scrollTo({top:r,behavior:"smooth"});var i=function(){return w(n)};if("onscrollend"in t)t.addEventListener("scrollend",i,{once:!0});else{var u=t.scrollTop,l=function(){t.scrollTop===u?i():(u=t.scrollTop,requestAnimationFrame(l))};requestAnimationFrame(l)}},j=function(n,t,e){if(Math.abs(n.scrollTop-t)<=2)e();else{var o,r=!1,i=function(){r||(r=!0,clearTimeout(o),n.removeEventListener("scrollend",u),e())},u=function(){return i()};n.addEventListener("scrollend",u),n.scrollTo({top:t,behavior:"smooth"}),o=setTimeout(i,800)}},O=function(n,t){return void 0===t&&(t=100),new Promise(function(e){var o,r=!1,i=function(){r||(r=!0,n.removeEventListener("scroll",u),e())},u=function(){clearTimeout(o),o=setTimeout(i,t)};n.addEventListener("scroll",u),o=setTimeout(i,t)})};export{v as DEVIATION_BADGE_SEPARATOR,d as areMarkdownPropsEqual,c as debounce,b as extractDeviationScore,M as findKeyPathByNodeId,s as generateColorPalette,o as getAlphabeticSuffix,m as getBentArrowPath,I as getFirstDeviationColor,x as getFirstDeviationOutputValue,p as getLhsDeviationDisplayIndexes,a as getRationale,r as getRhsMappedSectionNumber,l as getSideData,g as hasMeaningfulRedlineTags,i as hasSingleMappedLhsSection,e as hasValue,w as highlightClause,f as isMissingStr,A as mixHexColors,B as recursivelyFindSubSectionIdxById,S as resetClauseHighlight,u as resolveComparisonInputItems,t as safeStringify,N as scrollAndHighlightClause,j as scrollAndWait,y as smoothScrollTo,h as stripRedlineTags,O as waitForScrollIdle};
1
+ import{DEFAULT_DEVIAION_COLOR as t}from"./CognitiveCompareConstants.js";const e=t=>null==t?"":"string"==typeof t?t:Array.isArray(t)?t.map(e).join("\n\n"):"object"==typeof t?JSON.stringify(t):String(t),n=t=>null!=t&&("string"==typeof t?t.trim().length>0:!Array.isArray(t)||t.length>0&&t.some(t=>n(t))),r=t=>{let e=t+1,n="";for(;e>0;){e-=1;const t=97;n=String.fromCharCode(t+e%26)+n,e=Math.floor(e/26)}return n},o=({section:t,proposedSections:e,leftNums:n,fallbackNumber:o,firstOnly:s=!1})=>{if(!t?.id)return o;const i=(e||[]).map(e=>{const o=Array.isArray(e?.refIndexes)?e.refIndexes:[],s=o.findIndex(e=>e===t.selfIndex);if(-1===s)return null;const i=e?.id?n.get(e.id):void 0;return null==i?null:o.length>1?`${i}${r(s)}`:String(i)}).filter(Boolean);return 0===i.length?o:s?i[0]:i.join(", ")},s=(t,e)=>{if(null==t?.selfIndex)return!1;return 1===(e||[]).filter(e=>Array.isArray(e?.refIndexes)&&e.refIndexes.includes(t.selfIndex)).length},i=(t,e,n,r={})=>{const o=n[e],s=t?.comparison_inputs?.[o];if(!s)return[];return(Array.isArray(s)?s:[s]).map((t,e)=>{if(t&&"string"==typeof t&&t.trim()){const e=r[t];return e&&"object"==typeof e&&e?{contentId:t,data:e,attributes:e.additional_attributes||{}}:null}if(t&&"object"==typeof t){return{contentId:t.content_id||t.id||`${o}-direct-${e}`,data:t,attributes:t.additional_attributes||{}}}return null}).filter(Boolean)},a=(t,n,r,o={})=>{const s=i(t,n,r,o),a=s[0]?.data||{},l=s[0]?.attributes||null;return{title:e(a?.title||""),content:e(a?.content||""),change_history:e(a?.change_history||""),attributes:l,subsections:a?.subsections||[],contentId:s[0]?.contentId,allItems:s}},l=t=>{if(!t.mapping_rationale)return{cognitiveData:{decisioning:[],gap:[],relevance_score:0,isMissingRationale:!0,citations:[]},score:0,relation:"N/A"};const e=t.mapping_rationale,n=parseInt(e.decision_strength||"0");return{cognitiveData:{decisioning:e.decisioning_factors||[],gap:e.gaps_in_decision||[],relevance_score:n,citations:e.citations},score:0,relation:"N/A"}};function u(t){const e=(t,e)=>{const{r:n,g:r,b:o}=(t=>{const e=(t=>4===t.length?"#"+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]:t)(t).replace("#",""),n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:255&n}})(t);return((t,e,n)=>"#"+[t,e,n].map(t=>t.toString(16).padStart(2,"0")).join("").toUpperCase())(Math.round(n+(255-n)*e),Math.round(r+(255-r)*e),Math.round(o+(255-o)*e))};return{bg:e(t,.8),border:e(t,.5),badgeBg:e(t,.8),badgeBorder:e(t,.5),badgeText:t.toUpperCase(),highlightBg:e(t,.8)}}function c(t,e){let n;return function(...r){const o=this;clearTimeout(n),n=setTimeout(()=>t.apply(o,r),e)}}const d=(t,e)=>{if(t.content!==e.content)return!1;if(t.overlayContent!==e.overlayContent)return!1;if(t.sxStyles!==e.sxStyles)return!1;if(t.maintainRelativeOrder!==e.maintainRelativeOrder)return!1;if(t.highlightBg!==e.highlightBg)return!1;if(t.suppressHighlightBg!==e.suppressHighlightBg)return!1;if(t.collisionKey!==e.collisionKey)return!1;const n=t.highlights||[],r=e.highlights||[];if(n.length!==r.length)return!1;for(let t=0;t<n.length;t++)if(n[t]!==r[t])return!1;const o=t.deviationBadges||[],s=e.deviationBadges||[];if(o.length!==s.length)return!1;for(let t=0;t<o.length;t++){if(o[t].id!==s[t].id)return!1;if(o[t].actionId!==s[t].actionId)return!1;if(o[t].label!==s[t].label)return!1;if(o[t].score!==s[t].score)return!1;if(o[t].isOrphan!==s[t].isOrphan)return!1;if(o[t].isConnected!==s[t].isConnected)return!1;if(o[t].showScrollLockToggle!==s[t].showScrollLockToggle)return!1;if(o[t].scrollSyncLocked!==s[t].scrollSyncLocked)return!1;if(o[t].style?.badgeBg!==s[t].style?.badgeBg)return!1;if(o[t].style?.badgeBorder!==s[t].style?.badgeBorder)return!1;if(o[t].style?.badgeText!==s[t].style?.badgeText)return!1}return!0},f="::",g=t=>{if(!t)return!0;const e=t.trim().toLowerCase();return e.includes("no equivalent")||"n/a"===e||"na"===e||"none"===e},p=t=>{if("string"!=typeof t||!t)return!1;const e=/<(updated|deleted|changed|change)\b[^>]*>([\s\S]*?)<\/\1>/gi;let n=null;for(;null!==(n=e.exec(t));){if((n[2]??"").replace(/<[^>]*>/g,"").trim().length>0)return!0}return!1},h=t=>"string"==typeof t&&t?t.replace(/<\/?(updated|deleted|changed|change)\b[^>]*>/gi,""):"",b=(t,n,r)=>{const o=new Map;if(!n)return o;const s=t=>{const n=p(t)?h(t):e(t||"");return e(n).replace(/\\n/g,"\n")};return(t||[]).forEach(t=>{const e=new Map,i=t=>{if(!t)return;const o=s(t.content);(t.evaluationResults?.length?t.evaluationResults:t.evaluationResult?[t.evaluationResult]:[]).forEach(i=>{const a=i?.nodeId||t.nodeId||t.id;Object.entries(i?.deviations||{}).forEach(([t,i])=>{const l=i[n],u=s(l);if(!u||g(l)||!o.includes(u))return;const c=`${a}::${t}`,d=r[c];null!=d&&e.set(c,d)})}),(t.subsections||[]).forEach(i)};if(i(t),0===e.size)return;const a=Math.min(...Array.from(e.values()));e.forEach((t,e)=>{o.set(e,t-a+1)})}),o},m=(t,e)=>{if(!t)return e;return t.evaluation_output?.output_score??t.evaluation_outputs?.output_score??t.evaluation_outputs?.output_value??t.output_score??e??""},v=(t,e,n,r,o=14)=>{const s=t+.5*(n-t),i=r-e;if(Math.abs(i)<3)return`M ${t} ${e} H ${n}`;const a=i>0?1:-1,l=Math.min(o,Math.abs(i)/2,Math.abs(s-t)/2,Math.abs(n-s)/2);return[`M ${t} ${e}`,"H "+(s-l),`Q ${s} ${e} ${s} ${e+a*l}`,"V "+(r-a*l),`Q ${s} ${r} ${s+l} ${r}`,`H ${n}`].join(" ")},y=(t,e,n=300,r,o)=>{const s=t.style.scrollBehavior;t.style.scrollBehavior="auto";const i=t.scrollTop,a=e-i;let l=null;const u=c=>{null===l&&(l=c);const d=c-l;var f;d<n?(t.scrollTop=(f=d,f/=n,a*(--f*f*f+1)+i),o&&o(),requestAnimationFrame(u)):(t.scrollTop=e,t.style.scrollBehavior=s,o&&o(),r&&r())};requestAnimationFrame(u)},_=["#B91C1C","#A16207","#1D4ED8","#000000"],$=t=>{const e=_.findIndex(e=>e.toLowerCase()===t.toLowerCase());return-1===e?_.length:e},T=e=>{const n=[],r=Object.keys(e?.deviations||{}).sort((t,e)=>Number(t)-Number(e));for(const t of r){const r=e?.deviations?.[t]?.evaluation_outputs?.metadata?.label_color;r&&n.push(r)}const o=Object.keys(e?.deviation_entries||{}).sort((t,e)=>Number(t)-Number(e));for(const t of o){const r=e?.deviation_entries?.[t]?.evaluation_outputs?.metadata?.label_color;r&&n.push(r)}const s=Object.keys(e||{}).filter(t=>/^\d+$/.test(t)).sort((t,e)=>Number(t)-Number(e));for(const t of s){const r=e?.[t]?.evaluation_outputs?.metadata?.label_color;r&&n.push(r)}return 0===n.length?e?.evaluation_outputs?.metadata?.label_color?e.evaluation_outputs.metadata.label_color:t:n.sort((t,e)=>$(t)-$(e))[0]},I=t=>{const e=Object.keys(t?.deviations||{}).sort((t,e)=>Number(t)-Number(e));for(const n of e){const e=t?.deviations?.[n]?.evaluation_outputs?.output_value;if(e)return e}const n=Object.keys(t?.deviation_entries||{}).sort((t,e)=>Number(t)-Number(e));for(const e of n){const n=t?.deviation_entries?.[e]?.evaluation_outputs?.output_value;if(n)return n}const r=Object.keys(t||{}).filter(t=>/^\d+$/.test(t)).sort((t,e)=>Number(t)-Number(e));for(const e of r){const n=t?.[e]?.evaluation_outputs?.output_value;if(n)return n}return t?.evaluation_outputs?.output_value?t.evaluation_outputs.output_value:null},x=(t,e)=>{const n=t=>{const e=t.replace("#","");return[parseInt(e.substring(0,2),16),parseInt(e.substring(2,4),16),parseInt(e.substring(4,6),16)]},r=t=>{const e=Math.round(t).toString(16);return 1===e.length?"0"+e:e};try{const o=n(t),s=n(e),i=(o[0]+s[0])/2*.95,a=(o[1]+s[1])/2*.95,l=(o[2]+s[2])/2*.95;return`#${r(i)}${r(a)}${r(l)}`}catch(t){return"#FDE68A"}},A=(t,e,n)=>{if(!t)return null;if(t.id===n||t.nodeId===n||t.contentId===n)return e;if(!Array.isArray(t.subsections))return null;for(let r=0;r<t.subsections.length;r++){const o=A(t.subsections[r],`${e}-${r}`,n);if(o)return o}return null},B=(t,e)=>{for(let n=0;n<t.length;n++){const r=A(t[n],String(n),e);if(r)return r}return null},C=new WeakMap,M=t=>{if(!t)return;const e=C.get(t);null!=e&&(clearTimeout(e),C.delete(t)),t.style.transition="box-shadow 300ms ease-out, outline 300ms ease-out",requestAnimationFrame(()=>{t.style.outline="",t.style.boxShadow=""}),window.setTimeout(()=>{t.style.transition="",t.style.borderRadius=""},300)},S=t=>{if(!t)return;const e=C.get(t);null!=e&&clearTimeout(e),t.style.transition="box-shadow 300ms ease-in-out, outline 300ms ease-in-out",t.style.outline="2px solid #ff9494",t.style.borderRadius="6px",t.style.boxShadow="0 0 12px 2px rgba(244, 113, 113, 0.33)";const n=window.setTimeout(()=>{M(t)},3e3);C.set(t,n)},w=(t,e)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=e.scrollTop+r.top-n.top-n.height/2+r.height/2;e.scrollTo({top:o,behavior:"smooth"});const s=()=>S(t);if("onscrollend"in e)e.addEventListener("scrollend",s,{once:!0});else{let t=e.scrollTop;const n=()=>{e.scrollTop===t?s():(t=e.scrollTop,requestAnimationFrame(n))};requestAnimationFrame(n)}},N=(t,e,n)=>{if(Math.abs(t.scrollTop-e)<=2)return void n();let r,o=!1;const s=()=>{o||(o=!0,clearTimeout(r),t.removeEventListener("scrollend",i),n())},i=()=>s();t.addEventListener("scrollend",i),t.scrollTo({top:e,behavior:"smooth"}),r=setTimeout(s,800)},j=(t,e=100)=>new Promise(n=>{let r,o=!1;const s=()=>{o||(o=!0,t.removeEventListener("scroll",i),n())},i=()=>{clearTimeout(r),r=setTimeout(s,e)};t.addEventListener("scroll",i),r=setTimeout(s,e)});export{f as DEVIATION_BADGE_SEPARATOR,d as areMarkdownPropsEqual,c as debounce,m as extractDeviationScore,B as findKeyPathByNodeId,u as generateColorPalette,r as getAlphabeticSuffix,v as getBentArrowPath,T as getFirstDeviationColor,I as getFirstDeviationOutputValue,b as getLhsDeviationDisplayIndexes,l as getRationale,o as getRhsMappedSectionNumber,a as getSideData,p as hasMeaningfulRedlineTags,s as hasSingleMappedLhsSection,n as hasValue,S as highlightClause,g as isMissingStr,x as mixHexColors,A as recursivelyFindSubSectionIdxById,M as resetClauseHighlight,i as resolveComparisonInputItems,e as safeStringify,w as scrollAndHighlightClause,N as scrollAndWait,y as smoothScrollTo,h as stripRedlineTags,j as waitForScrollIdle};
2
2
  //# sourceMappingURL=CognitiveComparehelpers.js.map