@e-llm-studio/citation 0.0.249 → 0.0.250

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 (2374) 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/BookemonStyles.js +2 -0
  133. package/dist/cjs/features/Bookemon/BookemonStyles.js.map +1 -0
  134. package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
  135. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
  136. package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
  137. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
  138. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
  139. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  140. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  141. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  142. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  143. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  144. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
  145. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  146. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
  147. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
  148. package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
  149. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
  150. package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
  151. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
  152. package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
  153. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
  154. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
  155. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  156. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  157. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  158. package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
  159. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
  160. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
  161. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
  162. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
  163. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
  164. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  165. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  166. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
  167. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  168. package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
  169. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
  170. package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
  171. package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
  172. package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
  173. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
  174. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
  175. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
  176. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  177. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  178. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
  179. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  180. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
  181. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  182. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  183. package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
  184. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
  185. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
  186. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  187. package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
  188. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
  189. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
  190. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  191. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  192. package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
  193. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
  194. package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
  195. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
  196. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  197. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  198. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  199. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  200. package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
  201. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
  202. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
  203. package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
  204. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
  205. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  206. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  207. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  208. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  209. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
  210. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  211. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  212. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  213. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  214. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  215. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  216. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  217. package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
  218. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
  219. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  220. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  221. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  223. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  224. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  225. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
  226. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  227. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
  228. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  229. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  230. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  231. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  232. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  233. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  234. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  235. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  237. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  239. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  240. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  241. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  242. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  243. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  244. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  245. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  246. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  247. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  248. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  249. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  250. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  251. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  252. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
  253. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  254. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  255. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  256. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
  257. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  258. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  259. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  260. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  261. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  262. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
  263. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  264. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  265. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  266. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  267. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  268. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  269. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  271. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  272. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  273. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  274. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  275. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  276. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  277. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  278. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  279. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  281. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  283. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  285. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  287. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  289. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  291. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  293. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  295. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  296. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  297. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  298. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
  299. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  300. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  301. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  302. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  303. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  304. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  305. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  306. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  307. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  308. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  309. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  312. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  313. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  314. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  315. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  316. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  317. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
  318. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  319. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
  320. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  321. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  322. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
  323. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
  324. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
  325. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  326. package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
  327. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
  328. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  329. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
  330. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  331. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  332. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  333. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  334. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  335. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  336. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  337. package/dist/cjs/features/GptWebCitation/types.js +1 -1
  338. package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
  339. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
  340. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  341. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  342. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  343. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  344. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  345. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  346. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  347. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
  348. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
  349. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  350. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  351. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  352. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  353. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  354. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  355. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  356. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  357. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  358. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  359. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  360. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  361. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  362. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  363. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  364. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
  365. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  366. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  367. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  368. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  369. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
  370. package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
  371. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
  372. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  373. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  374. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  375. package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
  376. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
  377. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  378. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  379. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  380. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  381. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  382. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
  383. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
  384. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  385. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  386. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  387. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  388. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  389. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
  390. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
  391. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  392. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
  393. package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
  394. package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
  395. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  396. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
  397. package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
  398. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
  399. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  400. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
  401. package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
  402. package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
  403. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
  404. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  405. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  406. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
  407. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  408. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
  409. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  410. package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
  411. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
  412. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
  413. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  414. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  415. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  416. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  417. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  418. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  419. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  420. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  421. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  422. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  423. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  424. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  425. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  426. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  427. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  428. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  429. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  430. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  431. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  432. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  433. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  434. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  435. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  436. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  437. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  438. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  439. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  440. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  441. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  442. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  443. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  444. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  445. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  446. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  447. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  448. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  449. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  450. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  451. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  452. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  453. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  454. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  455. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  456. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  457. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  458. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  459. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  460. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  461. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  462. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  463. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  464. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  465. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  466. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  467. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  468. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  469. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  470. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  471. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  472. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  473. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  474. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  475. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  476. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  477. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  478. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  479. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
  480. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  481. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
  482. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
  483. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  484. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  485. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  486. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  487. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  488. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  489. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  490. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  491. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  492. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  493. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  494. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  495. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  496. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  497. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  498. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  499. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  500. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  501. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
  502. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  503. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  504. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  505. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  506. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  507. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  508. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  509. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  510. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  511. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
  512. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  513. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
  514. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  515. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  516. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  517. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
  518. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  519. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  520. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  521. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  522. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  523. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  524. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  525. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  526. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  527. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  528. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  529. package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
  530. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
  531. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
  532. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  533. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  534. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  535. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  536. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  537. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  538. package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
  539. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
  540. package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
  541. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
  542. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
  543. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  544. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  545. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  546. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  547. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
  548. package/dist/cjs/index.js +1 -1
  549. package/dist/cjs/lib/ui/icons.js +2 -0
  550. package/dist/cjs/lib/ui/icons.js.map +1 -0
  551. package/dist/cjs/lib/ui/materialCompat.js +2 -0
  552. package/dist/cjs/lib/ui/materialCompat.js.map +1 -0
  553. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  554. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  555. package/dist/cjs/service/apicache.service.js +1 -1
  556. package/dist/cjs/service/apicache.service.js.map +1 -1
  557. package/dist/cjs/service/onDemandApi.js +1 -1
  558. package/dist/cjs/service/onDemandApi.js.map +1 -1
  559. package/dist/cjs/types/onDemandApi.types.js +1 -1
  560. package/dist/cjs/types/onDemandApi.types.js.map +1 -1
  561. package/dist/cjs/utils/codeCitations.utils.js +1 -1
  562. package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
  563. package/dist/cjs/utils/sanitizeHtml.js +1 -1
  564. package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
  565. package/dist/cjs/utils/themeManager.js +1 -1
  566. package/dist/cjs/utils/themeManager.js.map +1 -1
  567. package/dist/constants/diagnosticStylesBySeverity.js +1 -1
  568. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
  569. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  570. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  571. package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
  572. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
  573. package/dist/features/BookCitation/BookCitation.js +1 -1
  574. package/dist/features/BookCitation/BookCitation.js.map +1 -1
  575. package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
  576. package/dist/features/BookCitation/text-cleaner.js +1 -1
  577. package/dist/features/BookCitation/text-cleaner.js.map +1 -1
  578. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  579. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  580. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  581. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  582. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  583. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  584. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  585. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  586. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  587. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  588. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  589. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  590. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  591. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  592. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  593. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  594. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  595. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  596. package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  597. package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  598. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  599. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  600. package/dist/features/Bookemon/Bookemon.js +1 -1
  601. package/dist/features/Bookemon/Bookemon.js.map +1 -1
  602. package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
  603. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  604. package/dist/features/Bookemon/BookemonContent.js +1 -1
  605. package/dist/features/Bookemon/BookemonContent.js.map +1 -1
  606. package/dist/features/Bookemon/BookemonStyles.js +2 -0
  607. package/dist/features/Bookemon/BookemonStyles.js.map +1 -0
  608. package/dist/features/Bookemon/utils/highlight.js +1 -1
  609. package/dist/features/Bookemon/utils/highlight.js.map +1 -1
  610. package/dist/features/ChatCitation/BigQueryTable.js +1 -1
  611. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
  612. package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
  613. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  614. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  615. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  616. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  617. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  618. package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
  619. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  620. package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
  621. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
  622. package/dist/features/ChatCitation/components/Chip.js +1 -1
  623. package/dist/features/ChatCitation/components/Chip.js.map +1 -1
  624. package/dist/features/ChatCitation/components/DetailedView.js +1 -1
  625. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
  626. package/dist/features/ChatCitation/components/IconContainer.js +1 -1
  627. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
  628. package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
  629. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  630. package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  631. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  632. package/dist/features/ChatCitation/components/RuleBook.js +1 -1
  633. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
  634. package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
  635. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
  636. package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
  637. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
  638. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  639. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  640. package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
  641. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  642. package/dist/features/ChatCitation/constants/renderer.js +1 -1
  643. package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
  644. package/dist/features/ChatCitation/styles/common.css.js +2 -0
  645. package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
  646. package/dist/features/ChatCitation/utils/helpers.js +1 -1
  647. package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
  648. package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
  649. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
  650. package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
  651. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  652. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  653. package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
  654. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  655. package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
  656. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  657. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  658. package/dist/features/CitationViewer/CitationsViewer.js +1 -1
  659. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
  660. package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
  661. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  662. package/dist/features/CitationViewer/components/Header.js +1 -1
  663. package/dist/features/CitationViewer/components/Header.js.map +1 -1
  664. package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
  665. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  666. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  667. package/dist/features/CitationViewer/components/Transcript.js +1 -1
  668. package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
  669. package/dist/features/CitationViewer/config/apiConfig.js +1 -1
  670. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
  671. package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  672. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  673. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  674. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  675. package/dist/features/CodeCitation/CodeCitation.js +1 -1
  676. package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
  677. package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
  678. package/dist/features/CodeCitation/_components/Accordian.js +1 -1
  679. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
  680. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  681. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  682. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  683. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  684. package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
  685. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  686. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  687. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  688. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  689. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  690. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  691. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  692. package/dist/features/CodeCitation/_components/Spinner.js +1 -1
  693. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
  694. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  695. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  696. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  697. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  698. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  699. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  700. package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
  701. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  702. package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
  703. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  704. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  705. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  706. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  707. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  708. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  709. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  710. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  711. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  712. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  713. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  714. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  715. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  716. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  717. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  718. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  719. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  720. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  721. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  722. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  723. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  724. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  725. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  726. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  727. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  728. package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
  729. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  730. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  731. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  732. package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
  733. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  734. package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  735. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  736. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  737. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  738. package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
  739. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  740. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  741. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  742. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  743. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  744. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  745. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  746. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  747. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  748. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  749. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  750. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  751. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  752. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  753. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  754. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  755. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  756. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  757. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  758. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  759. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  760. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  761. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  762. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  763. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  764. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  765. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  766. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  767. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  768. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  769. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  770. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  771. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  772. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  773. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  774. package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
  775. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  776. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  777. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  778. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  779. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  780. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  781. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  782. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  783. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  784. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  785. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  786. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  787. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  788. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  789. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  790. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  791. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  792. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  793. package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
  794. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  795. package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
  796. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  797. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  798. package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
  799. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
  800. package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
  801. package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  802. package/dist/features/ExcelCitation/utils/helper.js +1 -1
  803. package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
  804. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  805. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
  806. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  807. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  808. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  809. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  810. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  811. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  812. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  813. package/dist/features/GptWebCitation/types.js +1 -1
  814. package/dist/features/GptWebCitation/types.js.map +1 -1
  815. package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
  816. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  817. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  818. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  819. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  820. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  821. package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  822. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  823. package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
  824. package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
  825. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  826. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  827. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  828. package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  829. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  830. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  831. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  832. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  833. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  834. package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  835. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  836. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  837. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  838. package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  839. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  840. package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
  841. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  842. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  843. package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  844. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  845. package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
  846. package/dist/features/InstantLearningCitation/types/Types.js +1 -1
  847. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
  848. package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  849. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  850. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  851. package/dist/features/ManageRemainders/ManageReminders.js +1 -1
  852. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
  853. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  854. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  855. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  856. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  857. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  858. package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
  859. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
  860. package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  861. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  862. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  863. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  864. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  865. package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
  866. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  867. package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
  868. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  869. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
  870. package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
  871. package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
  872. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  873. package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
  874. package/dist/features/PdfViewer/rotationManager.js +1 -1
  875. package/dist/features/PdfViewer/rotationManager.js.map +1 -1
  876. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  877. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
  878. package/dist/features/PdfViewer/zoomStateManager.js +2 -0
  879. package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
  880. package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
  881. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  882. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  883. package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
  884. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  885. package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
  886. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  887. package/dist/features/PromptCitation/PromptCitation.js +1 -1
  888. package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
  889. package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
  890. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  891. package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  892. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  893. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  894. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  895. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  896. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  897. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  898. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  899. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  900. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  901. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  902. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  903. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  904. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  905. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  906. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  907. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  908. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  909. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  910. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  911. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  912. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  913. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  914. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  915. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  916. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  917. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  918. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  919. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  920. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  921. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  922. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  923. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  924. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  925. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  926. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  927. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  928. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  929. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  930. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  931. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  932. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  933. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  934. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  935. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  936. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  937. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  938. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  939. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  940. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  941. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  942. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  943. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  944. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  945. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  946. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  947. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  948. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  949. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  950. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  951. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  952. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  953. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  954. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  955. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  956. package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
  957. package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  958. package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
  959. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
  960. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  961. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  962. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  963. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  964. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  965. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  966. package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  967. package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  968. package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  969. package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  970. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  971. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  972. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  973. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  974. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  975. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  976. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  977. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  978. package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
  979. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  980. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  981. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  982. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  983. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  984. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  985. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  986. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  987. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  988. package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
  989. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  990. package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
  991. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  992. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  993. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  994. package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
  995. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  996. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  997. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  998. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  999. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  1000. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  1001. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  1002. package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  1003. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  1004. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  1005. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  1006. package/dist/features/SegmentReviewComponents/helper.js +1 -1
  1007. package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
  1008. package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
  1009. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  1010. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  1011. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  1012. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  1013. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  1014. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  1015. package/dist/features/SplitterCitations/icons/icons.js +1 -1
  1016. package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
  1017. package/dist/features/TableCitation/TableCitationContent.js +1 -1
  1018. package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
  1019. package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
  1020. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  1021. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  1022. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  1023. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  1024. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
  1025. package/dist/index.js +1 -1
  1026. package/dist/lib/ui/icons.js +2 -0
  1027. package/dist/lib/ui/icons.js.map +1 -0
  1028. package/dist/lib/ui/materialCompat.js +2 -0
  1029. package/dist/lib/ui/materialCompat.js.map +1 -0
  1030. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  1031. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  1032. package/dist/service/apicache.service.js +1 -1
  1033. package/dist/service/apicache.service.js.map +1 -1
  1034. package/dist/service/onDemandApi.js +1 -1
  1035. package/dist/service/onDemandApi.js.map +1 -1
  1036. package/dist/types/AutopilotStyle.d.ts +2 -0
  1037. package/dist/types/AutopilotStyle.d.ts.map +1 -0
  1038. package/dist/types/BPACitationRenderer.d.ts +3 -0
  1039. package/dist/types/BPACitationRenderer.d.ts.map +1 -0
  1040. package/dist/types/BookCitation.d.ts +3 -0
  1041. package/dist/types/BookCitation.d.ts.map +1 -0
  1042. package/dist/types/Bookemon.d.ts +3 -0
  1043. package/dist/types/Bookemon.d.ts.map +1 -0
  1044. package/dist/types/ChatCitation.d.ts +3 -0
  1045. package/dist/types/ChatCitation.d.ts.map +1 -0
  1046. package/dist/types/ChatDrawer.d.ts +3 -0
  1047. package/dist/types/ChatDrawer.d.ts.map +1 -0
  1048. package/dist/types/CitationRenderer.d.ts +3 -0
  1049. package/dist/types/CitationRenderer.d.ts.map +1 -0
  1050. package/dist/types/CodeCitation.d.ts +3 -0
  1051. package/dist/types/CodeCitation.d.ts.map +1 -0
  1052. package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
  1053. package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1054. package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
  1055. package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
  1056. package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
  1057. package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
  1058. package/dist/types/GptWebCitation.d.ts +3 -0
  1059. package/dist/types/GptWebCitation.d.ts.map +1 -0
  1060. package/dist/types/IngestionStatusComponent.d.ts +2 -0
  1061. package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
  1062. package/dist/types/PdfViewer.d.ts +3 -0
  1063. package/dist/types/PdfViewer.d.ts.map +1 -0
  1064. package/dist/types/ProjectAccordion.d.ts +3 -0
  1065. package/dist/types/ProjectAccordion.d.ts.map +1 -0
  1066. package/dist/types/SplitterCitationsComponent.d.ts +3 -0
  1067. package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
  1068. package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
  1069. package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
  1070. package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
  1071. package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
  1072. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
  1073. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  1074. package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
  1075. package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
  1076. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
  1077. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
  1078. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
  1079. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  1080. package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
  1081. package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
  1082. package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
  1083. package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
  1084. package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
  1085. package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
  1086. package/dist/types/context/DataSelectedContext.d.ts +73 -0
  1087. package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
  1088. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  1089. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  1090. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
  1091. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  1092. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  1093. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  1094. package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
  1095. package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
  1096. package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
  1097. package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
  1098. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
  1099. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  1100. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
  1101. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  1102. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
  1103. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  1104. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
  1105. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  1106. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
  1107. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  1108. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  1109. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  1110. package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
  1111. package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
  1112. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
  1113. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  1114. package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
  1115. package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
  1116. package/dist/types/features/Bookemon/BookemonStyles.d.ts +6 -0
  1117. package/dist/types/features/Bookemon/BookemonStyles.d.ts.map +1 -0
  1118. package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
  1119. package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
  1120. package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
  1121. package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
  1122. package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
  1123. package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  1124. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
  1125. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  1126. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  1127. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1128. package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
  1129. package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1130. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
  1131. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1132. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1133. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1134. package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
  1135. package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1136. package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
  1137. package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1138. package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1139. package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1140. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
  1141. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1142. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
  1143. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1144. package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
  1145. package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1146. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1147. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1148. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
  1149. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1150. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1151. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1152. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1153. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1154. package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
  1155. package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1156. package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
  1157. package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1158. package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
  1159. package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1160. package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
  1161. package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1162. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1163. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1164. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1165. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1166. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1167. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1168. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
  1169. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  1170. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  1171. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  1172. package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
  1173. package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1174. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1175. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1176. package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
  1177. package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
  1178. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1179. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1180. package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
  1181. package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1182. package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1183. package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1184. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1185. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1186. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1187. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1188. package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
  1189. package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1190. package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
  1191. package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1192. package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1193. package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1194. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
  1195. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1196. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1197. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1198. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1199. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1200. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
  1201. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1202. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1203. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1204. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
  1205. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
  1206. package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1207. package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1208. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1209. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1210. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1211. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1212. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1213. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1214. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1215. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1216. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1217. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1218. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1219. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1220. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
  1221. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1222. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
  1223. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1224. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1225. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1226. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1227. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1228. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
  1229. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1230. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1231. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1232. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1233. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1234. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1235. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1236. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
  1237. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1238. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
  1239. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1240. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1241. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1242. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1243. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1244. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
  1245. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1246. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1247. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1248. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1249. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1250. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1251. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1252. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1253. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1254. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
  1255. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1256. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1257. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1258. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1259. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1260. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1261. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1262. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1263. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1264. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1265. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1266. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  1267. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1268. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1269. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1270. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1271. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1272. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1273. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1274. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1275. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1276. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1277. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1278. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1279. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1280. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1281. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1282. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
  1283. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1284. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1285. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1286. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1287. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1288. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  1289. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1290. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1291. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1292. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1293. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1294. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1295. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1296. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1297. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1298. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1299. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1300. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
  1301. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1302. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
  1303. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1304. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1305. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1306. package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
  1307. package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
  1308. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1309. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1310. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1311. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1312. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1313. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1314. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
  1315. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1316. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
  1317. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1318. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1319. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1320. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1321. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1322. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
  1323. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1324. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1325. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1326. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1327. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1328. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1329. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1330. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1331. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1332. package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
  1333. package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1334. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1335. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1336. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1337. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1338. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1339. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1340. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1341. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1342. package/dist/types/features/GptWebCitation/types.d.ts +405 -0
  1343. package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
  1344. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1345. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1346. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1347. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1348. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1349. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1350. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1351. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1352. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1353. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1354. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1355. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1356. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1357. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1358. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1359. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1360. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1361. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1362. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1363. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1364. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1365. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1366. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1367. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1368. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1369. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1370. package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1371. package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1372. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1373. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1374. package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
  1375. package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1376. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1377. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1378. package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
  1379. package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
  1380. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1381. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1382. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1383. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1384. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1385. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1386. package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
  1387. package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1388. package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
  1389. package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1390. package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
  1391. package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1392. package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
  1393. package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1394. package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
  1395. package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
  1396. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
  1397. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1398. package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
  1399. package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
  1400. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1401. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1402. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1403. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1404. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  1405. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  1406. package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
  1407. package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  1408. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  1409. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  1410. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  1411. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  1412. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  1413. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  1414. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
  1415. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1416. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1417. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1418. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
  1419. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  1420. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
  1421. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  1422. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  1423. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  1424. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  1425. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  1426. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  1427. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  1428. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  1429. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  1430. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1431. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1432. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  1433. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  1434. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  1435. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  1436. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  1437. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  1438. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  1439. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  1440. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  1441. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  1442. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  1443. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  1444. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  1445. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  1446. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  1447. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  1448. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  1449. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  1450. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  1451. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  1452. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
  1453. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  1454. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  1455. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  1456. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
  1457. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  1458. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
  1459. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  1460. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  1461. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  1462. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
  1463. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  1464. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
  1465. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  1466. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
  1467. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  1468. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  1469. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  1470. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1471. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1472. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1473. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1474. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1475. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1476. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1477. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1478. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
  1479. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1480. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
  1481. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1482. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +11 -0
  1483. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1484. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
  1485. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1486. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
  1487. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1488. package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
  1489. package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1490. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
  1491. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1492. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  1493. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  1494. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  1495. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  1496. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
  1497. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  1498. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  1499. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  1500. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  1501. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  1502. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  1503. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  1504. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  1505. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  1506. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  1507. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  1508. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  1509. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  1510. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  1511. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  1512. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  1513. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  1514. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  1515. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  1516. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  1517. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  1518. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  1519. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  1520. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  1521. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  1522. package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
  1523. package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  1524. package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
  1525. package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
  1526. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  1527. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  1528. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  1529. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  1530. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1531. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1532. package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
  1533. package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1534. package/dist/types/features/SplitterCitations/types.d.ts +77 -0
  1535. package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
  1536. package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
  1537. package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1538. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1539. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1540. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1541. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1542. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1543. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1544. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1545. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1546. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
  1547. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1548. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1549. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1550. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1551. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1552. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1553. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1554. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1555. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1556. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1557. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1558. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1559. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1560. package/dist/types/features/UploadData/main.d.ts +9 -0
  1561. package/dist/types/features/UploadData/main.d.ts.map +1 -0
  1562. package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1563. package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1564. package/dist/types/index.d.ts +63 -0
  1565. package/dist/types/index.d.ts.map +1 -0
  1566. package/dist/types/lib/ui/icons.d.ts +46 -0
  1567. package/dist/types/lib/ui/icons.d.ts.map +1 -0
  1568. package/dist/types/lib/ui/materialCompat.d.ts +117 -0
  1569. package/dist/types/lib/ui/materialCompat.d.ts.map +1 -0
  1570. package/dist/types/methodsToExpose.d.ts +18 -0
  1571. package/dist/types/methodsToExpose.d.ts.map +1 -0
  1572. package/dist/types/onDemandApi.types.js +1 -1
  1573. package/dist/types/onDemandApi.types.js.map +1 -1
  1574. package/dist/types/service/API.d.ts +6 -0
  1575. package/dist/types/service/API.d.ts.map +1 -0
  1576. package/dist/types/service/DataService.d.ts +73 -0
  1577. package/dist/types/service/DataService.d.ts.map +1 -0
  1578. package/dist/types/service/ModelService.d.ts +68 -0
  1579. package/dist/types/service/ModelService.d.ts.map +1 -0
  1580. package/dist/types/service/ProjectService.d.ts +16 -0
  1581. package/dist/types/service/ProjectService.d.ts.map +1 -0
  1582. package/dist/types/service/SavedDataSetService.d.ts +27 -0
  1583. package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
  1584. package/dist/types/service/apicache.service.d.ts +43 -0
  1585. package/dist/types/service/apicache.service.d.ts.map +1 -0
  1586. package/dist/types/service/constants.d.ts +3 -0
  1587. package/dist/types/service/constants.d.ts.map +1 -0
  1588. package/dist/types/service/envHelperService.d.ts +5 -0
  1589. package/dist/types/service/envHelperService.d.ts.map +1 -0
  1590. package/dist/types/service/onDemandApi.d.ts +27 -0
  1591. package/dist/types/service/onDemandApi.d.ts.map +1 -0
  1592. package/dist/types/service/variableHelperService.d.ts +6 -0
  1593. package/dist/types/service/variableHelperService.d.ts.map +1 -0
  1594. package/dist/types/theme.d.ts +4 -0
  1595. package/dist/types/theme.d.ts.map +1 -0
  1596. package/dist/types/types/CodeCitationTypes.d.ts +46 -0
  1597. package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
  1598. package/dist/types/types/onDemandApi.types.d.ts +63 -0
  1599. package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
  1600. package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1601. package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1602. package/dist/types/userProvidedConfig.d.ts +8 -0
  1603. package/dist/types/userProvidedConfig.d.ts.map +1 -0
  1604. package/dist/types/utils/api.d.ts +2 -0
  1605. package/dist/types/utils/api.d.ts.map +1 -0
  1606. package/dist/types/utils/codeCitations.utils.d.ts +9 -0
  1607. package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
  1608. package/dist/types/utils/sanitizeHtml.d.ts +5 -0
  1609. package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
  1610. package/dist/types/utils/themeManager.d.ts +13 -0
  1611. package/dist/types/utils/themeManager.d.ts.map +1 -0
  1612. package/dist/utils/codeCitations.utils.js +1 -1
  1613. package/dist/utils/codeCitations.utils.js.map +1 -1
  1614. package/dist/utils/sanitizeHtml.js +1 -1
  1615. package/dist/utils/sanitizeHtml.js.map +1 -1
  1616. package/dist/utils/themeManager.js +1 -1
  1617. package/dist/utils/themeManager.js.map +1 -1
  1618. package/package.json +135 -278
  1619. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  1620. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  1621. package/dist/types/src/App.d.ts +0 -3
  1622. package/dist/types/src/App.d.ts.map +0 -1
  1623. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  1624. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  1625. package/dist/types/src/BookCitationTest.d.ts +0 -3
  1626. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  1627. package/dist/types/src/BookemonTest.d.ts +0 -83
  1628. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  1629. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  1630. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  1631. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  1632. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  1633. package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
  1634. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
  1635. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  1636. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  1637. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  1638. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  1639. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  1640. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  1641. package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
  1642. package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
  1643. package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
  1644. package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
  1645. package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
  1646. package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
  1647. package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
  1648. package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
  1649. package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
  1650. package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
  1651. package/dist/types/src/CustomStylesProvider.d.ts +0 -6
  1652. package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
  1653. package/dist/types/src/CustomThemeProvider.d.ts +0 -7
  1654. package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
  1655. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  1656. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  1657. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  1658. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  1659. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  1660. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  1661. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  1662. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  1663. package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
  1664. package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
  1665. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  1666. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  1667. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  1668. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  1669. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  1670. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  1671. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  1672. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  1673. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  1674. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  1675. package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
  1676. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
  1677. package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
  1678. package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
  1679. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  1680. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  1681. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  1682. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  1683. package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
  1684. package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
  1685. package/dist/types/src/TableCitationTest.d.ts +0 -3
  1686. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  1687. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
  1688. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
  1689. package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
  1690. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
  1691. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
  1692. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
  1693. package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
  1694. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
  1695. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
  1696. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
  1697. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
  1698. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
  1699. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
  1700. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
  1701. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  1702. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  1703. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
  1704. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
  1705. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  1706. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  1707. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
  1708. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
  1709. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
  1710. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
  1711. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
  1712. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
  1713. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
  1714. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
  1715. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
  1716. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
  1717. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
  1718. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
  1719. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
  1720. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
  1721. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  1722. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  1723. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  1724. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  1725. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  1726. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  1727. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  1728. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  1729. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  1730. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  1731. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  1732. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  1733. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  1734. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  1735. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  1736. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  1737. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  1738. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  1739. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  1740. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  1741. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  1742. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  1743. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  1744. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  1745. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  1746. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  1747. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  1748. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  1749. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  1750. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  1751. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  1752. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  1753. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  1754. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  1755. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  1756. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  1757. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
  1758. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  1759. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  1760. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  1761. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  1762. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  1763. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  1764. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  1765. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  1766. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  1767. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  1768. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  1769. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  1770. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  1771. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  1772. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  1773. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  1774. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  1775. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  1776. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  1777. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  1778. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  1779. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  1780. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  1781. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  1782. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  1783. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
  1784. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  1785. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  1786. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  1787. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  1788. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  1789. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  1790. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  1791. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  1792. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  1793. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  1794. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  1795. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  1796. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  1797. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  1798. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  1799. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
  1800. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1801. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1802. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1803. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  1804. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  1805. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  1806. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  1807. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  1808. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  1809. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  1810. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  1811. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  1812. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  1813. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  1814. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  1815. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  1816. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  1817. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  1818. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  1819. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  1820. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  1821. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  1822. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  1823. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  1824. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  1825. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
  1826. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  1827. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  1828. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  1829. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
  1830. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  1831. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  1832. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  1833. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  1834. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  1835. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  1836. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  1837. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  1838. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  1839. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
  1840. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
  1841. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  1842. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  1843. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  1844. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  1845. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  1846. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  1847. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  1848. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  1849. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  1850. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  1851. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  1852. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  1853. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
  1854. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  1855. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
  1856. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  1857. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  1858. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  1859. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  1860. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  1861. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  1862. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  1863. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
  1864. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  1865. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
  1866. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  1867. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  1868. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  1869. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
  1870. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  1871. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
  1872. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
  1873. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
  1874. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
  1875. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
  1876. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
  1877. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  1878. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  1879. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
  1880. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
  1881. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  1882. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  1883. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
  1884. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  1885. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  1886. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  1887. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  1888. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  1889. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  1890. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  1891. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  1892. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  1893. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  1894. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  1895. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  1896. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  1897. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  1898. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  1899. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  1900. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  1901. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
  1902. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  1903. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
  1904. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  1905. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  1906. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  1907. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
  1908. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  1909. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  1910. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  1911. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  1912. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  1913. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
  1914. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  1915. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  1916. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  1917. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  1918. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  1919. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  1920. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  1921. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  1922. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  1923. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  1924. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  1925. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  1926. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  1927. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  1928. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1929. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
  1930. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1931. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  1932. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
  1933. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1934. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1935. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1936. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1937. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1938. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1939. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1940. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1941. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
  1942. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1943. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
  1944. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1945. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1946. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1947. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
  1948. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
  1949. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1950. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1951. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1952. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1953. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1954. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1955. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1956. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1957. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1958. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1959. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1960. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1961. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1962. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1963. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1964. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1965. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1966. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1967. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1968. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1969. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1970. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1971. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1972. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1973. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1974. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1975. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1976. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1977. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
  1978. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
  1979. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
  1980. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
  1981. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
  1982. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
  1983. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1984. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1985. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1986. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1987. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1988. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1989. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1990. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1991. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
  1992. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
  1993. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
  1994. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
  1995. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
  1996. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
  1997. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
  1998. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
  1999. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
  2000. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
  2001. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
  2002. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
  2003. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
  2004. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
  2005. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
  2006. package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
  2007. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
  2008. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
  2009. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
  2010. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
  2011. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
  2012. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
  2013. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
  2014. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  2015. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  2016. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  2017. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  2018. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  2019. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
  2020. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
  2021. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
  2022. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
  2023. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
  2024. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
  2025. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
  2026. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
  2027. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
  2028. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
  2029. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
  2030. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
  2031. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
  2032. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
  2033. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
  2034. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
  2035. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
  2036. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
  2037. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
  2038. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
  2039. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  2040. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  2041. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  2042. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  2043. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  2044. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  2045. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  2046. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  2047. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  2048. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  2049. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  2050. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  2051. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  2052. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  2053. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  2054. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  2055. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  2056. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  2057. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
  2058. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  2059. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  2060. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  2061. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
  2062. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  2063. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
  2064. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  2065. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
  2066. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
  2067. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
  2068. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
  2069. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
  2070. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  2071. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  2072. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  2073. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  2074. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  2075. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  2076. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  2077. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
  2078. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
  2079. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
  2080. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
  2081. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
  2082. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
  2083. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
  2084. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
  2085. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  2086. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  2087. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
  2088. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
  2089. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
  2090. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
  2091. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
  2092. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
  2093. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
  2094. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
  2095. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
  2096. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
  2097. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
  2098. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
  2099. package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
  2100. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
  2101. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
  2102. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2103. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
  2104. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2105. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2106. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2107. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2108. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2109. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2110. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2111. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2112. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2113. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  2114. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  2115. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2116. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2117. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2118. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2119. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2120. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2121. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2122. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2123. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2124. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2125. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2126. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2127. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2128. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2129. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2130. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2131. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2132. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2133. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2134. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2135. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
  2136. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2137. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2138. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2139. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
  2140. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2141. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2142. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2143. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2144. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2145. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
  2146. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2147. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2148. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2149. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2150. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2151. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2152. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2153. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  2154. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  2155. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  2156. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  2157. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
  2158. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
  2159. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
  2160. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
  2161. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
  2162. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
  2163. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
  2164. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
  2165. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
  2166. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
  2167. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
  2168. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
  2169. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
  2170. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
  2171. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
  2172. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
  2173. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
  2174. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
  2175. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
  2176. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
  2177. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  2178. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  2179. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
  2180. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
  2181. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
  2182. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
  2183. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
  2184. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
  2185. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
  2186. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
  2187. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
  2188. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
  2189. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
  2190. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
  2191. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
  2192. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
  2193. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
  2194. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
  2195. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
  2196. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
  2197. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
  2198. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
  2199. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
  2200. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
  2201. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
  2202. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
  2203. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
  2204. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
  2205. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
  2206. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
  2207. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
  2208. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
  2209. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
  2210. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
  2211. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
  2212. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
  2213. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
  2214. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
  2215. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
  2216. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
  2217. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
  2218. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
  2219. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
  2220. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  2221. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  2222. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  2223. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
  2224. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
  2225. package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
  2226. package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
  2227. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  2228. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  2229. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  2230. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  2231. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
  2232. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  2233. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
  2234. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
  2235. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  2236. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  2237. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  2238. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  2239. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  2240. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  2241. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  2242. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  2243. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  2244. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  2245. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  2246. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  2247. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  2248. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  2249. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  2250. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  2251. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  2252. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  2253. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  2254. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  2255. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  2256. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  2257. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  2258. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  2259. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  2260. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  2261. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  2262. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  2263. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  2264. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  2265. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  2266. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  2267. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  2268. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  2269. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  2270. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  2271. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  2272. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  2273. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  2274. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  2275. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  2276. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  2277. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  2278. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  2279. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  2280. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  2281. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  2282. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  2283. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  2284. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  2285. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  2286. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  2287. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  2288. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  2289. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  2290. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  2291. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  2292. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  2293. package/dist/types/src/hooks/useDebounce.d.ts +0 -2
  2294. package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
  2295. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
  2296. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
  2297. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
  2298. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
  2299. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
  2300. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  2301. package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
  2302. package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
  2303. package/dist/types/src/index.d.ts +0 -63
  2304. package/dist/types/src/index.d.ts.map +0 -1
  2305. package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
  2306. package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
  2307. package/dist/types/src/methodsToExpose.d.ts +0 -13
  2308. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  2309. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
  2310. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  2311. package/dist/types/src/routes/Routes.d.ts +0 -2
  2312. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  2313. package/dist/types/src/service/API.d.ts +0 -6
  2314. package/dist/types/src/service/API.d.ts.map +0 -1
  2315. package/dist/types/src/service/DataService.d.ts +0 -73
  2316. package/dist/types/src/service/DataService.d.ts.map +0 -1
  2317. package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
  2318. package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
  2319. package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
  2320. package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
  2321. package/dist/types/src/service/ModelService.d.ts +0 -68
  2322. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  2323. package/dist/types/src/service/ProjectService.d.ts +0 -16
  2324. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  2325. package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
  2326. package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
  2327. package/dist/types/src/service/apicache.service.d.ts +0 -43
  2328. package/dist/types/src/service/apicache.service.d.ts.map +0 -1
  2329. package/dist/types/src/service/constants.d.ts +0 -3
  2330. package/dist/types/src/service/constants.d.ts.map +0 -1
  2331. package/dist/types/src/service/envHelperService.d.ts +0 -5
  2332. package/dist/types/src/service/envHelperService.d.ts.map +0 -1
  2333. package/dist/types/src/service/onDemandApi.d.ts +0 -27
  2334. package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
  2335. package/dist/types/src/service/variableHelperService.d.ts +0 -6
  2336. package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
  2337. package/dist/types/src/theme.d.ts +0 -4
  2338. package/dist/types/src/theme.d.ts.map +0 -1
  2339. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2340. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2341. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2342. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2343. package/dist/types/src/types/epubItems.d.ts +0 -23
  2344. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2345. package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
  2346. package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
  2347. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
  2348. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
  2349. package/dist/types/src/userProvidedConfig.d.ts +0 -8
  2350. package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
  2351. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2352. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2353. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2354. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2355. package/dist/types/src/utils/api.d.ts +0 -2
  2356. package/dist/types/src/utils/api.d.ts.map +0 -1
  2357. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2358. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2359. package/dist/types/src/utils/colors.d.ts +0 -5
  2360. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2361. package/dist/types/src/utils/date.d.ts +0 -1
  2362. package/dist/types/src/utils/date.d.ts.map +0 -1
  2363. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2364. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2365. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2366. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2367. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2368. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2369. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2370. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2371. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2372. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2373. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2374. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"SectionAccordion.js","sources":["../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"sourcesContent":["import React, { useEffect, useRef } from \"react\";\nimport {\n Accordion,\n AccordionDetails,\n AccordionSummary,\n Box,\n Tooltip,\n Typography,\n} from \"@mui/material\";\nimport { ChevronDown, ChevronUp } from \"lucide-react\";\nimport { MemoizedMarkdown } from \"../hooks/memoizedMarkdown\";\nimport { useCompareContext } from \"../CompareContext\";\nimport { \n generateColorPalette, \n hasValue, \n safeStringify,\n DEVIATION_BADGE_SEPARATOR,\n isMissingStr,\n escapeRegExp,\n hasMeaningfulRedlineTags,\n stripRedlineTags,\n getRhsMappedSectionNumber,\n hasSingleMappedLhsSection,\n getLhsDeviationDisplayIndexes,\n} from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { DeviationDataEntry, SectionBlock, StyleVariant } from \"../CognitiveCompareTypes\";\nimport { DeviationNavigationEntry } from \"../hooks/useDeviationNavigation\";\n\nconst renderSimpleMarkdown = (text: string, isMultiTag = false) => {\n if (!text) return null;\n\n const normalizedText = safeStringify(text).replace(/\\\\n/g, \"\\n\");\n const parts = normalizedText.split(/(\\*\\*.*?\\*\\*)/g);\n\n return parts.map((part: string, i: number) => {\n if (part.startsWith(\"**\") && part.endsWith(\"**\")) {\n return <strong key={i}>{part.slice(2, -2)}</strong>;\n }\n\n return (\n <div\n key={i}\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: \"8px\",\n width: \"100%\",\n }}\n >\n <span\n style={{\n minWidth: 0,\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n }}\n >\n {part}\n </span>\n\n {isMultiTag && (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n padding: \"0px 6px\",\n borderRadius: \"9999px\",\n background: \"#F3F4F6\",\n border: \"1px solid #D1D5DB\",\n color: \"#6B7280\",\n fontSize: \"9px\",\n fontWeight: 500,\n whiteSpace: \"nowrap\",\n flexShrink: 0,\n lineHeight: 1.4,\n marginRight: \"4px\",\n }}\n >\n Multiple\n </span>\n )}\n </div>\n );\n });\n};\n\nconst findScrollParent = (element: HTMLElement | null): HTMLElement | null => {\n let current = element?.parentElement || null;\n while (current) {\n const style = window.getComputedStyle(current);\n const overflowY = style.overflowY;\n const canScroll =\n (overflowY === \"auto\" || overflowY === \"scroll\") &&\n current.scrollHeight > current.clientHeight;\n\n if (canScroll) return current;\n current = current.parentElement;\n }\n\n return null;\n};\n\nconst isElementVisibleInScrollParent = (element: HTMLElement) => {\n const scrollParent = findScrollParent(element);\n const rect = element.getBoundingClientRect();\n const parentRect = scrollParent?.getBoundingClientRect() || {\n top: 0,\n bottom: window.innerHeight,\n };\n\n return rect.top >= parentRect.top && rect.bottom <= parentRect.bottom;\n};\n\ntype SectionAccordionProps = {\n section: SectionBlock;\n idx: number;\n columnKey: \"left\" | \"right\";\n colRef: React.RefObject<HTMLDivElement>;\n mb?: number;\n parentNodeId?: string;\n isExpanded: boolean;\n onToggle: () => void;\n navigation: DeviationNavigationEntry | null;\n};\n\nconst SectionAccordion = ({\n section,\n idx,\n columnKey,\n colRef,\n mb = 1,\n isExpanded,\n onToggle,\n navigation,\n parentNodeId = \"\",\n}: SectionAccordionProps) => {\n const {\n showOpenNodeRef,\n resolvedMarkdownStyles,\n maintainRelativeOrder,\n showDeviationBadges = false,\n renderSubSectionAccordion,\n treeData,\n proposedSections,\n existingSections,\n deviationNumberRegistry,\n deviationParentRegistry,\n getBadgeRef,\n openSummaryPopup,\n getSectionCompareStyle,\n connectedSections,\n openMoreFunctionsPopup,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n isSideBySide,\n activeSideBySideSection,\n scrollSyncLocked,\n unifiedNumbering,\n toggleScrollSyncLocked,\n summaryPopupAnchorEl,\n } = useCompareContext();\n const collisionKey = `${isSideBySide ? \"1\" : \"0\"}-${String(activeSideBySideSection ?? \"\")}`;\n const hasTitle = (section.displayTitle ?? true) && hasValue(section.title);\n const isProposedFixTarget =\n !!isProposingFix &&\n !!proposingFixNodeId &&\n columnKey === \"left\" &&\n (section.id === proposingFixNodeId || section.nodeId === proposingFixNodeId);\n \n const hasRedlineTags = hasMeaningfulRedlineTags(section.content);\n const inferredRedlineFlow = hasRedlineTags;\n const resolvedRedlineFlow =\n typeof isRedlineFlow === \"boolean\" ? isRedlineFlow : inferredRedlineFlow;\n const suppressHighlightBg = hasRedlineTags;\n\n // Use history as the base when redlines exist so badge matching still works.\n const shouldOverlayContent = resolvedRedlineFlow && hasRedlineTags;\n const baseContent = shouldOverlayContent\n ? stripRedlineTags(section.content)\n : section.content;\n const overlayContent = shouldOverlayContent ? section.content : undefined;\n const hasContent = ((section.displayContent ?? true) || hasRedlineTags) && hasValue(section.content);\n const isEmpty = !hasTitle && !hasContent;\n // const changeHistoryContent = section.change_history;\n // const isProposedFixTarget =\n // !!isProposingFix &&\n // !!proposingFixNodeId &&\n // columnKey === \"left\" &&\n // section.id === proposingFixNodeId;\n // const shouldOverlayContent = isProposedFixTarget && hasValue(changeHistoryContent);\n // const baseContent = shouldOverlayContent ? (changeHistoryContent || \"\") : section.content;\n // const overlayContent = shouldOverlayContent ? section.content : undefined;\n // const hasContent = (section.displayContent ?? true) && hasValue(baseContent);\n // const isEmpty = !hasTitle && !hasContent;\n\n \n\n let displayTitle = section.title;\n if (!hasTitle) {\n displayTitle = hasContent ? \"No Title Found\" : \"No Matching Section Found\";\n }\n const isMultipleMapping =\n columnKey === \"left\" &&\n (section.isMultipleMapping || (section.refContentIds?.length ?? 1) > 1);\n const visibleTitle =\n columnKey === \"left\" && displayTitle.length > 29\n ? `${displayTitle.slice(0, 29).trimEnd()}...`\n : displayTitle;\n\n let targetEvalResult = section.evaluationResult;\n if (!targetEvalResult && columnKey === \"right\") {\n if (maintainRelativeOrder) {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsSection = proposedSections.find((s: any) => s.selfIndex === lhsSelfIndex);\n targetEvalResult = lhsSection?.evaluationResult;\n } else {\n targetEvalResult = proposedSections[idx]?.evaluationResult;\n }\n }\n\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n const counterPartNodeId = columnKey === \"left\" ? rightDocId : leftDocId;\n const findNodeByIdDeep = (nodes: any[], id?: string): any => {\n if (!id || !nodes) return null;\n for (const n of nodes) {\n if (n.id === id || n.nodeId === id || n.contentId === id) return n;\n if (n.subsections?.length) {\n const found = findNodeByIdDeep(n.subsections, id);\n if (found) return found;\n }\n }\n return null;\n };\n\n let popupBaseSec: any = columnKey === \"left\" ? section : findNodeByIdDeep(proposedSections, section.id);\n let popupRefSec: any = columnKey === \"right\" ? section : findNodeByIdDeep(existingSections, section.id);\n\n const sectionOffset = React.useMemo(() => {\n if (!maintainRelativeOrder) return 0;\n let min = Infinity;\n\n const normalizeInlineContent = (value: unknown) => {\n const raw = hasMeaningfulRedlineTags(value) ? stripRedlineTags(value) : value;\n return safeStringify(raw || \"\").replace(/\\\\n/g, \"\\n\");\n };\n\n const canRenderInlineHighlight = (node: SectionBlock, highlight: unknown) => {\n if (typeof highlight !== \"string\" || isMissingStr(highlight)) return false;\n const content = normalizeInlineContent(node?.content);\n const normalizedHighlight = normalizeInlineContent(highlight);\n return !!normalizedHighlight && content.includes(normalizedHighlight);\n };\n\n const traverse = (node: any, bNode: any, rNode: any, isTopLevel: boolean) => {\n if (!node) return;\n\n let topNodeId = node.nodeId || node.id;\n if (isTopLevel && columnKey === \"right\") {\n const mappedLhs = proposedSections.filter((l: any) => l.refIndexes?.includes(node.selfIndex));\n if (mappedLhs.length > 0) topNodeId = mappedLhs[0].nodeId || mappedLhs[0].id;\n }\n\n let subNodeId = node.nodeId || node.id || bNode?.nodeId || bNode?.id || rNode?.nodeId || rNode?.id;\n\n const evalResult = node.evaluationResult || bNode?.evaluationResult || rNode?.evaluationResult;\n const devs = evalResult?.deviations || {};\n Object.keys(devs).forEach(devKey => {\n const highlight = devs[devKey]?.[parentNodeId];\n const renderNode = columnKey === \"left\" ? (bNode || node) : (rNode || node);\n if (!canRenderInlineHighlight(renderNode, highlight)) return;\n\n const refId1 = `${topNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n const idx1 = deviationNumberRegistry?.[refId1];\n if (idx1 !== undefined && idx1 !== null && idx1 < min) min = idx1;\n\n const refId2 = `${subNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n const idx2 = deviationNumberRegistry?.[refId2];\n if (idx2 !== undefined && idx2 !== null && idx2 < min) min = idx2;\n });\n\n const subs = node.subsections || [];\n const bSubs = bNode?.subsections || [];\n const rSubs = rNode?.subsections || [];\n const maxLen = Math.max(subs.length, bSubs.length, rSubs.length);\n\n for (let i = 0; i < maxLen; i++) {\n traverse(subs[i], bSubs[i], rSubs[i], false);\n }\n };\n\n const mappedLhsSections = columnKey === \"right\"\n ? proposedSections.filter((lhs: SectionBlock) => lhs.refIndexes?.includes(section.selfIndex as number))\n : [];\n\n if (mappedLhsSections.length === 1) {\n const mappedLhs = mappedLhsSections[0] as SectionBlock;\n const mappedRhsSections = (mappedLhs.refIndexes || [])\n .map((rhsSelfIndex: number) =>\n existingSections.find((rhs: SectionBlock) => rhs.selfIndex === rhsSelfIndex),\n )\n .filter(Boolean);\n\n mappedRhsSections.forEach((rhsSection: any) => {\n traverse(rhsSection, mappedLhs, rhsSection, true);\n });\n } else {\n traverse(section, popupBaseSec, popupRefSec, true);\n }\n\n return min !== Infinity ? min - 1 : 0;\n }, [section, popupBaseSec, popupRefSec, columnKey, parentNodeId, deviationNumberRegistry, maintainRelativeOrder, proposedSections, existingSections]);\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = section.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n popupRefSec = rhsArrayIdx !== -1\n ? existingSections[rhsArrayIdx]\n : findNodeByIdDeep(existingSections, section.id);\n } else {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n popupBaseSec = lhsArrayIdx !== -1\n ? proposedSections[lhsArrayIdx]\n : findNodeByIdDeep(proposedSections, section.id);\n }\n }\n\n const isSecOrphan = columnKey === \"left\" ? !popupRefSec : !popupBaseSec;\n const hasSingleMappedLhs =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n hasSingleMappedLhsSection(section, proposedSections);\n\n const resolvedEvalResult = targetEvalResult || popupBaseSec?.evaluationResult || popupRefSec?.evaluationResult;\n const deviationColorData = resolvedEvalResult?.evaluation_outputs?.metadata?.label_color ?? DEFAULT_DEVIAION_COLOR;\n const deviationPalette = generateColorPalette(deviationColorData);\n const { highlightBg } = deviationPalette;\n const deviations = resolvedEvalResult?.deviations || {};\n\n const lhsDeviationDisplayIndexes = React.useMemo(\n () =>\n maintainRelativeOrder && columnKey === \"right\"\n ? getLhsDeviationDisplayIndexes(\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n )\n : new Map<string, number>(),\n [\n maintainRelativeOrder,\n columnKey,\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n ],\n );\n\n let nodeId = section.nodeId || section.id;\n\n // For RHS mapped sections, nodeId must match what the registry used (LHS id)\n if (maintainRelativeOrder && columnKey !== \"left\") {\n const mappedLhs = proposedSections.filter((l: any) => l.refIndexes?.includes(section.selfIndex));\n if (mappedLhs.length > 0) {\n nodeId = mappedLhs[0].nodeId || mappedLhs[0].id;\n } else if (popupBaseSec?.id) {\n nodeId = popupBaseSec.nodeId || popupBaseSec.id;\n }\n }\n\n const rhsOrphanVisualIndexes = React.useMemo(() => {\n const indexes = new Map<string, number>();\n if (!maintainRelativeOrder || columnKey !== \"right\") return indexes;\n\n let nextIndex = 1;\n const mappedLhsSections = proposedSections.filter((lhs: SectionBlock) =>\n lhs.refIndexes?.includes(section.selfIndex as number),\n );\n const isOneToOneSection =\n mappedLhsSections.length === 1 &&\n mappedLhsSections[0].refIndexes?.length === 1;\n const normalizeContent = (value: unknown) =>\n safeStringify(value || \"\").replace(/\\\\n/g, \"\\n\");\n\n const resolveNode = (rhsNode: SectionBlock, isRoot: boolean) => {\n const lhsNode = isRoot\n ? mappedLhsSections[0]\n : findNodeByIdDeep(\n proposedSections,\n rhsNode.nodeId || rhsNode.id || rhsNode.contentId,\n );\n const evalResult =\n rhsNode.evaluationResult || lhsNode?.evaluationResult;\n const registryNodeId = lhsNode\n ? lhsNode.nodeId || lhsNode.id\n : rhsNode.nodeId || rhsNode.id;\n return { lhsNode, evalResult, registryNodeId };\n };\n\n if (isOneToOneSection) {\n const reserveMappedIndexes = (rhsNode: SectionBlock | null, isRoot = false) => {\n if (!rhsNode) return;\n const { lhsNode, evalResult, registryNodeId } = resolveNode(\n rhsNode,\n isRoot,\n );\n const normalizedContent = normalizeContent(rhsNode.content);\n\n Object.entries(evalResult?.deviations || {}).forEach(\n ([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[parentNodeId];\n const normalizedHighlight = normalizeContent(highlight);\n const isMapped =\n !!lhsNode &&\n !isMissingStr(deviationMap[counterPartNodeId as string]);\n if (\n !isMapped ||\n !normalizedHighlight ||\n !normalizedContent.includes(normalizedHighlight)\n ) return;\n\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const registryIndex = deviationNumberRegistry[refId];\n if (registryIndex === undefined || registryIndex === null) return;\n nextIndex = Math.max(\n nextIndex,\n Math.max(1, registryIndex - (sectionOffset || 0)) + 1,\n );\n },\n );\n\n (rhsNode.subsections || []).forEach((child: SectionBlock) =>\n reserveMappedIndexes(child),\n );\n };\n\n reserveMappedIndexes(section, true);\n }\n\n const visit = (rhsNode: SectionBlock | null, isRoot = false) => {\n if (!rhsNode) return;\n\n const { lhsNode, evalResult, registryNodeId } = resolveNode(\n rhsNode,\n isRoot,\n );\n const nodeDeviations = evalResult?.deviations || {};\n const normalizedContent = normalizeContent(rhsNode.content);\n\n Object.entries(nodeDeviations)\n .map(([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[parentNodeId];\n const isOrphan =\n !lhsNode || isMissingStr(deviationMap[counterPartNodeId as string]);\n const normalizedHighlight = normalizeContent(highlight);\n const position = normalizedHighlight\n ? normalizedContent.indexOf(normalizedHighlight)\n : -1;\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n return {\n refId,\n isRenderable:\n isOrphan && !!normalizedHighlight && !isMissingStr(highlight),\n position,\n registryIndex: deviationNumberRegistry[refId] ?? Number.MAX_SAFE_INTEGER,\n };\n })\n .filter((entry) => entry.isRenderable)\n .sort((a, b) => {\n const aPosition =\n a.position === -1 ? Number.MAX_SAFE_INTEGER : a.position;\n const bPosition =\n b.position === -1 ? Number.MAX_SAFE_INTEGER : b.position;\n return aPosition - bPosition || a.registryIndex - b.registryIndex;\n })\n .forEach((entry) => {\n indexes.set(entry.refId, nextIndex++);\n });\n\n (rhsNode.subsections || []).forEach((child: SectionBlock) => visit(child));\n };\n\n visit(section, true);\n return indexes;\n }, [\n maintainRelativeOrder,\n columnKey,\n section,\n proposedSections,\n parentNodeId,\n counterPartNodeId,\n deviationNumberRegistry,\n sectionOffset,\n ]);\n\n // Derive validatedParentNum from registry\n const firstDeviationKey = Object.keys(deviations)[0];\n const firstRefId = firstDeviationKey ? `${nodeId}${DEVIATION_BADGE_SEPARATOR}${firstDeviationKey}` : null;\n const registeredParentNum = firstRefId ? (deviationParentRegistry?.[firstRefId] as number) : null;\n\n let validatedParentNum: string | number = idx + 1;\n\n if (maintainRelativeOrder && unifiedNumbering) {\n const unifiedNum = columnKey === \"left\" \n ? unifiedNumbering.leftNums.get(section?.id as string) \n : unifiedNumbering.rightNums.get(section?.id as string);\n \n if (isSecOrphan && unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n } else if (unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n }\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n }\n // const deviationNodeIdRef = useRef<string | undefined>(deviationNodeIdToView);\n // const deviationNodeParentRef = useRef<string | null>(deviationTargetParentId || null);\n const highlights: string[] = [];\n // Mapp through deviations to pass to memoized markdown for highlighting, also prepare deviation badges \n const rawDeviationEntries = Object.entries(deviations).map(([deviationKey, deviationMap]: [string, any]) => {\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const currentIndex = deviationNumberRegistry[refId];\n return { deviationKey, deviationMap, refId, currentIndex };\n }).filter(item => item.currentIndex !== undefined && item.currentIndex !== null);\n\n // Sort by global index BEFORE mapping to prevent negative/zero offsets\n rawDeviationEntries.sort((a, b) => a.currentIndex - b.currentIndex);\n\n const deviationEntries = rawDeviationEntries.map((item) => {\n const { deviationKey, deviationMap, refId } = item;\n let currentIndex = item.currentIndex;\n\n let highlight = deviationMap[parentNodeId];\n const isMissingClause = isMissingStr(highlight);\n\n if (isMissingClause) {\n highlight = \"\"; \n } else if (!highlight) {\n return null; \n }\n\n highlights.push(highlight);\n\n // MAPPING Stricter Left/Right Index mapping to prevent cross-wiring\n let leftIdx = idx;\n let rightIdx = idx;\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = section.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n if (rhsArrayIdx !== -1) {\n rightIdx = rhsArrayIdx;\n } else {\n const rhsByIdIdx = existingSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n rightIdx = rhsByIdIdx !== -1 ? rhsByIdIdx : idx;\n }\n } else {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (lhsArrayIdx !== -1) {\n leftIdx = lhsArrayIdx;\n } else {\n const lhsByIdIdx = proposedSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n leftIdx = lhsByIdIdx !== -1 ? lhsByIdIdx : idx;\n }\n }\n }\n\n const actionId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}${DEVIATION_BADGE_SEPARATOR}${leftIdx}${DEVIATION_BADGE_SEPARATOR}${rightIdx}`;\n \n // CONTENT Use the calculated mapped indices to grab correct counterpart text\n // const counterPartContentRaw = columnKey === \"left\" ? existingSections[rightIdx]?.content : proposedSections[leftIdx]?.content;\n const counterpartHighlight = deviationMap[counterPartNodeId as string];\n \n // Commented Out code for removing the highlight swallowing logic\n // let simulatedContent = safeStringify(counterPartContentRaw);\n\n // const counterPartHighlight = Object.keys(deviations)\n // .map(key => ({ key, text: deviations[key][counterPartNodeId as string] }))\n // .filter(item => !isMissingStr(item.text))\n // .sort((a, b) => b.text.length - a.text.length);\n\n // const survivingKeys = new Set();\n // counterPartHighlight.forEach(item => {\n // const clean = item.text.replace(/\\\\(['’])/g, \"$1\").replace(/\\\\n/g, \"\\n\");\n // if(!clean) return;\n\n // const regex = new RegExp(escapeRegExp(clean));\n // if(regex.test(simulatedContent)){\n // survivingKeys.add(item.key);\n // simulatedContent = simulatedContent.replace(regex, `__TOKEN_${item.key}__`);\n // }\n // });\n\n // const isCounterPartOverlapping = !isMissingStr(counterpartHighlight) && !survivingKeys.has(deviationKey);\n\n const isDeviationOrphan = isSecOrphan || isMissingStr(counterpartHighlight);\n const orphanVisualIndex = rhsOrphanVisualIndexes.get(refId);\n const mappedLhsIndex = lhsDeviationDisplayIndexes.get(refId);\n if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n orphanVisualIndex !== undefined\n ) {\n currentIndex = orphanVisualIndex;\n } else if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n !isDeviationOrphan &&\n mappedLhsIndex !== undefined\n ) {\n currentIndex = mappedLhsIndex;\n } else if (\n maintainRelativeOrder &&\n sectionOffset !== undefined &&\n (columnKey !== \"right\" || isDeviationOrphan || hasSingleMappedLhs)\n ) {\n currentIndex = currentIndex - sectionOffset;\n }\n currentIndex = Math.max(1, currentIndex);\n\n const badgeParentNum =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n unifiedNumbering\n ? getRhsMappedSectionNumber({\n section,\n proposedSections,\n leftNums: unifiedNumbering.leftNums,\n fallbackNumber: String(validatedParentNum),\n firstOnly: true,\n })\n : validatedParentNum;\n const badgeLabel = `${badgeParentNum}.${currentIndex}`;\n\n let mappedIdx = idx;\n if (columnKey === \"right\" && maintainRelativeOrder) {\n const lhsSelfIndex = section.refIndexes?.[0];\n const actualLhsIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (actualLhsIdx !== -1) {\n mappedIdx = actualLhsIdx;\n } else {\n const lhsByIdIdx = proposedSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n if (lhsByIdIdx !== -1) mappedIdx = lhsByIdIdx;\n }\n }\n const baseStyle = getSectionCompareStyle ? getSectionCompareStyle(mappedIdx) : null;\n \n // let isUIOverlapping = false;\n // if (highlight) {\n // const allHighlights = Object.values(deviations).map((d: any) => d[parentNodeId as string]).filter(Boolean);\n // isUIOverlapping = allHighlights.some((otherHl: any) => otherHl.length > highlight.length && otherHl.includes(highlight));\n // }\n\n const deviationOutput = deviationMap?.evaluation_outputs || resolvedEvalResult?.evaluation_outputs;\n const deviationScore = deviationOutput?.output_value ?? null;\n const deviationColorForBadge = deviationOutput?.metadata?.label_color ?? deviationColorData;\n const deviationPaletteForBadge = generateColorPalette(deviationColorForBadge);\n let badgeStyle = baseStyle\n ? {\n ...baseStyle,\n badgeBg: deviationPaletteForBadge.badgeBg,\n badgeBorder: deviationPaletteForBadge.badgeBorder,\n badgeText: deviationPaletteForBadge.badgeText,\n }\n : { ...deviationPaletteForBadge };\n\n // if (isUIOverlapping) {\n // badgeStyle.badgeBg = \"#FFFBEB\";\n // badgeStyle.badgeBorder = \"#FCD34D\";\n // badgeStyle.badgeText = \"#B45309\";\n // badgeStyle.highlightBg = \"#FDE68A\";\n // }\n\n const summaryPayload = deviationMap?.deviation_summary\n ? {\n deviation_summary: deviationMap.deviation_summary,\n deviation_title: deviationMap?.deviation_title || resolvedEvalResult?.deviation_title,\n deviation_impact: deviationMap?.deviation_impact || resolvedEvalResult?.deviation_impact,\n deviation_explanation:\n deviationMap?.deviation_explanation || resolvedEvalResult?.deviation_explanation,\n evaluation_outputs: deviationOutput,\n cognitive_decisioning:\n deviationMap?.cognitive_decisioning || resolvedEvalResult?.cognitive_decisioning,\n }\n : null;\n\n // Logic for overlapping highlight badges\n let stackIndex = 0;\n const contentStr = baseContent || \"\";\n if (highlight && contentStr) {\n const paragraphs = contentStr.split(/\\n{2,}/);\n const paraIndex = paragraphs.findIndex(p => p.includes(highlight));\n if (paraIndex !== -1) {\n const devsInPara = Object.entries(deviations)\n .filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && paragraphs[paraIndex].includes(hl);\n })\n .sort((a: any, b: any) => paragraphs[paraIndex].indexOf(a[1][parentNodeId]) - paragraphs[paraIndex].indexOf(b[1][parentNodeId]));\n const overlappingDevs = devsInPara.filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && (hl.includes(highlight) || highlight.includes(hl));\n });\n if (overlappingDevs.length > 1) {\n stackIndex = Math.max(0, overlappingDevs.findIndex(([k]) => k === deviationKey));\n }\n }\n }\n const badgeRef = getBadgeRef(columnKey, refId);\n\n return {\n id: refId,\n actionId: actionId,\n label: badgeLabel,\n highlight,\n side: columnKey,\n style: badgeStyle,\n stackIndex,\n score: deviationScore,\n isConnected: connectedSections?.has(actionId),\n showScrollLockToggle:\n connectedSections?.has(actionId) ||\n (isSideBySide && activeSideBySideSection === actionId) ||\n (!!summaryPopupAnchorEl && summaryPopupAnchorEl === badgeRef.current),\n scrollSyncLocked,\n toggleScrollSyncLocked,\n isOrphan: isDeviationOrphan,\n isMissingClause,\n badgeRef,\n onClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n\n if (openMoreFunctionsPopup) {\n openMoreFunctionsPopup(\n e as any, \n popupBaseSec || { id: \"orphan-left\", title: \"\", content: \"\" }, \n isDeviationOrphan, \n popupRefSec || { id: \"orphan-right\", title: \"\", content: \"\" }, \n actionId as any, \n badgeStyle as StyleVariant | null\n );\n }\n },\n\n onSummaryClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n openSummaryPopup(e, actionId, isDeviationOrphan, summaryPayload);\n },\n };\n }).filter(Boolean);\n const baseShouldRenderBadges =\n showDeviationBadges || (!resolvedRedlineFlow && isProposedFixTarget);\n const shouldRenderBadges = baseShouldRenderBadges;\n const deviationBadgesToRender = shouldRenderBadges ? deviationEntries : [];\n\n // NEW: Sync highlights to prevent ghost highlights\n const highlightsToRender = deviationEntries.map((b: any) => b.highlight).filter(Boolean)\n\n const show =\n section.id && columnKey === navigation?.columnKey ? navigation : null;\n\n // Local ref added to prevent race conditions\n const hasScrolledRef = React.useRef(false);\n\n // Reset scroll flag when section closed\n useEffect(() => {\n if (!isExpanded) {\n hasScrolledRef.current = false;\n }\n }, [isExpanded]);\n // useEffect(()=>{\n // deviationNodeIdRef.current = deviationNodeIdToView;\n // deviationNodeParentRef.current = deviationTargetParentId || null;\n // }, [deviationNodeIdToView, deviationTargetParentId]);\n\n // Commented out the auto scroll functionality which was breaking the LSC -> RHS opening\n // useEffect(() => {\n // const isDeviationTargetSection =\n // !!deviationNodeIdRef.current &&\n // !!deviationNodeParentRef.current &&\n // nodeId === deviationNodeParentRef.current;\n // // NEW CONDITION: Check if the deviation target is one of the direct subsections\n // const isTargetInSubsections =\n // !!deviationNodeIdRef.current &&\n // (section.subsections || []).some(\n // (sub) => sub.id === deviationNodeIdRef.current\n // );\n\n // // Abort scroll if it's already scrolled, not expanded, is the target section, \n // // OR if the target is inside its subsections\n // if (\n // !isExpanded ||\n // hasScrolledRef.current ||\n // isDeviationTargetSection ||\n // isTargetInSubsections\n // ) {\n // return;\n // }\n\n // const timer = setTimeout(() => {\n // const firstDeviationEl = show?.firstDeviationRef?.current;\n // const firstDeviationPosition = show?.firstDeviationPosition;\n\n // if (!firstDeviationEl) {\n // hasScrolledRef.current = true;\n // return;\n // }\n\n // if (\n // firstDeviationPosition === \"inside\" ||\n // isElementVisibleInScrollParent(firstDeviationEl)\n // ) {\n // hasScrolledRef.current = true;\n // return;\n // }\n\n // hasScrolledRef.current = true;\n // firstDeviationEl.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"center\",\n // });\n // }, 600);\n\n // return () => clearTimeout(timer);\n // }, [\n // isExpanded,\n // nodeId,\n // show?.firstDeviationPosition,\n // show?.firstDeviationRef,\n // ]);\n \n return (\n <Box\n key={`${columnKey}-sec-${idx}`}\n ref={colRef}\n sx={{\n mb,\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n minWidth: 0,\n }}\n >\n {isExpanded && show?.showAbove && (\n <div\n style={{\n position: \"sticky\",\n top: 0,\n height: \"0px\",\n cursor: \"pointer\",\n }}\n onClick={() =>\n show?.showAboveRef?.current?.scrollIntoView({\n behavior: \"smooth\" as ScrollBehavior,\n block: \"center\",\n })\n }\n >\n <div\n style={{\n transform: `translateY(-50%) translateX(calc(100% ${\n columnKey === \"left\" ? \"+\" : \"-\"\n } 130px))`,\n position: \"absolute\",\n paddingTop: \"20px\",\n ...(columnKey === \"left\" ? {right: \"-20px\"} : {left: \"-20px\"}),\n }}\n >\n <ChevronUp\n color={\n show?.showAboveRef?.current\n ? window.getComputedStyle(show.showAboveRef.current).color\n : undefined\n }\n />\n </div>\n </div>\n )}\n <Accordion\n disableGutters\n expanded={isEmpty ? false : isExpanded}\n onChange={() => {\n if (!isEmpty) {\n onToggle();\n showOpenNodeRef.current = section.id;\n }\n }}\n sx={{\n boxShadow: \"none\",\n border: isEmpty ? \"1px dashed #E2E8F0\" : \"1px solid #E2E8F0\",\n bgcolor: isEmpty ? \"#FAFAFA\" : \"#FFFFFF\",\n borderRadius: \"6px\",\n flexGrow: 1,\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n \"&:before\": { display: \"none\" },\n \"& .MuiAccordion-heading\": {\n position: \"sticky\",\n top: -12,\n zIndex: 10,\n background: \"#fff\",\n },\n }}\n >\n <AccordionSummary\n expandIcon={isEmpty ? null : <ChevronDown size={16} />}\n sx={{\n minHeight: \"36px\",\n flexShrink: 0,\n cursor: isEmpty ? \"default\" : \"pointer\",\n \"& .MuiAccordionSummary-content\": {\n my: 0.5,\n display: \"grid\",\n alignItems: \"center\",\n minWidth: 0,\n width: \"100%\",\n },\n \"& .MuiAccordionSummary-expandIconWrapper\": {\n transition: \"transform 0.2s ease\",\n },\n \"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded\": {\n transform: \"rotate(180deg)\",\n },\n }}\n >\n {hasTitle && (\n <Tooltip title={displayTitle} placement=\"top\">\n <Typography\n component=\"div\"\n sx={{\n fontSize: \"12px\",\n color: isEmpty ? \"#94A3B8\" : \"#19213D\",\n fontWeight: isEmpty ? 400 : 700,\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n width: \"100%\",\n minWidth: 0,\n }}\n >\n {renderSimpleMarkdown(visibleTitle, isMultipleMapping)}\n </Typography>\n </Tooltip>\n )}\n </AccordionSummary>\n {!isEmpty && (\n <AccordionDetails\n sx={{\n pt: 0,\n pb: 1.25,\n bgcolor: \"#FFFFFF\",\n flex: 1,\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n }}\n >\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n highlights={highlightsToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n deviationBadges={deviationBadgesToRender}\n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) =>\n renderSubSectionAccordion({\n section: sub,\n keyPath: `${idx}-${subIdx}`,\n depth: 0,\n columnKey,\n parentNodeId,\n sectionOffset,\n rhsOrphanVisualIndexes,\n }),\n )}\n </AccordionDetails>\n )}\n </Accordion>\n {isExpanded && show?.showBelow && (\n <div\n style={{\n position: \"sticky\",\n bottom: 0,\n height: \"0px\",\n cursor: \"pointer\",\n }}\n onClick={() =>\n show?.showBelowRef?.current?.scrollIntoView({\n behavior: \"smooth\" as ScrollBehavior,\n block: \"center\",\n })\n }\n >\n <div\n style={{\n transform: `translateY(-50%) translateX(calc(100% ${\n columnKey === \"left\" ? \"+\" : \"-\"\n } 130px))`,\n position: \"absolute\",\n paddingBottom: \"20px\",\n ...(columnKey === \"left\" ? {right: \"-20px\"} : {left: \"-20px\"}),\n }}\n >\n <ChevronDown\n color={\n show?.showBelowRef?.current\n ? window.getComputedStyle(show.showBelowRef.current).color\n : undefined\n }\n />\n </div>\n </div>\n )}\n </Box>\n );\n};\n\nexport default SectionAccordion;\n"],"names":["renderSimpleMarkdown","text","isMultiTag","safeStringify","replace","split","map","part","i","startsWith","endsWith","children","slice","jsxs","style","display","alignItems","justifyContent","gap","width","jsx","minWidth","overflow","textOverflow","whiteSpace","padding","borderRadius","background","border","color","fontSize","fontWeight","flexShrink","lineHeight","marginRight","SectionAccordion","section","idx","columnKey","colRef","mb","isExpanded","onToggle","navigation","parentNodeId","showOpenNodeRef","resolvedMarkdownStyles","maintainRelativeOrder","showDeviationBadges","renderSubSectionAccordion","treeData","proposedSections","existingSections","deviationNumberRegistry","deviationParentRegistry","getBadgeRef","openSummaryPopup","getSectionCompareStyle","connectedSections","openMoreFunctionsPopup","isProposingFix","proposingFixNodeId","isRedlineFlow","isSideBySide","activeSideBySideSection","scrollSyncLocked","unifiedNumbering","toggleScrollSyncLocked","summaryPopupAnchorEl","useCompareContext","collisionKey","String","hasTitle","displayTitle","hasValue","title","isProposedFixTarget","id","nodeId","hasRedlineTags","hasMeaningfulRedlineTags","content","resolvedRedlineFlow","suppressHighlightBg","shouldOverlayContent","baseContent","stripRedlineTags","overlayContent","hasContent","displayContent","isEmpty","isMultipleMapping","refContentIds","length","visibleTitle","trimEnd","targetEvalResult","evaluationResult","lhsSelfIndex","refIndexes","lhsSection","find","s","selfIndex","leftDocId","input_index_map","rightDocId","counterPartNodeId","findNodeByIdDeep","nodes","n","contentId","subsections","found","popupBaseSec","popupRefSec","sectionOffset","React","useMemo","min","Infinity","normalizeInlineContent","value","raw","traverse","node","bNode","rNode","isTopLevel","topNodeId","mappedLhs","filter","l","includes","subNodeId","evalResult","devs","deviations","Object","keys","forEach","devKey","highlight","isMissingStr","normalizedHighlight","canRenderInlineHighlight","refId1","DEVIATION_BADGE_SEPARATOR","idx1","refId2","idx2","subs","bSubs","rSubs","maxLen","Math","max","mappedLhsSections","lhs","rhsSelfIndex","rhs","Boolean","rhsSection","rhsArrayIdx","findIndex","lhsArrayIdx","isSecOrphan","hasSingleMappedLhs","hasSingleMappedLhsSection","resolvedEvalResult","deviationColorData","evaluation_outputs","metadata","label_color","DEFAULT_DEVIAION_COLOR","deviationPalette","generateColorPalette","highlightBg","lhsDeviationDisplayIndexes","getLhsDeviationDisplayIndexes","Map","rhsOrphanVisualIndexes","indexes","nextIndex","isOneToOneSection","normalizeContent","resolveNode","rhsNode","isRoot","lhsNode","registryNodeId","reserveMappedIndexes","normalizedContent","entries","deviationKey","deviationMap","registryIndex","child","visit","nodeDeviations","isOrphan","position","indexOf","refId","isRenderable","Number","MAX_SAFE_INTEGER","entry","sort","a","b","set","firstDeviationKey","firstRefId","registeredParentNum","validatedParentNum","unifiedNum","leftNums","get","rightNums","rawDeviationEntries","currentIndex","item","deviationEntries","isMissingClause","leftIdx","rightIdx","rhsByIdIdx","lhsByIdIdx","actionId","counterpartHighlight","isDeviationOrphan","orphanVisualIndex","mappedLhsIndex","badgeLabel","getRhsMappedSectionNumber","fallbackNumber","firstOnly","mappedIdx","actualLhsIdx","baseStyle","deviationOutput","deviationScore","output_value","deviationPaletteForBadge","badgeStyle","badgeBg","badgeBorder","badgeText","summaryPayload","deviation_summary","deviation_title","deviation_impact","deviation_explanation","cognitive_decisioning","stackIndex","contentStr","paragraphs","paraIndex","p","overlappingDevs","_","dMap","hl","k","badgeRef","label","side","score","isConnected","has","showScrollLockToggle","current","onClick","e","stopPropagation","onSummaryClick","deviationBadgesToRender","highlightsToRender","show","hasScrolledRef","useRef","useEffect","Box","ref","sx","flexDirection","showAbove","top","height","cursor","showAboveRef","scrollIntoView","behavior","block","transform","paddingTop","right","left","ChevronUp","window","getComputedStyle","Accordion","disableGutters","expanded","onChange","boxShadow","bgcolor","flexGrow","zIndex","AccordionSummary","expandIcon","ChevronDown","size","minHeight","my","transition","Tooltip","placement","Typography","component","AccordionDetails","pt","pb","flex","MemoizedMarkdown","sxStyles","highlights","deviationBadges","sub","subIdx","keyPath","depth","showBelow","bottom","showBelowRef","paddingBottom"],"mappings":"2vBA6BA,MAAMA,EAAuB,CAACC,EAAcC,GAAa,KACnD,IAACD,EAAa,OAAA,KAKlB,OAHuBE,EAAcF,GAAMG,QAAQ,OAAQ,MAC9BC,MAAM,kBAEtBC,IAAI,CAACC,EAAcC,IAC1BD,EAAKE,WAAW,OAASF,EAAKG,SAAS,QACjC,SAAgB,CAAAC,SAAAJ,EAAKK,MAAM,GAAG,IAAlBJ,GAIpBK,EAAC,MAAA,CAECC,MAAO,CACLC,QAAS,OACTC,WAAY,SACZC,eAAgB,gBAChBC,IAAK,MACLC,MAAO,QAGTR,SAAA,CAAAS,EAAC,OAAA,CACCN,MAAO,CACLO,SAAU,EACVC,SAAU,SACVC,aAAc,WACdC,WAAY,UAGbb,SAAAJ,IAGFL,GACCkB,EAAC,OAAA,CACCN,MAAO,CACLC,QAAS,cACTC,WAAY,SACZC,eAAgB,SAChBQ,QAAS,UACTC,aAAc,SACdC,WAAY,UACZC,OAAQ,oBACRC,MAAO,UACPC,SAAU,MACVC,WAAY,IACZP,WAAY,SACZQ,WAAY,EACZC,WAAY,IACZC,YAAa,OAEhBvB,SAAA,eAtCEH,KAsFP2B,EAAmB,EACvBC,UACAC,MACAC,YACAC,SACAC,KAAK,EACLC,aACAC,WACAC,aACAC,eAAe,OAET,MAAAC,gBACJA,EAAAC,uBACAA,EAAAC,sBACAA,EAAAC,oBACAA,GAAsB,EAAAC,0BACtBA,EAAAC,SACAA,EAAAC,iBACAA,EAAAC,iBACAA,EAAAC,wBACAA,EAAAC,wBACAA,EAAAC,YACAA,EAAAC,iBACAA,EAAAC,uBACAA,EAAAC,kBACAA,EAAAC,uBACAA,EAAAC,eACAA,EAAAC,mBACA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ACNrT,QAAS,OACT+Q,cAAe,SACfzQ,SAAU,GAGXV,SAAA,CACC6E,IAAApE,EAACiT,EAAA,CACCpP,QAASI,GACTE,kBACA+O,SAAUxR,EACVyR,WAAYjD,GACZvO,wBACAkI,eACA9F,uBACAqP,gBAAiBnD,GACjB/M,mBAGFlC,EAAQ4E,aAAe,IAAI1G,IAAI,CAACmU,EAAKC,IACrCzR,EAA0B,CACxBb,QAASqS,EACTE,QAAS,GAAGtS,KAAOqS,IACnBE,MAAO,EACPtS,YACAM,eACAwE,iBACAiE,mCAMT5I,GAAc8O,IAAMsD,WACnBzT,EAAC,MAAA,CACCN,MAAO,CACL2L,SAAU,SACVqI,OAAQ,EACR7C,OAAQ,MACRC,OAAQ,WAEVjB,QAAS,IACPM,IAAMwD,cAAc/D,SAASoB,eAAe,CAC1CC,SAAU,SACVC,MAAO,WAIX3R,SAAAS,EAAC,MAAA,CACCN,MAAO,CACLyR,UAAW,yCACK,SAAdjQ,EAAuB,IAAM,cAE/BmK,SAAU,WACVuI,cAAe,UACG,SAAd1S,EAAuB,CAACmQ,MAAO,SAAW,CAACC,KAAM,UAGvD/R,SAAAS,EAACoS,EAAA,CACC3R,MACE0P,IAAMwD,cAAc/D,QAChB4B,OAAOC,iBAAiBtB,GAAKwD,aAAa/D,SAASnP,WACnD,UAvLT,GAAGS,SAAiBD"}
