@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,2 +1,2 @@
1
- import{__spreadArray as e,__assign as t}from"tslib";import{jsx as r,Fragment as n}from"react/jsx-runtime";import{useState as i,useRef as o,useMemo as a}from"react";import{searchPlugin as l}from"@react-pdf-viewer/search";import{pageNavigationPlugin as c}from"@react-pdf-viewer/page-navigation";import{zoomPlugin as u}from"@react-pdf-viewer/zoom";import{highlightPlugin as h}from"@react-pdf-viewer/highlight";var f=function(f,g,s,p,v,d,m,x){void 0===m&&(m="yellow"),void 0===x&&(x="#F6D739");var T=i(0),y=T[0],b=T[1],w=o(!1),M=i(0),I=M[0],_=M[1];o([]);var S=function(e){return e.replace(/[^\S\n]+/g," ").trim()},E=function(e){return(e||"").toLowerCase().replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'").replace(/[\u2013\u2014]/g,"-").replace(/-/g," ").replace(/[^\w\s]/g,"").replace(/\s+/g," ").trim()},A=function(e){var t=e.trim(),r=(t=(t=t.replace(/[\u200B-\u200D\uFEFF]/g,"").replace(/[\u00A0\u2009\u202F]/g," ")).replace(/^[-•]\s+/,"")).match(/^((\d+(?:\.\d+)*[.)]?)|[A-Za-z][.)]|\([A-Za-z0-9]+\)|(?:i|ii|iii|iv|v|vi|vii|viii|ix|x)[.)])\s*/i);return r?t.slice(r[0].length).trim():t},B=function(e){var t=E(e),r=t.replace(/\s+/g,""),n=new Set;return t&&n.add(t),r&&n.add(r),n},k=function(e){return e.replace(/\\([''])/g,"$1").replace(/\]\s*\n\s*\(/g,"](").replace(/&[#\w]+;/g,function(e){return t=e,(r=document.createElement("textarea")).innerHTML=t,r.value;var t,r}).replace(/<br\s*\/?>/gi,"\n").replace(/\[([^\]]+)\]\(([^)]+)\)/g,"$1").replace(/`([^`]+)`/g,"$1")},z=function(e){return e?k(e).split(/\n+/).map(A).flatMap(function(e){var t=e.match(/^\s*\|(.+)\|\s*$/);return t?t[1].split("|").map(function(e){return e.trim()}).filter(Boolean):[e]}).map(function(e){return S(function(e){return e.replace(/(^|\W)[*_]{1,3}([^*_]+)[*_]{1,3}(?=\W|$)/g,"$1$2")}(e))}).filter(Boolean):[]},j=Object.keys(g).map(Number).sort(function(e,t){return e-t}),q=a(function(){return v?d.length:v?0:Object.values(g).filter(function(e){return e>0}).length},[d,g]),C=function(r){if(s.current){var n=s.current.querySelector('[data-testid="search__highlights-'.concat(r,'"]'));if(n){var i=Array.from(n.querySelectorAll(".rpv-search__highlight"));if(0!==i.length){var o=$.map(B),a=P.map(B);if(0!==o.length||0!==a.length){var l=i.map(function(e){var r=function(e){var t=e.getBoundingClientRect();if(t.height>0||t.width>0)return{top:t.top,left:t.left,right:t.right};var r=e.offsetTop,n=e.offsetLeft;return{top:r,left:n,right:n+e.offsetWidth}}(e),n=(e.textContent||"").trim(),i=(e.getAttribute("title")||"").trim();return t({el:e,text:n||i},r)}).filter(function(e){return e.text.length>0}).sort(function(e,t){return e.top-t.top||e.left-t.left});if(0!==l.length){var c=[],u=null,h=[],g=function(){if(u){var e=h.join(" ");u.title=E(e),u.title&&c.push(u),u=null,h=[]}};if(l.forEach(function(e){if(!u)return u={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},void(h=[e.text]);var t=Math.abs(e.top-u.lastTop)<=5,r=e.left<=u.lastRight+28;t&&r?(u.elements.push(e.el),u.lastTop=e.top,u.lastRight=Math.max(u.lastRight,e.right),h.push(e.text)):(g(),u={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},h=[e.text])}),g(),0!==c.length){for(var p=function(e,t){if(!e)return!1;if(t.has(e))return!0;for(var r=e.replace(/\s+/g,""),n=0,i=Array.from(t);n<i.length;n++){var o=i[n];if(o){var a=o.replace(/\s+/g,"");if(a===r)return!0;if(o.length>=8&&e.length>=5&&o.includes(e))return!0;if(a.length>=8&&r.length>=5&&a.includes(r))return!0;if(e.length>=10&&o.length>=8&&e.includes(o))return!0;if(r.length>=10&&a.length>=8&&r.includes(a))return!0}}return!1},v=0,d=new Set,m=function(e){if(!e||e.length<8)return null;for(var t=e.replace(/\s+/g,""),r=0;r<c.length;r++)for(var n="",i="",o=new Set,a=r;a<c.length&&a<r+20;a++){var l=c[a].title;if(n=n?"".concat(n," ").concat(l):l,i=i?"".concat(i).concat(l.replace(/\s+/g,"")):l.replace(/\s+/g,""),o.add(a),n.includes(e)||i.includes(t))return o;if(n.length>=15&&(e.includes(n)||t.includes(i)))return o;if(n.length>e.length+150)break}return null},x=0,T=Array.from(new Set(e(e([],$,!0),P,!0).map(E).filter(function(e){return e.length>=8}))).sort(function(e,t){return t.length-e.length});x<T.length;x++){var y=m(T[x]);y&&y.size>0&&(y.forEach(function(e){return d.add(e)}),v=d.size)}if(0===v){var b=function(e){if(0===e.length)return null;for(var t=null,r=0,n=e;r<n.length;r++)for(var i=n[r],o=0,a=Array.from(i);o<a.length;o++){var l=a[o];if(l&&!(l.length<5))for(var u=l.replace(/\s+/g,""),h=0;h<c.length;h++)for(var f="",g="",s=new Set,p=h;p<c.length&&p<h+15;p++){var v=c[p].title;if(f=f?"".concat(f," ").concat(v):v,g=g?"".concat(g).concat(v.replace(/\s+/g,"")):v.replace(/\s+/g,""),s.add(p),f.includes(l)||g.includes(u)){var d=Math.max(0,f.length-l.length);(!t||d<t.extra)&&(t={blocks:new Set(s),extra:d});break}if(f.length>l.length+120)break}}return t?t.blocks:null}(o);b&&b.size>0&&(b.forEach(function(e){return d.add(e)}),v=d.size)}var w=function(e){if(e.length<2)return 40;for(var t=[],r=1;r<e.length;r++){var n=Math.abs(e[r].lastTop-e[r-1].lastTop);n>0&&t.push(n)}if(0===t.length)return 40;t.sort(function(e,t){return e-t});var i=t[Math.floor(t.length/2)],o=Math.round(2.25*i);return Math.min(60,Math.max(24,o))}(c),M=P.map(E).filter(function(e){return e.length>=8}),I=M.map(function(e){return e.split(/\s+/).filter(function(e){return e.length>=2})});if(0===v)for(var _=a,S=0;S<c.length;S++)for(var A=c[S].title,k=0;k<_.length;k++)if(p(A,_[k])){for(var z=0,j=new Set,q=k,C=S-1,R=S;R<c.length&&q<_.length;R++){if(p(c[R].title,_[q])){if(C>=0){var H=c[C].lastTop,F=c[R].lastTop;if(Math.abs(F-H)>w)break}z++,j.add(R),C=R,q++}else if(q>0&&p(c[R].title,_[q-1])){H=c[C].lastTop,F=c[R].lastTop;Math.abs(F-H)<=3&&(j.add(R),C=R)}if(R-C>6)break}z>v&&(v=z,d=j)}if(v<Math.min(3,M.length)&&M.length>0){var N=new Set;c.forEach(function(e,t){var r=e.title.split(/\s+/).filter(function(e){return e.length>=2});if(!(r.length<2))for(var n=new Set(r),i=0,o=I;i<o.length;i++){var a=o[i];if(!(a.length<2)){for(var l=0,c=0,u=a;c<u.length;c++){var h=u[c];n.has(h)&&l++}var f=l/a.length;if(l>=3||f>=.5){N.add(t);break}}}}),N.size>0&&(d=N,v=Math.max(v,N.size))}var Z=new Set;if(O.forEach(function(e){var t=E(e);t&&(Z.add(t),Z.add(t.replace(/\s+/g,"")))}),0===v){var L=new Set;if(c.forEach(function(e,t){var r=e.title.replace(/\s+/g,"");if(Z.has(e.title)||Z.has(r))L.add(t);else for(var n=Array.from(Z),i=0;i<n.length;i++){var o=n[i];if(o.length>=10&&o.includes(e.title)&&e.title.length>=5){L.add(t);break}}}),0===L.size)return 0;d=L}c.forEach(function(e,t){var r=d.has(t);e.elements.forEach(function(e){r?(e.classList.add("verified-match"),e.style.display=""):(e.style.display="none",e.classList.remove("verified-match"))})});var D=[];return c.forEach(function(e,t){d.has(t)&&e.elements.forEach(function(e){return D.push(e)})}),requestAnimationFrame(function(){var e=D.map(function(e){return{el:e,rect:e.getBoundingClientRect()}}).filter(function(e){return e.rect.width>0&&e.rect.height>0}).sort(function(e,t){return t.rect.width*t.rect.height-e.rect.width*e.rect.height}),t=[];e.forEach(function(e){var r=e.el,n=e.rect;t.some(function(e){return t=e.rect,r=n,i=Math.max(0,Math.min(t.right,r.right)-Math.max(t.left,r.left))*Math.max(0,Math.min(t.bottom,r.bottom)-Math.max(t.top,r.top)),((o=Math.min(t.width*t.height,r.width*r.height))>0?i/o:0)>.5;var t,r,i,o})?(r.style.display="none",r.classList.remove("verified-match")):t.push({el:r,rect:n})})}),console.groupCollapsed("[debug: PDF ordered matching - Page ".concat(r,"]")),console.log("input->",f),console.log("processed sentences->",$),console.log("processed lines->",P),console.log("Expected sentence count:",o.length),console.log("Expected line count:",a.length),console.log("Matched sequence length:",v),console.log("blocksToKeep",d,"size",d.size),console.groupEnd(),d.size}}}}}}},R=function(e){s.current&&s.current.querySelectorAll(".rpv-search__highlights").forEach(function(t){var r=t.getAttribute("data-testid"),n=parseInt((null==r?void 0:r.replace(/search__highlights-/g,""))||"-1"),i=t.querySelectorAll(".rpv-search__highlight");e.has(n)||i.forEach(function(e){e.style.display="none"})})},H=f.map(function(e){return function(e){return e?k(e).split(/\n{2,}/).map(function(e){return z(e).join(" ")}).map(function(e){return S(e)}).filter(Boolean):[]}(e)}).flat(),F=f.map(function(e){return z(e)}).flat(),N=H.some(function(e){return e.length>=3})?3:1,$=H.filter(function(e){return e.length>=N}),P=F.filter(function(e){return e.length>=N}),Z=P.flatMap(function(e){return function(e,t,r){void 0===t&&(t=6),void 0===r&&(r=4);var n=e.split(/\s+/).filter(Boolean);if(n.length<=t)return[];for(var i=[],o=0;o+t<=n.length;o+=r)i.push(n.slice(o,o+t).join(" "));return n.length>t&&(n.length-t)%r!==0&&i.push(n.slice(n.length-t).join(" ")),i}(e)}),O=Array.from(new Set(e(e(e([],$,!0),P,!0),Z,!0).flatMap(function(e){var t=S(e.replace(/[\u00A0\u2009\u202F]/g," ").replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'"));if(!t)return[];var r=t.replace(/[\u2013\u2014]/g,"-"),n=S(r.replace(/(\w)-\s+(\w)/g,"$1$2")),i=S(r.replace(/-/g," ")),o=S(r.replace(/-/g,"")),a=S(t.replace(/[^\w\s]/g,"")),l=new Set([t,r,n,i,o,a]);return Array.from(l).filter(Boolean)}))).filter(function(e){var t=e.split(/\s+/).filter(Boolean);return!(e.length<N)&&(t.length>=3||e.length>=12)}),L=l({keyword:O}),D=c(),W=u(),K=L.jumpToMatch,J=D.jumpToPage,V=W.zoomTo,G=W.ZoomInButton,Q=W.ZoomOutButton,U=W.ZoomPopover,X=a(function(){return function(r){if(0===r.length)return[];var n=new Map;r.forEach(function(e,r){var i=null!=e.pageNumber?e.pageNumber-1:e.pageIndex;n.has(i)||n.set(i,[]),n.get(i).push(t(t({},e),{originalIndex:r}))});var i=[];return n.forEach(function(t){for(var r=e([],t,!0).sort(function(e,t){return e.top!==t.top?e.top-t.top:e.left-t.left}),n=new Array(r.length).fill(!1),o=0;o<r.length;o++)if(!n[o]){var a=r[o],l=a.left,c=a.top,u=a.width,h=a.height,f=a.pageIndex,g=a.pageNumber,s=l+u,p=c+h,v=[r[o].originalIndex];n[o]=!0;for(var d=!0;d;){d=!1;for(var m=o+1;m<r.length;m++)if(!n[m]){var x=r[m],T=x.left+x.width,y=x.top+x.height,b=Math.max(0,Math.min(s,T)-Math.max(l,x.left))*Math.max(0,Math.min(p,y)-Math.max(c,x.top)),w=Math.max(u*h,1e-4),M=Math.max(x.width*x.height,1e-4),I=Math.min(w,M);(I>0?b/I:0)>=.8&&(l=Math.min(l,x.left),c=Math.min(c,x.top),u=(s=Math.max(s,T))-l,h=(p=Math.max(p,y))-c,v.push(x.originalIndex),n[m]=!0,d=!0)}}i.push({pageIndex:f,pageNumber:g,left:l,top:c,width:u,height:h,originalIndexes:v})}}),i}(d)},[d]),Y=h({renderHighlights:function(e){return r(n,{children:X.filter(function(t){return null!=t.pageNumber?t.pageNumber-1===e.pageIndex:t.pageIndex===e.pageIndex}).map(function(e){var t=e.originalIndexes.includes(I);return r("div",{style:{position:"absolute",left:"".concat(e.left,"%"),top:"".concat(e.top+.08*e.height,"%"),width:"".concat(e.width,"%"),height:"".concat(.95*e.height,"%"),background:t?x:m,opacity:t?.7:.4,transition:"background 0.2s, opacity 0.2s",border:t?"1px solid ".concat("red"):"1px solid transparent"}},e.originalIndexes.join("-"))})})}}),ee=function(){if(!w.current)try{K(0),w.current=!0;var e=d[0];e&&v&&re(e.pageIndex,e.top)}catch(e){requestAnimationFrame(ee)}},te=function(e,t){if(s.current&&s.current.querySelector(".rpv-core__viewer")){var r=-1,n=function(){var i,o,a=null===(i=s.current)||void 0===i?void 0:i.querySelector(".rpv-core__inner-pages");if(a){if(a.scrollTop!==r)return r=a.scrollTop,void setTimeout(n,100);var l=null===(o=s.current)||void 0===o?void 0:o.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(l){var c=l.querySelectorAll(".rpv-search__highlight")[t];if(c){var u=a.getBoundingClientRect(),h=c.getBoundingClientRect(),f=a.scrollTop+(h.top-u.top)-a.clientHeight/2+h.height/2;a.scrollTo({top:f,behavior:"smooth"})}}}};setTimeout(n,300)}},re=function(e,t,r){if(void 0===r&&(r=0),s.current){var n=0,i=function(){var o,a;if(!(++n>60)){var l=null===(o=s.current)||void 0===o?void 0:o.querySelector(".rpv-core__inner-pages");if(l){var c=null===(a=s.current)||void 0===a?void 0:a.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(c){var u=c.getBoundingClientRect();if(0!==u.height){var h=l.getBoundingClientRect(),f=t/100*u.height,g=r/100*u.height,p=u.top-h.top+f,v=p+g;if(!(p>=80&&v<=l.clientHeight-80)){var d=p<80?l.scrollTop+p-80:l.scrollTop+v-l.clientHeight+80;l.scrollTo({top:d,behavior:"smooth"})}}else setTimeout(i,100)}else setTimeout(i,100)}else setTimeout(i,100)}};setTimeout(i,100)}},ne=a(function(){var e={};return j.forEach(function(t,r){var n=g[t];n>0&&(e[n]||(e[n]=[]),e[n].push(r))}),e},[j,g]),ie=function(e){var t=g[j[e]];return(ne[t]||[]).indexOf(e)},oe=function(e,t,r){if(void 0===r&&(r=0),s.current){var n=-1,i=0,o=function(){var a,l;if(!(++i>60)){var c=null===(a=s.current)||void 0===a?void 0:a.querySelector(".rpv-core__inner-pages");if(c){if(c.scrollTop!==n)return n=c.scrollTop,void setTimeout(o,100);var u=null===(l=s.current)||void 0===l?void 0:l.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(u){var h=u.getBoundingClientRect();if(0!==h.height){var f=c.getBoundingClientRect(),g=t/100*h.height,p=r/100*h.height,v=h.top-f.top+g,d=v+p;if(!(v>=80&&d<=c.clientHeight-80)){var m=v<80?c.scrollTop+v-80:c.scrollTop+d-c.clientHeight+80;c.scrollTo({top:m,behavior:"instant"})}}else setTimeout(o,100)}else setTimeout(o,100)}else setTimeout(o,100)}};setTimeout(o,100)}};return{setHighlightIndex:b,highlightIndex:y,cursorIndex:I,setCursorIndex:_,orderedKeys:j,totalHighlights:q,getValidPosition:function(e){if(v)return e+1;if(!g)return 0;for(var t=0,r=0;r<=e;r++)g[j[r]]>0&&t++;return t},tryJump:ee,jumpToPage:J,zoomTo:V,hideNonTargetHighlights:R,deduplicateHighlights:C,scrollToCoord:re,plugins:[v?Y:L,D,W],controls:{ZoomInButton:G,ZoomOutButton:Q,ZoomPopover:U,zoomTo:V,goToNext:function(){if(v&&d)for(var e=I+1;e<d.length;e++){var t=d[e],r=d[I];return _(e),void(t.pageIndex!==r.pageIndex?(J(t.pageIndex),oe(t.pageIndex,t.top,t.height)):re(t.pageIndex,t.top,t.height))}else{var n=function(e){var t=j[e];if(g[t]>0){var r=g[t]-1,n=ie(e);return _(e),J(g[t]-1),te(r,n),setTimeout(function(){C(r)},500),1===Object.keys(g).length&&R(p),{value:void 0}}};for(e=I+1;e<j.length;e++){var i=n(e);if("object"==typeof i)return i.value}}},goToPrevious:function(){if(v&&d)for(var e=I-1;e>=0;e--){var t=d[e],r=d[I];return _(e),void(t.pageIndex!==r.pageIndex?(J(t.pageIndex),oe(t.pageIndex,t.top,t.height)):re(t.pageIndex,t.top,t.height))}else{var n=function(e){var t=j[e];if(g[t]>0){var r=g[t]-1,n=ie(e);return _(e),J(g[t]-1),te(r,n),setTimeout(function(){C(r)},500),1===Object.keys(g).length&&R(p),{value:void 0}}};for(e=I-1;e>=0;e--){var i=n(e);if("object"==typeof i)return i.value}}}}}};export{f as PdfHighlightControls};
1
+ import{jsx as e,Fragment as t}from"react/jsx-runtime";import{useState as r,useRef as n,useMemo as o}from"react";import{searchPlugin as l}from"@react-pdf-viewer/search";import{pageNavigationPlugin as i}from"@react-pdf-viewer/page-navigation";import{zoomPlugin as s}from"@react-pdf-viewer/zoom";import{highlightPlugin as c}from"@react-pdf-viewer/highlight";const a=(a,h,g,u,p,f,d="yellow",m="#F6D739")=>{const[x,T]=r(0),v=n(!1),[y,w]=r(0);n([]);const M=e=>e.replace(/[^\S\n]+/g," ").trim(),b=e=>(e||"").toLowerCase().replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'").replace(/[\u2013\u2014]/g,"-").replace(/-/g," ").replace(/[^\w\s]/g,"").replace(/\s+/g," ").trim(),_=e=>{let t=e.trim();t=t.replace(/[\u200B-\u200D\uFEFF]/g,"").replace(/[\u00A0\u2009\u202F]/g," "),t=t.replace(/^[-•]\s+/,"");const r=t.match(/^((\d+(?:\.\d+)*[.)]?)|[A-Za-z][.)]|\([A-Za-z0-9]+\)|(?:i|ii|iii|iv|v|vi|vii|viii|ix|x)[.)])\s*/i);return r?t.slice(r[0].length).trim():t},I=e=>{const t=b(e),r=t.replace(/\s+/g,""),n=new Set;return t&&n.add(t),r&&n.add(r),n},S=e=>e.replace(/\\([''])/g,"$1").replace(/\]\s*\n\s*\(/g,"](").replace(/&[#\w]+;/g,e=>(e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value})(e)).replace(/<br\s*\/?>/gi,"\n").replace(/\[([^\]]+)\]\(([^)]+)\)/g,"$1").replace(/`([^`]+)`/g,"$1"),$=e=>{if(!e)return[];return S(e).split(/\n+/).map(_).flatMap(e=>{const t=e.match(/^\s*\|(.+)\|\s*$/);return t?t[1].split("|").map(e=>e.trim()).filter(Boolean):[e]}).map(e=>M((e=>e.replace(/(^|\W)[*_]{1,3}([^*_]+)[*_]{1,3}(?=\W|$)/g,"$1$2"))(e))).filter(Boolean)},E=Object.keys(h).map(Number).sort((e,t)=>e-t),A=o(()=>p?f.length:p?0:Object.values(h).filter(e=>e>0).length,[f,h]),k=e=>{if(!g.current)return;const t=g.current.querySelector(`[data-testid="search__highlights-${e}"]`);if(!t)return;const r=Array.from(t.querySelectorAll(".rpv-search__highlight"));if(0===r.length)return;const n=j.map(I),o=R.map(I);if(0===n.length&&0===o.length)return;const l=r.map(e=>{const t=(e=>{const t=e.getBoundingClientRect();if(t.height>0||t.width>0)return{top:t.top,left:t.left,right:t.right};const r=e.offsetTop,n=e.offsetLeft;return{top:r,left:n,right:n+e.offsetWidth}})(e),r=(e.textContent||"").trim(),n=(e.getAttribute("title")||"").trim();return{el:e,text:r||n,...t}}).filter(e=>e.text.length>0).sort((e,t)=>e.top-t.top||e.left-t.left);if(0===l.length)return;const i=[];let s=null,c=[];const h=()=>{if(!s)return;const e=c.join(" ");s.title=b(e),s.title&&i.push(s),s=null,c=[]};if(l.forEach(e=>{if(!s)return s={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},void(c=[e.text]);const t=Math.abs(e.top-s.lastTop)<=5,r=e.left<=s.lastRight+28;t&&r?(s.elements.push(e.el),s.lastTop=e.top,s.lastRight=Math.max(s.lastRight,e.right),c.push(e.text)):(h(),s={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},c=[e.text])}),h(),0===i.length)return;const u=(e,t)=>{if(!e)return!1;if(t.has(e))return!0;const r=e.replace(/\s+/g,"");for(const n of Array.from(t)){if(!n)continue;const t=n.replace(/\s+/g,"");if(t===r)return!0;if(n.length>=8&&e.length>=5&&n.includes(e))return!0;if(t.length>=8&&r.length>=5&&t.includes(r))return!0;if(e.length>=10&&n.length>=8&&e.includes(n))return!0;if(r.length>=10&&t.length>=8&&r.includes(t))return!0}return!1};let p=0,f=new Set;const d=Array.from(new Set([...j,...R].map(b).filter(e=>e.length>=8))).sort((e,t)=>t.length-e.length),m=e=>{if(!e||e.length<8)return null;const t=e.replace(/\s+/g,"");for(let r=0;r<i.length;r++){let n="",o="";const l=new Set;for(let s=r;s<i.length&&s<r+20;s++){const r=i[s].title;if(n=n?`${n} ${r}`:r,o=o?`${o}${r.replace(/\s+/g,"")}`:r.replace(/\s+/g,""),l.add(s),n.includes(e)||o.includes(t))return l;if(n.length>=15&&(e.includes(n)||t.includes(o)))return l;if(n.length>e.length+150)break}}return null};for(const e of d){const t=m(e);t&&t.size>0&&(t.forEach(e=>f.add(e)),p=f.size)}if(0===p){const e=(e=>{if(0===e.length)return null;let t=null;for(const r of e)for(const e of Array.from(r)){if(!e||e.length<5)continue;const r=e.replace(/\s+/g,"");for(let n=0;n<i.length;n++){let o="",l="";const s=new Set;for(let c=n;c<i.length&&c<n+15;c++){const n=i[c].title;if(o=o?`${o} ${n}`:n,l=l?`${l}${n.replace(/\s+/g,"")}`:n.replace(/\s+/g,""),s.add(c),o.includes(e)||l.includes(r)){const r=Math.max(0,o.length-e.length);(!t||r<t.extra)&&(t={blocks:new Set(s),extra:r});break}if(o.length>e.length+120)break}}}return t?t.blocks:null})(n);e&&e.size>0&&(e.forEach(e=>f.add(e)),p=f.size)}const x=(e=>{if(e.length<2)return 40;const t=[];for(let r=1;r<e.length;r++){const n=Math.abs(e[r].lastTop-e[r-1].lastTop);n>0&&t.push(n)}if(0===t.length)return 40;t.sort((e,t)=>e-t);const r=t[Math.floor(t.length/2)],n=Math.round(2.25*r);return Math.min(60,Math.max(24,n))})(i),T=R.map(b).filter(e=>e.length>=8),v=T.map(e=>e.split(/\s+/).filter(e=>e.length>=2));if(0===p){const e=o;for(let t=0;t<i.length;t++){const r=i[t].title;for(let n=0;n<e.length;n++){if(!u(r,e[n]))continue;let o=0;const l=new Set;let s=n,c=t-1;for(let r=t;r<i.length&&s<e.length;r++){if(u(i[r].title,e[s])){if(c>=0){const e=i[c].lastTop,t=i[r].lastTop;if(Math.abs(t-e)>x)break}o++,l.add(r),c=r,s++}else if(s>0&&u(i[r].title,e[s-1])){const e=i[c].lastTop,t=i[r].lastTop;Math.abs(t-e)<=3&&(l.add(r),c=r)}if(r-c>6)break}o>p&&(p=o,f=l)}}}if(p<Math.min(3,T.length)&&T.length>0){const e=new Set;i.forEach((t,r)=>{const n=t.title.split(/\s+/).filter(e=>e.length>=2);if(n.length<2)return;const o=new Set(n);for(const t of v){if(t.length<2)continue;let n=0;for(const e of t)o.has(e)&&n++;const l=n/t.length;if(n>=3||l>=.5){e.add(r);break}}}),e.size>0&&(f=e,p=Math.max(p,e.size))}const y=new Set;if(F.forEach(e=>{const t=b(e);t&&(y.add(t),y.add(t.replace(/\s+/g,"")))}),0===p){const e=new Set;if(i.forEach((t,r)=>{const n=t.title.replace(/\s+/g,"");if(y.has(t.title)||y.has(n))return void e.add(r);const o=Array.from(y);for(let n=0;n<o.length;n++){const l=o[n];if(l.length>=10&&l.includes(t.title)&&t.title.length>=5){e.add(r);break}}}),0===e.size)return 0;f=e}i.forEach((e,t)=>{const r=f.has(t);e.elements.forEach(e=>{r?(e.classList.add("verified-match"),e.style.display=""):(e.style.display="none",e.classList.remove("verified-match"))})});const w=[];return i.forEach((e,t)=>{f.has(t)&&e.elements.forEach(e=>w.push(e))}),requestAnimationFrame(()=>{const e=w.map(e=>({el:e,rect:e.getBoundingClientRect()})).filter(e=>e.rect.width>0&&e.rect.height>0).sort((e,t)=>t.rect.width*t.rect.height-e.rect.width*e.rect.height),t=[];e.forEach(({el:e,rect:r})=>{t.some(e=>((e,t)=>{const r=Math.max(0,Math.min(e.right,t.right)-Math.max(e.left,t.left))*Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top)),n=Math.min(e.width*e.height,t.width*t.height);return n>0?r/n:0})(e.rect,r)>.5)?(e.style.display="none",e.classList.remove("verified-match")):t.push({el:e,rect:r})})}),console.groupCollapsed(`[debug: PDF ordered matching - Page ${e}]`),console.log("input->",a),console.log("processed sentences->",j),console.log("processed lines->",R),console.log("Expected sentence count:",n.length),console.log("Expected line count:",o.length),console.log("Matched sequence length:",p),console.log("blocksToKeep",f,"size",f.size),console.groupEnd(),f.size},z=e=>{if(!g.current)return;g.current.querySelectorAll(".rpv-search__highlights").forEach(t=>{const r=t.getAttribute("data-testid"),n=parseInt(r?.replace(/search__highlights-/g,"")||"-1"),o=t.querySelectorAll(".rpv-search__highlight");e.has(n)||o.forEach(e=>{e.style.display="none"})})},q=a.map(e=>(e=>e?S(e).split(/\n{2,}/).map(e=>$(e).join(" ")).map(e=>M(e)).filter(Boolean):[])(e)).flat(),B=a.map(e=>$(e)).flat(),C=q.some(e=>e.length>=3)?3:1,j=q.filter(e=>e.length>=C),R=B.filter(e=>e.length>=C),H=R.flatMap(e=>((e,t=6,r=4)=>{const n=e.split(/\s+/).filter(Boolean);if(n.length<=t)return[];const o=[];for(let e=0;e+t<=n.length;e+=r)o.push(n.slice(e,e+t).join(" "));return n.length>t&&(n.length-t)%r!==0&&o.push(n.slice(n.length-t).join(" ")),o})(e)),F=Array.from(new Set([...j,...R,...H].flatMap(e=>{const t=M(e.replace(/[\u00A0\u2009\u202F]/g," ").replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'"));if(!t)return[];const r=t.replace(/[\u2013\u2014]/g,"-"),n=M(r.replace(/(\w)-\s+(\w)/g,"$1$2")),o=M(r.replace(/-/g," ")),l=M(r.replace(/-/g,"")),i=M(t.replace(/[^\w\s]/g,"")),s=new Set([t,r,n,o,l,i]);return Array.from(s).filter(Boolean)}))).filter(e=>{const t=e.split(/\s+/).filter(Boolean);return!(e.length<C)&&(t.length>=3||e.length>=12)}),N=l({keyword:F}),P=i(),L=s(),{jumpToMatch:O}=N,{jumpToPage:Z}=P,{zoomTo:D,CurrentScale:W,ZoomPopover:K}=L,J=o(()=>(e=>{if(0===e.length)return[];const t=new Map;e.forEach((e,r)=>{const n=null!=e.pageNumber?e.pageNumber-1:e.pageIndex;t.has(n)||t.set(n,[]),t.get(n).push({...e,originalIndex:r})});const r=[];return t.forEach(e=>{const t=[...e].sort((e,t)=>e.top!==t.top?e.top-t.top:e.left-t.left),n=new Array(t.length).fill(!1);for(let e=0;e<t.length;e++){if(n[e])continue;let{left:o,top:l,width:i,height:s,pageIndex:c,pageNumber:a}=t[e],h=o+i,g=l+s;const u=[t[e].originalIndex];n[e]=!0;let p=!0;for(;p;){p=!1;for(let r=e+1;r<t.length;r++){if(n[r])continue;const e=t[r],c=e.left+e.width,a=e.top+e.height,f=Math.max(0,Math.min(h,c)-Math.max(o,e.left))*Math.max(0,Math.min(g,a)-Math.max(l,e.top)),d=Math.max(i*s,1e-4),m=Math.max(e.width*e.height,1e-4),x=Math.min(d,m);(x>0?f/x:0)>=.8&&(o=Math.min(o,e.left),l=Math.min(l,e.top),h=Math.max(h,c),g=Math.max(g,a),i=h-o,s=g-l,u.push(e.originalIndex),n[r]=!0,p=!0)}}r.push({pageIndex:c,pageNumber:a,left:o,top:l,width:i,height:s,originalIndexes:u})}}),r})(f),[f]),V=c({renderHighlights:r=>e(t,{children:J.filter(e=>null!=e.pageNumber?e.pageNumber-1===r.pageIndex:e.pageIndex===r.pageIndex).map(t=>{const r=t.originalIndexes.includes(y);return e("div",{style:{position:"absolute",left:`${t.left}%`,top:`${t.top+.08*t.height}%`,width:`${t.width}%`,height:.95*t.height+"%",background:r?m:d,opacity:r?.7:.4,transition:"background 0.2s, opacity 0.2s",border:r?"1px solid red":"1px solid transparent"}},t.originalIndexes.join("-"))})})}),G=()=>{if(!v.current)try{O(0),v.current=!0;const e=f[0];e&&p&&U(e.pageIndex,e.top)}catch{requestAnimationFrame(G)}},Q=(e,t)=>{if(!g.current)return;if(!g.current.querySelector(".rpv-core__viewer"))return;let r=-1;const n=()=>{const o=g.current?.querySelector(".rpv-core__inner-pages");if(!o)return;if(o.scrollTop!==r)return r=o.scrollTop,void setTimeout(n,100);const l=g.current?.querySelector(`[data-testid="core__page-layer-${e}"]`);if(!l)return;const i=l.querySelectorAll(".rpv-search__highlight")[t];if(!i)return;const s=o.getBoundingClientRect(),c=i.getBoundingClientRect(),a=o.scrollTop+(c.top-s.top)-o.clientHeight/2+c.height/2;o.scrollTo({top:a,behavior:"smooth"})};setTimeout(n,300)},U=(e,t,r=0)=>{if(!g.current)return;let n=0;const o=()=>{if(++n>60)return;const l=g.current?.querySelector(".rpv-core__inner-pages");if(!l)return void setTimeout(o,100);const i=g.current?.querySelector(`[data-testid="core__page-layer-${e}"]`);if(!i)return void setTimeout(o,100);const s=i.getBoundingClientRect();if(0===s.height)return void setTimeout(o,100);const c=l.getBoundingClientRect(),a=t/100*s.height,h=r/100*s.height,u=s.top-c.top+a,p=u+h;if(u>=80&&p<=l.clientHeight-80)return;const f=u<80?l.scrollTop+u-80:l.scrollTop+p-l.clientHeight+80;l.scrollTo({top:f,behavior:"smooth"})};setTimeout(o,100)},X=o(()=>{const e={};return E.forEach((t,r)=>{const n=h[t];n>0&&(e[n]||(e[n]=[]),e[n].push(r))}),e},[E,h]),Y=e=>{const t=h[E[e]];return(X[t]||[]).indexOf(e)},ee=(e,t,r=0)=>{if(!g.current)return;let n=-1,o=0;const l=()=>{if(++o>60)return;const i=g.current?.querySelector(".rpv-core__inner-pages");if(!i)return void setTimeout(l,100);if(i.scrollTop!==n)return n=i.scrollTop,void setTimeout(l,100);const s=g.current?.querySelector(`[data-testid="core__page-layer-${e}"]`);if(!s)return void setTimeout(l,100);const c=s.getBoundingClientRect();if(0===c.height)return void setTimeout(l,100);const a=i.getBoundingClientRect(),h=t/100*c.height,u=r/100*c.height,p=c.top-a.top+h,f=p+u;if(p>=80&&f<=i.clientHeight-80)return;const d=p<80?i.scrollTop+p-80:i.scrollTop+f-i.clientHeight+80;i.scrollTo({top:d,behavior:"instant"})};setTimeout(l,100)};return{setHighlightIndex:T,highlightIndex:x,cursorIndex:y,setCursorIndex:w,orderedKeys:E,totalHighlights:A,getValidPosition:e=>{if(p)return e+1;if(!h)return 0;let t=0;for(let r=0;r<=e;r++)h[E[r]]>0&&t++;return t},tryJump:G,jumpToPage:Z,zoomTo:D,hideNonTargetHighlights:z,deduplicateHighlights:k,scrollToCoord:U,plugins:[p?V:N,P,L],controls:{CurrentScale:W,ZoomPopover:K,zoomTo:D,goToNext:()=>{if(p&&f)for(let e=y+1;e<f.length;e++){const t=f[e],r=f[y];return w(e),void(t.pageIndex!==r.pageIndex?(Z(t.pageIndex),ee(t.pageIndex,t.top,t.height)):U(t.pageIndex,t.top,t.height))}else{for(let e=y+1;e<E.length;e++){const t=E[e];if(h[t]>0){const r=h[t]-1,n=Y(e);return w(e),Z(h[t]-1),Q(r,n),setTimeout(()=>{k(r)},500),void(1===Object.keys(h).length&&z(u))}}}},goToPrevious:()=>{if(p&&f)for(let e=y-1;e>=0;e--){const t=f[e],r=f[y];return w(e),void(t.pageIndex!==r.pageIndex?(Z(t.pageIndex),ee(t.pageIndex,t.top,t.height)):U(t.pageIndex,t.top,t.height))}else{for(let e=y-1;e>=0;e--){const t=E[e];if(h[t]>0){const r=h[t]-1,n=Y(e);return w(e),Z(h[t]-1),Q(r,n),setTimeout(()=>{k(r)},500),void(1===Object.keys(h).length&&z(u))}}}}}}};export{a as PdfHighlightControls};
2
2
  //# sourceMappingURL=usePdfHighlight.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePdfHighlight.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"usePdfHighlight.js","sources":["../../../src/features/PdfViewer/usePdfHighlight.tsx"],"sourcesContent":["import { useMemo, useRef, useState } from \"react\";\nimport { searchPlugin } from \"@react-pdf-viewer/search\";\nimport { pageNavigationPlugin } from \"@react-pdf-viewer/page-navigation\";\nimport { zoomPlugin } from \"@react-pdf-viewer/zoom\";\nimport { HighlightArea } from \"./PdfViewer\";\nimport {\n highlightPlugin,\n RenderHighlightsProps,\n} from \"@react-pdf-viewer/highlight\";\n\nexport const PdfHighlightControls = (\n highlightText: string[],\n highlightPages: Record<number, number>,\n viewerRef: React.RefObject<HTMLDivElement | null>,\n highlightPageSet : Set<number>,\n useCoordinates : boolean,\n highlightCordinatePages : HighlightArea[],\n highlightColor = \"yellow\", \n activeHighlightColor = \"#F6D739\",\n) => {\n const [highlightIndex, setHighlightIndex] = useState(0);\n const hasJumpedRef = useRef(false);\n const [cursorIndex, setCursorIndex] = useState(0);\n const visibleHighlightsRef = useRef<HTMLElement[]>([]);\n\n // Text normalization helpers\n\n const normalizeWhitespace = (value: string): string =>\n value.replace(/[^\\S\\n]+/g, \" \").trim();\n\n const stripMarkdownEmphasis = (line: string): string =>\n line.replace(/(^|\\W)[*_]{1,3}([^*_]+)[*_]{1,3}(?=\\W|$)/g, \"$1$2\");\n\n const normalizeForMatch = (value: string): string =>\n (value || \"\")\n .toLowerCase()\n .replace(/\\u00ad/g, \"\")\n .replace(/[\"\"]/g, '\"')\n .replace(/['']/g, \"'\")\n .replace(/[\\u2013\\u2014]/g, \"-\")\n .replace(/-/g, \" \")\n .replace(/[^\\w\\s]/g, \"\")\n .replace(/\\s+/g, \" \")\n .trim();\n\n const stripLeadingIndex = (line: string): string => {\n let trimmed = line.trim();\n trimmed = trimmed\n .replace(/[\\u200B-\\u200D\\uFEFF]/g, \"\")\n .replace(/[\\u00A0\\u2009\\u202F]/g, \" \");\n trimmed = trimmed.replace(/^[-•]\\s+/, \"\");\n const match = trimmed.match(\n /^((\\d+(?:\\.\\d+)*[.)]?)|[A-Za-z][.)]|\\([A-Za-z0-9]+\\)|(?:i|ii|iii|iv|v|vi|vii|viii|ix|x)[.)])\\s*/i\n );\n if (match) return trimmed.slice(match[0].length).trim();\n return trimmed;\n };\n\n const buildMatchVariants = (line: string): Set<string> => {\n const normalized = normalizeForMatch(line);\n const compact = normalized.replace(/\\s+/g, \"\");\n const variants = new Set<string>();\n if (normalized) variants.add(normalized);\n if (compact) variants.add(compact);\n return variants;\n };\n\n const buildSearchVariants = (line: string): string[] => {\n const base = normalizeWhitespace(\n line\n .replace(/[\\u00A0\\u2009\\u202F]/g, \" \")\n .replace(/\\u00ad/g, \"\")\n .replace(/[\"\"]/g, '\"')\n .replace(/['']/g, \"'\")\n );\n if (!base) return [];\n\n const dashNormalized = base.replace(/[\\u2013\\u2014]/g, \"-\");\n const dehyphenated = normalizeWhitespace(\n dashNormalized.replace(/(\\w)-\\s+(\\w)/g, \"$1$2\")\n );\n const hyphenToSpace = normalizeWhitespace(dashNormalized.replace(/-/g, \" \"));\n const hyphenRemoved = normalizeWhitespace(dashNormalized.replace(/-/g, \"\"));\n const punctuationStripped = normalizeWhitespace(base.replace(/[^\\w\\s]/g, \"\"));\n\n const variants = new Set<string>([\n base,\n dashNormalized,\n dehyphenated,\n hyphenToSpace,\n hyphenRemoved,\n punctuationStripped,\n ]);\n\n return Array.from(variants).filter(Boolean);\n };\n\n const decodeHtml = (str: string): string => {\n const textarea = document.createElement(\"textarea\");\n textarea.innerHTML = str;\n return textarea.value;\n };\n\n const getCleanedHighlightText = (text: string): string => {\n const cleanHighlight = text.replace(/\\\\([''])/g, \"$1\");\n const normalizedText = cleanHighlight.replace(/\\]\\s*\\n\\s*\\(/g, \"](\");\n return normalizedText\n .replace(/&[#\\w]+;/g, (match) => decodeHtml(match))\n .replace(/<br\\s*\\/?>/gi, \"\\n\")\n .replace(/\\[([^\\]]+)\\]\\(([^)]+)\\)/g, \"$1\")\n .replace(/`([^`]+)`/g, \"$1\");\n };\n\n const extractCleanLines = (text: string): string[] => {\n if (!text) return [];\n const cleaned = getCleanedHighlightText(text);\n\n return cleaned\n .split(/\\n+/)\n .map(stripLeadingIndex)\n .flatMap((line) => {\n const tableMatch = line.match(/^\\s*\\|(.+)\\|\\s*$/);\n if (tableMatch) {\n return tableMatch[1]\n .split(\"|\")\n .map((cell) => cell.trim())\n .filter(Boolean);\n }\n return [line];\n })\n .map((line) => normalizeWhitespace(stripMarkdownEmphasis(line)))\n .filter(Boolean);\n };\n\n const getMaxLineGap = (blocks: Array<{ lastTop: number }>): number => {\n if (blocks.length < 2) return 40;\n const diffs: number[] = [];\n for (let i = 1; i < blocks.length; i++) {\n const diff = Math.abs(blocks[i].lastTop - blocks[i - 1].lastTop);\n if (diff > 0) diffs.push(diff);\n }\n if (diffs.length === 0) return 40;\n diffs.sort((a, b) => a - b);\n const median = diffs[Math.floor(diffs.length / 2)];\n const scaled = Math.round(median * 2.25);\n return Math.min(60, Math.max(24, scaled));\n };\n\n type MergedHighlightArea = HighlightArea & {\n originalIndexes: number[];\n };\n\n // ─── Merge overlapping coordinate highlight areas on the same page ────────────\nconst mergeOverlappingAreas = (areas: HighlightArea[]): MergedHighlightArea[] => {\n if (areas.length === 0) return [];\n\n // Group by page\n const byPage = new Map<number, (HighlightArea & { originalIndex: number })[]>();\n areas.forEach((h, i) => {\n const pageKey = h.pageNumber != null ? h.pageNumber - 1 : h.pageIndex;\n if (!byPage.has(pageKey)) byPage.set(pageKey, []);\n byPage.get(pageKey)!.push({ ...h, originalIndex: i });\n });\n\n const merged: MergedHighlightArea[] = [];\n\n byPage.forEach((pageAreas) => {\n // Sort top-to-bottom, left-to-right\n const sorted = [...pageAreas].sort((a, b) =>\n a.top !== b.top ? a.top - b.top : a.left - b.left\n );\n\n const used = new Array(sorted.length).fill(false);\n\n for (let i = 0; i < sorted.length; i++) {\n if (used[i]) continue;\n\n let { left, top, width, height, pageIndex, pageNumber } = sorted[i];\n let right = left + width;\n let bottom = top + height;\n const originalIndexes = [sorted[i].originalIndex];\n used[i] = true;\n\n // Merge only true duplicate/heavily-overlapping rects. Nearby text lines\n // can be less than 1% apart vertically, so adjacency must stay separate.\n let changed = true;\n while (changed) {\n changed = false;\n for (let j = i + 1; j < sorted.length; j++) {\n if (used[j]) continue;\n const b = sorted[j];\n const bRight = b.left + b.width;\n const bBottom = b.top + b.height;\n\n const intersectionWidth = Math.max(\n 0,\n Math.min(right, bRight) - Math.max(left, b.left)\n );\n const intersectionHeight = Math.max(\n 0,\n Math.min(bottom, bBottom) - Math.max(top, b.top)\n );\n const intersectionArea = intersectionWidth * intersectionHeight;\n const currentArea = Math.max(width * height, 0.0001);\n const nextArea = Math.max(b.width * b.height, 0.0001);\n const smallerArea = Math.min(currentArea, nextArea);\n const overlapRatio = smallerArea > 0 ? intersectionArea / smallerArea : 0;\n\n const overlaps = overlapRatio >= 0.8;\n\n if (overlaps) {\n left = Math.min(left, b.left);\n top = Math.min(top, b.top);\n right = Math.max(right, bRight);\n bottom = Math.max(bottom, bBottom);\n width = right - left;\n height = bottom - top;\n originalIndexes.push(b.originalIndex);\n used[j] = true;\n changed = true;\n }\n }\n }\n\n merged.push({ pageIndex, pageNumber, left, top, width, height, originalIndexes });\n }\n });\n\n return merged;\n};\n\n const processPdfHighlightText = (text: string): string[] => {\n if (!text) return [];\n const cleaned = getCleanedHighlightText(text);\n return cleaned\n .split(/\\n{2,}/)\n .map((block) => extractCleanLines(block).join(\" \"))\n .map((line) => normalizeWhitespace(line))\n .filter(Boolean);\n };\n\n // ✅ Ordered valid keys (NO normalization to array)\n const orderedKeys = Object.keys(highlightPages)\n .map(Number)\n .sort((a, b) => a - b);\n\n\n /** Total navigable highlights. */\n const totalHighlights: number = useMemo(() => {\n if (useCoordinates) return highlightCordinatePages.length;\n if (!useCoordinates) return Object.values(highlightPages).filter((p) => p > 0).length;\n return 0;\n }, [highlightCordinatePages, highlightPages]);\n\n\n /** 1-based display position for a given cursor. */\n const getValidPosition = (cursor: number): number => {\n if (useCoordinates) return cursor + 1;\n if (!highlightPages) return 0;\n let count = 0;\n for (let i = 0; i <= cursor; i++) {\n if (highlightPages[orderedKeys[i]] > 0) count++;\n }\n return count;\n };\n\n const isSameLine = (a: DOMRect, b: DOMRect) =>\n Math.abs(a.top - b.top) < 5;\n\n const isHorizontallyClose = (a: DOMRect, b: DOMRect) =>\n Math.abs(a.right - b.left) < 20 || Math.abs(b.right - a.left) < 20;\n\n const isImmediateCluster = (\n curr:{\n el: HTMLElement;\n rect: DOMRect;\n text: string;\n },\n neighbor: {\n el: HTMLElement;\n rect: DOMRect;\n text: string;\n }) => {\n if (!neighbor) return false;\n\n return (\n isSameLine(curr.rect, neighbor.rect) &&\n isHorizontallyClose(curr.rect, neighbor.rect)\n );\n };\n\n\n const hideIsolatedShortHighlights = (pageHighlights: Element) => {\n const highlights = Array.from(\n pageHighlights.querySelectorAll(\".rpv-search__highlight\")\n ) as HTMLElement[];\n\n // ✅ Only process visible highlights — skip already-hidden ones\n const visibleItems = highlights\n .filter(el => el.style.display !== \"none\")\n .map(el => ({\n el,\n rect: el.getBoundingClientRect(),\n text: el.textContent?.trim() || \"\",\n }))\n .filter(item => item.rect.width > 0); // ✅ skip zero-rect (hidden/unmounted)\n\n visibleItems.forEach((item, i) => {\n const prev = visibleItems[i - 1];\n const next = visibleItems[i + 1];\n\n const width = item.rect.width;\n if (width > 100) return;\n const hasImmediateNeighbor =\n isImmediateCluster(item, prev) || isImmediateCluster(item, next);\n if (!hasImmediateNeighbor) item.el.style.display = \"none\";\n });\n };\n\n // ─── Core deduplication & matching ────────────────────────────────────────\n const deduplicateHighlights = (targetPage: number) => {\n if (!viewerRef.current) return;\n\n const pageHighlightsContainer = viewerRef.current.querySelector(\n `[data-testid=\"search__highlights-${targetPage}\"]`\n );\n if (!pageHighlightsContainer) return;\n\n const elements = Array.from(\n pageHighlightsContainer.querySelectorAll(\".rpv-search__highlight\")\n ) as HTMLElement[];\n\n if (elements.length === 0) return;\n\n const expectedSentenceVariants = filteredHighlightSentences.map(buildMatchVariants);\n const expectedLineVariants = filteredHighlightLineFragments.map(buildMatchVariants);\n if (expectedSentenceVariants.length === 0 && expectedLineVariants.length === 0) return;\n\n // Build DOM highlight items with coordinate fallback\n type HighlightItem = {\n el: HTMLElement;\n text: string;\n top: number;\n left: number;\n right: number;\n };\n\n type LogicalBlock = {\n title: string;\n elements: HTMLElement[];\n lastTop: number;\n lastRight: number;\n };\n\n const getCoords = (el: HTMLElement): { top: number; left: number; right: number } => {\n const rect = el.getBoundingClientRect();\n if (rect.height > 0 || rect.width > 0) {\n return { top: rect.top, left: rect.left, right: rect.right };\n }\n const top = el.offsetTop;\n const left = el.offsetLeft;\n const right = left + el.offsetWidth;\n return { top, left, right };\n };\n\n const items: HighlightItem[] = elements\n .map((el) => {\n const coords = getCoords(el);\n const rawText = (el.textContent || \"\").trim();\n const fallbackText = (el.getAttribute(\"title\") || \"\").trim();\n const text = rawText || fallbackText;\n return { el, text, ...coords };\n })\n .filter((item) => item.text.length > 0)\n .sort((a, b) => a.top - b.top || a.left - b.left);\n\n if (items.length === 0) return;\n\n // Group items into logical line-blocks\n const blocks: LogicalBlock[] = [];\n let currentBlock: LogicalBlock | null = null;\n let currentTextParts: string[] = [];\n const lineTolerance = 5;\n const wordGap = 28;\n\n const flushBlock = () => {\n if (!currentBlock) return;\n const joinedText = currentTextParts.join(\" \");\n currentBlock.title = normalizeForMatch(joinedText);\n if (currentBlock.title) blocks.push(currentBlock);\n currentBlock = null;\n currentTextParts = [];\n };\n\n items.forEach((item) => {\n if (!currentBlock) {\n currentBlock = {\n title: \"\",\n elements: [item.el],\n lastTop: item.top,\n lastRight: item.right,\n };\n currentTextParts = [item.text];\n return;\n }\n\n const sameLine = Math.abs(item.top - currentBlock.lastTop) <= lineTolerance;\n const closeToPrev = item.left <= currentBlock.lastRight + wordGap;\n\n if (sameLine && closeToPrev) {\n currentBlock.elements.push(item.el);\n currentBlock.lastTop = item.top;\n currentBlock.lastRight = Math.max(currentBlock.lastRight, item.right);\n currentTextParts.push(item.text);\n } else {\n flushBlock();\n currentBlock = {\n title: \"\",\n elements: [item.el],\n lastTop: item.top,\n lastRight: item.right,\n };\n currentTextParts = [item.text];\n }\n });\n flushBlock();\n\n if (blocks.length === 0) return;\n\n // Matching utilities\n\n // Returns true when blockTitle matches any of the expected variants.\n const matchesExpected = (blockTitle: string, variants: Set<string>): boolean => {\n if (!blockTitle) return false;\n if (variants.has(blockTitle)) return true;\n\n const compactTitle = blockTitle.replace(/\\s+/g, \"\");\n\n for (const variant of Array.from(variants)) {\n if (!variant) continue;\n const compactVariant = variant.replace(/\\s+/g, \"\");\n\n // Exact compact match\n if (compactVariant === compactTitle) return true;\n\n // Block is contained within the variant (fragmented DOM span)\n if (\n variant.length >= 8 &&\n blockTitle.length >= 5 &&\n variant.includes(blockTitle)\n )\n return true;\n if (\n compactVariant.length >= 8 &&\n compactTitle.length >= 5 &&\n compactVariant.includes(compactTitle)\n )\n return true;\n\n // Variant is contained within a larger block\n if (\n blockTitle.length >= 10 &&\n variant.length >= 8 &&\n blockTitle.includes(variant)\n )\n return true;\n if (\n compactTitle.length >= 10 &&\n compactVariant.length >= 8 &&\n compactTitle.includes(compactVariant)\n )\n return true;\n }\n return false;\n };\n\n let bestSequenceLen = 0;\n let blocksToKeep = new Set<number>();\n\n // Strategy A: Full-text sliding-window coverage\n\n const allExpectedNormalized = Array.from(\n new Set(\n [...filteredHighlightSentences, ...filteredHighlightLineFragments]\n .map(normalizeForMatch)\n .filter((s) => s.length >= 8)\n )\n ).sort((a, b) => b.length - a.length);\n\n const tryFullTextWindow = (expectedText: string): Set<number> | null => {\n if (!expectedText || expectedText.length < 8) return null;\n const expectedCompact = expectedText.replace(/\\s+/g, \"\");\n\n for (let start = 0; start < blocks.length; start++) {\n let combined = \"\";\n let combinedCompact = \"\";\n const collected = new Set<number>();\n\n for (\n let end = start;\n end < blocks.length && end < start + 20;\n end++\n ) {\n const piece = blocks[end].title;\n combined = combined ? `${combined} ${piece}` : piece;\n combinedCompact = combinedCompact\n ? `${combinedCompact}${piece.replace(/\\s+/g, \"\")}`\n : piece.replace(/\\s+/g, \"\");\n collected.add(end);\n\n if (\n combined.includes(expectedText) ||\n combinedCompact.includes(expectedCompact)\n ) {\n return collected;\n }\n\n if (\n combined.length >= 15 &&\n (expectedText.includes(combined) ||\n expectedCompact.includes(combinedCompact))\n ) {\n return collected;\n }\n\n if (combined.length > expectedText.length + 150) break;\n }\n }\n return null;\n };\n\n for (const expectedText of allExpectedNormalized) {\n const match = tryFullTextWindow(expectedText);\n if (match && match.size > 0) {\n match.forEach((idx) => blocksToKeep.add(idx));\n bestSequenceLen = blocksToKeep.size;\n }\n }\n\n // Strategy B: Per-sentence concatenated match\n\n const findConcatenatedMatch = (\n variantsList: Set<string>[]\n ): Set<number> | null => {\n if (variantsList.length === 0) return null;\n let bestMatch: { blocks: Set<number>; extra: number } | null = null;\n\n for (const variants of variantsList) {\n for (const variant of Array.from(variants)) {\n if (!variant || variant.length < 5) continue;\n const variantCompact = variant.replace(/\\s+/g, \"\");\n\n for (let start = 0; start < blocks.length; start++) {\n let combined = \"\";\n let combinedCompact = \"\";\n const collected = new Set<number>();\n\n for (\n let end = start;\n end < blocks.length && end < start + 15;\n end++\n ) {\n const piece = blocks[end].title;\n combined = combined ? `${combined} ${piece}` : piece;\n combinedCompact = combinedCompact\n ? `${combinedCompact}${piece.replace(/\\s+/g, \"\")}`\n : piece.replace(/\\s+/g, \"\");\n collected.add(end);\n\n if (\n combined.includes(variant) ||\n combinedCompact.includes(variantCompact)\n ) {\n const extra = Math.max(0, combined.length - variant.length);\n if (!bestMatch || extra < bestMatch.extra) {\n bestMatch = { blocks: new Set(collected), extra };\n }\n break;\n }\n\n if (combined.length > variant.length + 120) break;\n }\n }\n }\n }\n\n return bestMatch ? bestMatch.blocks : null;\n };\n\n if (bestSequenceLen === 0) {\n const concatenatedMatch = findConcatenatedMatch(expectedSentenceVariants);\n if (concatenatedMatch && concatenatedMatch.size > 0) {\n concatenatedMatch.forEach((idx) => blocksToKeep.add(idx));\n bestSequenceLen = blocksToKeep.size;\n }\n }\n\n // Strategy C: Line-by-line sequence matching\n\n const maxLineGap = getMaxLineGap(blocks);\n const expectedLineTexts = filteredHighlightLineFragments\n .map(normalizeForMatch)\n .filter((line) => line.length >= 8);\n const lineTokens = expectedLineTexts.map((line) =>\n line.split(/\\s+/).filter((word) => word.length >= 2)\n );\n\n if (bestSequenceLen === 0) {\n const sequenceCandidates = expectedLineVariants;\n\n for (\n let startBlockIdx = 0;\n startBlockIdx < blocks.length;\n startBlockIdx++\n ) {\n const blockTitle = blocks[startBlockIdx].title;\n\n for (let expStart = 0; expStart < sequenceCandidates.length; expStart++) {\n if (!matchesExpected(blockTitle, sequenceCandidates[expStart])) continue;\n\n let currentLen = 0;\n const currentKeptBlocks = new Set<number>();\n let expPtr = expStart;\n let lastMatchedBlockIdx = startBlockIdx - 1;\n\n for (let i = startBlockIdx; i < blocks.length && expPtr < sequenceCandidates.length; i++) {\n if (matchesExpected(blocks[i].title, sequenceCandidates[expPtr])) {\n if (lastMatchedBlockIdx >= 0) {\n const prevTop = blocks[lastMatchedBlockIdx].lastTop;\n const currentTop = blocks[i].lastTop;\n if (Math.abs(currentTop - prevTop) > maxLineGap) break;\n }\n\n currentLen++;\n currentKeptBlocks.add(i);\n lastMatchedBlockIdx = i;\n expPtr++;\n } else if (\n expPtr > 0 &&\n matchesExpected(blocks[i].title, sequenceCandidates[expPtr - 1])\n ) {\n const prevTop = blocks[lastMatchedBlockIdx].lastTop;\n const currentTop = blocks[i].lastTop;\n if (Math.abs(currentTop - prevTop) <= 3) {\n currentKeptBlocks.add(i);\n lastMatchedBlockIdx = i;\n }\n }\n\n if (i - lastMatchedBlockIdx > 6) break;\n }\n\n if (currentLen > bestSequenceLen) {\n bestSequenceLen = currentLen;\n blocksToKeep = currentKeptBlocks;\n }\n }\n }\n }\n\n // Strategy D: Fuzzy word-overlap fallback\n\n if (\n bestSequenceLen < Math.min(3, expectedLineTexts.length) &&\n expectedLineTexts.length > 0\n ) {\n const fuzzyBlocks = new Set<number>();\n\n blocks.forEach((block, index) => {\n const blockWords = block.title\n .split(/\\s+/)\n .filter((word) => word.length >= 2);\n\n if (blockWords.length < 2) return;\n const blockWordSet = new Set(blockWords);\n\n for (const expectedWords of lineTokens) {\n if (expectedWords.length < 2) continue;\n\n let common = 0;\n for (const word of expectedWords) {\n if (blockWordSet.has(word)) common++;\n }\n\n const ratio = common / expectedWords.length;\n if (common >= 3 || ratio >= 0.5) {\n fuzzyBlocks.add(index);\n break;\n }\n }\n });\n\n if (fuzzyBlocks.size > 0) {\n blocksToKeep = fuzzyBlocks;\n bestSequenceLen = Math.max(bestSequenceLen, fuzzyBlocks.size);\n }\n }\n\n // Strategy E: Normalized keyword exact-match fallback\n const normalizedSearchKeywords = new Set<string>();\n searchKeywords.forEach((keyword) => {\n const normalized = normalizeForMatch(keyword);\n if (!normalized) return;\n normalizedSearchKeywords.add(normalized);\n normalizedSearchKeywords.add(normalized.replace(/\\s+/g, \"\"));\n });\n\n if (bestSequenceLen === 0) {\n const fallbackBlocks = new Set<number>();\n blocks.forEach((block, index) => {\n const compactTitle = block.title.replace(/\\s+/g, \"\");\n if (\n normalizedSearchKeywords.has(block.title) ||\n normalizedSearchKeywords.has(compactTitle)\n ) {\n fallbackBlocks.add(index);\n return;\n }\n const keywordList = Array.from(normalizedSearchKeywords);\n for (let i = 0; i < keywordList.length; i++) {\n const kw = keywordList[i];\n if (kw.length >= 10 && kw.includes(block.title) && block.title.length >= 5) {\n fallbackBlocks.add(index);\n break;\n }\n }\n });\n\n if (fallbackBlocks.size === 0) return 0;\n blocksToKeep = fallbackBlocks;\n }\n\n // Reveal only verified blocks\n blocks.forEach((block, index) => {\n const isKept = blocksToKeep.has(index);\n block.elements.forEach((el) => {\n if (isKept) {\n // Reveal the verified sequence smoothly\n el.classList.add(\"verified-match\");\n el.style.display = \"\"; // Ensure it's in the document flow\n } else {\n // Hard-hide the noise so it doesn't block text selection\n el.style.display = \"none\";\n el.classList.remove(\"verified-match\");\n }\n });\n });\n\n // added console group for debugging - to be removed in final release\n // ─── After blocksToKeep is finalized, hide pixel-overlapping duplicates ──────\n // The search plugin sometimes renders multiple spans covering identical or\n // heavily-overlapping regions for the same keyword. We keep only the first\n // (largest) span in each overlapping cluster so opacity never compounds.\n\n const keptElements: HTMLElement[] = [];\n blocks.forEach((block, index) => {\n if (blocksToKeep.has(index)) {\n block.elements.forEach((el) => keptElements.push(el));\n }\n });\n\n // Build rects after a rAF so the browser has committed layout\n requestAnimationFrame(() => {\n type RectEntry = { el: HTMLElement; rect: DOMRect };\n const entries: RectEntry[] = keptElements\n .map((el) => ({ el, rect: el.getBoundingClientRect() }))\n .filter((e) => e.rect.width > 0 && e.rect.height > 0)\n // largest area first so we always keep the most-covering span\n .sort((a, b) => (b.rect.width * b.rect.height) - (a.rect.width * a.rect.height));\n\n const surviving: RectEntry[] = [];\n\n const overlapRatio = (a: DOMRect, b: DOMRect): number => {\n const ix = Math.max(0, Math.min(a.right, b.right) - Math.max(a.left, b.left));\n const iy = Math.max(0, Math.min(a.bottom, b.bottom) - Math.max(a.top, b.top));\n const intersection = ix * iy;\n const smaller = Math.min(a.width * a.height, b.width * b.height);\n return smaller > 0 ? intersection / smaller : 0;\n };\n\n entries.forEach(({ el, rect }) => {\n const isDuplicate = surviving.some(\n (s) => overlapRatio(s.rect, rect) > 0.5 // >50% of smaller rect is covered → duplicate\n );\n if (isDuplicate) {\n el.style.display = \"none\";\n el.classList.remove(\"verified-match\");\n } else {\n surviving.push({ el, rect });\n }\n });\n });\n console.groupCollapsed(`[debug: PDF ordered matching - Page ${targetPage}]`);\n console.log(\"input->\", highlightText);\n console.log(\"processed sentences->\", filteredHighlightSentences);\n console.log(\"processed lines->\", filteredHighlightLineFragments);\n console.log(\"Expected sentence count:\", expectedSentenceVariants.length);\n console.log(\"Expected line count:\", expectedLineVariants.length);\n console.log(\"Matched sequence length:\", bestSequenceLen);\n console.log(\"blocksToKeep\", blocksToKeep, \"size\", blocksToKeep.size);\n console.groupEnd();\n\n return blocksToKeep.size\n };\n\n\n const matchHighlightsInOrder = (\n processedHighlightText: string[],\n seenMap: Map<string, HTMLElement[]>\n ) => {\n const entries = Array.from(seenMap.entries());\n\n let pointer = 0;\n const result: any[] = [];\n\n const normalize = (str: string) =>\n str\n .toLowerCase()\n .replace(/[^\\w\\s]/g, \"\") // remove punctuation\n .replace(/\\s+/g, \" \") // normalize spaces\n .trim();\n\n for (let i = 0; i < processedHighlightText.length; i++) {\n const chunk = processedHighlightText[i];\n const normalizedChunk = normalize(chunk);\n\n while (pointer < entries.length) {\n const [key, value] = entries[pointer];\n const text = normalize(key.split(\"_#$_\")[0]);\n\n const nextChunk = processedHighlightText[i + 1];\n const nextEntry = entries[pointer + 1];\n\n const normalizedNextChunk = nextChunk ? normalize(nextChunk) : null;\n const nextText = nextEntry\n ? normalize(nextEntry[0].split(\"_#$_\")[0])\n : null;\n\n const isCurrentMatch = normalizedChunk === text;\n\n // ONLY apply lookahead if duplicate ahead\n const isDuplicateAhead =\n pointer + 1 < entries.length &&\n text === normalize(entries[pointer + 1][0].split(\"_#$_\")[0]);\n\n let isValid = isCurrentMatch;\n\n if (isCurrentMatch && isDuplicateAhead && normalizedNextChunk) {\n isValid = normalizedNextChunk === nextText;\n }\n\n if (isValid) {\n result.push({\n chunk,\n matchedKey: key,\n elements: value,\n });\n\n pointer++;\n break;\n }\n\n pointer++;\n }\n }\n\n return result;\n };\n\n\n // ✅ hide non-target pages\n // ✅ Accepts multiple target pages\n const hideNonTargetHighlights = (targetPages: Set<number>) => {\n if (!viewerRef.current) return;\n const allPageHighlights = viewerRef.current.querySelectorAll(\n \".rpv-search__highlights\"\n );\n\n allPageHighlights.forEach((pageHighlights) => {\n const testId = pageHighlights.getAttribute(\"data-testid\");\n const pageIndex = parseInt(\n // testId?.replace(\"search__highlights-\", \"\") || \"-1\"\n testId?.replace(/search__highlights-/g, \"\") || \"-1\"\n );\n const highlights = pageHighlights.querySelectorAll(\".rpv-search__highlight\");\n\n // ✅ Hide if page is NOT in the target set\n if (!targetPages.has(pageIndex)) {\n highlights.forEach((h) => {\n (h as HTMLElement).style.display = \"none\";\n });\n }\n // else if (highlights.length > 1) {\n // hideIsolatedShortHighlights(pageHighlights)\n // }\n });\n };\n\n // Pre-process input highlight text\n const processedHighlightSegments = highlightText\n .map((text) => processPdfHighlightText(text))\n .flat();\n\n const processedHighlightLineFragments = highlightText\n .map((text) => extractCleanLines(text))\n .flat();\n\n const minKeywordLength = processedHighlightSegments.some((line) => line.length >= 3)\n ? 3\n : 1;\n\n const filteredHighlightSentences = processedHighlightSegments.filter(\n (line) => line.length >= minKeywordLength\n );\n\n const filteredHighlightLineFragments = processedHighlightLineFragments.filter(\n (line) => line.length >= minKeywordLength\n );\n\n const isKeywordUseful = (line: string): boolean => {\n const words = line.split(/\\s+/).filter(Boolean);\n if (line.length < minKeywordLength) return false;\n if (words.length >= 3) return true;\n return line.length >= 12;\n };\n\n const buildWordWindows = (line: string, size = 6, step = 4): string[] => {\n const words = line.split(/\\s+/).filter(Boolean);\n if (words.length <= size) return [];\n const windows: string[] = [];\n for (let i = 0; i + size <= words.length; i += step) {\n windows.push(words.slice(i, i + size).join(\" \"));\n }\n if (words.length > size && (words.length - size) % step !== 0) {\n windows.push(words.slice(words.length - size).join(\" \"));\n }\n return windows;\n };\n\n const lineFragmentWindows = filteredHighlightLineFragments.flatMap((line) =>\n buildWordWindows(line)\n );\n\n const searchKeywords = Array.from(\n new Set(\n [\n ...filteredHighlightSentences,\n ...filteredHighlightLineFragments,\n ...lineFragmentWindows,\n ].flatMap(buildSearchVariants)\n )\n ).filter(isKeywordUseful);\n\n // Plugin instances\n const searchPluginInstance = searchPlugin({ keyword: searchKeywords });\n const pageNavigationPluginInstance = pageNavigationPlugin();\n const zoomPluginInstance = zoomPlugin();\n\n const { jumpToMatch } = searchPluginInstance;\n const { jumpToPage } = pageNavigationPluginInstance;\n const { zoomTo, CurrentScale, ZoomPopover } = zoomPluginInstance;\n\n // Pre-merge overlapping areas so stacked highlights don't compound opacity\nconst mergedCoordinateAreas = useMemo(\n () => mergeOverlappingAreas(highlightCordinatePages),\n [highlightCordinatePages]\n);\n\nconst highlightPluginInstance = highlightPlugin({\n renderHighlights: (props: RenderHighlightsProps) => (\n <>\n {mergedCoordinateAreas\n .filter((h) =>\n h.pageNumber != null\n ? h.pageNumber - 1 === props.pageIndex\n : h.pageIndex === props.pageIndex\n )\n .map((area) => {\n const isActive = area.originalIndexes.includes(cursorIndex);\n\n return (\n <div\n key={area.originalIndexes.join(\"-\")}\n style={{\n position: \"absolute\",\n left: `${area.left}%`,\n top: `${area.top + area.height * 0.08}%`,\n width: `${area.width}%`,\n height: `${area.height * 0.95}%`,\n background: isActive ? activeHighlightColor : highlightColor,\n opacity: isActive ? 0.7 : 0.4,\n transition: \"background 0.2s, opacity 0.2s\",\n border: isActive ? `1px solid ${\"red\"}` : `1px solid transparent`,\n }}\n />\n );\n })}\n </>\n ),\n});\n\n const tryJump = () => {\n if (hasJumpedRef.current) return;\n try {\n jumpToMatch(0);\n hasJumpedRef.current = true;\n const first = highlightCordinatePages[0]; // ✅ use highlightPages not hardcoded highlights\n if (first && useCoordinates) {\n scrollToCoord(first.pageIndex, first.top);\n }\n } catch {\n requestAnimationFrame(tryJump);\n }\n };\n\n\n const scrollToHighlightAfterNav = (targetPage: number, occurrence: number) => {\n if (!viewerRef.current) return;\n\n const container = viewerRef.current.querySelector(\".rpv-core__viewer\");\n if (!container) return;\n\n let lastScrollTop = -1;\n\n const doScrollToHighlight = () => {\n const scrollContainer = viewerRef.current?.querySelector(\n \".rpv-core__inner-pages\"\n ) as HTMLElement;\n if (!scrollContainer) return;\n\n // ✅ Wait for jumpToPage scroll to settle\n if (scrollContainer.scrollTop !== lastScrollTop) {\n lastScrollTop = scrollContainer.scrollTop;\n setTimeout(doScrollToHighlight, 100);\n return;\n }\n\n const pageElement = viewerRef.current?.querySelector(\n `[data-testid=\"core__page-layer-${targetPage}\"]`\n );\n if (!pageElement) return;\n\n // ✅ Get nth highlight on this page using occurrence\n const allHighlights = pageElement.querySelectorAll(\".rpv-search__highlight\");\n const target = allHighlights[occurrence] as HTMLElement;\n\n if (!target) return;\n\n const scrollContainerRect = scrollContainer.getBoundingClientRect();\n const highlightRect = target.getBoundingClientRect();\n\n const scrollTop =\n scrollContainer.scrollTop +\n (highlightRect.top - scrollContainerRect.top) -\n scrollContainer.clientHeight / 2 +\n highlightRect.height / 2;\n\n scrollContainer.scrollTo({ top: scrollTop, behavior: \"smooth\" });\n };\n\n setTimeout(doScrollToHighlight, 300);\n };\n\n // ─── Coordinate-mode: scroll by percentage position ───────────────────────\n\n const scrollToCoord = (pageIndex: number, top: number, height = 0) => {\n\n if (!viewerRef.current) return;\n let attempts = 0;\n const VIEWPORT_PADDING = 80;\n\n const doScroll = () => {\n if (++attempts > 60) return;\n\n const scrollContainer = viewerRef.current?.querySelector(\n \".rpv-core__inner-pages\"\n ) as HTMLElement | null;\n\n if (!scrollContainer) { setTimeout(doScroll, 100); return; }\n\n\n // const normalizedPageIndex = pageIndex - 1;\n\n const pageElement = viewerRef.current?.querySelector(\n `[data-testid=\"core__page-layer-${pageIndex}\"]`\n ) as HTMLElement | null;\n\n if (!pageElement) { setTimeout(doScroll, 100); return; }\n\n\n const pageRect = pageElement.getBoundingClientRect();\n\n if (pageRect.height === 0) { setTimeout(doScroll, 100); return; }\n\n const scrollContainerRect = scrollContainer.getBoundingClientRect();\n const highlightTopInPage = (top / 100) * pageRect.height;\n const highlightHeightInPage = (height / 100) * pageRect.height;\n const highlightTopAbsolute =\n pageRect.top - scrollContainerRect.top + highlightTopInPage;\n const highlightBottomAbsolute = highlightTopAbsolute + highlightHeightInPage;\n\n const isComfortablyVisible =\n highlightTopAbsolute >= VIEWPORT_PADDING &&\n highlightBottomAbsolute <= scrollContainer.clientHeight - VIEWPORT_PADDING;\n\n if (isComfortablyVisible) return;\n\n const scrollTop =\n highlightTopAbsolute < VIEWPORT_PADDING\n ? scrollContainer.scrollTop + highlightTopAbsolute - VIEWPORT_PADDING\n : scrollContainer.scrollTop +\n highlightBottomAbsolute -\n scrollContainer.clientHeight +\n VIEWPORT_PADDING;\n\n scrollContainer.scrollTo({\n top: scrollTop,\n behavior: \"smooth\",\n });\n };\n\n setTimeout(doScroll, 100);\n };\n\n\n// ✅ Map: page -> [cursorIndexes] for same-page occurrence tracking\nconst pageVisitMap = useMemo(() => {\n const map: Record<number, number[]> = {};\n orderedKeys.forEach((key, i) => {\n const page = highlightPages[key];\n if (page > 0) {\n if (!map[page]) map[page] = [];\n map[page].push(i);\n }\n });\n return map;\n}, [orderedKeys, highlightPages]);\n\n// ✅ Get which occurrence (0,1,2...) this cursorIndex is on its page\nconst getHighlightOccurrence = (cursorIdx: number): number => {\n const page = highlightPages[orderedKeys[cursorIdx]];\n const visits = pageVisitMap[page] || [];\n return visits.indexOf(cursorIdx);\n};\n\n\nconst scrollToCoordAfterNav = (pageIndex: number, top: number, height = 0) => {\n if (!viewerRef.current) return;\n const VIEWPORT_PADDING = 80;\n let lastScrollTop = -1;\n let attempts = 0;\n\n const waitForSettle = () => {\n if (++attempts > 60) return;\n\n const scrollContainer = viewerRef.current?.querySelector(\n \".rpv-core__inner-pages\"\n ) as HTMLElement | null;\n if (!scrollContainer) { setTimeout(waitForSettle, 100); return; }\n\n if (scrollContainer.scrollTop !== lastScrollTop) {\n lastScrollTop = scrollContainer.scrollTop;\n setTimeout(waitForSettle, 100);\n return;\n }\n\n const pageElement = viewerRef.current?.querySelector(\n `[data-testid=\"core__page-layer-${pageIndex}\"]`\n ) as HTMLElement | null;\n if (!pageElement) { setTimeout(waitForSettle, 100); return; }\n\n const pageRect = pageElement.getBoundingClientRect();\n if (pageRect.height === 0) { setTimeout(waitForSettle, 100); return; }\n\n const scrollContainerRect = scrollContainer.getBoundingClientRect();\n const highlightTopInPage = (top / 100) * pageRect.height;\n const highlightHeightInPage = (height / 100) * pageRect.height;\n const highlightTopAbsolute =\n pageRect.top - scrollContainerRect.top + highlightTopInPage;\n const highlightBottomAbsolute = highlightTopAbsolute + highlightHeightInPage;\n\n const isComfortablyVisible =\n highlightTopAbsolute >= VIEWPORT_PADDING &&\n highlightBottomAbsolute <= scrollContainer.clientHeight - VIEWPORT_PADDING;\n\n if (isComfortablyVisible) return;\n\n const scrollTop =\n highlightTopAbsolute < VIEWPORT_PADDING\n ? scrollContainer.scrollTop + highlightTopAbsolute - VIEWPORT_PADDING\n : scrollContainer.scrollTop +\n highlightBottomAbsolute -\n scrollContainer.clientHeight +\n VIEWPORT_PADDING;\n\n // ✅ instant — no second smooth animation\n scrollContainer.scrollTo({\n top: scrollTop,\n behavior: \"instant\" as ScrollBehavior,\n });\n };\n\n setTimeout(waitForSettle, 100);\n};\n\nconst goToNext = () => {\n if (useCoordinates && highlightCordinatePages) {\n for (let i = cursorIndex + 1; i < highlightCordinatePages.length; i++) {\n const h = highlightCordinatePages[i];\n const currentH = highlightCordinatePages[cursorIndex];\n setCursorIndex(i);\n\n if (h.pageIndex !== currentH.pageIndex) {\n jumpToPage(h.pageIndex);\n scrollToCoordAfterNav(h.pageIndex, h.top, h.height);\n } else {\n scrollToCoord(h.pageIndex, h.top, h.height);\n }\n return;\n }\n } else {\n const prev = cursorIndex;\n for (let i = prev + 1; i < orderedKeys.length; i++) {\n const key = orderedKeys[i];\n if (highlightPages[key] > 0) {\n const page = highlightPages[key] - 1;\n const occurrence = getHighlightOccurrence(i);\n setCursorIndex(i);\n jumpToPage(highlightPages[key] - 1);\n scrollToHighlightAfterNav(page, occurrence);\n setTimeout(() => { deduplicateHighlights(page); }, 500);\n if (Object.keys(highlightPages).length === 1) hideNonTargetHighlights(highlightPageSet);\n return;\n }\n }\n }\n};\n\nconst goToPrevious = () => {\n if (useCoordinates && highlightCordinatePages) {\n for (let i = cursorIndex - 1; i >= 0; i--) {\n const h = highlightCordinatePages[i];\n const currentH = highlightCordinatePages[cursorIndex];\n setCursorIndex(i);\n\n if (h.pageIndex !== currentH.pageIndex) {\n jumpToPage(h.pageIndex);\n scrollToCoordAfterNav(h.pageIndex, h.top, h.height);\n } else {\n scrollToCoord(h.pageIndex, h.top, h.height);\n }\n return;\n }\n } else {\n const prev = cursorIndex;\n for (let i = prev - 1; i >= 0; i--) {\n const key = orderedKeys[i];\n if (highlightPages[key] > 0) {\n const page = highlightPages[key] - 1;\n const occurrence = getHighlightOccurrence(i);\n setCursorIndex(i);\n jumpToPage(highlightPages[key] - 1);\n scrollToHighlightAfterNav(page, occurrence);\n setTimeout(() => { deduplicateHighlights(page); }, 500);\n if (Object.keys(highlightPages).length === 1) hideNonTargetHighlights(highlightPageSet);\n return;\n }\n }\n }\n};\n\n\n return {\n setHighlightIndex,\n highlightIndex,\n cursorIndex,\n setCursorIndex,\n orderedKeys,\n totalHighlights,\n getValidPosition,\n tryJump,\n jumpToPage,\n zoomTo,\n hideNonTargetHighlights,\n deduplicateHighlights,\n scrollToCoord,\n plugins: [\n useCoordinates ? highlightPluginInstance : searchPluginInstance,\n pageNavigationPluginInstance,\n zoomPluginInstance,\n ],\n controls: {\n CurrentScale,\n ZoomPopover,\n zoomTo,\n goToNext,\n goToPrevious,\n },\n };\n};"],"names":["PdfHighlightControls","highlightText","highlightPages","viewerRef","highlightPageSet","useCoordinates","highlightCordinatePages","highlightColor","activeHighlightColor","highlightIndex","setHighlightIndex","useState","hasJumpedRef","useRef","cursorIndex","setCursorIndex","normalizeWhitespace","value","replace","trim","normalizeForMatch","toLowerCase","stripLeadingIndex","line","trimmed","match","slice","length","buildMatchVariants","normalized","compact","variants","Set","add","getCleanedHighlightText","text","str","textarea","document","createElement","innerHTML","decodeHtml","extractCleanLines","split","map","flatMap","tableMatch","cell","filter","Boolean","stripMarkdownEmphasis","orderedKeys","Object","keys","Number","sort","a","b","totalHighlights","useMemo","values","p","deduplicateHighlights","targetPage","current","pageHighlightsContainer","querySelector","elements","Array","from","querySelectorAll","expectedSentenceVariants","filteredHighlightSentences","expectedLineVariants","filteredHighlightLineFragments","items","el","coords","rect","getBoundingClientRect","height","width","top","left","right","offsetTop","offsetLeft","offsetWidth","getCoords","rawText","textContent","fallbackText","getAttribute","item","blocks","currentBlock","currentTextParts","flushBlock","joinedText","join","title","push","forEach","lastTop","lastRight","sameLine","Math","abs","closeToPrev","max","matchesExpected","blockTitle","has","compactTitle","variant","compactVariant","includes","bestSequenceLen","blocksToKeep","allExpectedNormalized","s","tryFullTextWindow","expectedText","expectedCompact","start","combined","combinedCompact","collected","end","piece","size","idx","concatenatedMatch","variantsList","bestMatch","variantCompact","extra","findConcatenatedMatch","maxLineGap","diffs","i","diff","median","floor","scaled","round","min","getMaxLineGap","expectedLineTexts","lineTokens","word","sequenceCandidates","startBlockIdx","expStart","currentLen","currentKeptBlocks","expPtr","lastMatchedBlockIdx","prevTop","currentTop","fuzzyBlocks","block","index","blockWords","blockWordSet","expectedWords","common","ratio","normalizedSearchKeywords","searchKeywords","keyword","fallbackBlocks","keywordList","kw","isKept","classList","style","display","remove","keptElements","requestAnimationFrame","entries","e","surviving","some","intersection","bottom","smaller","overlapRatio","console","groupCollapsed","log","groupEnd","hideNonTargetHighlights","targetPages","pageHighlights","testId","pageIndex","parseInt","highlights","h","processedHighlightSegments","processPdfHighlightText","flat","processedHighlightLineFragments","minKeywordLength","lineFragmentWindows","step","words","windows","buildWordWindows","base","dashNormalized","dehyphenated","hyphenToSpace","hyphenRemoved","punctuationStripped","searchPluginInstance","searchPlugin","pageNavigationPluginInstance","pageNavigationPlugin","zoomPluginInstance","zoomPlugin","jumpToMatch","jumpToPage","zoomTo","CurrentScale","ZoomPopover","mergedCoordinateAreas","areas","byPage","Map","pageKey","pageNumber","set","get","originalIndex","merged","pageAreas","sorted","used","fill","originalIndexes","changed","j","bRight","bBottom","intersectionArea","currentArea","nextArea","smallerArea","mergeOverlappingAreas","highlightPluginInstance","highlightPlugin","renderHighlights","props","jsx","Fragment","children","area","isActive","position","background","opacity","transition","border","tryJump","first","scrollToCoord","scrollToHighlightAfterNav","occurrence","lastScrollTop","doScrollToHighlight","scrollContainer","scrollTop","setTimeout","pageElement","target","scrollContainerRect","highlightRect","clientHeight","scrollTo","behavior","attempts","doScroll","pageRect","highlightTopInPage","highlightHeightInPage","highlightTopAbsolute","highlightBottomAbsolute","pageVisitMap","key","page","getHighlightOccurrence","cursorIdx","indexOf","scrollToCoordAfterNav","waitForSettle","getValidPosition","cursor","count","plugins","controls","goToNext","currentH","goToPrevious"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ class t{constructor(){this.lastValidZoom=1,this.isRotating=!1,this.rotationTimeoutId=null,this.ROTATION_TRANSITION_DURATION=300,this.zoomStateListeners=new Set,this.frozenZoomDisplay=null,this.currentZoomLevel=1}getLastValidZoom(){return this.lastValidZoom}setLastValidZoom(t){Number.isFinite(t)&&t>0&&(this.lastValidZoom=t,this.currentZoomLevel=t,this.notifyZoomStateChange(t))}getDisplayZoom(){return this.isRotating&&null!==this.frozenZoomDisplay?this.frozenZoomDisplay:this.currentZoomLevel}beginRotation(){this.isRotating=!0,this.frozenZoomDisplay=this.currentZoomLevel,null!==this.rotationTimeoutId&&clearTimeout(this.rotationTimeoutId),this.rotationTimeoutId=setTimeout(()=>{this.endRotation()},this.ROTATION_TRANSITION_DURATION)}endRotation(){this.isRotating=!1,this.frozenZoomDisplay=null,null!==this.rotationTimeoutId&&(clearTimeout(this.rotationTimeoutId),this.rotationTimeoutId=null)}isInRotationTransition(){return this.isRotating}safeZoomEvaluation(t,o){try{const i=t(Number.isFinite(o)?o:this.lastValidZoom);return Number.isFinite(i)&&i>0?(this.setLastValidZoom(i),i):(console.warn(`[ZoomStateManager] Zoom calculation returned invalid value: ${i}. Recovering to last valid zoom: ${this.lastValidZoom}`),this.lastValidZoom)}catch(t){return console.error("[ZoomStateManager] Error during zoom evaluation:",t),this.lastValidZoom}}onZoomStateChange(t){return this.zoomStateListeners.add(t),()=>{this.zoomStateListeners.delete(t)}}notifyZoomStateChange(t){this.zoomStateListeners.forEach(o=>{try{o(t)}catch(t){console.error("[ZoomStateManager] Error in zoom state listener:",t)}})}reset(){this.lastValidZoom=1,this.currentZoomLevel=1,this.isRotating=!1,this.frozenZoomDisplay=null,null!==this.rotationTimeoutId&&(clearTimeout(this.rotationTimeoutId),this.rotationTimeoutId=null)}}const o=new t;export{t as ZoomStateManager,o as zoomStateManager};
2
+ //# sourceMappingURL=zoomStateManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zoomStateManager.js","sources":["../../../src/features/PdfViewer/zoomStateManager.ts"],"sourcesContent":["export class ZoomStateManager {\n private lastValidZoom: number = 1; // Default zoom level\n private isRotating: boolean = false;\n private rotationTimeoutId: ReturnType<typeof setTimeout> | null = null;\n private readonly ROTATION_TRANSITION_DURATION = 300; // Match CSS transition time\n private zoomStateListeners: Set<(zoom: number) => void> = new Set();\n private frozenZoomDisplay: number | null = null; // Caches zoom display value during rotation to prevent UI flicker\n private currentZoomLevel: number = 1; // Tracks actual current zoom level for display purposes\n\n getLastValidZoom(): number {\n return this.lastValidZoom;\n }\n\n setLastValidZoom(zoom: number): void {\n if (Number.isFinite(zoom) && zoom > 0) {\n this.lastValidZoom = zoom;\n this.currentZoomLevel = zoom;\n this.notifyZoomStateChange(zoom);\n }\n }\n\n getDisplayZoom(): number {\n if (this.isRotating && this.frozenZoomDisplay !== null) {\n return this.frozenZoomDisplay;\n }\n return this.currentZoomLevel;\n }\n\n beginRotation(): void {\n this.isRotating = true;\n this.frozenZoomDisplay = this.currentZoomLevel;\n\n if (this.rotationTimeoutId !== null) {\n clearTimeout(this.rotationTimeoutId);\n }\n this.rotationTimeoutId = setTimeout(() => {\n this.endRotation();\n }, this.ROTATION_TRANSITION_DURATION);\n }\n\n endRotation(): void {\n this.isRotating = false;\n this.frozenZoomDisplay = null;\n if (this.rotationTimeoutId !== null) {\n clearTimeout(this.rotationTimeoutId);\n this.rotationTimeoutId = null;\n }\n }\n\n isInRotationTransition(): boolean {\n return this.isRotating;\n }\n\n safeZoomEvaluation(\n zoomCallback: (current: number) => number,\n currentZoom: number\n ): number {\n try {\n const baseZoom = Number.isFinite(currentZoom) ? currentZoom : this.lastValidZoom;\n const newZoom = zoomCallback(baseZoom);\n\n if (Number.isFinite(newZoom) && newZoom > 0) {\n this.setLastValidZoom(newZoom);\n return newZoom;\n } else {\n console.warn(\n `[ZoomStateManager] Zoom calculation returned invalid value: ${newZoom}. ` +\n `Recovering to last valid zoom: ${this.lastValidZoom}`\n );\n return this.lastValidZoom;\n }\n } catch (error) {\n console.error(`[ZoomStateManager] Error during zoom evaluation:`, error);\n return this.lastValidZoom;\n }\n }\n\n onZoomStateChange(callback: (zoom: number) => void): () => void {\n this.zoomStateListeners.add(callback);\n return () => {\n this.zoomStateListeners.delete(callback);\n };\n }\n\n private notifyZoomStateChange(zoom: number): void {\n this.zoomStateListeners.forEach(listener => {\n try {\n listener(zoom);\n } catch (error) {\n console.error('[ZoomStateManager] Error in zoom state listener:', error);\n }\n });\n }\n\n reset(): void {\n this.lastValidZoom = 1;\n this.currentZoomLevel = 1;\n this.isRotating = false;\n this.frozenZoomDisplay = null;\n if (this.rotationTimeoutId !== null) {\n clearTimeout(this.rotationTimeoutId);\n this.rotationTimeoutId = null;\n }\n }\n}\n\nexport const zoomStateManager = new ZoomStateManager();\n\n"],"names":["ZoomStateManager","constructor","this","lastValidZoom","isRotating","rotationTimeoutId","ROTATION_TRANSITION_DURATION","zoomStateListeners","Set","frozenZoomDisplay","currentZoomLevel","getLastValidZoom","setLastValidZoom","zoom","Number","isFinite","notifyZoomStateChange","getDisplayZoom","beginRotation","clearTimeout","setTimeout","endRotation","isInRotationTransition","safeZoomEvaluation","zoomCallback","currentZoom","newZoom","console","warn","error","onZoomStateChange","callback","add","delete","forEach","listener","reset","zoomStateManager"],"mappings":"AAAO,MAAMA,EAAN,WAAAC,GACLC,KAAQC,cAAwB,EAChCD,KAAQE,YAAsB,EAC9BF,KAAQG,kBAA0D,KAClEH,KAAiBI,6BAA+B,IACxCJ,KAAAK,uBAAsDC,IAC9DN,KAAQO,kBAAmC,KAC3CP,KAAQQ,iBAA2B,CAAA,CAEnC,gBAAAC,GACE,OAAOT,KAAKC,aACd,CAEA,gBAAAS,CAAiBC,GACXC,OAAOC,SAASF,IAASA,EAAO,IAClCX,KAAKC,cAAgBU,EACrBX,KAAKQ,iBAAmBG,EACxBX,KAAKc,sBAAsBH,GAE/B,CAEA,cAAAI,GACE,OAAIf,KAAKE,YAAyC,OAA3BF,KAAKO,kBACnBP,KAAKO,kBAEPP,KAAKQ,gBACd,CAEA,aAAAQ,GACEhB,KAAKE,YAAa,EAClBF,KAAKO,kBAAoBP,KAAKQ,iBAEC,OAA3BR,KAAKG,mBACPc,aAAajB,KAAKG,mBAEfH,KAAAG,kBAAoBe,WAAW,KAClClB,KAAKmB,eACJnB,KAAKI,6BACV,CAEA,WAAAe,GACEnB,KAAKE,YAAa,EAClBF,KAAKO,kBAAoB,KACM,OAA3BP,KAAKG,oBACPc,aAAajB,KAAKG,mBAClBH,KAAKG,kBAAoB,KAE7B,CAEA,sBAAAiB,GACE,OAAOpB,KAAKE,UACd,CAEA,kBAAAmB,CACEC,EACAC,GAEI,IACF,MACMC,EAAUF,EADCV,OAAOC,SAASU,GAAeA,EAAcvB,KAAKC,eAGnE,OAAIW,OAAOC,SAASW,IAAYA,EAAU,GACxCxB,KAAKU,iBAAiBc,GACfA,IAECC,QAAAC,KACN,+DAA+DF,qCAC7BxB,KAAKC,iBAElCD,KAAKC,qBAEP0B,GAEP,OADQF,QAAAE,MAAM,mDAAoDA,GAC3D3B,KAAKC,aACd,CACF,CAEA,iBAAA2B,CAAkBC,GAEhB,OADK7B,KAAAK,mBAAmByB,IAAID,GACrB,KACA7B,KAAAK,mBAAmB0B,OAAOF,GAEnC,CAEQ,qBAAAf,CAAsBH,GACvBX,KAAAK,mBAAmB2B,QAAoBC,IACtC,IACFA,EAAStB,SACFgB,GACCF,QAAAE,MAAM,mDAAoDA,EACpE,GAEJ,CAEA,KAAAO,GACElC,KAAKC,cAAgB,EACrBD,KAAKQ,iBAAmB,EACxBR,KAAKE,YAAa,EAClBF,KAAKO,kBAAoB,KACM,OAA3BP,KAAKG,oBACPc,aAAajB,KAAKG,mBAClBH,KAAKG,kBAAoB,KAE7B,EAGW,MAAAgC,EAAmB,IAAIrC"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__awaiter as t,__generator as n}from"tslib";import{jsxs as i,Fragment as o,jsx as r}from"react/jsx-runtime";import{useState as l,useRef as c,useEffect as s}from"react";import a from"./ProjectAccordion.module.css.js";import u from"axios";import d from"./_components/Markdown.js";import p from"../CodeCitation/_components/TooltipComponent.js";import m from"@mui/material/CircularProgress";var h=function(h){var v=h.baseUrl,f=h.taskId,g=h.execSummary,y=h.citationTitle,C=h.isDisabled,x=void 0!==C&&C,k=h.disabledText,b=void 0===k?"":k,w=h.isChecked,j=h.onCheckChange,P=h.customClickHandler,_=h.chevronDownComponent,D=h.chevronUpComponent,I=h.styles,T=l(""),N=T[0],S=T[1],W=l(!1),z=W[0],B=W[1],E=l(!1),H=E[0],O=E[1],U=l(!1),V=U[0],$=U[1],A=l(!1),M=A[0],R=A[1],q=l(""),F=q[0],G=q[1],J=l(""),K=J[0],L=J[1],Q=c(null),X=l("0px"),Y=X[0],Z=X[1],ee=null!=w?w:H,te=300,ne=function(e){j?j(e):O(e)};s(function(){if(g){var e=g||"";G(e);var i=(null==e?void 0:e.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/))||[],o=(null==i?void 0:i.length)>=1?i[1].trim():null;L(o||e.slice(0,te)+"..."),S(e)}else t(void 0,void 0,void 0,function(){var e,t,i,o,r,l;return n(this,function(n){switch(n.label){case 0:$(!0),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,u.get("".concat(v,"/analyzer/get_executive_summary?task_id=").concat(f))];case 2:return e=n.sent(),t=(null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.summary)||"",G(t),i=null==t?void 0:t.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/),o=(null==i?void 0:i.length)>=1?i[1].trim():null,L(o||t.slice(0,te)+"..."),S(t),[3,4];case 3:return r=n.sent(),console.error("Error retrieving summary: ",r),S(""),[3,4];case 4:return $(!1),[2]}})})},[v,f]),s(function(){z&&Q.current?Z("".concat(Q.current.scrollHeight,"px")):Z("0px")},[z,N,M]);return i(o,{children:[r("div",e({className:a.pillButton,style:null==I?void 0:I.pillButton},{children:i("div",e({style:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",cursor:"pointer",gap:"0.5rem"},onClick:function(e){!function(e){e.preventDefault(),e.stopPropagation(),P&&P(e),B(!z)}(e)}},{children:[i("label",e({style:{display:"inline-flex",alignItems:"center",gap:"0.5rem"}},{children:[x?r(p,e({description:b},{children:r("input",{type:"checkbox",disabled:x,checked:ee,onChange:function(e){return ne(e.target.checked)},style:null==I?void 0:I.checkbox,onClick:function(e){return e.stopPropagation()}})})):r("input",{type:"checkbox",disabled:x,checked:ee,onChange:function(e){return ne(e.target.checked)},style:null==I?void 0:I.checkbox,onClick:function(e){return e.stopPropagation()}}),r("span",e({style:null==I?void 0:I.citationTitle},{children:y}))]})),z?D:_]}))})),z?r("div",e({className:a.citationWrapper,style:e({overflow:"hidden",transition:"height 0.3s ease",height:Y},null==I?void 0:I.citationWrapper)},{children:r("div",e({ref:Q,className:a.citationContent,style:null==I?void 0:I.citationContent,onClick:function(e){return e.stopPropagation()}},{children:V?i("div",e({style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",gap:"1rem"}},{children:[r(m,{size:24}),r("span",{children:" Retrieving project's executive summary..."})]})):i(o,{children:[r(d,{text:F?M||N.length<=te?N:""!==K?K:N.slice(0,te)+"...":"Executive summary not found."}),F&&N.length>te&&r("span",e({style:{color:"#4f46e5",cursor:"pointer",fontWeight:500},onClick:function(e){e.stopPropagation(),function(e){e.stopPropagation(),R(function(e){return!e})}(e)}},{children:M?"View less":"View more"}))]})}))})):r(o,{})]})};export{h as default};
1
+ import{jsxs as e,Fragment as t,jsx as i}from"react/jsx-runtime";import{useState as n,useRef as o,useEffect as r}from"react";import c from"./ProjectAccordion.module.css.js";import s from"axios";import l from"./_components/Markdown.js";import a from"../CodeCitation/_components/TooltipComponent.js";import p from"@mui/material/CircularProgress";const m=({baseUrl:m,taskId:d,execSummary:h,citationTitle:g,isDisabled:u=!1,disabledText:y="",isChecked:f,onCheckChange:C,customClickHandler:x,chevronDownComponent:k,chevronUpComponent:v,styles:w})=>{const[b,j]=n(""),[P,$]=n(!1),[_,D]=n(!1),[I,T]=n(!1),[N,S]=n(!1),[W,z]=n(""),[B,E]=n(""),H=o(null),[O,U]=n("0px"),V=f??_,A=300,M=e=>{C?C(e):D(e)};r(()=>{if(h){const e=h||"";z(e);const t=e?.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/)||[],i=t?.length>=1?t[1].trim():null;E(i||e.slice(0,A)+"..."),j(e)}else(async()=>{T(!0);try{const e=await s.get(`${m}/analyzer/get_executive_summary?task_id=${d}`),t=e?.data?.summary||"";z(t);const i=t?.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/),n=i?.length>=1?i[1].trim():null;E(n||t.slice(0,A)+"..."),j(t)}catch(e){console.error("Error retrieving summary: ",e),j("")}T(!1)})()},[m,d]),r(()=>{P&&H.current?U(`${H.current.scrollHeight}px`):U("0px")},[P,b,N]);return e(t,{children:[i("div",{className:c.pillButton,style:w?.pillButton,children:e("div",{style:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",cursor:"pointer",gap:"0.5rem"},onClick:e=>{(e=>{e.preventDefault(),e.stopPropagation(),x&&x(e),$(!P)})(e)},children:[e("label",{style:{display:"inline-flex",alignItems:"center",gap:"0.5rem"},children:[u?i(a,{description:y,children:i("input",{type:"checkbox",disabled:u,checked:V,onChange:e=>M(e.target.checked),style:w?.checkbox,onClick:e=>e.stopPropagation()})}):i("input",{type:"checkbox",disabled:u,checked:V,onChange:e=>M(e.target.checked),style:w?.checkbox,onClick:e=>e.stopPropagation()}),i("span",{style:w?.citationTitle,children:g})]}),P?v:k]})}),P?i("div",{className:c.citationWrapper,style:{overflow:"hidden",transition:"height 0.3s ease",height:O,...w?.citationWrapper},children:i("div",{ref:H,className:c.citationContent,style:w?.citationContent,onClick:e=>e.stopPropagation(),children:I?e("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",gap:"1rem"},children:[i(p,{size:24}),i("span",{children:" Retrieving project's executive summary..."})]}):e(t,{children:[i(l,{text:W?N||b.length<=A?b:""!==B?B:b.slice(0,A)+"...":"Executive summary not found."}),W&&b.length>A&&i("span",{style:{color:"#4f46e5",cursor:"pointer",fontWeight:500},onClick:e=>{e.stopPropagation(),(e=>{e.stopPropagation(),S(e=>!e)})(e)},children:N?"View less":"View more"})]})})}):i(t,{})]})};export{m as default};
2
2
  //# sourceMappingURL=ProjectAccordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ProjectAccordion.js","sources":["../../../src/features/ProjectAccordion/ProjectAccordion.tsx"],"sourcesContent":["import React, { useState, CSSProperties, useEffect, useRef } from 'react';\nimport defaultStyles from './ProjectAccordion.module.css';\nimport axios from 'axios';\nimport Markdown from './_components/Markdown';\n// import { CircularProgress } from '@mui/material';\nimport TooltipComponent from '../CodeCitation/_components/TooltipComponent';\nimport CircularProgress from '@mui/material/CircularProgress';\n\ninterface ProjectAccordianProps {\n baseUrl: string;\n taskId: string;\n citationTitle: string | React.ReactNode;\n execSummary?: string;\n isDisabled?: boolean;\n disabledText?: string;\n isChecked?: boolean;\n onCheckChange?: (checked: boolean) => void;\n customClickHandler?: (e: React.MouseEvent) => void;\n chevronDownComponent?: React.ReactNode;\n chevronUpComponent?: React.ReactNode;\n styles?: {\n pillButton?: CSSProperties;\n citationTitle?: CSSProperties;\n citationWrapper?: CSSProperties;\n citationContent?: CSSProperties;\n checkbox?: CSSProperties;\n };\n}\n\nconst ProjectAccordion: React.FC<ProjectAccordianProps> = ({\n baseUrl,\n taskId,\n execSummary,\n citationTitle,\n isDisabled = false,\n disabledText = '',\n isChecked: controlledChecked,\n onCheckChange,\n customClickHandler,\n chevronDownComponent,\n chevronUpComponent,\n styles\n}) => {\n const [executiveSummary, setExecutiveSummary] = useState('');\n const [isExpanded, setIsExpanded] = useState(false);\n const [internalChecked, setInternalChecked] = useState(false);\n const [loading, setLoading] = useState(false);\n const [showFullSummary, setShowFullSummary] = useState(false);\n const [data, setData] = useState('');\n const [codeOverview, setCodeOverview] = useState('');\n const contentRef = useRef<HTMLDivElement>(null);\n const [height, setHeight] = useState('0px');\n\n const isChecked = controlledChecked ?? internalChecked;\n const SUMMARY_CHAR_LIMIT = 300;\n\n const toggleShowFullSummary = (e: any) => {\n e.stopPropagation()\n setShowFullSummary(prev => !prev);\n };\n\n const getDisplayedSummary = () => {\n if (!data) return 'Executive summary not found.'\n if (showFullSummary || executiveSummary.length <= SUMMARY_CHAR_LIMIT) return executiveSummary;\n return codeOverview !== '' ? codeOverview : executiveSummary.slice(0, SUMMARY_CHAR_LIMIT) + '...';\n };\n\n const handleCheckboxChange = (checked: boolean) => {\n if (onCheckChange) {\n onCheckChange(checked);\n } else {\n setInternalChecked(checked);\n }\n // setIsExpanded(checked);\n };\n\n useEffect(() => {\n const fetchExecutiveSummary = async () => {\n setLoading(true);\n try {\n const response = await axios.get(`${baseUrl}/analyzer/get_executive_summary?task_id=${taskId}`);\n const summary = response?.data?.summary || '';\n setData(summary)\n const overviewMatch = summary?.match(/(\\*\\*Overview\\*\\*\\s*[\\s\\S]*?)(?=\\n\\*\\*|$)/);\n const overviewContent = overviewMatch?.length >= 1 ? overviewMatch[1].trim() : null;\n setCodeOverview(overviewContent || summary.slice(0, SUMMARY_CHAR_LIMIT) + '...');\n setExecutiveSummary(summary);\n } catch (error) {\n console.error('Error retrieving summary: ', error);\n setExecutiveSummary('');\n }\n setLoading(false);\n };\n\n if (execSummary) {\n const summary = execSummary || '';\n setData(summary)\n const overviewMatch = summary?.match(/(\\*\\*Overview\\*\\*\\s*[\\s\\S]*?)(?=\\n\\*\\*|$)/) || [];\n const overviewContent = overviewMatch?.length >= 1 ? overviewMatch[1].trim() : null;\n setCodeOverview(overviewContent || summary.slice(0, SUMMARY_CHAR_LIMIT) + '...');\n setExecutiveSummary(summary);\n } else {\n fetchExecutiveSummary();\n }\n }, [baseUrl, taskId]);\n\n useEffect(() => {\n if (isExpanded && contentRef.current) {\n setHeight(`${contentRef.current.scrollHeight}px`);\n } else {\n setHeight('0px');\n }\n }, [isExpanded, executiveSummary, showFullSummary]);\n\n const toggleCitation = (e: React.MouseEvent) => {\n e.preventDefault();\n e.stopPropagation();\n // const newChecked = !isChecked;\n\n // if (onCheckChange) {\n // onCheckChange(newChecked);\n // } else {\n // setInternalChecked(newChecked);\n // }\n if (customClickHandler) {\n customClickHandler(e);\n }\n\n setIsExpanded(!isExpanded);\n };\n\n return (\n <>\n <div\n className={defaultStyles.pillButton}\n style={styles?.pillButton}\n >\n <div\n style={{ width: '100%', display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', cursor: 'pointer', gap: '0.5rem' }}\n onClick={(e) => { toggleCitation(e); }}\n >\n <label style={{ display: 'inline-flex', alignItems: 'center', gap: '0.5rem' }}>\n {!isDisabled ? <input\n type=\"checkbox\"\n disabled={isDisabled}\n checked={isChecked}\n onChange={(e) => handleCheckboxChange(e.target.checked)}\n style={styles?.checkbox}\n onClick={(e) => e.stopPropagation()} // Prevent toggling accordion on checkbox click\n /> : <TooltipComponent description={disabledText}><input\n type=\"checkbox\"\n disabled={isDisabled}\n checked={isChecked}\n onChange={(e) => handleCheckboxChange(e.target.checked)}\n style={styles?.checkbox}\n onClick={(e) => e.stopPropagation()} // Prevent toggling accordion on checkbox click\n /></TooltipComponent>}\n <span style={styles?.citationTitle}>{citationTitle}</span>\n </label>\n {isExpanded ? chevronUpComponent : chevronDownComponent}\n </div>\n </div>\n\n {isExpanded ? <div\n className={defaultStyles.citationWrapper}\n style={{\n overflow: 'hidden',\n transition: 'height 0.3s ease',\n height,\n ...styles?.citationWrapper\n }}\n >\n <div\n ref={contentRef}\n className={defaultStyles.citationContent}\n style={styles?.citationContent}\n onClick={(e) => e.stopPropagation()}\n >\n {loading ? (\n <div\n style={{\n width: '100%',\n height: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n gap: '1rem'\n }}\n >\n <CircularProgress size={24} />\n <span> Retrieving project's executive summary...</span>\n </div>\n ) : (\n <>\n <Markdown text={getDisplayedSummary()} />\n {data && executiveSummary.length > SUMMARY_CHAR_LIMIT && (\n <span\n style={{ color: '#4f46e5', cursor: 'pointer', fontWeight: 500 }}\n onClick={(e) => { e.stopPropagation(); toggleShowFullSummary(e) }}\n >\n {showFullSummary ? 'View less' : 'View more'}\n </span>\n )}\n </>\n )}\n </div>\n </div> : <></>}\n </>\n );\n};\n\nexport default ProjectAccordion;\n"],"names":["ProjectAccordion","baseUrl","taskId","execSummary","citationTitle","isDisabled","disabledText","isChecked","controlledChecked","onCheckChange","customClickHandler","chevronDownComponent","chevronUpComponent","styles","executiveSummary","setExecutiveSummary","useState","isExpanded","setIsExpanded","internalChecked","setInternalChecked","loading","setLoading","showFullSummary","setShowFullSummary","data","setData","codeOverview","setCodeOverview","contentRef","useRef","height","setHeight","SUMMARY_CHAR_LIMIT","handleCheckboxChange","checked","useEffect","summary","overviewMatch","match","overviewContent","length","trim","slice","async","response","axios","get","error","console","fetchExecutiveSummary","current","scrollHeight","jsxs","Fragment","children","jsx","className","defaultStyles","pillButton","style","width","display","flexDirection","justifyContent","alignItems","cursor","gap","onClick","e","preventDefault","stopPropagation","toggleCitation","TooltipComponent","description","type","disabled","onChange","target","checkbox","citationWrapper","overflow","transition","ref","citationContent","CircularProgress","size","Markdown","text","color","fontWeight","prev","toggleShowFullSummary"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- var o={pillButton:"ProjectAccordion-module_pillButton__z14BB",citationWrapper:"ProjectAccordion-module_citationWrapper__0f9GR",citationContent:"ProjectAccordion-module_citationContent__l6lmo",loadingWrapper:"ProjectAccordion-module_loadingWrapper__Uax0A",bookHeader:"ProjectAccordion-module_bookHeader__0wX-g",bookInfo:"ProjectAccordion-module_bookInfo__ApseP",bookCover:"ProjectAccordion-module_bookCover__W2oI3",title:"ProjectAccordion-module_title__q42XY",author:"ProjectAccordion-module_author__63R8Z",scrollContainer:"ProjectAccordion-module_scrollContainer__2iPtk",spineLeft:"ProjectAccordion-module_spineLeft__qIyAq",spineRight:"ProjectAccordion-module_spineRight__Wp8-8",quoteParagraph:"ProjectAccordion-module_quoteParagraph__Jq10k",indent:"ProjectAccordion-module_indent__ZEGon",pageNumber:"ProjectAccordion-module_pageNumber__lXvk4",citationContainerTitle:"ProjectAccordion-module_citationContainerTitle__HLxgU"};!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap");.ProjectAccordion-module_pillButton__z14BB{align-items:center;background-color:initial;border:1px solid #c7c7c7;border-radius:6px;color:"#242424";cursor:pointer;display:flex;font-family:Plus Jakarta Sans,sans-serif;font-family:Montserrat,sans-serif;font-size:12px;font-weight:550;gap:6px;justify-content:space-between;line-height:18px;margin:8px 4px;padding:4px 8px;width:fit-content}.ProjectAccordion-module_citationWrapper__0f9GR{overflow:hidden;transition:height .3s ease}.ProjectAccordion-module_citationContent__l6lmo{transition:opacity .2s ease}.ProjectAccordion-module_loadingWrapper__Uax0A{min-height:80px}.ProjectAccordion-module_citationContent__l6lmo{background-color:#fff;border:1px solid #c7c7c7;border-radius:12px;color:#242424;font-family:Plus Jakarta Sans,sans-serif;padding:12px;width:100%}.ProjectAccordion-module_bookHeader__0wX-g{display:flex;justify-content:space-between;margin-bottom:24px}.ProjectAccordion-module_bookInfo__ApseP{display:flex;gap:16px}.ProjectAccordion-module_bookCover__W2oI3{height:auto;object-fit:cover;width:40px}.ProjectAccordion-module_title__q42XY{font-family:serif;font-size:1.25rem;font-weight:700}.ProjectAccordion-module_author__63R8Z{font-family:serif;font-size:1rem;font-weight:500}.ProjectAccordion-module_scrollContainer__2iPtk{background-color:#f2f0f0;border-radius:8px;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;height:100%;line-height:1.4;overflow-y:auto;padding:40px;position:relative}.ProjectAccordion-module_spineLeft__qIyAq,.ProjectAccordion-module_spineRight__Wp8-8{bottom:0;opacity:.5;pointer-events:none;position:absolute;top:0;width:16px;z-index:0}.ProjectAccordion-module_spineLeft__qIyAq{background:linear-gradient(90deg,#000 0,#0009 40%,#0003 70%,#0000);box-shadow:4px 0 8px #0000001a;right:5px}.ProjectAccordion-module_spineRight__Wp8-8{background:linear-gradient(270deg,#000 0,#000000b3 40%,#0006 70%,#0000);box-shadow:-4px 0 8px #0000001a;right:20px}.ProjectAccordion-module_quoteParagraph__Jq10k{margin-bottom:1rem;text-align:justify}.ProjectAccordion-module_indent__ZEGon{text-indent:1rem}.ProjectAccordion-module_pageNumber__lXvk4{color:#374151;font-weight:500;padding:.5rem;text-align:center}.ProjectAccordion-module_citationContainerTitle__HLxgU{font-family:Plus Jakarta Sans,sans-serif}'));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(o)}();export{o as default};
1
+ import o from"../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";var e={pillButton:"ProjectAccordion-module_pillButton__z14BB",citationWrapper:"ProjectAccordion-module_citationWrapper__0f9GR",citationContent:"ProjectAccordion-module_citationContent__l6lmo",loadingWrapper:"ProjectAccordion-module_loadingWrapper__Uax0A",bookHeader:"ProjectAccordion-module_bookHeader__0wX-g",bookInfo:"ProjectAccordion-module_bookInfo__ApseP",bookCover:"ProjectAccordion-module_bookCover__W2oI3",title:"ProjectAccordion-module_title__q42XY",author:"ProjectAccordion-module_author__63R8Z",scrollContainer:"ProjectAccordion-module_scrollContainer__2iPtk",spineLeft:"ProjectAccordion-module_spineLeft__qIyAq",spineRight:"ProjectAccordion-module_spineRight__Wp8-8",quoteParagraph:"ProjectAccordion-module_quoteParagraph__Jq10k",indent:"ProjectAccordion-module_indent__ZEGon",pageNumber:"ProjectAccordion-module_pageNumber__lXvk4",citationContainerTitle:"ProjectAccordion-module_citationContainerTitle__HLxgU"};o('@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap");.ProjectAccordion-module_pillButton__z14BB{align-items:center;background-color:transparent;border:1px solid #c7c7c7;border-radius:6px;color:"#242424";cursor:pointer;display:flex;font-family:Plus Jakarta Sans,sans-serif;font-family:Montserrat,sans-serif;font-size:12px;font-weight:550;gap:6px;justify-content:space-between;line-height:18px;margin:8px 4px;padding:4px 8px;width:fit-content}.ProjectAccordion-module_citationWrapper__0f9GR{overflow:hidden;transition:height .3s ease}.ProjectAccordion-module_citationContent__l6lmo{transition:opacity .2s ease}.ProjectAccordion-module_loadingWrapper__Uax0A{min-height:80px}.ProjectAccordion-module_citationContent__l6lmo{background-color:#fff;border:1px solid #c7c7c7;border-radius:12px;color:#242424;font-family:Plus Jakarta Sans,sans-serif;padding:12px;width:100%}.ProjectAccordion-module_bookHeader__0wX-g{display:flex;justify-content:space-between;margin-bottom:24px}.ProjectAccordion-module_bookInfo__ApseP{display:flex;gap:16px}.ProjectAccordion-module_bookCover__W2oI3{height:auto;object-fit:cover;width:40px}.ProjectAccordion-module_title__q42XY{font-family:serif;font-size:1.25rem;font-weight:700}.ProjectAccordion-module_author__63R8Z{font-family:serif;font-size:1rem;font-weight:500}.ProjectAccordion-module_scrollContainer__2iPtk{background-color:#f2f0f0;border-radius:8px;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;height:100%;line-height:1.4;overflow-y:auto;padding:40px;position:relative}.ProjectAccordion-module_spineLeft__qIyAq,.ProjectAccordion-module_spineRight__Wp8-8{bottom:0;opacity:.5;pointer-events:none;position:absolute;top:0;width:16px;z-index:0}.ProjectAccordion-module_spineLeft__qIyAq{background:linear-gradient(90deg,#000 0,rgba(0,0,0,.6) 40%,rgba(0,0,0,.2) 70%,transparent);box-shadow:4px 0 8px rgba(0,0,0,.1);right:5px}.ProjectAccordion-module_spineRight__Wp8-8{background:linear-gradient(270deg,#000 0,rgba(0,0,0,.7) 40%,rgba(0,0,0,.4) 70%,transparent);box-shadow:-4px 0 8px rgba(0,0,0,.1);right:20px}.ProjectAccordion-module_quoteParagraph__Jq10k{margin-bottom:1rem;text-align:justify}.ProjectAccordion-module_indent__ZEGon{text-indent:1rem}.ProjectAccordion-module_pageNumber__lXvk4{color:#374151;font-weight:500;padding:.5rem;text-align:center}.ProjectAccordion-module_citationContainerTitle__HLxgU{font-family:Plus Jakarta Sans,sans-serif}');export{e as default};
2
2
  //# sourceMappingURL=ProjectAccordion.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e,__rest as r}from"tslib";import{jsx as n}from"react/jsx-runtime";import o from"react-markdown";import i from"rehype-raw";var a={p:function(o){o.node;var i=r(o,["node"]);return n("p",e({},i,{style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",marginBottom:"1rem",maxWidth:"100%",lineHeight:"1.625",fontSize:"1rem"}},{children:null==i?void 0:i.children}))},em:function(o){o.node;var i=r(o,["node"]);return n("p",e({style:{display:"inline-flex"}},{children:null==i?void 0:i.children}))},pre:function(o){o.node;var i=r(o,["node"]);return n("p",e({},i,{style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",maxWidth:"100%",fontSize:"1rem",lineHeight:"1.625",marginBottom:"1rem"}},{children:null==i?void 0:i.children}))},code:function(o){o.node;var i=r(o,["node"]);return n("code",e({},i,{className:"text-[#d63384] max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",textAlign:"justify"}},{children:null==i?void 0:i.children}))},ol:function(o){o.node;var i=r(o,["node"]);return n("ol",e({style:{listStyle:"decimal",marginLeft:"1rem",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:i.children}))},li:function(o){o.node;var i=r(o,["node"]);return n("li",e({style:{marginTop:"1rem",marginBottom:"1rem"}},{children:i.children}))},a:function(o){o.node;var i=r(o,["node"]);return n("a",e({href:i.href,style:{display:"inline-flex"}},{children:i.children}))}},l=function(r){var l=r.text;return n(o,e({rehypePlugins:[i],components:a},{children:l}))};export{l as default};
1
+ import{jsx as e}from"react/jsx-runtime";import r from"react-markdown";import a from"rehype-raw";const o={p:({node:r,...a})=>e("p",{...a,style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",marginBottom:"1rem",maxWidth:"100%",lineHeight:"1.625",fontSize:"1rem"},children:a?.children}),em:({node:r,...a})=>e("p",{style:{display:"inline-flex"},children:a?.children}),pre:({node:r,...a})=>e("p",{...a,style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",maxWidth:"100%",fontSize:"1rem",lineHeight:"1.625",marginBottom:"1rem"},children:a?.children}),code:({node:r,...a})=>e("code",{...a,className:"text-[#d63384] max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",textAlign:"justify"},children:a?.children}),ol:({node:r,...a})=>e("ol",{style:{listStyle:"decimal",marginLeft:"1rem",fontFamily:"Plus Jakarta Sans, sans-serif"},children:a.children}),li:({node:r,...a})=>e("li",{style:{marginTop:"1rem",marginBottom:"1rem"},children:a.children}),a:({node:r,...a})=>e("a",{href:a.href,style:{display:"inline-flex"},children:a.children})},l=({text:l})=>e(r,{rehypePlugins:[a],components:o,children:l});export{l as default};
2
2
  //# sourceMappingURL=Markdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Markdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"Markdown.js","sources":["../../../../src/features/ProjectAccordion/_components/Markdown.tsx"],"sourcesContent":["import ReactMarkdown from \"react-markdown\";\nimport rehypeRaw from 'rehype-raw';\n\nconst components = {\n p: ({ node, ...props }: any) => {\n return <p\n {...props}\n style={{\n fontFamily: 'Plus Jakarta Sans, sans-serif',\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n wordBreak: 'break-word',\n whiteSpace: 'normal',\n overflow: 'hidden',\n overflowX: 'hidden',\n display: 'block',\n textAlign: 'justify',\n marginBottom: '1rem',\n maxWidth: '100%',\n lineHeight: '1.625',\n fontSize: '1rem',\n // fontWeight: '700'\n }}\n >\n {props?.children}\n </p>\n },\n em: ({ node, ...props }: any) => {\n return <p style={{display:'inline-flex'}}>{props?.children}</p>\n },\n pre: ({ node, ...props }: any) => {\n return <p\n {...props}\n style={{\n fontFamily: 'Plus Jakarta Sans, sans-serif',\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n wordBreak: 'break-word',\n whiteSpace: 'normal',\n overflow: 'hidden',\n overflowX: 'hidden',\n display: 'block',\n textAlign: 'justify',\n maxWidth: '100%',\n fontSize: '1rem',\n lineHeight: '1.625',\n marginBottom: '1rem'\n }}\n >\n {props?.children}\n </p>\n },\n code: ({ node, ...props }: any) => {\n return <code {...props}\n className=\"text-[#d63384] max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden \"\n style={{\n fontFamily: 'Plus Jakarta Sans, sans-serif',\n wordWrap: \"break-word\", // Ensures long words wrap\n overflowWrap: \"break-word\", // Alternative for word wrapping\n wordBreak: \"break-word\", // Force breaking long unbreakable strings\n whiteSpace: \"normal\", // Default wrapping behavior\n overflow: \"hidden\", // Hides any unexpected overflow\n display: \"inline-flex\", // Ensures proper behavior of p tags\n textAlign: 'justify'\n }}\n >{props?.children}</code>\n },\n ol: ({ node, ...props }: any) => {\n return <ol style={{ listStyle: 'decimal', marginLeft: '1rem', fontFamily: 'Plus Jakarta Sans, sans-serif' }}>\n {props.children}\n </ol>\n },\n li: ({ node, ...props }: any) => {\n return <li style={{ marginTop: '1rem', marginBottom: '1rem' }}>{props.children}</li>\n },\n a: ({ node, ...props }: any) => {\n return <a href={props.href} style={{ display: 'inline-flex' }}>{props.children}</a>\n }\n}\n\nconst Markdown = ({ text }: { text: string }) => {\n //@ts-ignore\n return <ReactMarkdown rehypePlugins={[rehypeRaw]} components={components}>{text}</ReactMarkdown>\n}\n\nexport default Markdown"],"names":["components","p","node","props","jsx","style","fontFamily","wordWrap","overflowWrap","wordBreak","whiteSpace","overflow","overflowX","display","textAlign","marginBottom","maxWidth","lineHeight","fontSize","children","em","pre","code","className","ol","listStyle","marginLeft","li","marginTop","a","href","Markdown","text","ReactMarkdown","rehypePlugins","rehypeRaw"],"mappings":"gGAGA,MAAMA,EAAa,CACfC,EAAG,EAAGC,UAASC,KACJC,EAAC,IAAA,IACAD,EACJE,MAAO,CACHC,WAAY,gCACZC,SAAU,aACVC,aAAc,aACdC,UAAW,aACXC,WAAY,SACZC,SAAU,SACVC,UAAW,SACXC,QAAS,QACTC,UAAW,UACXC,aAAc,OACdC,SAAU,OACVC,WAAY,QACZC,SAAU,QAIbC,SAAOhB,GAAAgB,WAGhBC,GAAI,EAAGlB,UAASC,KACLC,EAAC,KAAEC,MAAO,CAACQ,QAAQ,eAAiBM,YAAOA,WAEtDE,IAAK,EAAGnB,UAASC,KACNC,EAAC,IAAA,IACAD,EACJE,MAAO,CACHC,WAAY,gCACZC,SAAU,aACVC,aAAc,aACdC,UAAW,aACXC,WAAY,SACZC,SAAU,SACVC,UAAW,SACXC,QAAS,QACTC,UAAW,UACXE,SAAU,OACVE,SAAU,OACVD,WAAY,QACZF,aAAc,QAGjBI,SAAOhB,GAAAgB,WAGhBG,KAAM,EAAGpB,UAASC,KACPC,EAAC,OAAA,IAASD,EACboB,UAAU,0GACVlB,MAAO,CACHC,WAAY,gCACZC,SAAU,aACVC,aAAc,aACdC,UAAW,aACXC,WAAY,SACZC,SAAU,SACVE,QAAS,cACTC,UAAW,WAEjBK,SAAOhB,GAAAgB,WAEbK,GAAI,EAAGtB,UAASC,KACJC,EAAA,KAAA,CAAGC,MAAO,CAAEoB,UAAW,UAAWC,WAAY,OAAQpB,WAAY,iCACrEa,SAAAhB,EAAMgB,WAGfQ,GAAI,EAAGzB,UAASC,KACLC,EAAC,KAAG,CAAAC,MAAO,CAAEuB,UAAW,OAAQb,aAAc,QAAWI,SAAAhB,EAAMgB,WAE1EU,EAAG,EAAG3B,UAASC,KACJC,EAAC,IAAE,CAAA0B,KAAM3B,EAAM2B,KAAMzB,MAAO,CAAEQ,QAAS,eAAkBM,SAAAhB,EAAMgB,YAIxEY,EAAW,EAAGC,YAERC,EAAc,CAAAC,cAAe,CAACC,GAAYnC,aAAyBmB,SAAKa"}
@@ -1,2 +1,2 @@
1
- import{__assign as n,__spreadArray as e}from"tslib";import{jsxs as t,jsx as r,Fragment as o}from"react/jsx-runtime";import{useMemo as i,useRef as l,useState as a,useCallback as d,useEffect as c}from"react";var u=170,s=48,f=["#ede9fe","#e0f2fe","#fef3c7","#dcfce7","#ffe4e6","#f0fdf4","#fef9c3","#e0e7ff","#fce7f3","#f1f5f9"],v=["#7c3aed","#0284c7","#b45309","#16a34a","#e11d48","#15803d","#a16207","#4338ca","#db2777","#475569"],p=["⚙","◈","⟐","✦","◎","⬡","◇","⊕","✶","◉"],g=["#a78bfa","#7dd3fc","#fbbf24","#86efac","#fda4af","#6ee7b7","#fde047","#a5b4fc","#f9a8d4","#94a3b8"],h=["linear-gradient(135deg,#7c3aed,#a78bfa)","linear-gradient(135deg,#0284c7,#38bdf8)","linear-gradient(135deg,#b45309,#fbbf24)","linear-gradient(135deg,#16a34a,#86efac)","linear-gradient(135deg,#e11d48,#fda4af)","linear-gradient(135deg,#15803d,#6ee7b7)","linear-gradient(135deg,#a16207,#fde047)","linear-gradient(135deg,#4338ca,#a5b4fc)","linear-gradient(135deg,#db2777,#f9a8d4)","linear-gradient(135deg,#475569,#94a3b8)"],y=["Context & Inputs","Core Logic & Rules","Outputs & Schema"];function b(t){var r=Array.isArray(null==t?void 0:t.clusters)?t.clusters:[],o=Array.isArray(null==t?void 0:t.nodes)?t.nodes:[],i=Array.isArray(null==t?void 0:t.edges)?t.edges:[],l=function(n,t,r){var o,i=n.length;if(0===i)return new Map;var l={};n.forEach(function(n,e){l[n.id]=e});var a={};n.forEach(function(n){a[n.id]=0});for(var d=0;d<i;d++){for(var c=!1,u=0,s=t;u<s.length;u++){var f=s[u],v=(a[f.source]||0)+1;v>(a[f.target]||0)&&v<i&&(a[f.target]=v,c=!0)}if(!c)break}var p={};r.forEach(function(n,e){p[n.id]=e});var g={};r.forEach(function(n){g[n.id]=[]}),n.forEach(function(n){var e;null===(e=g[n.cluster_id])||void 0===e||e.push(n)}),Object.values(g).forEach(function(n){return n.sort(function(n,e){return(a[n.id]||0)-(a[e.id]||0)})});for(var h=new Float64Array(i),y=new Float64Array(i),b=new Float64Array(i),x=new Float64Array(i),m=function(n){var e=null!==(o=p[n.id])&&void 0!==o?o:0;(g[n.id]||[]).forEach(function(n,t){var r=l[n.id];h[r]=520*e+280,y[r]=200*t+120})},w=0,M=r;w<M.length;w++)m(U=M[w]);for(var k=.0015,S=Math.max.apply(Math,e(e([],n.map(function(n){return a[n.id]||0}),!1),[1],!1)),C=new Float64Array(i),_=0;_<i;_++)C[_]=(a[n[_].id]||0)/S*(200*i*.6)+120;for(var A=0;A<350;A++){var z=Math.max(.015,1-A/350),E=new Float64Array(i),I=new Float64Array(i);for(_=0;_<i;_++)for(var j=_+1;j<i;j++){var R=(X=h[_]-h[j])*X+(H=y[_]-y[j])*H;R<400&&(R=(X=12*(_-j))*X+(H=8*(_+j))*H);var W=X/(L=Math.sqrt(R))*(O=48e4/R),P=H/L*O;E[_]+=W,I[_]+=P,E[j]-=W,I[j]-=P}for(var B=0,Y=t;B<Y.length;B++){f=Y[B];var F=l[f.source],D=l[f.target];if(void 0!==F&&void 0!==D){var L,O,X=h[D]-h[F],H=y[D]-y[F];if(!((L=Math.sqrt(X*X+H*H))<1))W=X/L*(O=.004*(L-380)),P=H/L*O,E[F]+=W,I[F]+=P,E[D]-=W,I[D]-=P}}var N={},T={},q={};for(_=0;_<i;_++)N[U=n[_].cluster_id]=(N[U]||0)+h[_],T[U]=(T[U]||0)+y[_],q[U]=(q[U]||0)+1;for(_=0;_<i;_++){var U=n[_].cluster_id;E[_]+=(N[U]/q[U]-h[_])*k,I[_]+=(T[U]/q[U]-y[_])*k}for(_=0;_<i;_++)I[_]+=.002*(C[_]-y[_]);for(_=0;_<i;_++)b[_]=.84*(b[_]+E[_])*z,x[_]=.84*(x[_]+I[_])*z,h[_]+=b[_],y[_]+=x[_]}for(d=0;d<40;d++){var G=!1;for(_=0;_<i;_++)for(j=_+1;j<i;j++){X=h[_]-h[j],H=y[_]-y[j];var Q=270-Math.abs(X),J=128-Math.abs(H);if(Q>0&&J>0)if(G=!0,Q<J){var K=Q/2+5;h[_]+=X>0?K:-K,h[j]-=X>0?K:-K}else K=J/2+5,y[_]+=H>0?K:-K,y[j]-=H>0?K:-K}if(!G)break}var V=1/0,Z=1/0;for(_=0;_<i;_++)V=Math.min(V,h[_]),Z=Math.min(Z,y[_]);var $=new Map;for(_=0;_<i;_++)$.set(n[_].id,{x:Math.round(h[_]-V+80),y:Math.round(y[_]-Z+80)});return $}(o,i,r),a=o.map(function(e){var t=l.get(e.id)||{x:0,y:0};return n(n({},e),{x:t.x,y:t.y})}),d={};r.forEach(function(n,e){d[n.id]=e});var c={};r.forEach(function(n){c[n.id]=[]}),a.forEach(function(n){var e;null===(e=c[n.cluster_id])||void 0===e||e.push(n)});var f=36,v=r.map(function(n){var e=c[n.id];if(!e.length)return null;var t=Math.min.apply(Math,e.map(function(n){return n.x})),r=Math.min.apply(Math,e.map(function(n){return n.y})),o=Math.max.apply(Math,e.map(function(n){return n.x+u})),i=Math.max.apply(Math,e.map(function(n){return n.y+s}));return{id:n.id,label:n.label,idx:d[n.id],x:t-f,y:r-f,width:o-t+72,height:i-r+72+22}}).filter(function(n){return null!==n});return{nodes:a.map(function(e){var t;return n(n({},e),{cluster:null!==(t=d[e.cluster_id])&&void 0!==t?t:0})}),edges:i,clusterBounds:v,canvasW:Math.max.apply(Math,a.map(function(n){return n.x+u}))+72,canvasH:Math.max.apply(Math,a.map(function(n){return n.y+s}))+72}}function x(n,e,t){var r=e[n.source],o=e[n.target];if(!r||!o)return"";var i=function(n,e){var t=n.x+85,r=n.y+24,o=e.x+85,i=e.y+24;function l(n,e,t,r){var o=t-n,i=r-e;return Math.abs(i)>.4*Math.abs(o)?i>0?{x:n,y:e+24}:{x:n,y:e-24}:o>0?{x:n+85,y:e}:{x:n-85,y:e}}return{source:l(t,r,o,i),target:l(o,i,t,r)}}(r,o),l=i.source,a=i.target,d=a.x-l.x,c=a.y-l.y,u=Math.sqrt(d*d+c*c);if(u<5)return"M ".concat(l.x," ").concat(l.y," L ").concat(a.x," ").concat(a.y);if(o.y+150<r.y&&o.y<r.y-s){var f=Math.min(r.x,o.x)-110;return"M ".concat(l.x," ").concat(l.y," C ").concat(f," ").concat(l.y,", ").concat(f," ").concat(a.y,", ").concat(a.x," ").concat(a.y)}var v=-c/u,p=d/u;if(t.some(function(e){return e.source===n.target&&e.target===n.source})){var g=n.source<n.target?1:-1,h=Math.max(.18*u,40)*g;return"M ".concat(l.x," ").concat(l.y," Q ").concat((l.x+a.x)/2+v*h," ").concat((l.y+a.y)/2+p*h," ").concat(a.x," ").concat(a.y)}var y=Math.min(.12*u,55);return"M ".concat(l.x," ").concat(l.y," Q ").concat((l.x+a.x)/2+v*y," ").concat((l.y+a.y)/2+p*y," ").concat(a.x," ").concat(a.y)}var m=function(e){var m,w,M,k,S,C,_,A,z,E,I,j,R=e.data,W=e.isDarkMode,P=void 0!==W&&W,B=e.height,Y=void 0===B?500:B,F=e.width,D=void 0===F?"100%":F,L=e.styles,O=i(function(){return function(e){if(!e||"object"!=typeof e)return null;if(Array.isArray(e.nodes)&&Array.isArray(e.edges)){var t=e.nodes,r=Array.isArray(e.clusters)&&e.clusters.length>0?e.clusters:null,o=new Set(t.map(function(n){return n.cluster_id}));if(!r||o.size<=1){var i=Math.max(1,Math.min(3,Math.ceil(t.length/3)));r=Array.from({length:i},function(n,e){return{id:"cl_".concat(e+1),label:y[e]||"Group ".concat(e+1)}}),t=t.map(function(e,t){var o=t%i,l=Math.floor(t/i);return n(n({},e),{cluster_id:r[o].id,x:450*o+200,y:180*l+100})})}return{graph_id:e.graph_id||"graph",prompt_id:e.prompt_id||"",last_analyzed_at:e.last_analyzed_at||(new Date).toISOString(),clusters:r,nodes:t,edges:e.edges}}var l=Object.keys(e);if(0===l.length)return null;var a=Math.max(1,Math.min(3,Math.ceil(l.length/3))),d=Array.from({length:a},function(n,e){return{id:"cl_".concat(e+1),label:y[e]||"Group ".concat(e+1)}}),c=[],u=[];return l.forEach(function(n,t){var r=t%a,o=Math.floor(t/a),i=n.split("_").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join(" "),l="node_".concat(n);c.push({id:l,label:i,cluster_id:d[r].id,x:450*r+200,y:180*o+100,description:"Section: ".concat(i)});var s=e[n];Array.isArray(s)&&s.forEach(function(e,t){var r;if(e&&"object"==typeof e){var o=e.dependent_on;if(o){var i="";"string"==typeof e.reasoning?i=e.reasoning:Array.isArray(e.reasoning)?i=e.reasoning.map(function(n){return"string"==typeof n?n:(null==n?void 0:n.text)||""}).filter(Boolean).join(" "):(null===(r=e.reasoning)||void 0===r?void 0:r.text)&&(i=String(e.reasoning.text)),u.push({id:"e_".concat(n,"_").concat(o,"_").concat(t),source:l,target:"node_".concat(o),reasoning:i||"Depends on ".concat(o),score:"number"==typeof e.Score?e.Score:"number"==typeof e.score?e.score:80,gap:e.gap||"",dependency_type:e.dependency_type||"implicit"})}}})}),0===c.length?null:{graph_id:"converted_graph",prompt_id:"",last_analyzed_at:(new Date).toISOString(),clusters:d,nodes:c,edges:u}}(R)},[R]),X=i(function(){return O?b(O):null},[O]),H=i(function(){var n={};return null==X||X.nodes.forEach(function(e){n[e.id]=e}),n},[X]),N=i(function(){var n={};return null==O||O.clusters.forEach(function(e,t){n[e.id]=t}),n},[O]),T=l(null),q=a({x:0,y:0}),U=q[0],G=q[1],Q=a(.5),J=Q[0],K=Q[1],V=a(!1),Z=V[0],$=V[1],nn=l({x:0,y:0}),en=l({x:0,y:0}),tn=a(null),rn=tn[0],on=tn[1],ln=a(null),an=ln[0],dn=ln[1],cn=a(null),un=cn[0],sn=cn[1],fn=a(null),vn=fn[0],pn=fn[1],gn=i(function(){return vn&&X?new Set(X.edges.filter(function(n){return n.source===vn||n.target===vn}).map(function(n){return n.id})):new Set},[vn,X]),hn=i(function(){if(!vn||!X)return new Set;var n=new Set([vn]);return X.edges.forEach(function(e){e.source===vn&&n.add(e.target),e.target===vn&&n.add(e.source)}),n},[vn,X]);i(function(){return O?new Date(O.last_analyzed_at).toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,day:"numeric",month:"short",year:"numeric"}):""},[O]);var yn=d(function(n){n.preventDefault(),K(function(e){return Math.min(2.5,Math.max(.2,e-.001*n.deltaY))})},[]);c(function(){var n=T.current;return n&&n.addEventListener("wheel",yn,{passive:!1}),function(){return null==n?void 0:n.removeEventListener("wheel",yn)}},[yn]);var bn=d(function(e){e.target.closest("[data-edge-hit]")||e.target.closest("[data-node]")||($(!0),nn.current={x:e.clientX,y:e.clientY},en.current=n({},U),e.currentTarget.style.cursor="grabbing")},[U]),xn=d(function(n){Z&&G({x:en.current.x+(n.clientX-nn.current.x),y:en.current.y+(n.clientY-nn.current.y)})},[Z]),mn=d(function(){$(!1),T.current&&(T.current.style.cursor="grab")},[]);var wn=function(n,e){return"string"==typeof n?n:e},Mn=null!==(k=null!==(w=null===(m=null==L?void 0:L.root)||void 0===m?void 0:m.backgroundColor)&&void 0!==w?w:null===(M=null==L?void 0:L.root)||void 0===M?void 0:M.background)&&void 0!==k?k:P?"#090d16":"#ffffff",kn=null!==(C=null===(S=null==L?void 0:L.root)||void 0===S?void 0:S.color)&&void 0!==C?C:P?"#f8fafc":"#1e293b",Sn=null!==(A=null===(_=null==L?void 0:L.subtitle)||void 0===_?void 0:_.color)&&void 0!==A?A:"#94a3b8",Cn=n({width:32,height:32,border:"none",background:"transparent",borderRadius:8,cursor:"pointer",fontSize:16,color:P?"#cbd5e1":"#475569",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:500},null==L?void 0:L.controlButton);return X&&O?t("div",n({style:n({width:D,height:Y,position:"relative",background:Mn,color:kn,fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, sans-serif",overflow:"hidden"},null==L?void 0:L.root)},{children:[t("div",n({style:n({position:"absolute",top:0,left:0,right:0,zIndex:20,padding:"10px 14px",display:"flex",alignItems:"center",justifyContent:"space-between"},null==L?void 0:L.header)},{children:[r("p",n({style:n({margin:0,fontSize:12,color:Sn},null==L?void 0:L.subtitle)},{children:"· Click a node or connection to explore details."})),t("div",n({style:n({display:"flex",gap:2,background:P?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:P?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)"},null==L?void 0:L.controls)},{children:[r("button",n({onClick:function(){return K(function(n){return Math.max(.2,n-.15)})},style:Cn},{children:"−"})),t("button",n({onClick:function(){K(.5),G({x:0,y:0})},style:n(n({},Cn),{fontSize:11,width:52,fontWeight:600})},{children:[Math.round(100*J),"%"]})),r("button",n({onClick:function(){return K(function(n){return Math.min(2.5,n+.15)})},style:Cn},{children:"+"}))]}))]})),an&&function(){var e,o,i=an.node,l=null!==(e=N[i.cluster_id])&&void 0!==e?e:0;return t("div",n({style:n({position:"absolute",top:50,left:14,zIndex:20,width:"30%",minWidth:280,borderRadius:12,overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.07)",border:"1px solid ".concat(P?"#334155":"#e2e8f0"),animation:"cdg-slideDown 0.2s ease-out"},null==L?void 0:L.nodePopup)},{children:[t("div",n({style:n({padding:"10px 14px",background:h[l%h.length],color:"#fff",display:"flex",alignItems:"center",justifyContent:"space-between"},null==L?void 0:L.nodePopupHeader)},{children:[t("div",n({style:{display:"flex",alignItems:"center",gap:10}},{children:[r("span",n({style:{width:28,height:28,borderRadius:8,background:"rgba(255,255,255,0.2)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:14}},{children:p[l%p.length]})),t("div",{children:[r("div",n({style:{fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.75}},{children:(null===(o=O.clusters[l])||void 0===o?void 0:o.label)||""})),r("div",n({style:{fontSize:14,fontWeight:700,marginTop:1}},{children:i.label}))]})]})),r("button",n({onClick:function(){dn(null),pn(null)},style:n({background:"rgba(255,255,255,0.2)",border:"none",color:"#fff",borderRadius:6,width:24,height:24,cursor:"pointer",fontSize:14,display:"flex",alignItems:"center",justifyContent:"center"},null==L?void 0:L.popupCloseButton)},{children:"×"}))]})),r("div",n({style:n({padding:"10px 14px",fontSize:13,lineHeight:1.6,color:P?"#cbd5e1":"#475569",background:P?"#1e293b":"#fff"},null==L?void 0:L.nodePopupBody)},{children:i.description||"No description available."}))]}))}(),t("div",n({ref:T,onPointerDown:bn,onPointerMove:xn,onPointerUp:mn,onPointerLeave:mn,onClick:function(){on(null),dn(null),pn(null)},style:{width:"100%",height:"100%",cursor:Z?"grabbing":"grab",position:"relative"}},{children:[r("div",n({style:{transform:"translate(".concat(U.x,"px,").concat(U.y,"px) scale(").concat(J,")"),transformOrigin:"top left",position:"absolute",top:50,left:20,transition:Z?"none":"transform 0.08s ease-out"}},{children:t("svg",n({width:X.canvasW,height:X.canvasH,style:{overflow:"visible"}},{children:[X.clusterBounds.map(function(e){var o,i,l,a,d,c,u;return t("g",{children:[r("rect",{x:e.x,y:e.y,width:e.width,height:e.height,rx:"16",fill:wn(null!==(i=null===(o=null==L?void 0:L.cluster)||void 0===o?void 0:o.backgroundColor)&&void 0!==i?i:null===(l=null==L?void 0:L.cluster)||void 0===l?void 0:l.background,P?"rgba(30,41,59,0.35)":"none"),stroke:wn(null!==(d=null===(a=null==L?void 0:L.cluster)||void 0===a?void 0:a.borderColor)&&void 0!==d?d:null===(c=null==L?void 0:L.cluster)||void 0===c?void 0:c.border,P?"#334155":"#e2e8f0"),strokeWidth:"1.5",strokeDasharray:"8 4"}),r("text",n({x:e.x+14,y:e.y+e.height-10,fontSize:"11",fill:wn(null===(u=null==L?void 0:L.clusterLabel)||void 0===u?void 0:u.color,"#94a3b8"),fontFamily:"Inter, sans-serif",fontWeight:"500"},{children:e.label}))]},e.id)}),X.edges.map(function(e){var i,l,a,d,c,u,s,f,v,p,g,h,y,b,m,w,M,k,S=x(e,H,X.edges);if(!S)return null;var C=gn.has(e.id),_=(null==rn?void 0:rn.edge.id)===e.id,A=un===e.id,z=!!vn&&!C,E=C||_?null!==(d=null!==(l=null===(i=null==L?void 0:L.activeEdge)||void 0===i?void 0:i.color)&&void 0!==l?l:null===(a=null==L?void 0:L.activeEdge)||void 0===a?void 0:a.borderColor)&&void 0!==d?d:"#6366f1":A?null!==(u=null===(c=null==L?void 0:L.edge)||void 0===c?void 0:c.color)&&void 0!==u?u:"#818cf8":null!==(p=null!==(f=null===(s=null==L?void 0:L.edge)||void 0===s?void 0:s.borderColor)&&void 0!==f?f:null===(v=null==L?void 0:L.edge)||void 0===v?void 0:v.color)&&void 0!==p?p:P?"#475569":"#cbd5e1",I=C||_?2.5:A?2:1.5;return t("g",n({style:{opacity:z?.1:1,transition:"opacity 0.25s"}},{children:[r("path",{"data-edge-hit":"true",d:S,fill:"none",stroke:"transparent",strokeWidth:18,style:{cursor:"pointer"},onClick:function(n){return function(n,e){n.stopPropagation();var t=T.current.getBoundingClientRect();on({edge:e,screenX:n.clientX-t.left,screenY:n.clientY-t.top}),dn(null),pn(null)}(n,e)},onMouseEnter:function(){return sn(e.id)},onMouseLeave:function(){return sn(null)}}),r("path",{d:S,fill:"none",stroke:E,strokeWidth:I,style:{transition:"stroke 0.2s, stroke-width 0.2s",pointerEvents:"none"}}),(C||_)&&t(o,{children:[r("circle",n({r:4,fill:null!==(b=null!==(h=null===(g=null==L?void 0:L.edgeMarker)||void 0===g?void 0:g.color)&&void 0!==h?h:null===(y=null==L?void 0:L.activeEdge)||void 0===y?void 0:y.color)&&void 0!==b?b:"#6366f1"},{children:r("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:S})})),r("circle",n({r:6,fill:null!==(k=null!==(w=null===(m=null==L?void 0:L.edgeMarker)||void 0===m?void 0:m.color)&&void 0!==w?w:null===(M=null==L?void 0:L.activeEdge)||void 0===M?void 0:M.color)&&void 0!==k?k:"#6366f1",opacity:.2},{children:r("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:S})}))]})]}),e.id)}),X.nodes.map(function(e){var o,i,l,a,d,c,h,y,b,x,m,w,M,k,S,C,_,A=vn===e.id,z=hn.has(e.id),E=!!vn&&!z,I=(null!==(o=N[e.cluster_id])&&void 0!==o?o:0)%g.length,j=g[I];return r("g",n({"data-node":"true",onClick:function(n){return function(n,e){n.stopPropagation();var t=T.current.getBoundingClientRect();vn===e.id?(pn(null),dn(null)):(pn(e.id),dn({node:e,screenX:n.clientX-t.left,screenY:n.clientY-t.top}),on(null))}(n,e)},style:{cursor:"pointer",opacity:E?.15:1,transition:"opacity 0.25s"}},{children:r("foreignObject",n({x:e.x,y:e.y,width:u,height:s},{children:t("div",n({style:n(n({background:null!==(d=null!==(l=null===(i=null==L?void 0:L.node)||void 0===i?void 0:i.backgroundColor)&&void 0!==l?l:null===(a=null==L?void 0:L.node)||void 0===a?void 0:a.background)&&void 0!==d?d:P?"#1e293b":"#fff",border:A?null!==(h=null===(c=null==L?void 0:L.selectedNode)||void 0===c?void 0:c.border)&&void 0!==h?h:"2.5px solid ".concat(null!==(b=null===(y=null==L?void 0:L.selectedNode)||void 0===y?void 0:y.borderColor)&&void 0!==b?b:j):null!==(m=null===(x=null==L?void 0:L.node)||void 0===x?void 0:x.border)&&void 0!==m?m:"1.5px solid ".concat(null!==(M=null===(w=null==L?void 0:L.node)||void 0===w?void 0:w.borderColor)&&void 0!==M?M:P?"#334155":"#e2e8f0"),borderRadius:10,padding:"8px 14px",fontSize:13,fontWeight:600,color:P?"#f1f5f9":"#334155",fontFamily:"'Inter', sans-serif",display:"flex",alignItems:"center",gap:8,boxShadow:A?null!==(S=null===(k=null==L?void 0:L.selectedNode)||void 0===k?void 0:k.boxShadow)&&void 0!==S?S:"0 0 0 3px ".concat(j,"33, 0 2px 8px rgba(0,0,0,0.4)"):null!==(_=null===(C=null==L?void 0:L.node)||void 0===C?void 0:C.boxShadow)&&void 0!==_?_:P?"0 2px 6px rgba(0,0,0,0.3)":"0 1px 3px rgba(0,0,0,0.05)",whiteSpace:"nowrap",userSelect:"none",height:46,boxSizing:"border-box",transition:"border 0.2s, box-shadow 0.2s"},null==L?void 0:L.node),A?null==L?void 0:L.selectedNode:{})},{children:[r("span",n({style:n({width:22,height:22,borderRadius:6,background:f[I],display:"flex",alignItems:"center",justifyContent:"center",fontSize:11,flexShrink:0,color:v[I]},null==L?void 0:L.nodeIcon)},{children:p[I]})),r("span",n({style:{overflow:"hidden",textOverflow:"ellipsis"}},{children:e.label}))]}))}))}),e.id)})]}))})),rn&&t("div",n({onClick:function(n){return n.stopPropagation()},style:n(n(n({position:"absolute"},function(n,e,t,r){if(!T.current)return{};var o=T.current.getBoundingClientRect(),i=n+14,l=e-r/2;return i+t>o.width&&(i=n-t-14),l<8&&(l=8),l+r>o.height&&(l=o.height-r-8),{left:i,top:l}}(rn.screenX,rn.screenY,320,180)),{width:320,background:P?"#1e293b":"#fff",borderRadius:14,boxShadow:"0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06)",border:"1px solid ".concat(P?"#334155":"#e2e8f0"),zIndex:30,animation:"cdg-popIn 0.18s ease-out",overflow:"hidden"}),null==L?void 0:L.edgePopup)},{children:[t("div",n({style:n({padding:"12px 16px 10px",background:"linear-gradient(135deg,#6366f1,#8b5cf6)",color:"#fff"},null==L?void 0:L.edgePopupHeader)},{children:[r("div",n({style:{fontSize:10,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.8}},{children:"Edge Reasoning"})),t("div",n({style:{fontSize:13,fontWeight:600,marginTop:4}},{children:[null!==(E=null===(z=H[rn.edge.source])||void 0===z?void 0:z.label)&&void 0!==E?E:"Source",r("span",n({style:{opacity:.6,margin:"0 6px"}},{children:"→"})),null!==(j=null===(I=H[rn.edge.target])||void 0===I?void 0:I.label)&&void 0!==j?j:"Target"]}))]})),r("div",n({style:n({padding:"12px 16px 14px",fontSize:13,lineHeight:1.6,color:P?"#cbd5e1":"#475569",whiteSpace:"pre-line"},null==L?void 0:L.edgePopupBody)},{children:rn.edge.reasoning||"No reasoning available."})),r("button",n({onClick:function(){return on(null)},style:n({position:"absolute",top:8,right:10,background:"rgba(255,255,255,0.2)",border:"none",color:"#fff",borderRadius:6,width:24,height:24,cursor:"pointer",fontSize:14,display:"flex",alignItems:"center",justifyContent:"center"},null==L?void 0:L.popupCloseButton)},{children:"×"}))]}))]})),r("style",{children:"\n @keyframes cdg-popIn { from { opacity:0; transform:scale(0.95) translateY(4px); } to { opacity:1; transform:scale(1) translateY(0); } }\n @keyframes cdg-slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }\n "})]})):null};export{m as default};
1
+ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{useMemo as n,useRef as o,useState as i,useCallback as a,useEffect as l}from"react";const s=170,d=48,c=["#ede9fe","#e0f2fe","#fef3c7","#dcfce7","#ffe4e6","#f0fdf4","#fef9c3","#e0e7ff","#fce7f3","#f1f5f9"],f=["#7c3aed","#0284c7","#b45309","#16a34a","#e11d48","#15803d","#a16207","#4338ca","#db2777","#475569"],u=["⚙","◈","⟐","✦","◎","⬡","◇","⊕","✶","◉"],g=["#a78bfa","#7dd3fc","#fbbf24","#86efac","#fda4af","#6ee7b7","#fde047","#a5b4fc","#f9a8d4","#94a3b8"],p=["linear-gradient(135deg,#7c3aed,#a78bfa)","linear-gradient(135deg,#0284c7,#38bdf8)","linear-gradient(135deg,#b45309,#fbbf24)","linear-gradient(135deg,#16a34a,#86efac)","linear-gradient(135deg,#e11d48,#fda4af)","linear-gradient(135deg,#15803d,#6ee7b7)","linear-gradient(135deg,#a16207,#fde047)","linear-gradient(135deg,#4338ca,#a5b4fc)","linear-gradient(135deg,#db2777,#f9a8d4)","linear-gradient(135deg,#475569,#94a3b8)"],h=["Context & Inputs","Core Logic & Rules","Outputs & Schema"];function y(e){const t=Array.isArray(e?.clusters)?e.clusters:[],r=Array.isArray(e?.nodes)?e.nodes:[],n=Array.isArray(e?.edges)?e.edges:[],o=function(e,t,r){const n=e.length;if(0===n)return new Map;const o={};e.forEach((e,t)=>{o[e.id]=t});const i={};e.forEach(e=>{i[e.id]=0});for(let e=0;e<n;e++){let e=!1;for(const r of t){const t=(i[r.source]||0)+1;t>(i[r.target]||0)&&t<n&&(i[r.target]=t,e=!0)}if(!e)break}const a={};r.forEach((e,t)=>{a[e.id]=t});const l={};r.forEach(e=>{l[e.id]=[]}),e.forEach(e=>{l[e.cluster_id]?.push(e)}),Object.values(l).forEach(e=>e.sort((e,t)=>(i[e.id]||0)-(i[t.id]||0)));const s=new Float64Array(n),d=new Float64Array(n),c=new Float64Array(n),f=new Float64Array(n);for(const e of r){const t=a[e.id]??0;(l[e.id]||[]).forEach((e,r)=>{const n=o[e.id];s[n]=520*t+280,d[n]=200*r+120})}const u=.0015,g=Math.max(...e.map(e=>i[e.id]||0),1),p=new Float64Array(n);for(let t=0;t<n;t++)p[t]=(i[e[t].id]||0)/g*(200*n*.6)+120;for(let r=0;r<350;r++){const i=Math.max(.015,1-r/350),a=new Float64Array(n),l=new Float64Array(n);for(let e=0;e<n;e++)for(let t=e+1;t<n;t++){let r=s[e]-s[t],n=d[e]-d[t],o=r*r+n*n;o<400&&(r=12*(e-t),n=8*(e+t),o=r*r+n*n);const i=Math.sqrt(o),c=48e4/o,f=r/i*c,u=n/i*c;a[e]+=f,l[e]+=u,a[t]-=f,l[t]-=u}for(const e of t){const t=o[e.source],r=o[e.target];if(void 0===t||void 0===r)continue;const n=s[r]-s[t],i=d[r]-d[t],c=Math.sqrt(n*n+i*i);if(c<1)continue;const f=.004*(c-380),u=n/c*f,g=i/c*f;a[t]+=u,l[t]+=g,a[r]-=u,l[r]-=g}const g={},h={},y={};for(let t=0;t<n;t++){const r=e[t].cluster_id;g[r]=(g[r]||0)+s[t],h[r]=(h[r]||0)+d[t],y[r]=(y[r]||0)+1}for(let t=0;t<n;t++){const r=e[t].cluster_id;a[t]+=(g[r]/y[r]-s[t])*u,l[t]+=(h[r]/y[r]-d[t])*u}for(let e=0;e<n;e++)l[e]+=.002*(p[e]-d[e]);for(let e=0;e<n;e++)c[e]=.84*(c[e]+a[e])*i,f[e]=.84*(f[e]+l[e])*i,s[e]+=c[e],d[e]+=f[e]}for(let e=0;e<40;e++){let e=!1;for(let t=0;t<n;t++)for(let r=t+1;r<n;r++){const n=s[t]-s[r],o=d[t]-d[r],i=270-Math.abs(n),a=128-Math.abs(o);if(i>0&&a>0)if(e=!0,i<a){const e=i/2+5;s[t]+=n>0?e:-e,s[r]-=n>0?e:-e}else{const e=a/2+5;d[t]+=o>0?e:-e,d[r]-=o>0?e:-e}}if(!e)break}let h=1/0,y=1/0;for(let e=0;e<n;e++)h=Math.min(h,s[e]),y=Math.min(y,d[e]);const b=new Map;for(let t=0;t<n;t++)b.set(e[t].id,{x:Math.round(s[t]-h+80),y:Math.round(d[t]-y+80)});return b}(r,n,t),i=r.map(e=>{const t=o.get(e.id)||{x:0,y:0};return{...e,x:t.x,y:t.y}}),a={};t.forEach((e,t)=>{a[e.id]=t});const l={};t.forEach(e=>{l[e.id]=[]}),i.forEach(e=>{l[e.cluster_id]?.push(e)});const c=36,f=t.map(e=>{const t=l[e.id];if(!t.length)return null;const r=Math.min(...t.map(e=>e.x)),n=Math.min(...t.map(e=>e.y)),o=Math.max(...t.map(e=>e.x+s)),i=Math.max(...t.map(e=>e.y+d));return{id:e.id,label:e.label,idx:a[e.id],x:r-c,y:n-c,width:o-r+72,height:i-n+72+22}}).filter(e=>null!==e);return{nodes:i.map(e=>({...e,cluster:a[e.cluster_id]??0})),edges:n,clusterBounds:f,canvasW:Math.max(...i.map(e=>e.x+s))+72,canvasH:Math.max(...i.map(e=>e.y+d))+72}}function b(e,t,r){const n=t[e.source],o=t[e.target];if(!n||!o)return"";const{source:i,target:a}=function(e,t){const r=e.x+85,n=e.y+24,o=t.x+85,i=t.y+24;function a(e,t,r,n){const o=r-e,i=n-t;return Math.abs(i)>.4*Math.abs(o)?i>0?{x:e,y:t+24}:{x:e,y:t-24}:o>0?{x:e+85,y:t}:{x:e-85,y:t}}return{source:a(r,n,o,i),target:a(o,i,r,n)}}(n,o),l=a.x-i.x,s=a.y-i.y,c=Math.sqrt(l*l+s*s);if(c<5)return`M ${i.x} ${i.y} L ${a.x} ${a.y}`;if(o.y+150<n.y&&o.y<n.y-d){const e=Math.min(n.x,o.x)-110;return`M ${i.x} ${i.y} C ${e} ${i.y}, ${e} ${a.y}, ${a.x} ${a.y}`}const f=-s/c,u=l/c;if(r.some(t=>t.source===e.target&&t.target===e.source)){const t=e.source<e.target?1:-1,r=Math.max(.18*c,40)*t;return`M ${i.x} ${i.y} Q ${(i.x+a.x)/2+f*r} ${(i.y+a.y)/2+u*r} ${a.x} ${a.y}`}const g=Math.min(.12*c,55);return`M ${i.x} ${i.y} Q ${(i.x+a.x)/2+f*g} ${(i.y+a.y)/2+u*g} ${a.x} ${a.y}`}const x=({data:x,isDarkMode:m=!1,height:w=500,width:v="100%",styles:M})=>{const k=n(()=>function(e){if(!e||"object"!=typeof e)return null;if(Array.isArray(e.nodes)&&Array.isArray(e.edges)){let t=e.nodes,r=Array.isArray(e.clusters)&&e.clusters.length>0?e.clusters:null;const n=new Set(t.map(e=>e.cluster_id));if(!r||n.size<=1){const e=Math.max(1,Math.min(3,Math.ceil(t.length/3)));r=Array.from({length:e},(e,t)=>({id:`cl_${t+1}`,label:h[t]||`Group ${t+1}`})),t=t.map((t,n)=>{const o=n%e,i=Math.floor(n/e);return{...t,cluster_id:r[o].id,x:450*o+200,y:180*i+100}})}return{graph_id:e.graph_id||"graph",prompt_id:e.prompt_id||"",last_analyzed_at:e.last_analyzed_at||(new Date).toISOString(),clusters:r,nodes:t,edges:e.edges}}const t=Object.keys(e);if(0===t.length)return null;const r=Math.max(1,Math.min(3,Math.ceil(t.length/3))),n=Array.from({length:r},(e,t)=>({id:`cl_${t+1}`,label:h[t]||`Group ${t+1}`})),o=[],i=[];return t.forEach((t,a)=>{const l=a%r,s=Math.floor(a/r),d=t.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),c=`node_${t}`;o.push({id:c,label:d,cluster_id:n[l].id,x:450*l+200,y:180*s+100,description:`Section: ${d}`});const f=e[t];Array.isArray(f)&&f.forEach((e,r)=>{if(!e||"object"!=typeof e)return;const n=e.dependent_on;if(!n)return;let o="";"string"==typeof e.reasoning?o=e.reasoning:Array.isArray(e.reasoning)?o=e.reasoning.map(e=>"string"==typeof e?e:e?.text||"").filter(Boolean).join(" "):e.reasoning?.text&&(o=String(e.reasoning.text)),i.push({id:`e_${t}_${n}_${r}`,source:c,target:`node_${n}`,reasoning:o||`Depends on ${n}`,score:"number"==typeof e.Score?e.Score:"number"==typeof e.score?e.score:80,gap:e.gap||"",dependency_type:e.dependency_type||"implicit"})})}),0===o.length?null:{graph_id:"converted_graph",prompt_id:"",last_analyzed_at:(new Date).toISOString(),clusters:n,nodes:o,edges:i}}(x),[x]),S=n(()=>k?y(k):null,[k]),$=n(()=>{const e={};return S?.nodes.forEach(t=>{e[t.id]=t}),e},[S]),C=n(()=>{const e={};return k?.clusters.forEach((t,r)=>{e[t.id]=r}),e},[k]),_=o(null),[A,z]=i({x:0,y:0}),[E,I]=i(.5),[j,R]=i(!1),W=o({x:0,y:0}),P=o({x:0,y:0}),[B,Y]=i(null),[F,D]=i(null),[L,O]=i(null),[X,H]=i(null),N=n(()=>X&&S?new Set(S.edges.filter(e=>e.source===X||e.target===X).map(e=>e.id)):new Set,[X,S]),T=n(()=>{if(!X||!S)return new Set;const e=new Set([X]);return S.edges.forEach(t=>{t.source===X&&e.add(t.target),t.target===X&&e.add(t.source)}),e},[X,S]);n(()=>k?new Date(k.last_analyzed_at).toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,day:"numeric",month:"short",year:"numeric"}):"",[k]);const q=a(e=>{e.preventDefault(),I(t=>Math.min(2.5,Math.max(.2,t-.001*e.deltaY)))},[]);l(()=>{const e=_.current;return e&&e.addEventListener("wheel",q,{passive:!1}),()=>e?.removeEventListener("wheel",q)},[q]);const U=a(e=>{e.target.closest("[data-edge-hit]")||e.target.closest("[data-node]")||(R(!0),W.current={x:e.clientX,y:e.clientY},P.current={...A},e.currentTarget.style.cursor="grabbing")},[A]),G=a(e=>{j&&z({x:P.current.x+(e.clientX-W.current.x),y:P.current.y+(e.clientY-W.current.y)})},[j]),Q=a(()=>{R(!1),_.current&&(_.current.style.cursor="grab")},[]);const J=(e,t)=>"string"==typeof e?e:t,K=M?.root?.backgroundColor??M?.root?.background??(m?"#090d16":"#ffffff"),V=M?.root?.color??(m?"#f8fafc":"#1e293b"),Z=M?.subtitle?.color??"#94a3b8",ee={width:32,height:32,border:"none",background:"transparent",borderRadius:8,cursor:"pointer",fontSize:16,color:m?"#cbd5e1":"#475569",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:500,...M?.controlButton};return S&&k?e("div",{style:{width:v,height:w,position:"relative",background:K,color:V,fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, sans-serif",overflow:"hidden",...M?.root},children:[e("div",{style:{position:"absolute",top:0,left:0,right:0,zIndex:20,padding:"10px 14px",display:"flex",alignItems:"center",justifyContent:"space-between",...M?.header},children:[t("p",{style:{margin:0,fontSize:12,color:Z,...M?.subtitle},children:"· Click a node or connection to explore details."}),e("div",{style:{display:"flex",gap:2,background:m?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:m?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)",...M?.controls},children:[t("button",{onClick:()=>I(e=>Math.max(.2,e-.15)),style:ee,children:"−"}),e("button",{onClick:()=>{I(.5),z({x:0,y:0})},style:{...ee,fontSize:11,width:52,fontWeight:600},children:[Math.round(100*E),"%"]}),t("button",{onClick:()=>I(e=>Math.min(2.5,e+.15)),style:ee,children:"+"})]})]}),F&&(()=>{const r=F.node,n=C[r.cluster_id]??0;return e("div",{style:{position:"absolute",top:50,left:14,zIndex:20,width:"30%",minWidth:280,borderRadius:12,overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.07)",border:"1px solid "+(m?"#334155":"#e2e8f0"),animation:"cdg-slideDown 0.2s ease-out",...M?.nodePopup},children:[e("div",{style:{padding:"10px 14px",background:p[n%p.length],color:"#fff",display:"flex",alignItems:"center",justifyContent:"space-between",...M?.nodePopupHeader},children:[e("div",{style:{display:"flex",alignItems:"center",gap:10},children:[t("span",{style:{width:28,height:28,borderRadius:8,background:"rgba(255,255,255,0.2)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:14},children:u[n%u.length]}),e("div",{children:[t("div",{style:{fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.75},children:k.clusters[n]?.label||""}),t("div",{style:{fontSize:14,fontWeight:700,marginTop:1},children:r.label})]})]}),t("button",{onClick:()=>{D(null),H(null)},style:{background:"rgba(255,255,255,0.2)",border:"none",color:"#fff",borderRadius:6,width:24,height:24,cursor:"pointer",fontSize:14,display:"flex",alignItems:"center",justifyContent:"center",...M?.popupCloseButton},children:"×"})]}),t("div",{style:{padding:"10px 14px",fontSize:13,lineHeight:1.6,color:m?"#cbd5e1":"#475569",background:m?"#1e293b":"#fff",...M?.nodePopupBody},children:r.description||"No description available."})]})})(),e("div",{ref:_,onPointerDown:U,onPointerMove:G,onPointerUp:Q,onPointerLeave:Q,onClick:()=>{Y(null),D(null),H(null)},style:{width:"100%",height:"100%",cursor:j?"grabbing":"grab",position:"relative"},children:[t("div",{style:{transform:`translate(${A.x}px,${A.y}px) scale(${E})`,transformOrigin:"top left",position:"absolute",top:50,left:20,transition:j?"none":"transform 0.08s ease-out"},children:e("svg",{width:S.canvasW,height:S.canvasH,style:{overflow:"visible"},children:[S.clusterBounds.map(r=>e("g",{children:[t("rect",{x:r.x,y:r.y,width:r.width,height:r.height,rx:"16",fill:J(M?.cluster?.backgroundColor??M?.cluster?.background,m?"rgba(30,41,59,0.35)":"none"),stroke:J(M?.cluster?.borderColor??M?.cluster?.border,m?"#334155":"#e2e8f0"),strokeWidth:"1.5",strokeDasharray:"8 4"}),t("text",{x:r.x+14,y:r.y+r.height-10,fontSize:"11",fill:J(M?.clusterLabel?.color,"#94a3b8"),fontFamily:"Inter, sans-serif",fontWeight:"500",children:r.label})]},r.id)),S.edges.map(n=>{const o=b(n,$,S.edges);if(!o)return null;const i=N.has(n.id),a=B?.edge.id===n.id,l=L===n.id,s=!!X&&!i,d=i||a?M?.activeEdge?.color??M?.activeEdge?.borderColor??"#6366f1":l?M?.edge?.color??"#818cf8":M?.edge?.borderColor??M?.edge?.color??(m?"#475569":"#cbd5e1"),c=i||a?2.5:l?2:1.5;return e("g",{style:{opacity:s?.1:1,transition:"opacity 0.25s"},children:[t("path",{"data-edge-hit":"true",d:o,fill:"none",stroke:"transparent",strokeWidth:18,style:{cursor:"pointer"},onClick:e=>((e,t)=>{e.stopPropagation();const r=_.current.getBoundingClientRect();Y({edge:t,screenX:e.clientX-r.left,screenY:e.clientY-r.top}),D(null),H(null)})(e,n),onMouseEnter:()=>O(n.id),onMouseLeave:()=>O(null)}),t("path",{d:o,fill:"none",stroke:d,strokeWidth:c,style:{transition:"stroke 0.2s, stroke-width 0.2s",pointerEvents:"none"}}),(i||a)&&e(r,{children:[t("circle",{r:4,fill:M?.edgeMarker?.color??M?.activeEdge?.color??"#6366f1",children:t("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:o})}),t("circle",{r:6,fill:M?.edgeMarker?.color??M?.activeEdge?.color??"#6366f1",opacity:.2,children:t("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:o})})]})]},n.id)}),S.nodes.map(r=>{const n=X===r.id,o=T.has(r.id),i=!!X&&!o,a=(C[r.cluster_id]??0)%g.length,l=g[a];return t("g",{"data-node":"true",onClick:e=>((e,t)=>{e.stopPropagation();const r=_.current.getBoundingClientRect();X===t.id?(H(null),D(null)):(H(t.id),D({node:t,screenX:e.clientX-r.left,screenY:e.clientY-r.top}),Y(null))})(e,r),style:{cursor:"pointer",opacity:i?.15:1,transition:"opacity 0.25s"},children:t("foreignObject",{x:r.x,y:r.y,width:s,height:d,children:e("div",{style:{background:M?.node?.backgroundColor??M?.node?.background??(m?"#1e293b":"#fff"),border:n?M?.selectedNode?.border??`2.5px solid ${M?.selectedNode?.borderColor??l}`:M?.node?.border??`1.5px solid ${M?.node?.borderColor??(m?"#334155":"#e2e8f0")}`,borderRadius:10,padding:"8px 14px",fontSize:13,fontWeight:600,color:m?"#f1f5f9":"#334155",fontFamily:"'Inter', sans-serif",display:"flex",alignItems:"center",gap:8,boxShadow:n?M?.selectedNode?.boxShadow??`0 0 0 3px ${l}33, 0 2px 8px rgba(0,0,0,0.4)`:M?.node?.boxShadow??(m?"0 2px 6px rgba(0,0,0,0.3)":"0 1px 3px rgba(0,0,0,0.05)"),whiteSpace:"nowrap",userSelect:"none",height:46,boxSizing:"border-box",transition:"border 0.2s, box-shadow 0.2s",...M?.node,...n?M?.selectedNode:{}},children:[t("span",{style:{width:22,height:22,borderRadius:6,background:c[a],display:"flex",alignItems:"center",justifyContent:"center",fontSize:11,flexShrink:0,color:f[a],...M?.nodeIcon},children:u[a]}),t("span",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:r.label})]})})},r.id)})]})}),B&&e("div",{onClick:e=>e.stopPropagation(),style:{position:"absolute",...function(e,t,r,n){if(!_.current)return{};const o=_.current.getBoundingClientRect();let i=e+14,a=t-n/2;return i+r>o.width&&(i=e-r-14),a<8&&(a=8),a+n>o.height&&(a=o.height-n-8),{left:i,top:a}}(B.screenX,B.screenY,320,180),width:320,background:m?"#1e293b":"#fff",borderRadius:14,boxShadow:"0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06)",border:"1px solid "+(m?"#334155":"#e2e8f0"),zIndex:30,animation:"cdg-popIn 0.18s ease-out",overflow:"hidden",...M?.edgePopup},children:[e("div",{style:{padding:"12px 16px 10px",background:"linear-gradient(135deg,#6366f1,#8b5cf6)",color:"#fff",...M?.edgePopupHeader},children:[t("div",{style:{fontSize:10,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.8},children:"Edge Reasoning"}),e("div",{style:{fontSize:13,fontWeight:600,marginTop:4},children:[$[B.edge.source]?.label??"Source",t("span",{style:{opacity:.6,margin:"0 6px"},children:"→"}),$[B.edge.target]?.label??"Target"]})]}),t("div",{style:{padding:"12px 16px 14px",fontSize:13,lineHeight:1.6,color:m?"#cbd5e1":"#475569",whiteSpace:"pre-line",...M?.edgePopupBody},children:B.edge.reasoning||"No reasoning available."}),t("button",{onClick:()=>Y(null),style:{position:"absolute",top:8,right:10,background:"rgba(255,255,255,0.2)",border:"none",color:"#fff",borderRadius:6,width:24,height:24,cursor:"pointer",fontSize:14,display:"flex",alignItems:"center",justifyContent:"center",...M?.popupCloseButton},children:"×"})]})]}),t("style",{children:"\n @keyframes cdg-popIn { from { opacity:0; transform:scale(0.95) translateY(4px); } to { opacity:1; transform:scale(1) translateY(0); } }\n @keyframes cdg-slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }\n "})]}):null};export{x as default};
2
2
  //# sourceMappingURL=CitationDependencyGraph.js.map