@@ -1,2 +1,2 @@
1
- import{__assign as n}from"tslib";import{jsx as i,jsxs as e}from"react/jsx-runtime";import t,{useMemo as o}from"react";import{Box as l,Accordion as d,AccordionSummary as r,Typography as a,AccordionDetails as u}from"@mui/material";import{ChevronDown as c}from"lucide-react";import{MemoizedMarkdown as s}from"../hooks/memoizedMarkdown.js";import{useCompareContext as v}from"../CompareContext.js";import{hasValue as f,hasMeaningfulRedlineTags as p,stripRedlineTags as h,hasSingleMappedLhsSection as m,getLhsDeviationDisplayIndexes as g,generateColorPalette as x,safeStringify as y,isMissingStr as S,getRhsMappedSectionNumber as I,DEVIATION_BADGE_SEPARATOR as b}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as _}from"../CognitiveCompareConstants.js";var k=t.memo(function(t){var w,C,F,O,P,N,B,M,R,E,j=t.section,A=t.keyPath,K=t.depth,W=void 0===K?0:K,L=t.columnKey,T=void 0===L?"left":L,z=t.parentNodeId,D=void 0===z?"":z,G=t.sectionOffset,H=t.rhsOrphanVisualIndexes,V=v(),X=V.expandedSubSections,U=V.setExpandedSubSections,q=V.maintainRelativeOrder,J=V.showDeviationBadges,Q=void 0!==J&&J,Y=V.proposedSections,Z=V.existingSections,$=V.treeData,nn=V.deviationNumberRegistry,en=V.deviationParentRegistry,tn=V.connectedSections,on=V.activeSideBySideSection,ln=V.isSideBySide,dn=V.scrollSyncLocked,rn=V.toggleScrollSyncLocked,an=V.summaryPopupAnchorEl,un=V.resolvedMarkdownStyles,cn=V.getSubSectionRef,sn=V.getSubSectionCompareStyle,vn=V.getBadgeRef,fn=V.openMoreFunctionsPopup,pn=V.openSummaryPopup,hn=V.resetSideBySide,mn=V.setConnectedSections,gn=V.setConnectedLines,xn=V.cachedConnectedPositions,yn=V.isProposingFix,Sn=V.proposingFixNodeId,In=V.isRedlineFlow,bn=V.unifiedNumbering,_n=null!=on?on:"",kn=(null===(w=j.displayTitle)||void 0===w||w)&&f(j.title),wn=!(!yn||!Sn||"left"!==T||j.id!==Sn&&j.nodeId!==Sn),Cn=p(j.content),Fn="boolean"==typeof In?In:Cn,On=Cn,Pn=Fn&&Cn,Nn=Pn?h(j.content):j.content,Bn=Pn?j.content:void 0,Mn=(null===(C=j.displayContent)||void 0===C||C||Cn)&&f(j.content),Rn=!kn&&!Mn,En=kn?j.title:Mn?"No Title Found":"No Matching Section Found",jn=!!X[A],An=cn(T,A),Kn=A.split("-").map(Number)[0],Wn=Y[Kn],Ln=Z[Kn],Tn=Kn,zn=Kn,Dn=!1,Gn=function(n,i,e){if(!n||!i)return null;if(n.id===i||n.nodeId===i||n.contentId===i)return{section:n,keyPath:e};for(var t=(n.subsections||[]).map(function(n,i){return{section:n,keyPath:"".concat(e,"-").concat(i)}}),o=function(){var n=t.shift();return(null==n?void 0:n.section)?n.section.id===i||n.section.nodeId===i||n.section.contentId===i?{value:n}:void(n.section.subsections||[]).forEach(function(i,e){t.push({section:i,keyPath:"".concat(n.keyPath,"-").concat(e)})}):"continue"};t.length>0;){var l=o();if("object"==typeof l)return l.value}return null};if(q)if("left"===T){var Hn=null===(F=null==Wn?void 0:Wn.refIndexes)||void 0===F?void 0:F[0],Vn=Z.findIndex(function(n){return n.selfIndex===Hn});-1!==Vn?(Ln=Z[Vn],zn=Vn):Dn=!0}else{var Xn=null===(O=null==Ln?void 0:Ln.refIndexes)||void 0===O?void 0:O[0],Un=Y.findIndex(function(n){return n.selfIndex===Xn});-1!==Un?(Wn=Y[Un],Tn=Un):Dn=!0}var qn=function(n,i){if(!i||!n)return null;for(var e=0;e<n.length;e++){var t=Gn(n[e],i,String(e));if(t)return t}return null},Jn=null,Qn=null,Yn="",Zn="";if(q)"left"===T?(Jn=j,Yn=A,($n=Gn(Ln,j.nodeId||j.id,String(zn)))||($n=qn(Z,j.nodeId||j.id)),Qn=(null==$n?void 0:$n.section)||null,Zn=(null==$n?void 0:$n.keyPath)||""):(Qn=j,Zn=A,(ni=Gn(Wn,j.nodeId||j.id,String(Tn)))||(ni=qn(Y,j.nodeId||j.id)),Jn=(null==ni?void 0:ni.section)||null,Yn=(null==ni?void 0:ni.keyPath)||"");else if("left"===T){Jn=j,Yn=A;var $n=qn(Z,j.nodeId||j.id);Qn=(null==$n?void 0:$n.section)||null,Zn=(null==$n?void 0:$n.keyPath)||""}else{Qn=j,Zn=A;var ni=qn(Y,j.nodeId||j.id);Jn=(null==ni?void 0:ni.section)||null,Yn=(null==ni?void 0:ni.keyPath)||""}var ii=(Yn?sn(Yn):null)||sn(A),ei=null===(P=null==$?void 0:$.input_index_map)||void 0===P?void 0:P[0],ti=null===(N=null==$?void 0:$.input_index_map)||void 0===N?void 0:N[1],oi="left"===T?ti:ei,li="left"===T?!Qn:!Jn,di=q&&"right"===T&&m(Ln,Y),ri=j.evaluationResult||(null==Jn?void 0:Jn.evaluationResult)||(null==Qn?void 0:Qn.evaluationResult),ai=(null==ri?void 0:ri.deviations)||{},ui=o(function(){return q&&"right"===T?g(Y,ei,nn):new Map},[q,T,Y,ei,nn]),ci=j.nodeId||j.id||(null==Jn?void 0:Jn.nodeId)||(null==Jn?void 0:Jn.id)||(null==Qn?void 0:Qn.nodeId)||(null==Qn?void 0:Qn.id);q&&"left"!==T&&(null==Jn?void 0:Jn.id)&&(ci=Jn.nodeId||Jn.id);var si=Object.keys(ai)[0],vi=si?"".concat(ci).concat(b).concat(si):null,fi=vi?null==en?void 0:en[vi]:null,pi=Kn+1;if(q&&bn){var hi="left"===T?bn.leftNums.get(null==Wn?void 0:Wn.id):bn.rightNums.get(null==Ln?void 0:Ln.id);Dn&&void 0!==hi?pi=hi:null!=fi&&fi>=0?pi=fi:void 0!==hi&&(pi=hi)}else null!=fi&&fi>=0&&(pi=fi);var mi=null!==(R=null===(M=null===(B=null==ri?void 0:ri.evaluation_outputs)||void 0===B?void 0:B.metadata)||void 0===M?void 0:M.label_color)&&void 0!==R?R:_,gi=x(mi).highlightBg,xi=Object.entries(ai).map(function(n){var i=n[0],e=n[1],t="".concat(ci).concat(b).concat(i);return{deviationKey:i,deviationMap:e,refId:t,currentIndex:nn[t]}}).filter(function(n){return void 0!==n.currentIndex&&null!==n.currentIndex});xi.sort(function(n,i){return n.currentIndex-i.currentIndex});var yi=new Map;if(!H&&q&&"right"===T){var Si=y(Nn||"").replace(/\\n/g,"\n");xi.filter(function(n){var i=n.deviationMap,e=i[D];return(li||S(i[oi]))&&!!e&&!S(e)}).map(function(i){var e=y(i.deviationMap[D]||"").replace(/\\n/g,"\n"),t=e?Si.indexOf(e):-1;return n(n({},i),{position:t})}).sort(function(n,i){return(-1===n.position?Number.MAX_SAFE_INTEGER:n.position)-(-1===i.position?Number.MAX_SAFE_INTEGER:i.position)||n.currentIndex-i.currentIndex}).forEach(function(n,i){yi.set(n.refId,i+1)})}var Ii=xi.map(function(i){var e,t,o,l,d=i.deviationKey,r=i.deviationMap,a=i.refId,u=i.currentIndex,c=r[D],s=S(c);if(s)c="";else if(!c)return null;var v=r[oi],f=li||S(v),p=null!==(e=null==H?void 0:H.get(a))&&void 0!==e?e:yi.get(a),h=ui.get(a);q&&"right"===T&&f&&void 0!==p?u=p:q&&"right"===T&&!f&&void 0!==h?u=h:q&&void 0!==G&&("right"!==T||f||di)&&(u-=G),u=Math.max(1,u);var m=q&&"right"===T&&f&&bn?I({section:Ln,proposedSections:Y,leftNums:bn.leftNums,fallbackNumber:String(pi),firstOnly:!0}):pi,g="".concat(m,".").concat(u),y="".concat(ci).concat(b).concat(d).concat(b).concat(Yn).concat(b).concat(Zn),_=(null==r?void 0:r.evaluation_outputs)||(null==ri?void 0:ri.evaluation_outputs),k=null!==(t=null==_?void 0:_.output_value)&&void 0!==t?t:null,w=null!==(l=null===(o=null==_?void 0:_.metadata)||void 0===o?void 0:o.label_color)&&void 0!==l?l:mi,C=x(w),F=n({},C),O=(null==r?void 0:r.deviation_summary)?{deviation_summary:r.deviation_summary||(null==ri?void 0:ri.deviation_summary),deviation_title:(null==r?void 0:r.deviation_title)||(null==ri?void 0:ri.deviation_title),deviation_impact:(null==r?void 0:r.deviation_impact)||(null==ri?void 0:ri.deviation_impact),deviation_explanation:(null==r?void 0:r.deviation_explanation)||(null==ri?void 0:ri.deviation_explanation),evaluation_outputs:_,cognitive_decisioning:(null==r?void 0:r.cognitive_decisioning)||(null==ri?void 0:ri.cognitive_decisioning)}:null,P=0,N=Nn||"";if(c&&N){var B=N.split(/\n{2,}/),M=B.findIndex(function(n){return n.includes(c)});if(-1!==M){var R=Object.entries(ai).filter(function(n){n[0];var i=n[1][D];return i&&B[M].includes(i)}).sort(function(n,i){return B[M].indexOf(n[1][D])-B[M].indexOf(i[1][D])}),E=R.filter(function(n){n[0];var i=n[1][D];return i&&(i.includes(c)||c.includes(i))});E.length>1&&(P=Math.max(0,E.findIndex(function(n){return n[0]===d})))}}var j=vn(T,a);return{id:a,actionId:y,label:g,highlight:c,side:T,style:F,stackIndex:P,score:k,isConnected:tn.has(y),showScrollLockToggle:tn.has(y)||ln&&on===y||!!an&&an===j.current,scrollSyncLocked:dn,toggleScrollSyncLocked:rn,isOrphan:f,isMissingClause:s,badgeRef:j,onClick:function(i){i.stopPropagation();var e=Jn?n(n({},Jn),{title:(null==Wn?void 0:Wn.title)||(null==Jn?void 0:Jn.title)||""}):{id:"orphan-left",title:"",content:""},t=Qn?n(n({},Qn),{title:(null==Ln?void 0:Ln.title)||(null==Qn?void 0:Qn.title)||""}):{id:"orphan-right",title:"",content:""};fn(i,e,f,t,y,F)},onSummaryClick:function(n){n.stopPropagation(),pn(n,y,f,O)}}}).filter(Boolean).sort(function(n,i){return parseFloat(n.label)-parseFloat(i.label)}),bi=o(function(){var n=new Set;return Ii.filter(function(i){return!n.has(i.id)&&(n.add(i.id),!0)})},[Ii]),_i=Q||!Fn&&wn?bi:[],ki=bi.map(function(n){return n.highlight}).filter(Boolean),wi=Ii.find(function(n){return tn.has(n.actionId)}),Ci=!!wi;if(!(kn||Mn||j.subsections&&0!==j.subsections.length))return null;var Fi=(null===(E=null==wi?void 0:wi.style)||void 0===E?void 0:E.badgeBorder)||(null==ii?void 0:ii.badgeBorder),Oi=Ci&&Fi?{borderRadius:"4px",outline:"2px solid ".concat(Fi),outlineOffset:"1px"}:{};return i(l,kn?n({ref:An,sx:{mt:1,width:"100%",minWidth:0,position:"relative"}},{children:i(l,n({sx:n({width:"100%"},Oi)},{children:e(d,n({disableGutters:!0,expanded:!Rn&&jn,onChange:function(){if(!Rn){if(jn){var i=String(on||""),e=i.includes(Yn)||i.includes(Zn);e||tn.forEach(function(n){(String(n).includes(Yn)||String(n).includes(Zn))&&(e=!0)}),e&&(hn(),mn(new Set),gn([]),xn.current=[])}U(function(i){var e;return n(n({},i),((e={})[A]=!i[A],e))})}},sx:{mt:0,boxShadow:"none",border:Rn?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}}},{children:[i(r,n({expandIcon:Rn?null:i(c,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}}},{children:i(a,n({component:"div",sx:{fontSize:"11px",fontWeight:600,color:Rn?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:En||"Untitled Subsection"}))})),!Rn&&e(u,n({sx:{pt:0,pb:1,minWidth:0}},{children:[Mn&&i(s,{content:Nn,overlayContent:Bn,sxStyles:un,deviationBadges:_i,maintainRelativeOrder:q,highlightBg:gi,suppressHighlightBg:On,highlights:ki,collisionKey:_n}),(j.subsections||[]).map(function(n,e){return i(k,{section:n,keyPath:"".concat(A,"-").concat(e),depth:W+1,columnKey:T,parentNodeId:D,sectionOffset:G,rhsOrphanVisualIndexes:H},"".concat(A,"-").concat(e))})]}))]}))}))}):n({ref:An,sx:{mt:0===W?1:.75,width:"100%",minWidth:0,position:"relative"}},{children:!Rn&&e(l,n({sx:n({width:"100%"},Oi)},{children:[Mn&&i(s,{content:Nn,overlayContent:Bn,sxStyles:un,deviationBadges:_i,maintainRelativeOrder:q,highlightBg:gi,suppressHighlightBg:On,highlights:ki,collisionKey:_n}),(j.subsections||[]).map(function(n,e){return i(k,{section:n,keyPath:"".concat(A,"-").concat(e),depth:W+1,columnKey:T,parentNodeId:D,sectionOffset:G,rhsOrphanVisualIndexes:H},"".concat(A,"-").concat(e))})]}))}))});export{k as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import n,{useMemo as i}from"react";import{Box as o,Accordion as s,AccordionSummary as d,Typography as l,AccordionDetails as r}from"@mui/material";import{ChevronDown as a}from"lucide-react";import{MemoizedMarkdown as c}from"../hooks/memoizedMarkdown.js";import{useCompareContext as u}from"../CompareContext.js";import{hasValue as p,hasMeaningfulRedlineTags as h,stripRedlineTags as f,hasSingleMappedLhsSection as g,getLhsDeviationDisplayIndexes as m,generateColorPalette as x,safeStringify as v,isMissingStr as y,getRhsMappedSectionNumber as S,DEVIATION_BADGE_SEPARATOR as I}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as b}from"../CognitiveCompareConstants.js";const _=n.memo(n=>{const{section:$,keyPath:k,depth:w=0,columnKey:C="left",parentNodeId:F="",sectionOffset:O,rhsOrphanVisualIndexes:P}=n,{expandedSubSections:N,setExpandedSubSections:B,maintainRelativeOrder:M,showDeviationBadges:R=!1,proposedSections:E,existingSections:j,treeData:A,deviationNumberRegistry:K,deviationParentRegistry:W,connectedSections:L,activeSideBySideSection:T,isSideBySide:z,scrollSyncLocked:D,toggleScrollSyncLocked:G,summaryPopupAnchorEl:H,resolvedMarkdownStyles:V,getSubSectionRef:X,getSubSectionCompareStyle:U,getBadgeRef:q,openMoreFunctionsPopup:J,openSummaryPopup:Q,resetSideBySide:Y,setConnectedSections:Z,setConnectedLines:ee,cachedConnectedPositions:te,isProposingFix:ne,proposingFixNodeId:ie,isRedlineFlow:oe,unifiedNumbering:se}=u(),de=T??"",le=($.displayTitle??!0)&&p($.title),re=!(!ne||!ie||"left"!==C||$.id!==ie&&$.nodeId!==ie),ae=h($.content),ce="boolean"==typeof oe?oe:ae,ue=ae,pe=ce&&ae,he=pe?f($.content):$.content,fe=pe?$.content:void 0,ge=(($.displayContent??!0)||ae)&&p($.content),me=!le&&!ge,xe=le?$.title:ge?"No Title Found":"No Matching Section Found",ve=!!N[k],ye=X(C,k),Se=k.split("-").map(Number)[0];let Ie=E[Se],be=j[Se],_e=Se,$e=Se,ke=!1;const we=(e,t,n)=>{if(!e||!t)return null;if(e.id===t||e.nodeId===t||e.contentId===t)return{section:e,keyPath:n};const i=(e.subsections||[]).map((e,t)=>({section:e,keyPath:`${n}-${t}`}));for(;i.length>0;){const e=i.shift();if(e?.section){if(e.section.id===t||e.section.nodeId===t||e.section.contentId===t)return e;(e.section.subsections||[]).forEach((t,n)=>{i.push({section:t,keyPath:`${e.keyPath}-${n}`})})}}return null};if(M)if("left"===C){const e=Ie?.refIndexes?.[0],t=j.findIndex(t=>t.selfIndex===e);-1!==t?(be=j[t],$e=t):ke=!0}else{const e=be?.refIndexes?.[0],t=E.findIndex(t=>t.selfIndex===e);-1!==t?(Ie=E[t],_e=t):ke=!0}const Ce=(e,t)=>{if(!t||!e)return null;for(let n=0;n<e.length;n++){const i=we(e[n],t,String(n));if(i)return i}return null};let Fe=null,Oe=null,Pe="",Ne="";if(M)if("left"===C){Fe=$,Pe=k;let e=we(be,$.nodeId||$.id,String($e));e||(e=Ce(j,$.nodeId||$.id)),Oe=e?.section||null,Ne=e?.keyPath||""}else{Oe=$,Ne=k;let e=we(Ie,$.nodeId||$.id,String(_e));e||(e=Ce(E,$.nodeId||$.id)),Fe=e?.section||null,Pe=e?.keyPath||""}else if("left"===C){Fe=$,Pe=k;const e=Ce(j,$.nodeId||$.id);Oe=e?.section||null,Ne=e?.keyPath||""}else{Oe=$,Ne=k;const e=Ce(E,$.nodeId||$.id);Fe=e?.section||null,Pe=e?.keyPath||""}const Be=(Pe?U(Pe):null)||U(k),Me=A?.input_index_map?.[0],Re=A?.input_index_map?.[1],Ee="left"===C?Re:Me,je="left"===C?!Oe:!Fe,Ae=M&&"right"===C&&g(be,E),Ke=$.evaluationResult||Fe?.evaluationResult||Oe?.evaluationResult,We=Ke?.deviations||{},Le=i(()=>M&&"right"===C?m(E,Me,K):new Map,[M,C,E,Me,K]);let Te=$.nodeId||$.id||Fe?.nodeId||Fe?.id||Oe?.nodeId||Oe?.id;M&&"left"!==C&&Fe?.id&&(Te=Fe.nodeId||Fe.id);const ze=Object.keys(We)[0],De=ze?`${Te}${I}${ze}`:null,Ge=De?W?.[De]:null;let He=Se+1;if(M&&se){const e="left"===C?se.leftNums.get(Ie?.id):se.rightNums.get(be?.id);ke&&void 0!==e?He=e:null!=Ge&&Ge>=0?He=Ge:void 0!==e&&(He=e)}else null!=Ge&&Ge>=0&&(He=Ge);const Ve=Ke?.evaluation_outputs?.metadata?.label_color??b,Xe=x(Ve),{highlightBg:Ue}=Xe,qe=Object.entries(We).map(([e,t])=>{const n=`${Te}${I}${e}`;return{deviationKey:e,deviationMap:t,refId:n,currentIndex:K[n]}}).filter(e=>void 0!==e.currentIndex&&null!==e.currentIndex);qe.sort((e,t)=>e.currentIndex-t.currentIndex);const Je=new Map;if(!P&&M&&"right"===C){const e=v(he||"").replace(/\\n/g,"\n");qe.filter(({deviationMap:e})=>{const t=e[F];return(je||y(e[Ee]))&&!!t&&!y(t)}).map(t=>{const n=v(t.deviationMap[F]||"").replace(/\\n/g,"\n"),i=n?e.indexOf(n):-1;return{...t,position:i}}).sort((e,t)=>(-1===e.position?Number.MAX_SAFE_INTEGER:e.position)-(-1===t.position?Number.MAX_SAFE_INTEGER:t.position)||e.currentIndex-t.currentIndex).forEach((e,t)=>{Je.set(e.refId,t+1)})}const Qe=qe.map(e=>{const{deviationKey:t,deviationMap:n,refId:i}=e;let o=e.currentIndex,s=n[F];const d=y(s);if(d)s="";else if(!s)return null;const l=n[Ee],r=je||y(l),a=P?.get(i)??Je.get(i),c=Le.get(i);M&&"right"===C&&r&&void 0!==a?o=a:M&&"right"===C&&!r&&void 0!==c?o=c:M&&void 0!==O&&("right"!==C||r||Ae)&&(o-=O),o=Math.max(1,o);const u=`${M&&"right"===C&&r&&se?S({section:be,proposedSections:E,leftNums:se.leftNums,fallbackNumber:String(He),firstOnly:!0}):He}.${o}`,p=`${Te}${I}${t}${I}${Pe}${I}${Ne}`,h=n?.evaluation_outputs||Ke?.evaluation_outputs,f=h?.output_value??null;let g={...x(h?.metadata?.label_color??Ve)};const m=n?.deviation_summary?{deviation_summary:n.deviation_summary||Ke?.deviation_summary,deviation_title:n?.deviation_title||Ke?.deviation_title,deviation_impact:n?.deviation_impact||Ke?.deviation_impact,deviation_explanation:n?.deviation_explanation||Ke?.deviation_explanation,evaluation_outputs:h,cognitive_decisioning:n?.cognitive_decisioning||Ke?.cognitive_decisioning}:null;let v=0;const b=he||"";if(s&&b){const e=b.split(/\n{2,}/),n=e.findIndex(e=>e.includes(s));if(-1!==n){const i=Object.entries(We).filter(([t,i])=>{const o=i[F];return o&&e[n].includes(o)}).sort((t,i)=>e[n].indexOf(t[1][F])-e[n].indexOf(i[1][F])).filter(([e,t])=>{const n=t[F];return n&&(n.includes(s)||s.includes(n))});i.length>1&&(v=Math.max(0,i.findIndex(([e])=>e===t)))}}const _=q(C,i);return{id:i,actionId:p,label:u,highlight:s,side:C,style:g,stackIndex:v,score:f,isConnected:L.has(p),showScrollLockToggle:L.has(p)||z&&T===p||!!H&&H===_.current,scrollSyncLocked:D,toggleScrollSyncLocked:G,isOrphan:r,isMissingClause:d,badgeRef:_,onClick:e=>{e.stopPropagation();const t=Fe?{...Fe,title:Ie?.title||Fe?.title||""}:{id:"orphan-left",title:"",content:""},n=Oe?{...Oe,title:be?.title||Oe?.title||""}:{id:"orphan-right",title:"",content:""};J(e,t,r,n,p,g)},onSummaryClick:e=>{e.stopPropagation(),Q(e,p,r,m)}}}).filter(Boolean).sort((e,t)=>parseFloat(e.label)-parseFloat(t.label)),Ye=i(()=>{const e=new Set;return Qe.filter(t=>!e.has(t.id)&&(e.add(t.id),!0))},[Qe]),Ze=R||!ce&&re?Ye:[],et=Ye.map(e=>e.highlight).filter(Boolean),tt=Qe.find(e=>L.has(e.actionId)),nt=!!tt;if(!(le||ge||$.subsections&&0!==$.subsections.length))return null;const it=tt?.style?.badgeBorder||Be?.badgeBorder,ot=nt&&it?{borderRadius:"4px",outline:`2px solid ${it}`,outlineOffset:"1px"}:{};return e(o,le?{ref:ye,sx:{mt:1,width:"100%",minWidth:0,position:"relative"},children:e(o,{sx:{width:"100%",...ot},children:t(s,{disableGutters:!0,expanded:!me&&ve,onChange:()=>{if(!me){if(ve){const e=String(T||"");let t=e.includes(Pe)||e.includes(Ne);t||L.forEach(e=>{(String(e).includes(Pe)||String(e).includes(Ne))&&(t=!0)}),t&&(Y(),Z(new Set),ee([]),te.current=[])}B(e=>({...e,[k]:!e[k]}))}},sx:{mt:0,boxShadow:"none",border:me?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}},children:[e(d,{expandIcon:me?null:e(a,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}},children:e(l,{component:"div",sx:{fontSize:"11px",fontWeight:600,color:me?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0},children:xe||"Untitled Subsection"})}),!me&&t(r,{sx:{pt:0,pb:1,minWidth:0},children:[ge&&e(c,{content:he,overlayContent:fe,sxStyles:V,deviationBadges:Ze,maintainRelativeOrder:M,highlightBg:Ue,suppressHighlightBg:ue,highlights:et,collisionKey:de}),($.subsections||[]).map((t,n)=>e(_,{section:t,keyPath:`${k}-${n}`,depth:w+1,columnKey:C,parentNodeId:F,sectionOffset:O,rhsOrphanVisualIndexes:P},`${k}-${n}`))]})]})})}:{ref:ye,sx:{mt:0===w?1:.75,width:"100%",minWidth:0,position:"relative"},children:!me&&t(o,{sx:{width:"100%",...ot},children:[ge&&e(c,{content:he,overlayContent:fe,sxStyles:V,deviationBadges:Ze,maintainRelativeOrder:M,highlightBg:Ue,suppressHighlightBg:ue,highlights:et,collisionKey:de}),($.subsections||[]).map((t,n)=>e(_,{section:t,keyPath:`${k}-${n}`,depth:w+1,columnKey:C,parentNodeId:F,sectionOffset:O,rhsOrphanVisualIndexes:P},`${k}-${n}`))]})})});export{_ as default};
2
2
  //# sourceMappingURL=SubSectionAccordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubSectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"SubSectionAccordion.js","sources":["../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"sourcesContent":["import React, { useMemo, useEffect, useRef } from \"react\";\nimport {\n Box,\n Typography,\n Accordion,\n AccordionSummary,\n AccordionDetails,\n Tooltip,\n} from \"@mui/material\";\nimport { ChevronDown, EllipsisVertical } from \"lucide-react\";\n\nimport { ButtonCognitiveIcon } from \"../../../assests/svg/ButtonCognitiveIcon\";\nimport { MemoizedMarkdown } from \"../hooks/memoizedMarkdown\";\nimport { useCompareContext } from \"../CompareContext\";\nimport {\n hasValue,\n safeStringify,\n generateColorPalette,\n isMissingStr,\n DEVIATION_BADGE_SEPARATOR,\n hasMeaningfulRedlineTags,\n stripRedlineTags,\n getRhsMappedSectionNumber,\n hasSingleMappedLhsSection,\n getLhsDeviationDisplayIndexes,\n} from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { DeviationDataEntry, SectionBlock, StyleVariant } from \"../CognitiveCompareTypes\";\n\ninterface SubSectionAccordionProps {\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}\n\nconst SubSectionAccordion: React.FC<SubSectionAccordionProps> = React.memo((props) => {\n const {\n section,\n keyPath,\n depth = 0,\n columnKey = \"left\",\n parentNodeId = \"\",\n sectionOffset,\n rhsOrphanVisualIndexes,\n } = props;\n const {\n expandedSubSections,\n setExpandedSubSections,\n maintainRelativeOrder,\n showDeviationBadges = false,\n proposedSections,\n existingSections,\n treeData,\n deviationNumberRegistry,\n deviationParentRegistry,\n connectedSections,\n activeSideBySideSection,\n isSideBySide,\n scrollSyncLocked,\n toggleScrollSyncLocked,\n summaryPopupAnchorEl,\n resolvedMarkdownStyles,\n getSubSectionRef,\n getSubSectionCompareStyle,\n getBadgeRef,\n openMoreFunctionsPopup,\n openSummaryPopup,\n resetSideBySide,\n setConnectedSections,\n setConnectedLines,\n cachedConnectedPositions,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n unifiedNumbering,\n } = useCompareContext();\n\n const collisionKey = activeSideBySideSection ?? \"\";\n\n const hasTitle = (section.displayTitle ?? true) && hasValue(section.title);\n const isProposedFixTarget =\n !!isProposingFix &&\n !!proposingFixNodeId &&\n columnKey === \"left\" &&\n (section.id === proposingFixNodeId || section.nodeId === proposingFixNodeId);\n \n const hasRedlineTags = hasMeaningfulRedlineTags(section.content);\n const inferredRedlineFlow = hasRedlineTags;\n const resolvedRedlineFlow =\n typeof isRedlineFlow === \"boolean\" ? isRedlineFlow : inferredRedlineFlow;\n const suppressHighlightBg = hasRedlineTags;\n\n // Use history as the base when redlines exist so badge matching still works.\n const shouldOverlayContent = resolvedRedlineFlow && hasRedlineTags;\n const baseContent = shouldOverlayContent\n ? stripRedlineTags(section.content)\n : section.content;\n const overlayContent = shouldOverlayContent ? section.content : undefined;\n const hasContent = ((section.displayContent ?? true) || hasRedlineTags) && hasValue(section.content);\n const isEmpty = !hasTitle && !hasContent;\n\n const displayTitle = hasTitle ? section.title : hasContent ? \"No Title Found\" : \"No Matching Section Found\";\n const isExpanded = !!expandedSubSections[keyPath];\n const colRef = getSubSectionRef(columnKey, keyPath);\n \n const pathParts = keyPath.split('-').map(Number);\n const rootIndex = pathParts[0];\n\n let baseRoot: any = proposedSections[rootIndex];\n let refRoot: any = existingSections[rootIndex];\n let leftRootIndex = rootIndex;\n let rightRootIndex = rootIndex;\n let isRootOrphan = false;\n\n const findSectionPathById = (\n root: any,\n targetId: string | undefined,\n rootPath: string,\n ): { section: any; keyPath: string } | null => {\n if (!root || !targetId) return null;\n if (root.id === targetId || root.nodeId === targetId || root.contentId === targetId) return { section: root, keyPath: rootPath };\n\n const stack = (root.subsections || []).map((child: any, idx: number) => ({\n section: child,\n keyPath: `${rootPath}-${idx}`,\n }));\n\n while (stack.length > 0) {\n const current = stack.shift();\n if (!current?.section) continue;\n if (\n current.section.id === targetId ||\n current.section.nodeId === targetId ||\n current.section.contentId === targetId\n ) return current;\n\n (current.section.subsections || []).forEach((child: any, idx: number) => {\n stack.push({\n section: child,\n keyPath: `${current.keyPath}-${idx}`,\n });\n });\n }\n\n return null;\n };\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = baseRoot?.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n if (rhsArrayIdx !== -1) {\n refRoot = existingSections[rhsArrayIdx];\n rightRootIndex = rhsArrayIdx;\n } else {\n isRootOrphan = true;\n }\n } else {\n const lhsSelfIndex = refRoot?.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (lhsArrayIdx !== -1) {\n baseRoot = proposedSections[lhsArrayIdx];\n leftRootIndex = lhsArrayIdx;\n } else {\n isRootOrphan = true;\n }\n }\n }\n\n // --- UNIFIED COUNTERPART LOOKUP ENGINE ---\n const findGlobalPathById = (sections: any[], targetId: string | undefined) => {\n if (!targetId || !sections) return null;\n for (let i = 0; i < sections.length; i++) {\n const match = findSectionPathById(sections[i], targetId, String(i));\n if (match) return match;\n }\n return null;\n };\n\n let bSec: any = null;\n let rSec: any = null;\n let leftKeyPath = \"\";\n let rightKeyPath = \"\";\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n bSec = section;\n leftKeyPath = keyPath;\n\n // Try looking within the relative matched root section first\n let rightMatch = findSectionPathById(refRoot, section.nodeId || section.id, String(rightRootIndex));\n \n // Fallback globally across the entire RHS tree if cross-wired or mismatched\n if (!rightMatch) {\n rightMatch = findGlobalPathById(existingSections, section.nodeId || section.id);\n }\n\n rSec = rightMatch?.section || null;\n rightKeyPath = rightMatch?.keyPath || \"\";\n } else {\n rSec = section;\n rightKeyPath = keyPath;\n\n // Try looking within the relative matched root section first\n let leftMatch = findSectionPathById(baseRoot, section.nodeId || section.id, String(leftRootIndex));\n \n // Fallback globally across the entire LHS tree if cross-wired or mismatched\n if (!leftMatch) {\n leftMatch = findGlobalPathById(proposedSections, section.nodeId || section.id);\n }\n\n bSec = leftMatch?.section || null;\n leftKeyPath = leftMatch?.keyPath || \"\";\n }\n } else {\n // When maintainRelativeOrder is false, absolute structural paths diverge completely.\n // Index path crawling fails here. Execute absolute global ID tracing to handle re-routed clauses.\n if (columnKey === \"left\") {\n bSec = section;\n leftKeyPath = keyPath;\n\n const rightMatch = findGlobalPathById(existingSections, section.nodeId || section.id);\n rSec = rightMatch?.section || null;\n rightKeyPath = rightMatch?.keyPath || \"\";\n } else {\n rSec = section;\n rightKeyPath = keyPath;\n\n const leftMatch = findGlobalPathById(proposedSections, section.nodeId || section.id);\n bSec = leftMatch?.section || null;\n leftKeyPath = leftMatch?.keyPath || \"\";\n }\n }\n\n const style = (leftKeyPath ? getSubSectionCompareStyle(leftKeyPath) : null) || getSubSectionCompareStyle(keyPath);\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n const counterpartNodeId = columnKey === \"left\" ? rightDocId : leftDocId;\n\n const isSecOrphan = columnKey === \"left\" ? !rSec : !bSec;\n const hasSingleMappedLhs =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n hasSingleMappedLhsSection(refRoot, proposedSections);\n \n const targetEvalResult = section.evaluationResult || bSec?.evaluationResult || rSec?.evaluationResult;\n\n const deviations = targetEvalResult?.deviations || {};\n const lhsDeviationDisplayIndexes = useMemo(\n () =>\n maintainRelativeOrder && columnKey === \"right\"\n ? getLhsDeviationDisplayIndexes(\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n )\n : new Map<string, number>(),\n [\n maintainRelativeOrder,\n columnKey,\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n ],\n );\n let nodeId = section.nodeId || section.id || bSec?.nodeId || bSec?.id || rSec?.nodeId || rSec?.id;\n\n // For Subsections, use the exact LHS counterpart subsection (bSec) ID for registry lookup\n if (maintainRelativeOrder && columnKey !== \"left\") {\n if (bSec?.id) {\n nodeId = bSec.nodeId || bSec.id;\n }\n }\n\n // Derive validatedParentNum from registry\n const firstDeviationKey = Object.keys(deviations)[0];\n const firstRefId = firstDeviationKey ? `${nodeId}${DEVIATION_BADGE_SEPARATOR}${firstDeviationKey}` : null;\n const registeredParentNum = firstRefId ? (deviationParentRegistry?.[firstRefId] as number) : null;\n\n let validatedParentNum: string | number = rootIndex + 1;\n\n if (maintainRelativeOrder && unifiedNumbering) {\n const unifiedNum = columnKey === \"left\" \n ? unifiedNumbering.leftNums.get(baseRoot?.id) \n : unifiedNumbering.rightNums.get(refRoot?.id);\n\n if (isRootOrphan && unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n } else if (unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n }\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n }\n\n const deviationColorData = targetEvalResult?.evaluation_outputs?.metadata?.label_color ?? DEFAULT_DEVIAION_COLOR;\n const deviationPalette = generateColorPalette(deviationColorData);\n const { highlightBg } = deviationPalette;\n\n \n const highlights: string[] = [];\n \n const rawDeviationEntries = Object.entries(deviations).map(([deviationKey, deviationMap]: [string, any]) => {\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const currentIndex = deviationNumberRegistry[refId];\n return { deviationKey, deviationMap, refId, currentIndex };\n }).filter(item => item.currentIndex !== undefined && item.currentIndex !== null);\n\n rawDeviationEntries.sort((a, b) => a.currentIndex - b.currentIndex);\n\n const localRhsOrphanVisualIndexes = new Map<string, number>();\n if (\n !rhsOrphanVisualIndexes &&\n maintainRelativeOrder &&\n columnKey === \"right\"\n ) {\n const normalizedContent = safeStringify(baseContent || \"\").replace(/\\\\n/g, \"\\n\");\n rawDeviationEntries\n .filter(({ deviationMap }) => {\n const ownHighlight = deviationMap[parentNodeId];\n const isOrphan =\n isSecOrphan || isMissingStr(deviationMap[counterpartNodeId as string]);\n return isOrphan && !!ownHighlight && !isMissingStr(ownHighlight);\n })\n .map((entry) => {\n const normalizedHighlight = safeStringify(\n entry.deviationMap[parentNodeId] || \"\",\n ).replace(/\\\\n/g, \"\\n\");\n const position = normalizedHighlight\n ? normalizedContent.indexOf(normalizedHighlight)\n : -1;\n return { ...entry, position };\n })\n .sort((a, b) => {\n const aPosition = a.position === -1 ? Number.MAX_SAFE_INTEGER : a.position;\n const bPosition = b.position === -1 ? Number.MAX_SAFE_INTEGER : b.position;\n return aPosition - bPosition || a.currentIndex - b.currentIndex;\n })\n .forEach((entry, index) => {\n localRhsOrphanVisualIndexes.set(entry.refId, index + 1);\n });\n }\n\n const deviationEntries = rawDeviationEntries\n .map((item) => {\n const { deviationKey, deviationMap, refId } = item;\n let currentIndex = item.currentIndex;\n\n // if (maintainRelativeOrder && sectionOffset !== undefined) {\n // currentIndex = currentIndex - sectionOffset;\n // }\n // currentIndex = Math.max(1, currentIndex);\n\n let highlight = deviationMap[parentNodeId];\n const isMissingClause = isMissingStr(highlight);\n\n if (isMissingClause) highlight = \"\";\n else if (!highlight) return null;\n\n highlights.push(highlight);\n\n const counterpartHighlight = deviationMap[counterpartNodeId as string];\n\n const isDeviationOrphan = isSecOrphan || isMissingStr(counterpartHighlight);\n const orphanVisualIndex =\n rhsOrphanVisualIndexes?.get(refId) ??\n localRhsOrphanVisualIndexes.get(refId);\n const mappedLhsIndex = lhsDeviationDisplayIndexes.get(refId);\n if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n orphanVisualIndex !== undefined\n ) {\n currentIndex = orphanVisualIndex;\n } else if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n !isDeviationOrphan &&\n mappedLhsIndex !== undefined\n ) {\n currentIndex = mappedLhsIndex;\n } else if (\n maintainRelativeOrder &&\n sectionOffset !== undefined &&\n (columnKey !== \"right\" || isDeviationOrphan || hasSingleMappedLhs)\n ) {\n currentIndex = currentIndex - sectionOffset;\n }\n currentIndex = Math.max(1, currentIndex);\n\n const badgeParentNum =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n unifiedNumbering\n ? getRhsMappedSectionNumber({\n section: refRoot,\n proposedSections,\n leftNums: unifiedNumbering.leftNums,\n fallbackNumber: String(validatedParentNum),\n firstOnly: true,\n })\n : validatedParentNum;\n const badgeLabel = `${badgeParentNum}.${currentIndex}`;\n const actionId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}${DEVIATION_BADGE_SEPARATOR}${leftKeyPath}${DEVIATION_BADGE_SEPARATOR}${rightKeyPath}`;\n const deviationOutput = deviationMap?.evaluation_outputs || targetEvalResult?.evaluation_outputs;\n const deviationScore = deviationOutput?.output_value ?? null;\n const deviationColorForBadge = deviationOutput?.metadata?.label_color ?? deviationColorData;\n const deviationPaletteForBadge = generateColorPalette(deviationColorForBadge);\n let badgeStyle = { ...deviationPaletteForBadge } as StyleVariant;\n\n const summaryPayload = deviationMap?.deviation_summary\n ? {\n deviation_summary: deviationMap.deviation_summary || targetEvalResult?.deviation_summary,\n deviation_title: deviationMap?.deviation_title || targetEvalResult?.deviation_title,\n deviation_impact: deviationMap?.deviation_impact || targetEvalResult?.deviation_impact,\n deviation_explanation:\n deviationMap?.deviation_explanation || targetEvalResult?.deviation_explanation,\n evaluation_outputs: deviationOutput,\n cognitive_decisioning:\n deviationMap?.cognitive_decisioning || targetEvalResult?.cognitive_decisioning,\n }\n : null;\n\n let stackIndex = 0;\n const contentStr = baseContent || \"\";\n if (highlight && contentStr) {\n const paragraphs = contentStr.split(/\\n{2,}/);\n const paraIndex = paragraphs.findIndex(p => p.includes(highlight));\n if (paraIndex !== -1) {\n const devsInPara = Object.entries(deviations)\n .filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && paragraphs[paraIndex].includes(hl);\n })\n .sort((a: any, b: any) => paragraphs[paraIndex].indexOf(a[1][parentNodeId]) - paragraphs[paraIndex].indexOf(b[1][parentNodeId]));\n const overlappingDevs = devsInPara.filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && (hl.includes(highlight) || highlight.includes(hl));\n });\n if (overlappingDevs.length > 1) {\n stackIndex = Math.max(0, overlappingDevs.findIndex(([k]) => k === deviationKey));\n }\n }\n }\n\n const badgeRef = getBadgeRef(columnKey, refId);\n\n return {\n id: refId,\n actionId: actionId,\n label: badgeLabel,\n highlight,\n side: columnKey,\n style: badgeStyle,\n stackIndex,\n score: deviationScore,\n isConnected: connectedSections.has(actionId as any),\n showScrollLockToggle:\n connectedSections.has(actionId as any) ||\n (isSideBySide && activeSideBySideSection === actionId) ||\n (!!summaryPopupAnchorEl && summaryPopupAnchorEl === badgeRef.current),\n scrollSyncLocked,\n toggleScrollSyncLocked,\n isOrphan: isDeviationOrphan,\n isMissingClause,\n badgeRef,\n onClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n const popupBaseSec = bSec ? { ...bSec, title: baseRoot?.title || bSec?.title || \"\" } : { id: \"orphan-left\", title: \"\", content: \"\" };\n const popupRefSec = rSec ? { ...rSec, title: refRoot?.title || rSec?.title || \"\" } : { id: \"orphan-right\", title: \"\", content: \"\" };\n \n openMoreFunctionsPopup(e, popupBaseSec, isDeviationOrphan, popupRefSec, actionId, badgeStyle); \n },\n onSummaryClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n openSummaryPopup(e, actionId, isDeviationOrphan, summaryPayload);\n }\n };\n })\n .filter(Boolean)\n .sort((a: any, b: any) => {\n const numA = parseFloat(a.label);\n const numB = parseFloat(b.label);\n return numA - numB;\n });\n\n const deduplicatedEntries = useMemo(() => {\n const seenRefIds = new Set<string>();\n return deviationEntries.filter((entry: any) => {\n if (seenRefIds.has(entry.id)) return false;\n seenRefIds.add(entry.id);\n return true;\n });\n }, [deviationEntries]);\n\n\n const baseShouldRenderBadges =\n showDeviationBadges || (!resolvedRedlineFlow && isProposedFixTarget);\n const shouldRenderBadges = baseShouldRenderBadges;\n const deviationBadgesToRender = shouldRenderBadges ? deduplicatedEntries : [];\nconst highlightsToRender = deduplicatedEntries.map((b: any) => b.highlight).filter(Boolean);\n\n // const hasScrolledRef = useRef(false);\n\n // useEffect(() => {\n // if (!isExpanded) {\n // hasScrolledRef.current = false;\n // }\n // }, [isExpanded]);\n\n // useEffect(() => {\n // if (!isExpanded || hasScrolledRef.current) return;\n\n // const timer = setTimeout(() => {\n // hasScrolledRef.current = true;\n \n // const firstBadgeRef = deviationEntries[0]?.badgeRef?.current;\n \n // if (firstBadgeRef) {\n // firstBadgeRef.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"center\",\n // });\n // }\n // }, 350); \n\n // return () => clearTimeout(timer);\n // }, [isExpanded, deviationEntries]);\n\n const connectedBadge = deviationEntries.find((b: any) => connectedSections.has(b.actionId));\n const isConnected = !!connectedBadge;\n\n if (!hasTitle && !hasContent && (!section.subsections || section.subsections.length === 0)) return null;\n\n const handleToggle = () => {\n if (!isEmpty) {\n if (isExpanded) {\n const activeBadgeIdStr = String(activeSideBySideSection || \"\");\n let needsReset = activeBadgeIdStr.includes(leftKeyPath) || activeBadgeIdStr.includes(rightKeyPath);\n\n if (!needsReset) {\n connectedSections.forEach((id) => {\n if (String(id).includes(leftKeyPath) || String(id).includes(rightKeyPath)) needsReset = true;\n });\n }\n\n if (needsReset) {\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n }\n }\n setExpandedSubSections((prev) => ({ ...prev, [keyPath]: !prev[keyPath] }));\n }\n };\n const outlineColor = connectedBadge?.style?.badgeBorder || style?.badgeBorder;\n const outlineStyles = isConnected && outlineColor\n ? { borderRadius: \"4px\", outline: `2px solid ${outlineColor}`, outlineOffset: \"1px\" }\n : {};\n\n if (!hasTitle) {\n return (\n <Box ref={colRef} sx={{ mt: depth === 0 ? 1 : 0.75, width: \"100%\", minWidth: 0, position: \"relative\" }}>\n {!isEmpty && (\n <Box sx={{ width: \"100%\", ...outlineStyles }}>\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n deviationBadges={deviationBadgesToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n highlights={highlightsToRender} \n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) => (\n <SubSectionAccordion\n key={`${keyPath}-${subIdx}`}\n section={sub}\n keyPath={`${keyPath}-${subIdx}`}\n depth={depth + 1}\n columnKey={columnKey}\n parentNodeId={parentNodeId}\n sectionOffset={sectionOffset}\n rhsOrphanVisualIndexes={rhsOrphanVisualIndexes}\n />\n ))}\n </Box>\n )}\n </Box>\n );\n }\n\n return (\n <Box ref={colRef} sx={{ mt: 1, width: \"100%\", minWidth: 0, position: \"relative\" }}>\n <Box sx={{ width: \"100%\", ...outlineStyles }}>\n <Accordion\n disableGutters\n expanded={isEmpty ? false : isExpanded}\n onChange={handleToggle}\n sx={{\n mt: 0,\n boxShadow: \"none\",\n border: isEmpty ? \"1px dashed #E2E8F0\" : \"1px solid #EEF2F7\",\n borderRadius: \"4px !important\",\n bgcolor: \"#FFFFFF\",\n minWidth: 0,\n \"&:before\": { display: \"none\" },\n }}\n >\n <AccordionSummary expandIcon={isEmpty ? null : <ChevronDown size={14} />} sx={{ minHeight: \"32px\", \"& .MuiAccordionSummary-content\": { my: 0.5, display: \"grid\", alignItems: \"center\", minWidth: 0, width: \"100%\" } }}>\n <Typography component=\"div\" sx={{ fontSize: \"11px\", fontWeight: 600, color: isEmpty ? \"#94A3B8\" : \"#19213D\", overflow: \"hidden\", textOverflow: \"ellipsis\", whiteSpace: \"nowrap\", width: \"100%\", minWidth: 0 }}>\n {displayTitle || \"Untitled Subsection\"}\n </Typography>\n </AccordionSummary>\n {!isEmpty && (\n <AccordionDetails sx={{ pt: 0, pb: 1, minWidth: 0 }}>\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n deviationBadges={deviationBadgesToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n highlights={highlightsToRender}\n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) => (\n <SubSectionAccordion\n key={`${keyPath}-${subIdx}`}\n section={sub}\n keyPath={`${keyPath}-${subIdx}`}\n depth={depth + 1}\n columnKey={columnKey}\n parentNodeId={parentNodeId}\n sectionOffset={sectionOffset}\n rhsOrphanVisualIndexes={rhsOrphanVisualIndexes}\n />\n ))}\n </AccordionDetails>\n )}\n </Accordion>\n </Box>\n </Box>\n );\n});\n\nexport default SubSectionAccordion;\n"],"names":["SubSectionAccordion","React","memo","props","section","keyPath","depth","columnKey","parentNodeId","sectionOffset","rhsOrphanVisualIndexes","expandedSubSections","setExpandedSubSections","maintainRelativeOrder","showDeviationBadges","proposedSections","existingSections","treeData","deviationNumberRegistry","deviationParentRegistry","connectedSections","activeSideBySideSection","isSideBySide","scrollSyncLocked","toggleScrollSyncLocked","summaryPopupAnchorEl","resolvedMarkdownStyles","getSubSectionRef","getSubSectionCompareStyle","getBadgeRef","openMoreFunctionsPopup","openSummaryPopup","resetSideBySide","setConnectedSections","setConnectedLines","cachedConnectedPositions","isProposingFix","proposingFixNodeId","isRedlineFlow","unifiedNumbering","useCompareContext","collisionKey","hasTitle","displayTitle","hasValue","title","isProposedFixTarget","id","nodeId","hasRedlineTags","hasMeaningfulRedlineTags","content","resolvedRedlineFlow","suppressHighlightBg","shouldOverlayContent","baseContent","stripRedlineTags","overlayContent","hasContent","displayContent","isEmpty","isExpanded","colRef","rootIndex","split","map","Number","baseRoot","refRoot","leftRootIndex","rightRootIndex","isRootOrphan","findSectionPathById","root","targetId","rootPath","contentId","stack","subsections","child","idx","length","current","shift","forEach","push","rhsSelfIndex","refIndexes","rhsArrayIdx","findIndex","s","selfIndex","lhsSelfIndex","lhsArrayIdx","findGlobalPathById","sections","i","match","String","bSec","rSec","leftKeyPath","rightKeyPath","rightMatch","leftMatch","style","leftDocId","input_index_map","rightDocId","counterpartNodeId","isSecOrphan","hasSingleMappedLhs","hasSingleMappedLhsSection","targetEvalResult","evaluationResult","deviations","lhsDeviationDisplayIndexes","useMemo","getLhsDeviationDisplayIndexes","Map","firstDeviationKey","Object","keys","firstRefId","DEVIATION_BADGE_SEPARATOR","registeredParentNum","validatedParentNum","unifiedNum","leftNums","get","rightNums","deviationColorData","evaluation_outputs","metadata","label_color","DEFAULT_DEVIAION_COLOR","deviationPalette","generateColorPalette","highlightBg","rawDeviationEntries","entries","deviationKey","deviationMap","refId","currentIndex","filter","item","sort","a","b","localRhsOrphanVisualIndexes","normalizedContent","safeStringify","replace","ownHighlight","isMissingStr","entry","normalizedHighlight","position","indexOf","MAX_SAFE_INTEGER","index","set","deviationEntries","highlight","isMissingClause","counterpartHighlight","isDeviationOrphan","orphanVisualIndex","mappedLhsIndex","Math","max","badgeLabel","getRhsMappedSectionNumber","fallbackNumber","firstOnly","actionId","deviationOutput","deviationScore","output_value","badgeStyle","summaryPayload","deviation_summary","deviation_title","deviation_impact","deviation_explanation","cognitive_decisioning","stackIndex","contentStr","paragraphs","paraIndex","p","includes","overlappingDevs","_","dMap","hl","k","badgeRef","label","side","score","isConnected","has","showScrollLockToggle","isOrphan","onClick","e","stopPropagation","popupBaseSec","popupRefSec","onSummaryClick","Boolean","parseFloat","deduplicatedEntries","seenRefIds","Set","add","deviationBadgesToRender","highlightsToRender","connectedBadge","find","outlineColor","badgeBorder","outlineStyles","borderRadius","outline","outlineOffset","jsx","Box","ref","sx","mt","width","minWidth","children","jsxs","Accordion","disableGutters","expanded","onChange","activeBadgeIdStr","needsReset","prev","boxShadow","border","bgcolor","display","AccordionSummary","expandIcon","ChevronDown","size","minHeight","my","alignItems","Typography","component","fontSize","fontWeight","color","overflow","textOverflow","whiteSpace","AccordionDetails","pt","pb","MemoizedMarkdown","sxStyles","deviationBadges","highlights","sub","subIdx"],"mappings":"6tBAuCA,MAAMA,EAA0DC,EAAMC,KAAMC,IACpE,MAAAC,QACJA,EAAAC,QACAA,EAAAC,MACAA,EAAQ,EAAAC,UACRA,EAAY,OAAAC,aACZA,EAAe,GAAAC,cACfA,EAAAC,uBACAA,GACEP,GACEQ,oBACJA,EAAAC,uBACAA,EAAAC,sBACAA,EAAAC,oBACAA,GAAsB,EAAAC,iBACtBA,EAAAC,iBACAA,EAAAC,SACAA,EAAAC,wBACAA,EAAAC,wBACAA,EAAAC,kBACAA,EAAAC,wBACAA,EAAAC,aACAA,EAAAC,iBACAA,EAAAC,uBACAA,EAAAC,qBACAA,EAAAC,uBACAA,EAAAC,iBACAA,EAAAC,0BACAA,EAAAC,YACAA,EAAAC,uBACAA,EAAAC,iBACAA,EAAAC,gBACAA,EAAAC,qBACAA,EAAAC,kBACAA,GAAAC,yBACAA,GAAAC,eACAA,GAAAC,mBACAA,GAAAC,cACAA,GAAAC,iBACAA,IACEC,IAEEC,GAAepB,GAA2B,GAE1CqB,IAAYtC,EAAQuC,eAAgB,IAASC,EAASxC,EAAQyC,OAC9DC,MACFV,KACAC,IACY,SAAd9B,GACCH,EAAQ2C,KAAOV,IAAsBjC,EAAQ4C,SAAWX,IAErDY,GAAiBC,EAAyB9C,EAAQ+C,SAElDC,GACqB,kBAAlBd,GAA8BA,GAFXW,GAGtBI,GAAsBJ,GAGtBK,GAAuBF,IAAuBH,GAC9CM,GAAcD,GAChBE,EAAiBpD,EAAQ+C,SACzB/C,EAAQ+C,QACNM,GAAiBH,GAAuBlD,EAAQ+C,aAAU,EAC1DO,KAAetD,EAAQuD,iBAAkB,IAASV,KAAmBL,EAASxC,EAAQ+C,SACtFS,IAAWlB,KAAagB,GAExBf,GAAeD,GAAWtC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YACvF6E,UAAC/K,IACCgL,EAAAP,EAAA,CAAIE,GAAI,CAAEE,MAAO,UAAWT,IAC1BW,SAAA,CACCjL,IAAA0K,EAACsC,EAAA,CACCvN,QAASI,GACTE,kBACAkN,SAAUjP,EACVkP,gBAAiBlD,GACjB7M,wBACA6H,eACArF,uBACAwN,WAAYlD,GACZlL,mBAGFrC,EAAQ0E,aAAe,IAAIb,IAAI,CAAC6M,EAAKC,IACnC3C,EAACpO,EAAA,CAECI,QAAS0Q,EACTzQ,QAAS,GAAGA,KAAW0Q,IACvBzQ,MAAOA,EAAQ,EACfC,YACAC,eACAC,gBACAC,0BAPK,GAAGL,KAAW0Q"}
@@ -1,2 +1,2 @@
1
- import{__spreadArray as e,__assign as t}from"tslib";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{ChevronDown as o}from"lucide-react";import{ButtonCognitiveIcon as l}from"../../../assests/svg/ButtonCognitiveIcon.js";import{getBentArrowPath as s,DEVIATION_BADGE_SEPARATOR as r}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as a}from"../CognitiveCompareConstants.js";import c from"./ThreeDotsLoader.js";import d from"./connectedLines.js";import{Box as u}from"@mui/material";function p(p){var g=p.svgContainerRef,v=p.svgDimensions,h=p.isResizing,y=p.overallConnector,m=p.rootDeviationStyle,f=p.lines,x=p.isSideBySide,b=p.activeSideBySideSection,S=p.isArrowVisible,C=p.maintainRelativeOrder,B=p.proposedSections,I=p.existingSections,w=p.cognitivePopup,P=p.activeBadgeId,R=p.closeCognitivePopup,M=p.setActiveBadgeId,j=p.openCognitivePopupFromState,L=p.buildSectionPopupState,D=p.connectedLines,k=p.pathRefs,K=p.isGuidelineMode,N=e([],f,!0).sort(function(e,t){return Number(Boolean(t.isMappingContinuation))-Number(Boolean(e.isMappingContinuation))});return i("svg",t({ref:g,style:{position:"absolute",top:0,left:0,width:v.width||"100%",height:v.height||"100%",pointerEvents:"none",zIndex:10,overflow:"visible",opacity:h?0:1,transition:"opacity 0.15s ease-in-out"}},{children:[y&&n("g",{children:n("line",{x1:y.x1,y1:y.y,x2:y.x2,y2:y.y,stroke:m.badgeBorder,strokeWidth:"1.5"})}),N.map(function(e){var d,p,g,v,h,y,m,f=e.x1+.5*(e.x2-e.x1),D=(e.y1+e.y2)/2,k=f;if("Not Defined"===e.style.label&&!e.hasCognitive)return null;if(e.isSubSection?x&&b===e.subSectionKeyPath&&S:x&&b===e.sectionIdx&&S)return null;if(C)return null;var K=e.isMappingContinuation?"M ".concat(k," ").concat(e.y1," L ").concat(k," ").concat(e.y2," L ").concat(e.x2," ").concat(e.y2):e.isSubSection?s(e.x1,e.y1,e.x2,e.y2):"M ".concat(e.x1," ").concat(e.y1," L ").concat(e.x2," ").concat(e.y2),N=B[e.sectionIdx]||{title:"",content:""},T=I[null!==(d=e.targetRightIdx)&&void 0!==d?d:e.sectionIdx]||{title:"",content:""};if(e.isSubSection&&e.subSectionKeyPath){var z=e.subSectionKeyPath.includes(r)?e.subSectionKeyPath.split(r):[],E=z[2]||e.subSectionKeyPath,A=z[3]||E,O=E.split("-").map(Number),W=A.split("-").map(Number),F=null,G=null;O.length>0&&(F=B[O[0]]||null),W.length>0&&(G=I[W[0]]||null);for(var _=(null==F?void 0:F.title)||"",V=(null==G?void 0:G.title)||"",q=1;q<O.length;q+=1)(null==F?void 0:F.subsections)&&(F=F.subsections[O[q]]||null);for(q=1;q<W.length;q+=1)(null==G?void 0:G.subsections)&&(G=G.subsections[W[q]]||null);F&&(N=t(t({},F),{title:_||F.title})),G&&(T=t(t({},G),{title:V||G.title}))}var H=!(null===(p=N.cognitiveData)||void 0===p?void 0:p.isMissingRationale)||Boolean(null===(v=null===(g=N.cognitiveData)||void 0===g?void 0:g.decisioning)||void 0===v?void 0:v.length),J=(null===(m=null===(y=null===(h=N.evaluationResult)||void 0===h?void 0:h.cognitive_decisioning)||void 0===y?void 0:y.decisioning_factors)||void 0===m?void 0:m.length)||!1,Q=H||J;return i("g",{children:[n("path",{d:K,fill:"none",stroke:e.style.badgeBorder||"#E2E8F0",strokeWidth:"1.5"}),!e.isMappingContinuation&&n("foreignObject",t({x:f-100,y:D-14,width:"200",height:"28",style:{pointerEvents:"auto",overflow:"visible"}},{children:n(u,t({sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}},{children:i(u,t({onClick:function(t){t.stopPropagation(),Q&&(w.open&&P===e.id?R():(M(e.id),j(L(t.currentTarget,N,T,e.sectionIdx,!1,e.style))))},sx:{display:"inline-flex",alignItems:"center",gap:"4px",fontSize:"11px",bgcolor:e.style.badgeBg,color:e.style.badgeText,border:"1px solid ".concat(e.style.badgeBorder),borderRadius:"12px",px:1.5,py:.5,fontWeight:600,textAlign:"center",whiteSpace:"nowrap",cursor:Q?"pointer":"default"}},{children:[e.style.badgeText===a&&null==e.style.label?n(c,{color:e.style.badgeText}):null==e.style.label?null:"0"===String(e.style.label)?"Same":e.style.label,n(u,t({component:"span",sx:{width:14,height:14,display:"flex",alignItems:"center","& svg":{width:"14px",height:"14px"}}},{children:n(l,{})})),Q&&n(o,{size:11,style:{transform:w.open&&P===e.id?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}))}))}))]},e.id)}),n(d,{maintainRelativeOrder:C,connectedLines:D,pathRefs:k,isGuidelineMode:K})]}))}export{p as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{ChevronDown as i}from"lucide-react";import{ButtonCognitiveIcon as n}from"../../../assests/svg/ButtonCognitiveIcon.js";import{getBentArrowPath as o,DEVIATION_BADGE_SEPARATOR as s}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as l}from"../CognitiveCompareConstants.js";import r from"./ThreeDotsLoader.js";import a from"./connectedLines.js";import{Box as c}from"@mui/material";function d({svgContainerRef:d,svgDimensions:p,isResizing:g,overallConnector:u,rootDeviationStyle:h,lines:y,isSideBySide:m,activeSideBySideSection:x,isArrowVisible:b,maintainRelativeOrder:f,proposedSections:v,existingSections:S,cognitivePopup:C,activeBadgeId:B,closeCognitivePopup:I,setActiveBadgeId:$,openCognitivePopupFromState:w,buildSectionPopupState:P,connectedLines:R,pathRefs:M,isGuidelineMode:j}){const L=[...y].sort((e,t)=>Number(Boolean(t.isMappingContinuation))-Number(Boolean(e.isMappingContinuation)));return e("svg",{ref:d,style:{position:"absolute",top:0,left:0,width:p.width||"100%",height:p.height||"100%",pointerEvents:"none",zIndex:10,overflow:"visible",opacity:g?0:1,transition:"opacity 0.15s ease-in-out"},children:[u&&t("g",{children:t("line",{x1:u.x1,y1:u.y,x2:u.x2,y2:u.y,stroke:h.badgeBorder,strokeWidth:"1.5"})}),L.map(a=>{const d=a.x1+.5*(a.x2-a.x1),p=(a.y1+a.y2)/2,g=d;if("Not Defined"===a.style.label&&!a.hasCognitive)return null;if(a.isSubSection?m&&x===a.subSectionKeyPath&&b:m&&x===a.sectionIdx&&b)return null;if(f)return null;const u=a.isMappingContinuation?`M ${g} ${a.y1} L ${g} ${a.y2} L ${a.x2} ${a.y2}`:a.isSubSection?o(a.x1,a.y1,a.x2,a.y2):`M ${a.x1} ${a.y1} L ${a.x2} ${a.y2}`;let h=v[a.sectionIdx]||{title:"",content:""},y=S[a.targetRightIdx??a.sectionIdx]||{title:"",content:""};if(a.isSubSection&&a.subSectionKeyPath){const e=a.subSectionKeyPath.includes(s)?a.subSectionKeyPath.split(s):[],t=e[2]||a.subSectionKeyPath,i=e[3]||t,n=t.split("-").map(Number),o=i.split("-").map(Number);let l=null,r=null;n.length>0&&(l=v[n[0]]||null),o.length>0&&(r=S[o[0]]||null);const c=l?.title||"",d=r?.title||"";for(let e=1;e<n.length;e+=1)l?.subsections&&(l=l.subsections[n[e]]||null);for(let e=1;e<o.length;e+=1)r?.subsections&&(r=r.subsections[o[e]]||null);l&&(h={...l,title:c||l.title}),r&&(y={...r,title:d||r.title})}const R=!h.cognitiveData?.isMissingRationale||Boolean(h.cognitiveData?.decisioning?.length),M=h.evaluationResult?.cognitive_decisioning?.decisioning_factors?.length||!1,j=R||M;return e("g",{children:[t("path",{d:u,fill:"none",stroke:a.style.badgeBorder||"#E2E8F0",strokeWidth:"1.5"}),!a.isMappingContinuation&&t("foreignObject",{x:d-100,y:p-14,width:"200",height:"28",style:{pointerEvents:"auto",overflow:"visible"},children:t(c,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:e(c,{onClick:e=>{e.stopPropagation(),j&&(C.open&&B===a.id?I():($(a.id),w(P(e.currentTarget,h,y,a.sectionIdx,!1,a.style))))},sx:{display:"inline-flex",alignItems:"center",gap:"4px",fontSize:"11px",bgcolor:a.style.badgeBg,color:a.style.badgeText,border:`1px solid ${a.style.badgeBorder}`,borderRadius:"12px",px:1.5,py:.5,fontWeight:600,textAlign:"center",whiteSpace:"nowrap",cursor:j?"pointer":"default"},children:[a.style.badgeText===l&&null==a.style.label?t(r,{color:a.style.badgeText}):null==a.style.label?null:"0"===String(a.style.label)?"Same":a.style.label,t(c,{component:"span",sx:{width:14,height:14,display:"flex",alignItems:"center","& svg":{width:"14px",height:"14px"}},children:t(n,{})}),j&&t(i,{size:11,style:{transform:C.open&&B===a.id?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]})})})]},a.id)}),t(a,{maintainRelativeOrder:f,connectedLines:R,pathRefs:M,isGuidelineMode:j})]})}export{d as default};
2
2
  //# sourceMappingURL=SvgConnectors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgConnectors.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"SvgConnectors.js","sources":["../../../../src/features/CognitiveCompare/components/SvgConnectors.tsx"],"sourcesContent":["import { ChevronDown } from \"lucide-react\";\nimport { ButtonCognitiveIcon } from \"../../../assests/svg/ButtonCognitiveIcon\";\nimport { DEVIATION_BADGE_SEPARATOR, getBentArrowPath } from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport ThreeDotsLoader from \"./ThreeDotsLoader\";\nimport ConnectedLinesComp from \"./connectedLines\";\nimport { Box } from \"@mui/material\";\nimport {\n SectionBlock,\n SectionPopupState,\n StyleVariant,\n} from \"../CognitiveCompareTypes\";\n\ntype SvgConnectorLine = {\n id: string;\n x1: number;\n x2: number;\n y1: number;\n y2: number;\n style: StyleVariant;\n sectionIdx: number | string;\n targetRightIdx?: number;\n isSubSection?: boolean;\n isMappingContinuation?: boolean;\n subSectionKeyPath?: string;\n hasCognitive?: boolean;\n};\n\ntype SvgConnectorsProps = {\n svgContainerRef: React.MutableRefObject<SVGSVGElement | null>;\n svgDimensions: { width: number; height: number };\n isResizing: boolean;\n overallConnector: { x1: number; x2: number; y: number } | null;\n rootDeviationStyle: { badgeBorder: string };\n lines: Record<string, any>[];\n isSideBySide: boolean;\n activeSideBySideSection: number | string | null;\n isArrowVisible: boolean;\n maintainRelativeOrder: boolean | undefined;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n cognitivePopup: SectionPopupState;\n activeBadgeId: string | null;\n closeCognitivePopup: () => void;\n setActiveBadgeId: React.Dispatch<React.SetStateAction<string | null>>;\n openCognitivePopupFromState: (nextPopup: SectionPopupState) => void;\n buildSectionPopupState: (\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 connectedLines: Record<string, any>[];\n pathRefs: React.MutableRefObject<Record<string, SVGPathElement | null>>;\n isGuidelineMode ?: boolean;\n};\n\nexport default function SvgConnectors({\n svgContainerRef,\n svgDimensions,\n isResizing,\n overallConnector,\n rootDeviationStyle,\n lines,\n isSideBySide,\n activeSideBySideSection,\n isArrowVisible,\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n cognitivePopup,\n activeBadgeId,\n closeCognitivePopup,\n setActiveBadgeId,\n openCognitivePopupFromState,\n buildSectionPopupState,\n connectedLines,\n pathRefs,\n isGuidelineMode,\n}: SvgConnectorsProps) {\n const orderedLines = [...lines].sort(\n (left, right) =>\n Number(Boolean(right.isMappingContinuation)) -\n Number(Boolean(left.isMappingContinuation)),\n );\n\n return (\n <svg\n ref={svgContainerRef}\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n width: svgDimensions.width || \"100%\",\n height: svgDimensions.height || \"100%\",\n pointerEvents: \"none\",\n zIndex: 10,\n overflow: \"visible\",\n opacity: isResizing ? 0 : 1,\n transition: \"opacity 0.15s ease-in-out\",\n }}\n >\n {overallConnector && (\n <g>\n <line\n x1={overallConnector.x1}\n y1={overallConnector.y}\n x2={overallConnector.x2}\n y2={overallConnector.y}\n stroke={rootDeviationStyle.badgeBorder}\n strokeWidth=\"1.5\"\n />\n </g>\n )}\n\n {orderedLines.map((line) => {\n const bendX = line.x1 + (line.x2 - line.x1) * 0.5;\n const midY = (line.y1 + line.y2) / 2;\n const continuationJunctionX = bendX;\n\n if (line.style.label === \"Not Defined\" && !line.hasCognitive) {\n return null;\n }\n\n const isActive = line.isSubSection\n ? isSideBySide &&\n activeSideBySideSection === line.subSectionKeyPath &&\n isArrowVisible\n : isSideBySide &&\n activeSideBySideSection === line.sectionIdx &&\n isArrowVisible;\n\n if (isActive) {\n return null;\n }\n\n if (maintainRelativeOrder) {\n return null;\n }\n\n const pathD = line.isMappingContinuation\n ? `M ${continuationJunctionX} ${line.y1} L ${continuationJunctionX} ${line.y2} L ${line.x2} ${line.y2}`\n : !line.isSubSection\n ? `M ${line.x1} ${line.y1} L ${line.x2} ${line.y2}`\n : getBentArrowPath(line.x1, line.y1, line.x2, line.y2);\n\n let baseSec = proposedSections[line.sectionIdx as number] || { title: \"\", content: \"\" };\n let refSec = existingSections[line.targetRightIdx ?? (line.sectionIdx as number)] || {\n title: \"\",\n content: \"\",\n };\n\n if (line.isSubSection && line.subSectionKeyPath) {\n const pathParts = line.subSectionKeyPath.includes(DEVIATION_BADGE_SEPARATOR)\n ? line.subSectionKeyPath.split(DEVIATION_BADGE_SEPARATOR)\n : [];\n const leftPath = pathParts[2] || line.subSectionKeyPath;\n const rightPath = pathParts[3] || leftPath;\n const leftPathParts = leftPath.split(\"-\").map(Number);\n const rightPathParts = rightPath.split(\"-\").map(Number);\n let leftSection: SectionBlock | null = null;\n let rightSection: SectionBlock | null = null;\n\n if (leftPathParts.length > 0) {\n leftSection = proposedSections[leftPathParts[0]] || null;\n }\n if (rightPathParts.length > 0) {\n rightSection = existingSections[rightPathParts[0]] || null;\n }\n\n const rootParentTitle = leftSection?.title || \"\";\n const rootRefParentTitle = rightSection?.title || \"\";\n\n for (let i = 1; i < leftPathParts.length; i += 1) {\n if (leftSection?.subsections) leftSection = leftSection.subsections[leftPathParts[i]] || null;\n }\n for (let i = 1; i < rightPathParts.length; i += 1) {\n if (rightSection?.subsections) rightSection = rightSection.subsections[rightPathParts[i]] || null;\n }\n\n if (leftSection) baseSec = { ...leftSection, title: rootParentTitle || leftSection.title };\n if (rightSection) refSec = { ...rightSection, title: rootRefParentTitle || rightSection.title };\n }\n\n const isMappingCD =\n !baseSec.cognitiveData?.isMissingRationale ||\n Boolean(baseSec.cognitiveData?.decisioning?.length);\n const isDeviationCD =\n baseSec.evaluationResult?.cognitive_decisioning?.decisioning_factors?.length || false;\n const hasMapping = isMappingCD || isDeviationCD;\n\n return (\n <g key={line.id}>\n <path\n d={pathD}\n fill=\"none\"\n stroke={line.style.badgeBorder || \"#E2E8F0\"}\n strokeWidth=\"1.5\"\n />\n {!line.isMappingContinuation && (\n <foreignObject\n x={bendX - 100}\n y={midY - 14}\n width=\"200\"\n height=\"28\"\n style={{ pointerEvents: \"auto\", overflow: \"visible\" }}\n >\n <Box\n sx={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"100%\",\n }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (!hasMapping) return;\n if (cognitivePopup.open && activeBadgeId === line.id) {\n closeCognitivePopup();\n return;\n }\n\n setActiveBadgeId(line.id);\n openCognitivePopupFromState(\n buildSectionPopupState(\n e.currentTarget as HTMLElement,\n baseSec,\n refSec,\n line.sectionIdx,\n false,\n line.style,\n ),\n );\n }}\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"4px\",\n fontSize: \"11px\",\n bgcolor: line.style.badgeBg,\n color: line.style.badgeText,\n border: `1px solid ${line.style.badgeBorder}`,\n borderRadius: \"12px\",\n px: 1.5,\n py: 0.5,\n fontWeight: 600,\n textAlign: \"center\",\n whiteSpace: \"nowrap\",\n cursor: !hasMapping ? \"default\" : \"pointer\",\n }}\n >\n {line.style.badgeText === DEFAULT_DEVIAION_COLOR && line.style.label == null\n ? <ThreeDotsLoader color={line.style.badgeText} />\n : line.style.label == null\n ? null\n : String(line.style.label) === \"0\"\n ? \"Same\"\n : line.style.label}\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\n {hasMapping && (\n <ChevronDown\n size={11}\n style={{\n transform:\n cognitivePopup.open && activeBadgeId === line.id\n ? \"rotate(180deg)\"\n : \"rotate(0deg)\",\n transition: \"transform 0.25s ease\",\n }}\n />\n )}\n </Box>\n </Box>\n </foreignObject>\n )}\n </g>\n );\n })}\n\n <ConnectedLinesComp \n maintainRelativeOrder={maintainRelativeOrder} \n connectedLines={connectedLines} \n pathRefs={pathRefs} \n isGuidelineMode={isGuidelineMode}\n />\n </svg>\n );\n}\n"],"names":["SvgConnectors","svgContainerRef","svgDimensions","isResizing","overallConnector","rootDeviationStyle","lines","isSideBySide","activeSideBySideSection","isArrowVisible","maintainRelativeOrder","proposedSections","existingSections","cognitivePopup","activeBadgeId","closeCognitivePopup","setActiveBadgeId","openCognitivePopupFromState","buildSectionPopupState","connectedLines","pathRefs","isGuidelineMode","orderedLines","sort","left","right","Number","Boolean","isMappingContinuation","jsxs","ref","style","position","top","width","height","pointerEvents","zIndex","overflow","opacity","transition","children","jsx","x1","y1","y","x2","y2","stroke","badgeBorder","strokeWidth","map","line","bendX","midY","continuationJunctionX","label","hasCognitive","isSubSection","subSectionKeyPath","sectionIdx","pathD","getBentArrowPath","baseSec","title","content","refSec","targetRightIdx","pathParts","includes","DEVIATION_BADGE_SEPARATOR","split","leftPath","rightPath","leftPathParts","rightPathParts","leftSection","rightSection","length","rootParentTitle","rootRefParentTitle","i","subsections","isMappingCD","cognitiveData","isMissingRationale","decisioning","isDeviationCD","evaluationResult","cognitive_decisioning","decisioning_factors","hasMapping","d","fill","x","Box","sx","display","justifyContent","alignItems","onClick","e","stopPropagation","open","id","currentTarget","gap","fontSize","bgcolor","badgeBg","color","badgeText","border","borderRadius","px","py","fontWeight","textAlign","whiteSpace","cursor","DEFAULT_DEVIAION_COLOR","ThreeDotsLoader","String","component","ButtonCognitiveIcon","ChevronDown","size","transform","ConnectedLinesComp"],"mappings":"mcA4DA,SAAwBA,GAAcC,gBACpCA,EAAAC,cACAA,EAAAC,WACAA,EAAAC,iBACAA,EAAAC,mBACAA,EAAAC,MACAA,EAAAC,aACAA,EAAAC,wBACAA,EAAAC,eACAA,EAAAC,sBACAA,EAAAC,iBACAA,EAAAC,iBACAA,EAAAC,eACAA,EAAAC,cACAA,EAAAC,oBACAA,EAAAC,iBACAA,EAAAC,4BACAA,EAAAC,uBACAA,EAAAC,eACAA,EAAAC,SACAA,EAAAC,gBACAA,IAEA,MAAMC,EAAe,IAAIhB,GAAOiB,KAC9B,CAACC,EAAMC,IACLC,OAAOC,QAAQF,EAAMG,wBACrBF,OAAOC,QAAQH,EAAKI,yBAItB,OAAAC,EAAC,MAAA,CACCC,IAAK7B,EACL8B,MAAO,CACLC,SAAU,WACVC,IAAK,EACLT,KAAM,EACNU,MAAOhC,EAAcgC,OAAS,OAC9BC,OAAQjC,EAAciC,QAAU,OAChCC,cAAe,OACfC,OAAQ,GACRC,SAAU,UACVC,QAASpC,EAAa,EAAI,EAC1BqC,WAAY,6BAGbC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AItBC,EAAiBoC,EAAKoD,IACtBvF,EACEC,EACEmF,EAAEI,cACF1C,EACAG,EACAd,EAAKQ,YACL,EACAR,EAAKrB,WAIXiE,GAAI,CACFC,QAAS,cACTE,WAAY,SACZO,IAAK,MACLC,SAAU,OACVC,QAASxD,EAAKrB,MAAM8E,QACpBC,MAAO1D,EAAKrB,MAAMgF,UAClBC,OAAQ,aAAa5D,EAAKrB,MAAMkB,cAChCgE,aAAc,OACdC,GAAI,IACJC,GAAI,GACJC,WAAY,IACZC,UAAW,SACXC,WAAY,SACZC,OAAS5B,EAAyB,UAAZ,WAGvBlD,SAAA,CAAKW,EAAArB,MAAMgF,YAAcS,GAA8C,MAApBpE,EAAKrB,MAAMyB,MAC1Dd,EAAA+E,EAAA,CAAgBX,MAAO1D,EAAKrB,MAAMgF,YACf,MAApB3D,EAAKrB,MAAMyB,MACT,KAC6B,MAA7BkE,OAAOtE,EAAKrB,MAAMyB,OAChB,OACAJ,EAAKrB,MAAMyB,MACnBd,EAACqD,EAAA,CACC4B,UAAU,OACV3B,GAAI,CACF9D,MAAO,GACPC,OAAQ,GACR8D,QAAS,OACTE,WAAY,SACZ,QAAS,CAAEjE,MAAO,OAAQC,OAAQ,SAGpCM,WAACmF,EAAoB,MAGtBjC,GACCjD,EAACmF,EAAA,CACCC,KAAM,GACN/F,MAAO,CACLgG,UACElH,EAAe0F,MAAQzF,IAAkBsC,EAAKoD,GAC1C,iBACA,eACNhE,WAAY,mCAzFpBY,EAAKoD,MAqGjB9D,EAACsF,EAAA,CACCtH,wBACAS,iBACAC,WACAC,sBAIR"}
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import{Box as o}from"@mui/material";var r=function(r){var i=r.size,a=void 0===i?6:i,n=r.color,s=void 0===n?"text.secondary":n,c=r.gap;return e(o,t({sx:{display:"flex",gap:void 0===c?.5:c,alignItems:"center"}},{children:[0,.16,.32].map(function(t,r){return e(o,{sx:{width:a,height:a,bgcolor:s,borderRadius:"50%",animation:"threeDotsBounce 1.4s infinite ease-in-out both",animationDelay:"".concat(t,"s"),"@keyframes threeDotsBounce":{"0%, 80%, 100%":{transform:"scale(0)",opacity:.3},"40%":{transform:"scale(1)",opacity:1}}}},r)})}))};export{r as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{Box as t}from"@mui/material";const a=({size:a=6,color:o="text.secondary",gap:i=.5})=>e(t,{sx:{display:"flex",gap:i,alignItems:"center"},children:[0,.16,.32].map((i,r)=>e(t,{sx:{width:a,height:a,bgcolor:o,borderRadius:"50%",animation:"threeDotsBounce 1.4s infinite ease-in-out both",animationDelay:`${i}s`,"@keyframes threeDotsBounce":{"0%, 80%, 100%":{transform:"scale(0)",opacity:.3},"40%":{transform:"scale(1)",opacity:1}}}},r))});export{a as default};
2
2
  //# sourceMappingURL=ThreeDotsLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThreeDotsLoader.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ThreeDotsLoader.js","sources":["../../../../src/features/CognitiveCompare/components/ThreeDotsLoader.tsx"],"sourcesContent":["import { Box } from '@mui/material';\n\ninterface ThreeDotsLoaderProps {\n size?: number;\n color?: string;\n gap?: number;\n}\n\nconst ThreeDotsLoader = ({\n size = 6,\n color = 'text.secondary',\n gap = 0.5,\n}: ThreeDotsLoaderProps) => {\n return (\n <Box sx={{ display: 'flex', gap, alignItems: 'center' }}>\n {[0, 0.16, 0.32].map((delay, index) => (\n <Box\n key={index}\n sx={{\n width: size,\n height: size,\n bgcolor: color,\n borderRadius: '50%',\n animation: 'threeDotsBounce 1.4s infinite ease-in-out both',\n animationDelay: `${delay}s`,\n '@keyframes threeDotsBounce': {\n '0%, 80%, 100%': {\n transform: 'scale(0)',\n opacity: 0.3,\n },\n '40%': {\n transform: 'scale(1)',\n opacity: 1,\n },\n },\n }}\n />\n ))}\n </Box>\n );\n};\n\nexport default ThreeDotsLoader;"],"names":["ThreeDotsLoader","size","color","gap","Box","sx","display","alignItems","children","map","delay","index","jsx","width","height","bgcolor","borderRadius","animation","animationDelay","transform","opacity"],"mappings":"4EAQA,MAAMA,EAAkB,EACtBC,OAAO,EACPC,QAAQ,iBACRC,MAAM,QAGHC,EAAI,CAAAC,GAAI,CAAEC,QAAS,OAAQH,MAAKI,WAAY,UAC1CC,SAAA,CAAC,EAAG,IAAM,KAAMC,IAAI,CAACC,EAAOC,IAC3BC,EAACR,EAAA,CAECC,GAAI,CACFQ,MAAOZ,EACPa,OAAQb,EACRc,QAASb,EACTc,aAAc,MACdC,UAAW,iDACXC,eAAgB,GAAGR,KACnB,6BAA8B,CAC5B,gBAAiB,CACfS,UAAW,WACXC,QAAS,IAEX,MAAO,CACLD,UAAW,WACXC,QAAS,MAfVT"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import{Box as n}from"@mui/material";import o from"./ScrollLockToggle.js";import{useCompareContext as l}from"../CompareContext.js";var d=function(d){var c=d.connectedLines,a=d.pathRefs,s=d.maintainRelativeOrder,u=l(),f=u.scrollSyncLocked,h=u.toggleScrollSyncLocked,g=u.isGuidelineMode;return t(r,{children:[c.map(function(r){var n,o,l,d=r.pathD,c=(null===(n=r.style)||void 0===n?void 0:n.badgeBorder)||"#6366F1",s="conn-marker-".concat(r.id),u="".concat(r.id,"-bg"),f="".concat(r.id,"-stroke"),h="".concat(r.id,"-number");return t("g",{children:[i("defs",{children:i("clipPath",e({id:"connections-clip"},{children:i("marker",e({id:s,markerWidth:"8",markerHeight:"6",refX:"7",refY:"3",orient:"auto"},{children:i("polygon",{points:"0 0, 8 3, 0 6",fill:c})}))}))}),i("path",{ref:function(e){a.current[u]=e},d:d,fill:"none",stroke:"#FFFFFF",strokeWidth:"4",strokeOpacity:"0.7"}),i("path",{ref:function(e){a.current[f]=e},d:d,fill:"none",stroke:c,strokeWidth:"1.75",markerEnd:"url(#".concat(s,")")}),g&&r.matchLabel&&t("g",e({ref:function(e){a.current[h]=e},transform:"translate(".concat(r.x2-42,", ").concat(r.y2,")"),style:{pointerEvents:"none",transition:"visibility 0ms"}},{children:[i("rect",{x:"-22",y:"-8",width:"44",height:"16",rx:"4",fill:"#FFFFFF"}),i("rect",{x:"-21",y:"-7",width:"42",height:"14",rx:"3",fill:(null===(o=r.style)||void 0===o?void 0:o.badgeBg)||"#FEF08A",stroke:c,strokeWidth:"1"}),i("text",e({x:"0",y:"3.5",fontSize:"9px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',fill:(null===(l=r.style)||void 0===l?void 0:l.badgeText)||c,textAnchor:"middle"},{children:r.matchLabel}))]}))]},r.id)}),t("g",{children:[t("g",e({style:{transition:"visibility 0ms"}},{children:[i("path",{ref:function(e){return a.current["guideline-up-stroke"]=e},fill:"none",strokeWidth:"1.75",visibility:"hidden"}),t("g",e({ref:function(e){return a.current["guideline-up-badge"]=e},visibility:"hidden"},{children:[i("polygon",{ref:function(e){return a.current["guideline-up-arrow"]=e},points:"-4,0 0,-6 4,0"}),i("rect",{ref:function(e){return a.current["guideline-up-badge-rect"]=e},x:"-12",y:"3",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),i("text",{ref:function(e){return a.current["guideline-up-text"]=e},x:"0",y:"14",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]}))]})),t("g",e({style:{transition:"visibility 0ms"}},{children:[i("path",{ref:function(e){return a.current["guideline-down-stroke"]=e},fill:"none",strokeWidth:"1.75",visibility:"hidden"}),t("g",e({ref:function(e){return a.current["guideline-down-badge"]=e},visibility:"hidden"},{children:[i("polygon",{ref:function(e){return a.current["guideline-down-arrow"]=e},points:"-4,0 0,6 4,0"}),i("rect",{ref:function(e){return a.current["guideline-down-badge-rect"]=e},x:"-12",y:"-18",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),i("text",{ref:function(e){return a.current["guideline-down-text"]=e},x:"0",y:"-7",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]}))]}))]}),s&&!g&&c.map(function(t){var r,l;if(void 0===t.x1)return null;var d=(null===(r=t.style)||void 0===r?void 0:r.badgeBorder)||"#6366F1",c="".concat(t.id,"-btn"),s=t.x1+40,u=void 0!==t.y1?t.y1:0;return i("foreignObject",e({ref:function(e){a.current[c]=e},x:s-12,y:u-12,width:"24",height:"24",style:{pointerEvents:"auto",overflow:"visible"}},{children:i(n,e({onClick:function(e){e.stopPropagation(),h&&h(e)},sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",bgcolor:"#FFFFFF",borderRadius:"50%",border:"1px solid ".concat(d),cursor:"pointer",transition:"transform 0.2s ease","&:hover":{transform:"scale(1.05)",boxShadow:"0px 2px 4px rgba(0,0,0,0.1)"}}},{children:i(o,{locked:f,onToggle:h,color:(null===(l=t.style)||void 0===l?void 0:l.badgeText)||d,borderColor:"transparent",size:12})}))}),"".concat(t.id,"-lock"))})]})};export{d as default};
1
+ import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{Box as i}from"@mui/material";import n from"./ScrollLockToggle.js";import{useCompareContext as o}from"../CompareContext.js";const l=({connectedLines:l,pathRefs:d,maintainRelativeOrder:s})=>{const{scrollSyncLocked:a,toggleScrollSyncLocked:c,isGuidelineMode:h}=o();return e(t,{children:[l.map(t=>{const i=t.pathD,n=t.style?.badgeBorder||"#6366F1",o=`conn-marker-${t.id}`,l=`${t.id}-bg`,s=`${t.id}-stroke`,a=`${t.id}-number`;return e("g",{children:[r("defs",{children:r("clipPath",{id:"connections-clip",children:r("marker",{id:o,markerWidth:"8",markerHeight:"6",refX:"7",refY:"3",orient:"auto",children:r("polygon",{points:"0 0, 8 3, 0 6",fill:n})})})}),r("path",{ref:e=>{d.current[l]=e},d:i,fill:"none",stroke:"#FFFFFF",strokeWidth:"4",strokeOpacity:"0.7"}),r("path",{ref:e=>{d.current[s]=e},d:i,fill:"none",stroke:n,strokeWidth:"1.75",markerEnd:`url(#${o})`}),h&&t.matchLabel&&e("g",{ref:e=>{d.current[a]=e},transform:`translate(${t.x2-42}, ${t.y2})`,style:{pointerEvents:"none",transition:"visibility 0ms"},children:[r("rect",{x:"-22",y:"-8",width:"44",height:"16",rx:"4",fill:"#FFFFFF"}),r("rect",{x:"-21",y:"-7",width:"42",height:"14",rx:"3",fill:t.style?.badgeBg||"#FEF08A",stroke:n,strokeWidth:"1"}),r("text",{x:"0",y:"3.5",fontSize:"9px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',fill:t.style?.badgeText||n,textAnchor:"middle",children:t.matchLabel})]})]},t.id)}),e("g",{children:[e("g",{style:{transition:"visibility 0ms"},children:[r("path",{ref:e=>d.current["guideline-up-stroke"]=e,fill:"none",strokeWidth:"1.75",visibility:"hidden"}),e("g",{ref:e=>d.current["guideline-up-badge"]=e,visibility:"hidden",children:[r("polygon",{ref:e=>d.current["guideline-up-arrow"]=e,points:"-4,0 0,-6 4,0"}),r("rect",{ref:e=>d.current["guideline-up-badge-rect"]=e,x:"-12",y:"3",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),r("text",{ref:e=>d.current["guideline-up-text"]=e,x:"0",y:"14",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]})]}),e("g",{style:{transition:"visibility 0ms"},children:[r("path",{ref:e=>d.current["guideline-down-stroke"]=e,fill:"none",strokeWidth:"1.75",visibility:"hidden"}),e("g",{ref:e=>d.current["guideline-down-badge"]=e,visibility:"hidden",children:[r("polygon",{ref:e=>d.current["guideline-down-arrow"]=e,points:"-4,0 0,6 4,0"}),r("rect",{ref:e=>d.current["guideline-down-badge-rect"]=e,x:"-12",y:"-18",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),r("text",{ref:e=>d.current["guideline-down-text"]=e,x:"0",y:"-7",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]})]})]}),s&&!h&&l.map(e=>{if(void 0===e.x1)return null;const t=e.style?.badgeBorder||"#6366F1",o=`${e.id}-btn`,l=e.x1+40,s=void 0!==e.y1?e.y1:0;return r("foreignObject",{ref:e=>{d.current[o]=e},x:l-12,y:s-12,width:"24",height:"24",style:{pointerEvents:"auto",overflow:"visible"},children:r(i,{onClick:e=>{e.stopPropagation(),c&&c(e)},sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",bgcolor:"#FFFFFF",borderRadius:"50%",border:`1px solid ${t}`,cursor:"pointer",transition:"transform 0.2s ease","&:hover":{transform:"scale(1.05)",boxShadow:"0px 2px 4px rgba(0,0,0,0.1)"}},children:r(n,{locked:a,onToggle:c,color:e.style?.badgeText||t,borderColor:"transparent",size:12})})},`${e.id}-lock`)})]})};export{l as default};
2
2
  //# sourceMappingURL=connectedLines.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectedLines.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"connectedLines.js","sources":["../../../../src/features/CognitiveCompare/components/connectedLines.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"@mui/material\";\nimport ScrollLockToggle from \"./ScrollLockToggle\";\nimport { useCompareContext } from \"../CompareContext\";\n\nconst ConnectedLinesComp = ({\n connectedLines,\n pathRefs,\n maintainRelativeOrder,\n}: {\n connectedLines: Record<string, any>[];\n pathRefs: React.MutableRefObject<Record<string, any>>;\n maintainRelativeOrder?: boolean;\n isGuidelineMode ?: boolean;\n}) => {\n const { scrollSyncLocked, toggleScrollSyncLocked, isGuidelineMode } = useCompareContext();\n\n return (\n <>\n {connectedLines.map((line) => {\n const pathD = line.pathD;\n const color = line.style?.badgeBorder || \"#6366F1\";\n const markerId = `conn-marker-${line.id}`;\n const bgKey = `${line.id}-bg`;\n const strokeKey = `${line.id}-stroke`;\n const numberKey = `${line.id}-number`; \n\n return (\n <g key={line.id}>\n <defs>\n <clipPath id=\"connections-clip\">\n <marker\n id={markerId}\n markerWidth=\"8\"\n markerHeight=\"6\"\n refX=\"7\"\n refY=\"3\"\n orient=\"auto\"\n >\n <polygon\n points=\"0 0, 8 3, 0 6\"\n fill={color}\n />\n </marker>\n </clipPath>\n </defs>\n\n <path\n ref={(el) => {\n pathRefs.current[bgKey] = el;\n }}\n d={pathD}\n fill=\"none\"\n stroke=\"#FFFFFF\"\n strokeWidth=\"4\"\n strokeOpacity=\"0.7\"\n />\n <path\n ref={(el) => {\n pathRefs.current[strokeKey] = el;\n }}\n d={pathD}\n fill=\"none\"\n stroke={color}\n strokeWidth=\"1.75\"\n markerEnd={`url(#${markerId})`} \n />\n\n {/* Number Badge for All Modes (Always shows 6.2(a) etc.) */}\n {isGuidelineMode && line.matchLabel && (\n <g\n ref={(el) => {\n pathRefs.current[numberKey] = el;\n }}\n // ── CHANGED: Pushed from 34 to 42 for breathing space ──\n transform={`translate(${line.x2 - 42}, ${line.y2})`}\n style={{ pointerEvents: \"none\", transition: \"visibility 0ms\" }}\n >\n <rect \n x=\"-22\" \n y=\"-8\" \n width=\"44\" \n height=\"16\" \n rx=\"4\" \n fill=\"#FFFFFF\" \n />\n <rect \n x=\"-21\" \n y=\"-7\" \n width=\"42\" \n height=\"14\" \n rx=\"3\" \n fill={line.style?.badgeBg || \"#FEF08A\"} \n stroke={color} \n strokeWidth=\"1\" \n />\n <text \n x=\"0\" \n y=\"3.5\" \n fontSize=\"9px\" \n fontWeight=\"bold\" \n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n fill={line.style?.badgeText || color} \n textAnchor=\"middle\"\n >\n {line.matchLabel}\n </text>\n </g>\n )}\n\n </g>\n );\n })}\n\n {/* Global Up/Down Offscreen Indicators with Arrow Tips for ALL Modes */}\n <g>\n {/* UP INDICATOR */}\n <g style={{ transition: \"visibility 0ms\" }}>\n <path\n ref={(el) => (pathRefs.current[\"guideline-up-stroke\"] = el as SVGPathElement)}\n fill=\"none\"\n strokeWidth=\"1.75\"\n visibility=\"hidden\"\n />\n <g\n ref={(el) => (pathRefs.current[\"guideline-up-badge\"] = el as SVGGElement)}\n visibility=\"hidden\"\n >\n <polygon \n ref={(el) => (pathRefs.current[\"guideline-up-arrow\"] = el as SVGPolygonElement)} \n points=\"-4,0 0,-6 4,0\" \n />\n <rect\n ref={(el) => (pathRefs.current[\"guideline-up-badge-rect\"] = el as SVGRectElement)}\n x=\"-12\"\n y=\"3\"\n width=\"24\"\n height=\"15\"\n rx=\"4\"\n fill=\"#FFFFFF\"\n strokeWidth=\"1\"\n />\n <text\n ref={(el) => (pathRefs.current[\"guideline-up-text\"] = el as SVGTextElement)}\n x=\"0\"\n y=\"14\"\n fontSize=\"10px\"\n fontWeight=\"bold\"\n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n textAnchor=\"middle\"\n />\n </g>\n </g>\n\n {/* DOWN INDICATOR */}\n <g style={{ transition: \"visibility 0ms\" }}>\n <path\n ref={(el) => (pathRefs.current[\"guideline-down-stroke\"] = el as SVGPathElement)}\n fill=\"none\"\n strokeWidth=\"1.75\"\n visibility=\"hidden\"\n />\n <g\n ref={(el) => (pathRefs.current[\"guideline-down-badge\"] = el as SVGGElement)}\n visibility=\"hidden\"\n >\n <polygon \n ref={(el) => (pathRefs.current[\"guideline-down-arrow\"] = el as SVGPolygonElement)} \n points=\"-4,0 0,6 4,0\" \n />\n <rect\n ref={(el) => (pathRefs.current[\"guideline-down-badge-rect\"] = el as SVGRectElement)}\n x=\"-12\"\n y=\"-18\"\n width=\"24\"\n height=\"15\"\n rx=\"4\"\n fill=\"#FFFFFF\"\n strokeWidth=\"1\"\n />\n <text\n ref={(el) => (pathRefs.current[\"guideline-down-text\"] = el as SVGTextElement)}\n x=\"0\"\n y=\"-7\"\n fontSize=\"10px\"\n fontWeight=\"bold\"\n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n textAnchor=\"middle\"\n />\n </g>\n </g>\n </g>\n\n {maintainRelativeOrder && !isGuidelineMode && connectedLines.map((line) => {\n if (line.x1 === undefined) return null;\n\n const color = line.style?.badgeBorder || \"#6366F1\";\n const btnKey = `${line.id}-btn`;\n const lockX = line.x1 + 40;\n const lockY = line.y1 !== undefined ? line.y1 : 0;\n\n return (\n <foreignObject\n key={`${line.id}-lock`}\n ref={(el) => {\n pathRefs.current[btnKey] = el;\n }}\n x={lockX - 12}\n y={lockY - 12}\n width=\"24\"\n height=\"24\"\n style={{ pointerEvents: \"auto\", overflow: \"visible\" }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (toggleScrollSyncLocked) toggleScrollSyncLocked(e);\n }}\n sx={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"100%\",\n bgcolor: \"#FFFFFF\",\n borderRadius: \"50%\",\n border: `1px solid ${color}`,\n cursor: \"pointer\",\n transition: \"transform 0.2s ease\",\n \"&:hover\": {\n transform: \"scale(1.05)\",\n boxShadow: \"0px 2px 4px rgba(0,0,0,0.1)\",\n },\n }}\n >\n <ScrollLockToggle\n locked={scrollSyncLocked}\n onToggle={toggleScrollSyncLocked}\n color={line.style?.badgeText || color}\n borderColor=\"transparent\"\n size={12}\n />\n </Box>\n </foreignObject>\n );\n })}\n </>\n );\n};\n\nexport default ConnectedLinesComp;\n"],"names":["ConnectedLinesComp","connectedLines","pathRefs","maintainRelativeOrder","scrollSyncLocked","toggleScrollSyncLocked","isGuidelineMode","useCompareContext","jsxs","Fragment","children","map","line","pathD","color","style","badgeBorder","markerId","id","bgKey","strokeKey","numberKey","jsx","markerWidth","markerHeight","refX","refY","orient","points","fill","ref","el","current","d","stroke","strokeWidth","strokeOpacity","markerEnd","matchLabel","transform","x2","y2","pointerEvents","transition","x","y","width","height","rx","badgeBg","fontSize","fontWeight","fontFamily","badgeText","textAnchor","visibility","x1","btnKey","lockX","lockY","y1","overflow","Box","onClick","e","stopPropagation","sx","display","justifyContent","alignItems","bgcolor","borderRadius","border","cursor","boxShadow","ScrollLockToggle","locked","onToggle","borderColor","size"],"mappings":"kMAKA,MAAMA,EAAqB,EACzBC,iBACAC,WACAC,4BAOA,MAAMC,iBAAEA,EAAAC,uBAAkBA,EAAwBC,gBAAAA,GAAoBC,IAEtE,OAEKC,EAAAC,EAAA,CAAAC,SAAA,CAAeT,EAAAU,IAAKC,IACnB,MAAMC,EAAQD,EAAKC,MACbC,EAAQF,EAAKG,OAAOC,aAAe,UACnCC,EAAW,eAAeL,EAAKM,KAC/BC,EAAQ,GAAGP,EAAKM,QAChBE,EAAY,GAAGR,EAAKM,YACpBG,EAAY,GAAGT,EAAKM,YAE1B,SACG,IACC,CAAAR,SAAA,CAAAY,EAAC,OACC,CAAAZ,SAAAY,EAAC,WAAS,CAAAJ,GAAG,mBACXR,SAAAY,EAAC,SAAA,CACCJ,GAAID,EACJM,YAAY,IACZC,aAAa,IACbC,KAAK,IACLC,KAAK,IACLC,OAAO,OAEPjB,SAAAY,EAAC,UAAA,CACCM,OAAO,gBACPC,KAAMf,UAMdQ,EAAC,OAAA,CACCQ,IAAMC,IACK7B,EAAA8B,QAAQb,GAASY,GAE5BE,EAAGpB,EACHgB,KAAK,OACLK,OAAO,UACPC,YAAY,IACZC,cAAc,QAEhBd,EAAC,OAAA,CACCQ,IAAMC,IACK7B,EAAA8B,QAAQZ,GAAaW,GAEhCE,EAAGpB,EACHgB,KAAK,OACLK,OAAQpB,EACRqB,YAAY,OACZE,UAAW,QAAQpB,OAIpBX,GAAmBM,EAAK0B,YACvB9B,EAAC,IAAA,CACCsB,IAAMC,IACK7B,EAAA8B,QAAQX,GAAaU,GAGhCQ,UAAW,aAAa3B,EAAK4B,GAAK,OAAO5B,EAAK6B,MAC9C1B,MAAO,CAAE2B,cAAe,OAAQC,WAAY,kBAE5CjC,SAAA,CAAAY,EAAC,OAAA,CACCsB,EAAE,MACFC,EAAE,KACFC,MAAM,KACNC,OAAO,KACPC,GA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avC,EAChCgE,YAAY,cACZC,KAAM,QArCL,GAAGnE,EAAKM"}
@@ -1,2 +1,2 @@
1
- import{__assign as n,__rest as e}from"tslib";import{jsx as t,jsxs as r,Fragment as i}from"react/jsx-runtime";import{Box as o,Typography as a}from"@mui/material";import l,{useRef as d,useMemo as c,useLayoutEffect as s}from"react";import{DEFAULT_DEVIAION_COLOR as u}from"../CognitiveCompareConstants.js";import{EllipsisVertical as h}from"lucide-react";import p from"react-markdown";import{mixHexColors as g,areMarkdownPropsEqual as f}from"../CognitiveComparehelpers.js";import v from"rehype-raw";import m from"remark-gfm";var b=function(n){return"function"==typeof n?n:(null==n?void 0:n.default)||n},x=[b(m)],y=[b(v)],w=l.memo(function(f){var v=f.content,m=f.overlayContent,b=f.sxStyles,w=f.deviationBadges,E=void 0===w?[]:w,S=f.highlights,k=void 0===S?[]:S;f.maintainRelativeOrder;var C=f.highlightBg,B=f.suppressHighlightBg,F=void 0!==B&&B,z=f.collisionKey,A=d(null),T=!!m,W=c(function(){return E.reduce(function(e,t){var r;return n(n({},e),((r={})[t.id]=t,r))},{})},[E]),O=d({badgeMap:W,highlightBg:C,hideHighlightBg:T,suppressHighlightBg:F});O.current={badgeMap:W,highlightBg:C,hideHighlightBg:T,suppressHighlightBg:F};var I=function(e,t){return l.Children.map(e,function(e){var r;if(!l.isValidElement(e))return e;var i=(null===(r=e.props)||void 0===r?void 0:r.children)?I(e.props.children,t):e.props.children,o=l.cloneElement(e,n(n({},e.props),{children:i}));return t(o)})},M=c(function(){return{mark:function(r){var i,o,a,l,d=r.children,c=e(r,["children"]),s=O.current,u=s.badgeMap,h=s.highlightBg,p=s.hideHighlightBg,g=s.suppressHighlightBg,f=c["data-badge-id"],v=f?u[f]:null,m=c["data-highlight-color"],b=null!==(l=null!==(o=null!=m?m:null===(i=null==v?void 0:v.style)||void 0===i?void 0:i.highlightBg)&&void 0!==o?o:null===(a=null==v?void 0:v.style)||void 0===a?void 0:a.badgeBg)&&void 0!==l?l:h,x="true"===c["data-is-suggested-deviation-fix"]||g;return t("span",n({style:n(n(n({},x?{}:{backgroundColor:b}),{borderRadius:"2px",display:"inline",boxDecorationBreak:"clone",WebkitBoxDecorationBreak:"clone",backgroundClip:"padding-box",padding:"0 1px"}),p?{color:"transparent"}:{})},{children:d}))},span:function(i){var a,l,d,c,s,p,g=i.children,f=e(i,["children"]),v=O.current.badgeMap,m=f["data-badge-id"];if(!m)return t("span",n({},f,{children:g}));var b=v[m];if(!b)return t("span",n({},f,{children:g}));var x="number"==typeof b.stackIndex?b.stackIndex:0,y="translateY(calc(-20% + ".concat(12*x,"px + var(--badge-nudge, 0px)))");return r(o,n({component:"span",sx:{position:"static",display:"inline"}},{children:[r(o,n({ref:b.badgeRef,className:"deviation-badge","data-side":b.side||"right",sx:n(n({fontStyle:"normal",position:"absolute",zIndex:30+x,display:"inline-flex",alignItems:"stretch",fontSize:"10px",bgcolor:(null===(a=b.style)||void 0===a?void 0:a.badgeBg)||"#EEF2FF",color:(null===(l=b.style)||void 0===l?void 0:l.badgeText)||u,border:"1px solid ".concat((null===(d=b.style)||void 0===d?void 0:d.badgeBorder)||"#C7D2FE"),borderRadius:"12px",fontWeight:600,whiteSpace:"nowrap",boxShadow:"0 1px 3px rgba(0,0,0,0.07)",overflow:"hidden",transition:"none"},"left"===b.side?{right:"-16px",transform:"".concat(y," translateX(calc(100% + 8px))")}:{left:"-16px",transform:"".concat(y," translateX(calc(-100% - 8px))")}),b.isConnected&&b.style&&{outline:"2px solid ".concat(b.style.badgeBorder),outlineOffset:"1px"})},{children:[r(o,n({onClick:function(n){n.stopPropagation(),b.onSummaryClick&&b.onSummaryClick(n)},sx:{display:"flex",alignItems:"center",px:1,py:.3,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.04)"}}},{children:[t(o,n({component:"span",sx:{fontSize:"10px",fontWeight:700}},{children:b.label})),("left"===b.side||b.isOrphan)&&t(o,n({component:"span",sx:{fontSize:"10px",pl:.5,ml:.5,borderLeft:"1px solid ".concat((null===(c=b.style)||void 0===c?void 0:c.badgeBorder)||"#C7D2FE")}},{children:null!=b.score&&"N/A"!==b.score&&"NA"!==b.score&&0!==b.score?"".concat(b.score):"N/A"===b.score||"NA"===b.score?"N/A":"Same"}))]})),("left"===b.side||b.isOrphan)&&t(o,n({onClick:function(n){n.stopPropagation(),b.onClick&&b.onClick(n)},sx:{display:"flex",alignItems:"center",px:.5,borderLeft:"1px solid ".concat((null===(s=b.style)||void 0===s?void 0:s.badgeBorder)||"#C7D2FE"),cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.06)"}}},{children:t(h,{size:12,color:(null===(p=b.style)||void 0===p?void 0:p.badgeText)||"#3730A3"})}))]})),g]}))},table:function(e){var r=e.children;return t(o,n({sx:{display:"block",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",contain:"inline-size",overflowX:"auto",overflowY:"hidden",overscrollBehaviorX:"contain",WebkitOverflowScrolling:"touch",my:1}},{children:t(o,n({component:"table",sx:{width:"600px",minWidth:"600px",tableLayout:"fixed",borderCollapse:"collapse",fontSize:"inherit"}},{children:r}))}))},thead:function(e){var r=e.children;return t(o,n({component:"thead"},{children:r}))},tbody:function(e){var r=e.children;return t(o,n({component:"tbody"},{children:r}))},tr:function(e){var r=e.children;return t(o,n({component:"tr",sx:{borderBottom:"1px solid #E5E7EB"}},{children:r}))},th:function(e){var r=e.children;return t(o,n({component:"th",sx:{border:"1px solid #E5E7EB",padding:"8px",textAlign:"left",verticalAlign:"top",fontWeight:600,backgroundColor:"#F9FAFB",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},td:function(e){var r=e.children;return t(o,n({component:"td",sx:{border:"1px solid #E5E7EB",padding:"8px",verticalAlign:"top",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},code:function(e){var r=e.children;return t("span",n({style:{fontFamily:"inherit",fontSize:"inherit"}},{children:r}))},pre:function(e){var r=e.children;return t("span",n({style:{fontFamily:"inherit",fontSize:"inherit",display:"block",whiteSpace:"pre-wrap"}},{children:r}))},updated:function(n){var e=n.children;return t(i,{children:e})},deleted:function(e){var r=e.children,i=I(r,function(n){return l.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return t("span",n({style:{boxShadow:"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444",backgroundColor:"#FCCCCC",textDecoration:"line-through"}},{children:i}))},changed:function(e){var r=e.children,i=I(r,function(n){return l.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return t("span",n({style:{boxShadow:"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF",backgroundColor:"#D5E8FF"}},{children:i}))},ul:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"ul",sx:{mt:1,mb:1,pl:3,listStyleType:"disc"}},a,{children:i}))},ol:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"ol",sx:{mt:1,mb:1,pl:3,listStyleType:"decimal"}},a,{children:i}))},li:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"li",sx:{mb:.5,display:"list-item"}},a,{children:i}))}}},[]),$=function(n){if(!n||"string"!=typeof n)return"";var e=n,t=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/((?:<\/?[a-z]+[^>]*>\s*)+)([*+\-] |\d+\. )/gi,"$2$1")).replace(/\\(['"])/g,"$1").replace(/\\n/g,"\n").replace(/\\\./g,".").replace(/\r\n/g,"\n")).replace(/^(\d+\.)(\s{2,})/gm,function(n,e,t){return"".concat(e.slice(0,-1),"\\.").concat(t)})).replace(/^(\d+\.)\s*\n+(\s+)(\S)/gm,function(n,e,t,r){return"".concat(e," ").concat(r)})).replace(/([^\n])\n(#{1,6} )/g,"$1\n\n$2")).replace(/([^\n])\n([ \t]*(?:[#*+\-] |\d+\. ))/g,"$1\n\n$2")).replace(/\n{3,}/g,"\n\n")).replace(/^[ \t]+(?![ \t]*([\*\-\+] |\d+\. ))/gm,function(n){return n.replace(/ /g," ").replace(/\t/g,"    ")})).split(/(\n{2,})/);return(e=t.map(function(n){return/^\n+$/.test(n)||/\|.*\|/.test(n)&&/\|[\s:|-]+\|/.test(n)||/^#{1,6} /.test(n.trimStart())?n:n.replace(/\n(?=[^\n])/g,function(e,t){var r=n.slice(t+1);return/^[ \t]*([#>|\-*+]|\d+\.)/.test(r)?"\n":" "})}).join("")).trim()},j=function(n){return n.replace(/[\.,;:]/g," ")},P=c(function(){return E.map(function(n){return{id:n.id,connected:n.isConnected,stackIndex:n.stackIndex,size:n.size}})},[E]),D=c(function(){var e=$(v||""),t=F?j(e):e,r=(E||[]).map(function(n){var e,t;return{id:null==n?void 0:n.id,highlight:$((null==n?void 0:n.highlight)||""),highlightColor:(null===(e=null==n?void 0:n.style)||void 0===e?void 0:e.highlightBg)||(null===(t=null==n?void 0:n.style)||void 0===t?void 0:t.badgeBg)||C}}).filter(function(n){return n.id&&n.highlight}),i={};r.forEach(function(n){i[n.highlight]||(i[n.highlight]=[]),i[n.highlight].push(n)});var o=function(n,e,t,r){void 0===e&&(e=""),void 0===r&&(r=[]);var i=!1,o=function(n){var o=function(n,e,t){var r,i,o;void 0===e&&(e="");var a=n.match(/^(\s*)([\s\S]*?)(\s*)$/);if(!a)return n;var l=null!==(r=a[1])&&void 0!==r?r:"",d=null!==(i=a[2])&&void 0!==i?i:"",c=null!==(o=a[3])&&void 0!==o?o:"";return d?l+function(n,e){void 0===n&&(n="");var t=e?' data-highlight-color="'.concat(e,'"'):"",r=n?' data-badge-id="'.concat(n,'"'):"";return"<mark".concat(r).concat(t,">")}(e,t)+d+"</mark>"+c:n}(n,e,t),a=o;if(!i&&r.length>0){i=!0;var l="",d="";r.forEach(function(n){l+=function(n){return'<span data-badge-id="'.concat(n,'">')}(n.id),d="</span>"+d}),a=l+o+d}return"​"+a};return n.split(/(\n+)/).map(function(n){return/^\n+$/.test(n)?n:n.trim()?""===n.replace(/[|:\-\s]/g,"")&&n.includes("-")?n:n.includes("|")?n.split(/(\|)/).map(function(n){return"|"!==n&&n.trim()?o(n):n}).join(""):o(n):n}).join("")},a=[];Object.entries(i).forEach(function(n){var r=n[0],i=n[1],o=e.indexOf(r),l=!1;if(-1===o&&F){var d=j(r);-1!==(o=t.indexOf(d))&&(l=!0)}if(-1!==o){for(var c=i[0].highlightColor,s=1;s<i.length;s++)c=g(c,i[s].highlightColor||"");a.push({highlight:r,start:o,end:o+r.length,badges:i,color:c,usedLooseMatch:l})}});var l=new Set(Object.keys(i));(k||[]).forEach(function(n){if(n){var r=$(n);if(r&&!l.has(r)){var i=e.indexOf(r),o=!1;if(-1===i&&F){var d=j(r);-1!==(i=t.indexOf(d))&&(o=!0)}if(-1!==i){var c=e.slice(0,i);(c.match(/</g)||[]).length===(c.match(/>/g)||[]).length&&a.push({highlight:r,start:i,end:i+r.length,badges:[],color:C||"",usedLooseMatch:o})}}}}),a.sort(function(n,e){return n.start-e.start||e.end-n.end});var d=[],c={};a.forEach(function(n,e){for(var t=n.start,r=n.end,i=0,o=d;i<o.length;i++){var a=o[i],l=a.start,s=a.end,u=t<s&&r>s&&t>=l,h=t<l&&r>l&&r<=s;if(t>=l&&r<=s){n.orphaned=!0,c[e]=a.matchIdx;break}u&&(t=s),h&&(r=l)}n.trimmedStart=t,n.trimmedEnd=r,!n.orphaned&&t<r&&d.push({start:t,end:r,matchIdx:e})});var s={};Object.entries(c).forEach(function(n){var e=n[0],t=n[1],r=Number(e);s[t]||(s[t]=[]),s[t].push(r)});var u=a.map(function(e,t){return n(n({},e),{idx:t})}).filter(function(n){return!n.orphaned}).sort(function(n,e){var t,r;return(null!==(t=e.trimmedStart)&&void 0!==t?t:e.start)-(null!==(r=n.trimmedStart)&&void 0!==r?r:n.start)});return u.forEach(function(n){var t,r,i,l,d=null!==(t=n.trimmedStart)&&void 0!==t?t:n.start,c=null!==(r=n.trimmedEnd)&&void 0!==r?r:n.end;if(!(d>=c)){var u=e.slice(d,c),h=function(n,e,t,r){if(!t.length)return n;var i=t.map(function(n){return a[n]}).sort(function(n,e){return n.start-e.start}),l="",d=0;return i.forEach(function(t){var i,a,c=Math.max(d,t.start-e),s=Math.max(c,t.end-e);if(!(c>=s)){var u=g(r,t.color||"");l+=n.slice(d,c),l+=o(n.slice(c,s),(null===(a=null===(i=t.badges)||void 0===i?void 0:i[0])||void 0===a?void 0:a.id)||"",u,t.badges||[]),d=s}}),l+=n.slice(d)}(n.usedLooseMatch||d!==n.start||c!==n.end?u:n.highlight,n.start,s[n.idx]||[],n.color),p=o(h,(null===(l=null===(i=n.badges)||void 0===i?void 0:i[0])||void 0===l?void 0:l.id)||"",n.color,n.badges||[]);e=e.slice(0,d)+p+e.slice(c)}}),e},[v,E,k,C,F]),H=c(function(){return m?$(m||""):""},[m]),N=!!m,R={"& *":{fontFamily:"inherit"},"& code, & pre, & kbd, & samp":{fontFamily:"inherit !important",fontSize:"inherit",background:"none",padding:0,border:"none",whiteSpace:"pre-wrap"},"& p, & li, & ul, & ol":{position:"static",overflow:"visible",whiteSpace:"pre-wrap"}},L=n(n(n(n({},b),R),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:2}),N?{color:"transparent",userSelect:"none",pointerEvents:"none","& .deviation-badge":{pointerEvents:"auto"},"& table":{visibility:"hidden",margin:"0 !important"},"& th, & td":{padding:"0 !important",border:"none !important",backgroundColor:"transparent !important"},"& tr":{border:"none !important"},"& p:empty":{display:"none"}}:{}),q=n(n(n({},b),R),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:1,pointerEvents:"auto"});return s(function(){if(A.current){var n=function(){var n=Array.from(A.current.querySelectorAll(".deviation-badge"));if(0!==n.length){n.forEach(function(n){n.style.setProperty("--badge-nudge","0px")});var e=n.filter(function(n){return"left"===n.dataset.side}),t=n.filter(function(n){return"left"!==n.dataset.side}),r=A.current.getBoundingClientRect(),i=r.bottom-4,o=r.top+4,a=function(n){if(0!==n.length){var e=n.map(function(n){var e=n.getBoundingClientRect();return{el:n,naturalTop:e.top,height:e.height,currentTop:e.top}});e.sort(function(n,e){return n.naturalTop-e.naturalTop});var t=[],r=[];e.forEach(function(n){if(0===r.length)r.push(n);else{var e=r[r.length-1],i=e.currentTop+e.height;n.naturalTop<i+8?(n.currentTop=i+8,r.push(n)):(t.push(r),r=[n])}}),r.length>0&&t.push(r),t.forEach(function(n){var e=n[n.length-1],t=e.currentTop+e.height;if(t>i){var r=t-i,a=n[0].currentTop-o,l=Math.max(0,Math.min(r,a));n.forEach(function(n){n.currentTop-=l})}}),t.flat().forEach(function(n){var e=n.currentTop-n.naturalTop;n.el.style.setProperty("--badge-nudge","".concat(e,"px"))})}};a(e),a(t)}},e=requestAnimationFrame(function(){requestAnimationFrame(function(){n()})}),t=new ResizeObserver(function(){requestAnimationFrame(n)});return t.observe(A.current),function(){t.disconnect(),cancelAnimationFrame(e)}}},[D,z,P]),r(o,n({ref:A,sx:{position:"relative",display:"grid",gridTemplateColumns:"minmax(0, 1fr)",width:"100%",maxWidth:"100%",minWidth:0}},{children:[t(a,n({component:"div",sx:n(n({},L),{padding:"3px"})},{children:t(p,n({components:M,remarkPlugins:x,rehypePlugins:y},{children:D.replace(/#{3}/g,"")}))})),N&&t(a,n({component:"div",sx:q},{children:t(p,n({components:M,remarkPlugins:x,rehypePlugins:y},{children:H}))}))]}))},f);export{w as MemoizedMarkdown};
1
+ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import{Box as n,Typography as i}from"@mui/material";import o,{useRef as a,useMemo as l,useLayoutEffect as s}from"react";import{DEFAULT_DEVIAION_COLOR as d}from"../CognitiveCompareConstants.js";import{EllipsisVertical as c}from"lucide-react";import h from"react-markdown";import{mixHexColors as p,areMarkdownPropsEqual as g}from"../CognitiveComparehelpers.js";import m from"rehype-raw";import u from"remark-gfm";const f=e=>"function"==typeof e?e:e?.default||e,x=[f(u)],b=[f(m)],y=o.memo(({content:g,overlayContent:m,sxStyles:u,deviationBadges:f=[],highlights:y=[],maintainRelativeOrder:v=!0,highlightBg:w,suppressHighlightBg:E=!1,collisionKey:S})=>{const k=a(null),C=!!m,B=l(()=>f.reduce((e,t)=>({...e,[t.id]:t}),{}),[f]),F=a({badgeMap:B,highlightBg:w,hideHighlightBg:C,suppressHighlightBg:E});F.current={badgeMap:B,highlightBg:w,hideHighlightBg:C,suppressHighlightBg:E};const $=(e,t)=>o.Children.map(e,e=>{if(!o.isValidElement(e))return e;const r=e.props?.children?$(e.props.children,t):e.props.children,n=o.cloneElement(e,{...e.props,children:r});return t(n)}),z=l(()=>({mark:({children:t,...r})=>{const{badgeMap:n,highlightBg:i,hideHighlightBg:o,suppressHighlightBg:a}=F.current,l=r["data-badge-id"],s=l?n[l]:null,d=r["data-highlight-color"]??s?.style?.highlightBg??s?.style?.badgeBg??i,c="true"===r["data-is-suggested-deviation-fix"]||a;return e("span",{style:{...c?{}:{backgroundColor:d},borderRadius:"2px",display:"inline",boxDecorationBreak:"clone",WebkitBoxDecorationBreak:"clone",backgroundClip:"padding-box",padding:"0 1px",...o?{color:"transparent"}:{}},children:t})},span:({children:r,...i})=>{const{badgeMap:o}=F.current,a=i["data-badge-id"];if(!a)return e("span",{...i,children:r});const l=o[a];if(!l)return e("span",{...i,children:r});const s="number"==typeof l.stackIndex?l.stackIndex:0,h=`translateY(calc(-20% + ${12*s}px + var(--badge-nudge, 0px)))`;return t(n,{component:"span",sx:{position:"static",display:"inline"},children:[t(n,{ref:l.badgeRef,className:"deviation-badge","data-side":l.side||"right",sx:{fontStyle:"normal",position:"absolute",zIndex:30+s,display:"inline-flex",alignItems:"stretch",fontSize:"10px",bgcolor:l.style?.badgeBg||"#EEF2FF",color:l.style?.badgeText||d,border:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`,borderRadius:"12px",fontWeight:600,whiteSpace:"nowrap",boxShadow:"0 1px 3px rgba(0,0,0,0.07)",overflow:"hidden",transition:"none",..."left"===l.side?{right:"-16px",transform:`${h} translateX(calc(100% + 8px))`}:{left:"-16px",transform:`${h} translateX(calc(-100% - 8px))`},...l.isConnected&&l.style&&{outline:`2px solid ${l.style.badgeBorder}`,outlineOffset:"1px"}},children:[t(n,{onClick:e=>{e.stopPropagation(),l.onSummaryClick&&l.onSummaryClick(e)},sx:{display:"flex",alignItems:"center",px:1,py:.3,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.04)"}},children:[e(n,{component:"span",sx:{fontSize:"10px",fontWeight:700},children:l.label}),("left"===l.side||l.isOrphan)&&e(n,{component:"span",sx:{fontSize:"10px",pl:.5,ml:.5,borderLeft:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`},children:null!=l.score&&"N/A"!==l.score&&"NA"!==l.score&&0!==l.score?`${l.score}`:"N/A"===l.score||"NA"===l.score?"N/A":"Same"})]}),("left"===l.side||l.isOrphan)&&e(n,{onClick:e=>{e.stopPropagation(),l.onClick&&l.onClick(e)},sx:{display:"flex",alignItems:"center",px:.5,borderLeft:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.06)"}},children:e(c,{size:12,color:l.style?.badgeText||"#3730A3"})})]}),r]})},table:({children:t})=>e(n,{sx:{display:"block",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",contain:"inline-size",overflowX:"auto",overflowY:"hidden",overscrollBehaviorX:"contain",WebkitOverflowScrolling:"touch",my:1},children:e(n,{component:"table",sx:{width:"600px",minWidth:"600px",tableLayout:"fixed",borderCollapse:"collapse",fontSize:"inherit"},children:t})}),thead:({children:t})=>e(n,{component:"thead",children:t}),tbody:({children:t})=>e(n,{component:"tbody",children:t}),tr:({children:t})=>e(n,{component:"tr",sx:{borderBottom:"1px solid #E5E7EB"},children:t}),th:({children:t})=>e(n,{component:"th",sx:{border:"1px solid #E5E7EB",padding:"8px",textAlign:"left",verticalAlign:"top",fontWeight:600,backgroundColor:"#F9FAFB",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"},children:t}),td:({children:t})=>e(n,{component:"td",sx:{border:"1px solid #E5E7EB",padding:"8px",verticalAlign:"top",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"},children:t}),code:({children:t})=>e("span",{style:{fontFamily:"inherit",fontSize:"inherit"},children:t}),pre:({children:t})=>e("span",{style:{fontFamily:"inherit",fontSize:"inherit",display:"block",whiteSpace:"pre-wrap"},children:t}),updated:({children:t})=>e(r,{children:t}),deleted:({children:t})=>{const r=$(t,e=>o.cloneElement(e,{"data-is-suggested-deviation-fix":"true"}));return e("span",{style:{boxShadow:"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444",backgroundColor:"#FCCCCC",textDecoration:"line-through"},children:r})},changed:({children:t})=>{const r=$(t,e=>o.cloneElement(e,{"data-is-suggested-deviation-fix":"true"}));return e("span",{style:{boxShadow:"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF",backgroundColor:"#D5E8FF"},children:r})},ul:({children:t,...r})=>e(n,{component:"ul",sx:{mt:1,mb:1,pl:3,listStyleType:"disc"},...r,children:t}),ol:({children:t,...r})=>e(n,{component:"ol",sx:{mt:1,mb:1,pl:3,listStyleType:"decimal"},...r,children:t}),li:({children:t,...r})=>e(n,{component:"li",sx:{mb:.5,display:"list-item"},...r,children:t})}),[]),A=e=>{if(!e||"string"!=typeof e)return"";let t=e;t=t.replace(/((?:<\/?[a-z]+[^>]*>\s*)+)([*+\-] |\d+\. )/gi,"$2$1"),t=t.replace(/\\(['"])/g,"$1").replace(/\\n/g,"\n").replace(/\\\./g,".").replace(/\r\n/g,"\n"),t=t.replace(/^(\d+\.)(\s{2,})/gm,(e,t,r)=>`${t.slice(0,-1)}\\.${r}`),t=t.replace(/^(\d+\.)\s*\n+(\s+)(\S)/gm,(e,t,r,n)=>`${t} ${n}`),t=t.replace(/([^\n])\n(#{1,6} )/g,"$1\n\n$2"),t=t.replace(/([^\n])\n([ \t]*(?:[#*+\-] |\d+\. ))/g,"$1\n\n$2"),t=t.replace(/\n{3,}/g,"\n\n"),t=t.replace(/^[ \t]+(?![ \t]*([\*\-\+] |\d+\. ))/gm,e=>e.replace(/ /g," ").replace(/\t/g,"    "));const r=t.split(/(\n{2,})/);return t=r.map(e=>/^\n+$/.test(e)||/\|.*\|/.test(e)&&/\|[\s:|-]+\|/.test(e)||/^#{1,6} /.test(e.trimStart())?e:e.replace(/\n(?=[^\n])/g,(t,r)=>{const n=e.slice(r+1);return/^[ \t]*([#>|\-*+]|\d+\.)/.test(n)?"\n":" "})).join(""),t.trim()},T=e=>e.replace(/[\.,;:]/g," "),W=l(()=>f.map(e=>({id:e.id,connected:e.isConnected,stackIndex:e.stackIndex,size:e.size})),[f]),O=l(()=>{let e=A(g||"");const t=E?T(e):e,r=(f||[]).map(e=>({id:e?.id,highlight:A(e?.highlight||""),highlightColor:e?.style?.highlightBg||e?.style?.badgeBg||w})).filter(e=>e.id&&e.highlight),n={};r.forEach(e=>{n[e.highlight]||(n[e.highlight]=[]),n[e.highlight].push(e)});const i=(e,t="",r,n=[])=>{let i=!1;const o=e=>{const o=((e,t="",r)=>{const n=e.match(/^(\s*)([\s\S]*?)(\s*)$/);if(!n)return e;const i=n[1]??"",o=n[2]??"",a=n[3]??"";return o?i+((e="",t)=>`<mark${e?` data-badge-id="${e}"`:""}${t?` data-highlight-color="${t}"`:""}>`)(t,r)+o+"</mark>"+a:e})(e,t,r);let a=o;if(!i&&n.length>0){i=!0;let e="",t="";n.forEach(r=>{e+=(e=>`<span data-badge-id="${e}">`)(r.id),t="</span>"+t}),a=e+o+t}return"​"+a};return e.split(/(\n+)/).map(e=>{if(/^\n+$/.test(e))return e;if(!e.trim())return e;return""===e.replace(/[|:\-\s]/g,"")&&e.includes("-")?e:e.includes("|")?e.split(/(\|)/).map(e=>"|"!==e&&e.trim()?o(e):e).join(""):o(e)}).join("")},o=[];Object.entries(n).forEach(([r,n])=>{let i=e.indexOf(r),a=!1;if(-1===i&&E){const e=T(r);i=t.indexOf(e),-1!==i&&(a=!0)}if(-1===i)return;let l=n[0].highlightColor;for(let e=1;e<n.length;e++)l=p(l,n[e].highlightColor||"");o.push({highlight:r,start:i,end:i+r.length,badges:n,color:l,usedLooseMatch:a})});const a=new Set(Object.keys(n));(y||[]).forEach(r=>{if(!r)return;const n=A(r);if(!n||a.has(n))return;let i=e.indexOf(n),l=!1;if(-1===i&&E){const e=T(n);i=t.indexOf(e),-1!==i&&(l=!0)}if(-1===i)return;const s=e.slice(0,i);(s.match(/</g)||[]).length===(s.match(/>/g)||[]).length&&o.push({highlight:n,start:i,end:i+n.length,badges:[],color:w||"",usedLooseMatch:l})}),o.sort((e,t)=>e.start-t.start||t.end-e.end);const l=[],s={};o.forEach((e,t)=>{let r=e.start,n=e.end;for(const i of l){const o=i.start,a=i.end,l=r<a&&n>a&&r>=o,d=r<o&&n>o&&n<=a;if(r>=o&&n<=a){e.orphaned=!0,s[t]=i.matchIdx;break}l&&(r=a),d&&(n=o)}e.trimmedStart=r,e.trimmedEnd=n,!e.orphaned&&r<n&&l.push({start:r,end:n,matchIdx:t})});const d={};Object.entries(s).forEach(([e,t])=>{const r=Number(e);d[t]||(d[t]=[]),d[t].push(r)});return o.map((e,t)=>({...e,idx:t})).filter(e=>!e.orphaned).sort((e,t)=>(t.trimmedStart??t.start)-(e.trimmedStart??e.start)).forEach(t=>{const r=t.trimmedStart??t.start,n=t.trimmedEnd??t.end;if(r>=n)return;const a=e.slice(r,n),l=((e,t,r,n)=>{if(!r.length)return e;const a=r.map(e=>o[e]).sort((e,t)=>e.start-t.start);let l="",s=0;return a.forEach(r=>{const o=Math.max(s,r.start-t),a=Math.max(o,r.end-t);if(o>=a)return;const d=p(n,r.color||"");l+=e.slice(s,o),l+=i(e.slice(o,a),r.badges?.[0]?.id||"",d,r.badges||[]),s=a}),l+=e.slice(s),l})(t.usedLooseMatch||r!==t.start||n!==t.end?a:t.highlight,t.start,d[t.idx]||[],t.color),s=i(l,t.badges?.[0]?.id||"",t.color,t.badges||[]);e=e.slice(0,r)+s+e.slice(n)}),e},[g,f,y,w,E]),I=l(()=>m?A(m||""):"",[m]),M=!!m,j={"& *":{fontFamily:"inherit"},"& code, & pre, & kbd, & samp":{fontFamily:"inherit !important",fontSize:"inherit",background:"none",padding:0,border:"none",whiteSpace:"pre-wrap"},"& p, & li, & ul, & ol":{position:"static",overflow:"visible",whiteSpace:"pre-wrap"}},P={...u,...j,position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:2,...M?{color:"transparent",userSelect:"none",pointerEvents:"none","& .deviation-badge":{pointerEvents:"auto"},"& table":{visibility:"hidden",margin:"0 !important"},"& th, & td":{padding:"0 !important",border:"none !important",backgroundColor:"transparent !important"},"& tr":{border:"none !important"},"& p:empty":{display:"none"}}:{}},D={...u,...j,position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:1,pointerEvents:"auto"};return s(()=>{if(!k.current)return;const e=()=>{const e=Array.from(k.current.querySelectorAll(".deviation-badge"));if(0===e.length)return;e.forEach(e=>{e.style.setProperty("--badge-nudge","0px")});const t=e.filter(e=>"left"===e.dataset.side),r=e.filter(e=>"left"!==e.dataset.side),n=k.current.getBoundingClientRect(),i=n.bottom-4,o=n.top+4,a=e=>{if(0===e.length)return;const t=e.map(e=>{const t=e.getBoundingClientRect();return{el:e,naturalTop:t.top,height:t.height,currentTop:t.top}});t.sort((e,t)=>e.naturalTop-t.naturalTop);const r=[];let n=[];t.forEach(e=>{if(0===n.length)n.push(e);else{const t=n[n.length-1],i=t.currentTop+t.height;e.naturalTop<i+8?(e.currentTop=i+8,n.push(e)):(r.push(n),n=[e])}}),n.length>0&&r.push(n),r.forEach(e=>{const t=e[e.length-1],r=t.currentTop+t.height;if(r>i){const t=r-i,n=e[0].currentTop-o,a=Math.max(0,Math.min(t,n));e.forEach(e=>{e.currentTop-=a})}}),r.flat().forEach(e=>{const t=e.currentTop-e.naturalTop;e.el.style.setProperty("--badge-nudge",`${t}px`)})};a(t),a(r)},t=requestAnimationFrame(()=>{requestAnimationFrame(()=>{e()})}),r=new ResizeObserver(()=>{requestAnimationFrame(e)});return r.observe(k.current),()=>{r.disconnect(),cancelAnimationFrame(t)}},[O,S,W]),t(n,{ref:k,sx:{position:"relative",display:"grid",gridTemplateColumns:"minmax(0, 1fr)",width:"100%",maxWidth:"100%",minWidth:0},children:[e(i,{component:"div",sx:{...P,padding:"3px"},children:e(h,{components:z,remarkPlugins:x,rehypePlugins:b,children:O.replace(/#{3}/g,"")})}),M&&e(i,{component:"div",sx:D,children:e(h,{components:z,remarkPlugins:x,rehypePlugins:b,children:I})})]})},g);export{y as MemoizedMarkdown};
2
2
  //# sourceMappingURL=memoizedMarkdown.js.map