@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
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material/Dialog"),i=require("@mui/icons-material/Fullscreen"),o=require("@mui/icons-material/CloseFullscreen");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(t),s=a(r),d=a(i),c=a(o),u=170,f=48,g=["#ede9fe","#e0f2fe","#fef3c7","#dcfce7","#ffe4e6","#f0fdf4","#fef9c3","#e0e7ff","#fce7f3","#f1f5f9"],v=["#7c3aed","#0284c7","#b45309","#16a34a","#e11d48","#15803d","#a16207","#4338ca","#db2777","#475569"],p=["⚙","◈","⟐","✦","◎","⬡","◇","⊕","✶","◉"],h=["#a78bfa","#7dd3fc","#fbbf24","#86efac","#fda4af","#6ee7b7","#fde047","#a5b4fc","#f9a8d4","#94a3b8"],x=["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)"];function y(n){var t=Array.isArray(null==n?void 0:n.clusters)?n.clusters:[],r=Array.isArray(null==n?void 0:n.nodes)?n.nodes:[],i=Array.isArray(null==n?void 0:n.edges)?n.edges:[],o=function(n,t,r){var i;void 0===n&&(n=[]),void 0===t&&(t=[]),void 0===r&&(r=[]);var o=Array.isArray(n)?n:[],a=Array.isArray(t)?t:[],l=Array.isArray(r)?r:[],s=o.length;if(0===s)return new Map;var d={};o.forEach(function(e,n){d[e.id]=n});var c={},u={};o.forEach(function(e){c[e.id]=[],u[e.id]=[]}),a.forEach(function(e){c[e.source]&&c[e.source].push(e.target),u[e.target]&&u[e.target].push(e.source)});var f={};o.forEach(function(e){f[e.id]=0});for(var g=0;g<s;g++){for(var v=!1,p=0,h=a;p<h.length;p++){var x=h[p],y=(f[x.source]||0)+1;y>(f[x.target]||0)&&y<s&&(f[x.target]=y,v=!0)}if(!v)break}var b={};l.forEach(function(e,n){b[e.id]=n});var _={};l.forEach(function(e){_[e.id]=[]}),o.forEach(function(e){var n;null===(n=_[e.cluster_id])||void 0===n||n.push(e)}),Object.values(_).forEach(function(e){return e.sort(function(e,n){return(f[e.id]||0)-(f[n.id]||0)})});for(var m=new Float64Array(s),j=new Float64Array(s),k=new Float64Array(s),w=new Float64Array(s),M=function(e){var n=null!==(i=b[e.id])&&void 0!==i?i:0;(_[e.id]||[]).forEach(function(e,t){var r=d[e.id];m[r]=520*n+280,j[r]=200*t+120})},S=0,C=l;S<C.length;S++)M(V=C[S]);for(var E=.0015,z=Math.max.apply(Math,e.__spreadArray(e.__spreadArray([],o.map(function(e){return f[e.id]||0}),!1),[1],!1)),P=new Float64Array(s),A=0;A<s;A++)P[A]=(f[o[A].id]||0)/z*(200*s*.6)+120;for(var F=0;F<350;F++){var R=Math.max(.015,1-F/350),I=new Float64Array(s),W=new Float64Array(s);for(A=0;A<s;A++)for(var B=A+1;B<s;B++){var D=(Q=m[A]-m[B])*Q+(U=j[A]-j[B])*U;D<400&&(D=(Q=12*(A-B))*Q+(U=8*(A+B))*U);var Y=Q/(T=Math.sqrt(D))*(O=48e4/D),N=U/T*O;I[A]+=Y,W[A]+=N,I[B]-=Y,W[B]-=N}for(var q=0,L=a;q<L.length;q++){x=L[q];var X=d[x.source],H=d[x.target];if(void 0!==X&&void 0!==H){var T,O,Q=m[H]-m[X],U=j[H]-j[X];if(!((T=Math.sqrt(Q*Q+U*U))<1))Y=Q/T*(O=.004*(T-380)),N=U/T*O,I[X]+=Y,W[X]+=N,I[H]-=Y,W[H]-=N}}var G={},J={},K={};for(A=0;A<s;A++)G[V=o[A].cluster_id]=(G[V]||0)+m[A],J[V]=(J[V]||0)+j[A],K[V]=(K[V]||0)+1;for(A=0;A<s;A++){var V=o[A].cluster_id;I[A]+=(G[V]/K[V]-m[A])*E,W[A]+=(J[V]/K[V]-j[A])*E}for(A=0;A<s;A++)W[A]+=.002*(P[A]-j[A]);for(A=0;A<s;A++)k[A]=.84*(k[A]+I[A])*R,w[A]=.84*(w[A]+W[A])*R,m[A]+=k[A],j[A]+=w[A]}for(g=0;g<40;g++){var Z=!1;for(A=0;A<s;A++)for(B=A+1;B<s;B++){Q=m[A]-m[B],U=j[A]-j[B];var $=270-Math.abs(Q),ee=128-Math.abs(U);if($>0&&ee>0)if(Z=!0,$<ee){var ne=$/2+5;m[A]+=Q>0?ne:-ne,m[B]-=Q>0?ne:-ne}else ne=ee/2+5,j[A]+=U>0?ne:-ne,j[B]-=U>0?ne:-ne}if(!Z)break}var te=1/0,re=1/0;for(A=0;A<s;A++)te=Math.min(te,m[A]),re=Math.min(re,j[A]);var ie=new Map;for(A=0;A<s;A++)ie.set(o[A].id,{x:Math.round(m[A]-te+80),y:Math.round(j[A]-re+80)});return ie}(r,i,t),a=r.map(function(n){var t=o.get(n.id)||{x:0,y:0};return e.__assign(e.__assign({},n),{x:t.x,y:t.y})}),l={};t.forEach(function(e,n){l[e.id]=n});var s={};t.forEach(function(e){s[e.id]=[]}),a.forEach(function(e){var n;null===(n=s[e.cluster_id])||void 0===n||n.push(e)});var d=36,c=t.map(function(e){var n=s[e.id];if(!n.length)return null;var t=Math.min.apply(Math,n.map(function(e){return e.x})),r=Math.min.apply(Math,n.map(function(e){return e.y})),i=Math.max.apply(Math,n.map(function(e){return e.x+u})),o=Math.max.apply(Math,n.map(function(e){return e.y+f}));return{id:e.id,label:e.label,idx:l[e.id],x:t-d,y:r-d,width:i-t+72,height:o-r+72+22}}).filter(function(e){return null!==e});return{nodes:a.map(function(n){var t;return e.__assign(e.__assign({},n),{cluster:null!==(t=l[n.cluster_id])&&void 0!==t?t:0})}),edges:i,clusterBounds:c,canvasW:Math.max.apply(Math,a.map(function(e){return e.x+u}))+72,canvasH:Math.max.apply(Math,a.map(function(e){return e.y+f}))+72}}function b(e,n,t){var r=n[e.source],i=n[e.target];if(!r||!i)return"";var o=function(e,n){var t=e.x+85,r=e.y+24,i=n.x+85,o=n.y+24;function a(e,n,t,r){var i=t-e,o=r-n;return Math.abs(o)>.4*Math.abs(i)?o>0?{x:e,y:n+24}:{x:e,y:n-24}:i>0?{x:e+85,y:n}:{x:e-85,y:n}}return{source:a(t,r,i,o),target:a(i,o,t,r)}}(r,i),a=o.source,l=o.target,s=l.x-a.x,d=l.y-a.y,c=Math.sqrt(s*s+d*d);if(c<5)return"M ".concat(a.x," ").concat(a.y," L ").concat(l.x," ").concat(l.y);if(i.y+150<r.y&&i.y<r.y-f){var u=Math.min(r.x,i.x)-110;return"M ".concat(a.x," ").concat(a.y," C ").concat(u," ").concat(a.y,", ").concat(u," ").concat(l.y,", ").concat(l.x," ").concat(l.y)}var g=-d/c,v=s/c;if(t.some(function(n){return n.source===e.target&&n.target===e.source})){var p=e.source<e.target?1:-1,h=Math.max(.18*c,40)*p,x=(a.x+l.x)/2+g*h,y=(a.y+l.y)/2+v*h;return"M ".concat(a.x," ").concat(a.y," Q ").concat(x," ").concat(y," ").concat(l.x," ").concat(l.y)}var b=Math.min(.12*c,55),_=(a.x+l.x)/2+g*b,m=(a.y+l.y)/2+v*b;return"M ".concat(a.x," ").concat(a.y," Q ").concat(_," ").concat(m," ").concat(l.x," ").concat(l.y)}function _(r){var i,o,a,l=r.data,s=r.onFullscreen,_=r.isFullscreen,m=r.isDarkMode,j=void 0!==m&&m,k=r.style,w=t.useRef(null),M=t.useState({x:0,y:0}),S=M[0],C=M[1],E=t.useState(.5),z=E[0],P=E[1],A=t.useState(!1),F=A[0],R=A[1],I=t.useRef({x:0,y:0}),W=t.useRef({x:0,y:0}),B=t.useState(null),D=B[0],Y=B[1],N=t.useState(null),q=N[0],L=N[1],X=t.useState(null),H=X[0],T=X[1],O=t.useState(null),Q=O[0],U=O[1],G=t.useMemo(function(){return y(l)},[l]),J=t.useMemo(function(){var e={};return G.nodes.forEach(function(n){e[n.id]=n}),e},[G]),K=t.useMemo(function(){var e={};return l.clusters.forEach(function(n,t){e[n.id]=t}),e},[l]),V=t.useMemo(function(){return Q?new Set(G.edges.filter(function(e){return e.source===Q||e.target===Q}).map(function(e){return e.id})):new Set},[Q,G.edges]),Z=t.useMemo(function(){if(!Q)return new Set;var e=new Set([Q]);return G.edges.forEach(function(n){n.source===Q&&e.add(n.target),n.target===Q&&e.add(n.source)}),e},[Q,G.edges]),$=t.useMemo(function(){return new Date(l.last_analyzed_at).toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,day:"numeric",month:"short",year:"numeric"})},[l.last_analyzed_at]),ee=t.useCallback(function(n){n.target.closest("[data-edge-hit]")||n.target.closest("[data-node]")||(R(!0),I.current={x:n.clientX,y:n.clientY},W.current=e.__assign({},S),n.currentTarget.style.cursor="grabbing")},[S]),ne=t.useCallback(function(e){F&&C({x:W.current.x+(e.clientX-I.current.x),y:W.current.y+(e.clientY-I.current.y)})},[F]),te=t.useCallback(function(){R(!1),w.current&&(w.current.style.cursor="grab")},[]),re=t.useCallback(function(e){e.preventDefault(),P(function(n){return Math.min(2.5,Math.max(.2,n-.001*e.deltaY))})},[]);t.useEffect(function(){var e=w.current;return e&&e.addEventListener("wheel",re,{passive:!1}),function(){return null==e?void 0:e.removeEventListener("wheel",re)}},[re]);var ie=(null==k?void 0:k.backgroundColor)||(null==k?void 0:k.background)||(j?"#090d16":"#ffffff"),oe=(null==k?void 0:k.color)||(j?"#f8fafc":"#1e293b"),ae=(null===(i=null==k?void 0:k.subtitle)||void 0===i?void 0:i.color)||"#94a3b8",le=function(e,n){return"string"==typeof e?e:n},se=e.__assign({width:32,height:32,border:"none",background:"transparent",borderRadius:8,cursor:"pointer",fontSize:16,color:j?"#cbd5e1":"#475569",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:500},null==k?void 0:k.controlButton);return n.jsxs("div",e.__assign({style:e.__assign({width:"100%",height:"100%",background:ie,color:oe,fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, sans-serif",position:"relative",overflow:"hidden"},null==k?void 0:k.root)},{children:[n.jsxs("div",e.__assign({style:e.__assign({position:"absolute",top:0,left:0,right:0,zIndex:20,borderBottom:_?j?"1px solid #1e293b":"1px solid #f1f5f9":"none",background:_?ie:"transparent"},null==k?void 0:k.header)},{children:[n.jsxs("div",e.__assign({style:{padding:"10px 14px",display:"flex",alignItems:"center",justifyContent:"space-between"}},{children:[n.jsxs("div",{children:[_&&n.jsx("h2",e.__assign({style:e.__assign({margin:0,fontSize:17,fontWeight:700,color:oe},null==k?void 0:k.title)},{children:"Dependency Graph"})),n.jsxs("p",e.__assign({style:e.__assign({margin:"2px 0 0",fontSize:12,color:ae},null==k?void 0:k.subtitle)},{children:["Last analyzed: ".concat($||""," · "),"Click a node or connection to explore details and dependencies."]}))]}),n.jsxs("div",e.__assign({style:{display:"flex",gap:6,alignItems:"center"}},{children:[n.jsxs("div",e.__assign({style:e.__assign({display:"flex",gap:2,background:j?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:j?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)"},null==k?void 0:k.controls)},{children:[n.jsx("button",e.__assign({onClick:function(){return P(function(e){return Math.max(.2,e-.15)})},style:se},{children:"−"})),n.jsxs("button",e.__assign({onClick:function(){P(.5),C({x:0,y:0})},style:e.__assign(e.__assign({},se),{fontSize:11,width:52,fontWeight:600})},{children:[Math.round(100*z)||0,"%"]})),n.jsx("button",e.__assign({onClick:function(){return P(function(e){return Math.min(2.5,e+.15)})},style:se},{children:"+"}))]})),s&&n.jsx("div",e.__assign({style:e.__assign({display:"flex",background:j?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:j?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)"},null==k?void 0:k.controls)},{children:n.jsx("button",e.__assign({onClick:s,style:se},{children:_?n.jsx(c.default,{style:{fontSize:16}}):n.jsx(d.default,{style:{fontSize:16}})}))}))]}))]})),q&&n.jsx("div",e.__assign({style:e.__assign({margin:"0 20px 14px",width:"30%",minWidth:280,borderRadius:12,overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.07)",border:"1px solid #e2e8f0",animation:"slideDown 0.2s ease-out"},null==k?void 0:k.nodePopup)},{children:function(){var t,r,i=q.node,o=null!==(t=K[i.cluster_id])&&void 0!==t?t:0;return G.edges.filter(function(e){return e.source===i.id}).length,G.edges.filter(function(e){return e.target===i.id}).length,n.jsxs("div",{children:[n.jsxs("div",e.__assign({style:e.__assign({padding:"10px 14px",background:x[o%x.length||0],color:"#fff",display:"flex",alignItems:"center",justifyContent:"space-between"},null==k?void 0:k.nodePopupHeader)},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:10}},{children:[n.jsx("span",e.__assign({style:{width:28,height:28,borderRadius:8,background:"rgba(255,255,255,0.2)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:14}},{children:p[o%p.length||0]})),n.jsxs("div",{children:[n.jsx("div",e.__assign({style:{fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.75}},{children:(null===(r=l.clusters[o])||void 0===r?void 0:r.label)||"Cluster Name"})),n.jsx("div",e.__assign({style:{fontSize:14,fontWeight:700,marginTop:1}},{children:i.label||"Cluster Name"}))]})]})),n.jsx("button",e.__assign({onClick:function(){L(null),U(null)},style:e.__assign({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",flexShrink:0},null==k?void 0:k.popupCloseButton)},{children:"×"}))]})),n.jsx("div",e.__assign({style:e.__assign({padding:"10px 14px",fontSize:13,lineHeight:1.6,color:j?"#cbd5e1":"#475569",background:j?"#1e293b":"#fff"},null==k?void 0:k.nodePopupBody)},{children:i.description||"No description available..."}))]})}()}))]})),n.jsxs("div",e.__assign({ref:w,onPointerDown:ee,onPointerMove:ne,onPointerUp:te,onPointerLeave:te,onClick:function(){Y(null),L(null),U(null)},style:{width:"100%",height:"100%",cursor:F?"grabbing":"grab",position:"relative"}},{children:[n.jsx("div",e.__assign({style:{transform:"translate(".concat(S.x,"px, ").concat(S.y,"px) scale(").concat(z,")"),transformOrigin:"top left",position:"absolute",top:_?70:50,left:20,transition:F?"none":"transform 0.08s ease-out"}},{children:n.jsxs("svg",e.__assign({width:G.canvasW,height:G.canvasH,style:{overflow:"visible"}},{children:[G.clusterBounds.map(function(t){var r,i,o,a,l;return n.jsxs("g",{children:[n.jsx("rect",{x:t.x,y:t.y,width:t.width,height:t.height,rx:"16",fill:le((null===(r=null==k?void 0:k.cluster)||void 0===r?void 0:r.backgroundColor)||(null===(i=null==k?void 0:k.cluster)||void 0===i?void 0:i.background),j?"rgba(30, 41, 59, 0.35)":"none"),stroke:le((null===(o=null==k?void 0:k.cluster)||void 0===o?void 0:o.borderColor)||(null===(a=null==k?void 0:k.cluster)||void 0===a?void 0:a.border),j?"#334155":"#e2e8f0"),strokeWidth:"1.5",strokeDasharray:"8 4"}),n.jsx("text",e.__assign({x:t.x+14,y:t.y+t.height-10,fontSize:"11",fill:le(null===(l=null==k?void 0:k.clusterLabel)||void 0===l?void 0:l.color,"#94a3b8"),fontFamily:"Inter, sans-serif",fontWeight:"500"},{children:t.label||"Cluster Name"}))]},t.id)}),G.edges.map(function(t){var r,i,o,a,l,s,d,c,u,f=b(t,J,G.edges);if(!f)return null;var g=V.has(t.id),v=(null==D?void 0:D.edge.id)===t.id,p=H===t.id,h=!!Q&&!g,x=g||v?(null===(r=null==k?void 0:k.activeEdge)||void 0===r?void 0:r.color)||(null===(i=null==k?void 0:k.activeEdge)||void 0===i?void 0:i.borderColor)||"#6366f1":p?(null===(o=null==k?void 0:k.edge)||void 0===o?void 0:o.color)||"#818cf8":(null===(a=null==k?void 0:k.edge)||void 0===a?void 0:a.borderColor)||(null===(l=null==k?void 0:k.edge)||void 0===l?void 0:l.color)||(j?"#475569":"#cbd5e1"),y=g||v?2.5:p?2:1.5;return n.jsxs("g",e.__assign({style:{opacity:h?.1:1,transition:"opacity 0.25s"}},{children:[n.jsx("path",{"data-edge-hit":"true",d:f,fill:"none",stroke:"transparent",strokeWidth:18,style:{cursor:"pointer"},onClick:function(e){return function(e,n){e.stopPropagation();var t=w.current.getBoundingClientRect();Y({edge:n,screenX:e.clientX-t.left,screenY:e.clientY-t.top}),L(null),U(null)}(e,t)},onMouseEnter:function(){return T(t.id)},onMouseLeave:function(){return T(null)}}),n.jsx("path",{d:f,fill:"none",stroke:x,strokeWidth:y,style:{transition:"stroke 0.2s, stroke-width 0.2s",pointerEvents:"none"}}),(g||v)&&n.jsxs(n.Fragment,{children:[n.jsx("circle",e.__assign({r:4,fill:(null===(s=null==k?void 0:k.edgeMarker)||void 0===s?void 0:s.color)||(null===(d=null==k?void 0:k.activeEdge)||void 0===d?void 0:d.color)||"#6366f1"},{children:n.jsx("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:f})})),n.jsx("circle",e.__assign({r:6,fill:(null===(c=null==k?void 0:k.edgeMarker)||void 0===c?void 0:c.color)||(null===(u=null==k?void 0:k.activeEdge)||void 0===u?void 0:u.color)||"#6366f1",opacity:.2},{children:n.jsx("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:f})}))]})]}),t.id)}),G.nodes.map(function(t){var r,i,o,a,l,s,d,c,x,y=Q===t.id,b=Z.has(t.id),_=!!Q&&!b,m=(null!==(r=K[t.cluster_id])&&void 0!==r?r:0)%h.length,M=h[m||0];return n.jsx("g",e.__assign({"data-node":"true",onClick:function(e){return function(e,n){e.stopPropagation();var t=w.current.getBoundingClientRect();Q===n.id?(U(null),L(null)):(U(n.id),L({node:n,screenX:e.clientX-t.left,screenY:e.clientY-t.top}),Y(null))}(e,t)},style:{cursor:"pointer",opacity:_?.15:1,transition:"opacity 0.25s"}},{children:n.jsx("foreignObject",e.__assign({x:t.x,y:t.y,width:u,height:f},{children:n.jsxs("div",e.__assign({style:e.__assign(e.__assign({background:(null===(i=null==k?void 0:k.node)||void 0===i?void 0:i.backgroundColor)||(null===(o=null==k?void 0:k.node)||void 0===o?void 0:o.background)||(j?"#1e293b":"#fff"),border:y?(null===(a=null==k?void 0:k.selectedNode)||void 0===a?void 0:a.border)||"2.5px solid ".concat((null===(l=null==k?void 0:k.selectedNode)||void 0===l?void 0:l.borderColor)||M):(null===(s=null==k?void 0:k.node)||void 0===s?void 0:s.border)||"1.5px solid ".concat((null===(d=null==k?void 0:k.node)||void 0===d?void 0:d.borderColor)||(j?"#334155":"#e2e8f0")),borderRadius:10,padding:"8px 14px",fontSize:13,fontWeight:600,color:j?"#f1f5f9":"#334155",fontFamily:"'Inter', sans-serif",display:"flex",alignItems:"center",gap:8,boxShadow:y?(null===(c=null==k?void 0:k.selectedNode)||void 0===c?void 0:c.boxShadow)||"0 0 0 3px ".concat(M,"33, 0 2px 8px rgba(0,0,0,0.4)"):(null===(x=null==k?void 0:k.node)||void 0===x?void 0:x.boxShadow)||(j?"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==k?void 0:k.node),y?null==k?void 0:k.selectedNode:{})},{children:[n.jsx("span",e.__assign({style:e.__assign({width:22,height:22,borderRadius:6,background:g[m],display:"flex",alignItems:"center",justifyContent:"center",fontSize:11,flexShrink:0,color:v[m]},null==k?void 0:k.nodeIcon)},{children:p[m]})),n.jsx("span",e.__assign({style:{overflow:"hidden",textOverflow:"ellipsis"}},{children:t.label||"Node name"}))]}))}))}),t.id)})]}))})),D&&n.jsxs("div",e.__assign({onClick:function(e){return e.stopPropagation()},style:e.__assign(e.__assign(e.__assign({position:"absolute"},function(e,n,t,r){if(!w.current)return{};var i=w.current.getBoundingClientRect(),o=e+14,a=n-r/2;return o+t>i.width&&(o=e-t-14),a<8&&(a=8),a+r>i.height&&(a=i.height-r-8),{left:o,top:a}}(D.screenX,D.screenY,320,180)),{width:320,background:j?"#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 #e2e8f0",zIndex:30,animation:"popIn 0.18s ease-out",overflow:"hidden"}),null==k?void 0:k.edgePopup)},{children:[n.jsxs("div",e.__assign({style:e.__assign({padding:"12px 16px 10px",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff"},null==k?void 0:k.edgePopupHeader)},{children:[n.jsx("div",e.__assign({style:{fontSize:10,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.8}},{children:"Edge Reasoning"})),n.jsxs("div",e.__assign({style:{fontSize:13,fontWeight:600,marginTop:4}},{children:[(null===(o=J[D.edge.source])||void 0===o?void 0:o.label)||"Source",n.jsx("span",e.__assign({style:{opacity:.6,margin:"0 6px"}},{children:"→"})),(null===(a=J[D.edge.target])||void 0===a?void 0:a.label)||"Target"]}))]})),n.jsx("div",e.__assign({style:e.__assign({padding:"12px 16px 14px",fontSize:13,lineHeight:1.6,color:j?"#cbd5e1":"#475569",whiteSpace:"pre-line"},null==k?void 0:k.edgePopupBody)},{children:D.edge.reasoning||"No Reasoning available..."})),n.jsx("button",e.__assign({onClick:function(){return Y(null)},style:e.__assign({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==k?void 0:k.popupCloseButton)},{children:"×"}))]}))]})),n.jsx("style",{children:"\n @keyframes popIn { from { opacity:0; transform:scale(0.95) translateY(4px); } to { opacity:1; transform:scale(1) translateY(0); } }\n @keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }\n "})]}))}var m=l.default.memo(function(r){var i=r.data,o=r.isDarkMode,a=void 0!==o&&o,l=r.style,d=t.useState(!1),c=d[0],u=d[1],f=l||{};f.fullscreenPaper,f.root,f.header,f.title,f.subtitle,f.controls,f.controlButton,f.nodePopup,f.edgePopup;var g=e.__rest(f,["fullscreenPaper","root","header","title","subtitle","controls","controlButton","nodePopup","edgePopup"]),v=l||{},p=t.useCallback(function(){u(!0)},[]),h=t.useCallback(function(){u(!1)},[]);return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({style:e.__assign({position:"relative",width:"100%",height:"500px"},g)},{children:n.jsx(_,{data:i,onFullscreen:p,isDarkMode:a,style:v})})),n.jsx(s.default,e.__assign({open:c,onClose:h,maxWidth:!1,PaperProps:{style:e.__assign({width:"95vw",height:"92vh",maxWidth:"none",borderRadius:12,overflow:"hidden",background:v.backgroundColor||v.background||(a?"#090d16":"#ffffff"),color:v.color||(a?"#f8fafc":"#1e293b")},v.fullscreenPaper)}},{children:n.jsx("div",e.__assign({style:{width:"100%",height:"100%",position:"relative",background:v.backgroundColor||v.background||(a?"#090d16":"#ffffff")}},{children:n.jsx(_,{data:i,onFullscreen:h,isFullscreen:!0,isDarkMode:a,style:v})}))}))]})});exports.default=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material/Dialog"),n=require("@mui/icons-material/Fullscreen"),o=require("@mui/icons-material/CloseFullscreen");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(t),s=i(r),l=i(n),d=i(o);const c=170,f=48,u=["#ede9fe","#e0f2fe","#fef3c7","#dcfce7","#ffe4e6","#f0fdf4","#fef9c3","#e0e7ff","#fce7f3","#f1f5f9"],g=["#7c3aed","#0284c7","#b45309","#16a34a","#e11d48","#15803d","#a16207","#4338ca","#db2777","#475569"],h=["⚙","◈","⟐","✦","◎","⬡","◇","⊕","✶","◉"],p=["#a78bfa","#7dd3fc","#fbbf24","#86efac","#fda4af","#6ee7b7","#fde047","#a5b4fc","#f9a8d4","#94a3b8"],x=["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)"];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=Array.isArray(e)?e:[],o=Array.isArray(t)?t:[],i=Array.isArray(r)?r:[],a=n.length;if(0===a)return new Map;const s={};n.forEach((e,t)=>{s[e.id]=t});const l={},d={};n.forEach(e=>{l[e.id]=[],d[e.id]=[]}),o.forEach(e=>{l[e.source]&&l[e.source].push(e.target),d[e.target]&&d[e.target].push(e.source)});const c={};n.forEach(e=>{c[e.id]=0});for(let e=0;e<a;e++){let e=!1;for(const t of o){const r=(c[t.source]||0)+1;r>(c[t.target]||0)&&r<a&&(c[t.target]=r,e=!0)}if(!e)break}const f={};i.forEach((e,t)=>{f[e.id]=t});const u={};i.forEach(e=>{u[e.id]=[]}),n.forEach(e=>{u[e.cluster_id]?.push(e)}),Object.values(u).forEach(e=>e.sort((e,t)=>(c[e.id]||0)-(c[t.id]||0)));const g=new Float64Array(a),h=new Float64Array(a),p=new Float64Array(a),x=new Float64Array(a);for(const e of i){const t=f[e.id]??0;(u[e.id]||[]).forEach((e,r)=>{const n=s[e.id];g[n]=520*t+280,h[n]=200*r+120})}const y=.0015,b=Math.max(...n.map(e=>c[e.id]||0),1),m=new Float64Array(a);for(let e=0;e<a;e++)m[e]=(c[n[e].id]||0)/b*(200*a*.6)+120;for(let e=0;e<350;e++){const t=Math.max(.015,1-e/350),r=new Float64Array(a),i=new Float64Array(a);for(let e=0;e<a;e++)for(let t=e+1;t<a;t++){let n=g[e]-g[t],o=h[e]-h[t],a=n*n+o*o;a<400&&(n=12*(e-t),o=8*(e+t),a=n*n+o*o);const s=Math.sqrt(a),l=48e4/a,d=n/s*l,c=o/s*l;r[e]+=d,i[e]+=c,r[t]-=d,i[t]-=c}for(const e of o){const t=s[e.source],n=s[e.target];if(void 0===t||void 0===n)continue;const o=g[n]-g[t],a=h[n]-h[t],l=Math.sqrt(o*o+a*a);if(l<1)continue;const d=.004*(l-380),c=o/l*d,f=a/l*d;r[t]+=c,i[t]+=f,r[n]-=c,i[n]-=f}const l={},d={},c={};for(let e=0;e<a;e++){const t=n[e].cluster_id;l[t]=(l[t]||0)+g[e],d[t]=(d[t]||0)+h[e],c[t]=(c[t]||0)+1}for(let e=0;e<a;e++){const t=n[e].cluster_id;r[e]+=(l[t]/c[t]-g[e])*y,i[e]+=(d[t]/c[t]-h[e])*y}for(let e=0;e<a;e++)i[e]+=.002*(m[e]-h[e]);for(let e=0;e<a;e++)p[e]=.84*(p[e]+r[e])*t,x[e]=.84*(x[e]+i[e])*t,g[e]+=p[e],h[e]+=x[e]}for(let e=0;e<40;e++){let e=!1;for(let t=0;t<a;t++)for(let r=t+1;r<a;r++){const n=g[t]-g[r],o=h[t]-h[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;g[t]+=n>0?e:-e,g[r]-=n>0?e:-e}else{const e=a/2+5;h[t]+=o>0?e:-e,h[r]-=o>0?e:-e}}if(!e)break}let j=1/0,v=1/0;for(let e=0;e<a;e++)j=Math.min(j,g[e]),v=Math.min(v,h[e]);const k=new Map;for(let e=0;e<a;e++)k.set(n[e].id,{x:Math.round(g[e]-j+80),y:Math.round(h[e]-v+80)});return k}(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 s={};t.forEach(e=>{s[e.id]=[]}),i.forEach(e=>{s[e.cluster_id]?.push(e)});const l=36,d=t.map(e=>{const t=s[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+c)),i=Math.max(...t.map(e=>e.y+f));return{id:e.id,label:e.label,idx:a[e.id],x:r-l,y:n-l,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:d,canvasW:Math.max(...i.map(e=>e.x+c))+72,canvasH:Math.max(...i.map(e=>e.y+f))+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),s=a.x-i.x,l=a.y-i.y,d=Math.sqrt(s*s+l*l);if(d<5)return`M ${i.x} ${i.y} L ${a.x} ${a.y}`;if(o.y+150<n.y&&o.y<n.y-f){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 c=-l/d,u=s/d;if(r.some(t=>t.source===e.target&&t.target===e.source)){const t=e.source<e.target?1:-1,r=Math.max(.18*d,40)*t,n=(i.x+a.x)/2+c*r,o=(i.y+a.y)/2+u*r;return`M ${i.x} ${i.y} Q ${n} ${o} ${a.x} ${a.y}`}const g=Math.min(.12*d,55),h=(i.x+a.x)/2+c*g,p=(i.y+a.y)/2+u*g;return`M ${i.x} ${i.y} Q ${h} ${p} ${a.x} ${a.y}`}function m({data:r,onFullscreen:n,isFullscreen:o,isDarkMode:i=!1,style:a}){const s=t.useRef(null),[m,j]=t.useState({x:0,y:0}),[v,k]=t.useState(.5),[w,M]=t.useState(!1),S=t.useRef({x:0,y:0}),C=t.useRef({x:0,y:0}),[$,E]=t.useState(null),[z,F]=t.useState(null),[P,A]=t.useState(null),[R,I]=t.useState(null),W=t.useMemo(()=>y(r),[r]),B=t.useMemo(()=>{const e={};return W.nodes.forEach(t=>{e[t.id]=t}),e},[W]),_=t.useMemo(()=>{const e={};return r.clusters.forEach((t,r)=>{e[t.id]=r}),e},[r]),D=t.useMemo(()=>R?new Set(W.edges.filter(e=>e.source===R||e.target===R).map(e=>e.id)):new Set,[R,W.edges]),Y=t.useMemo(()=>{if(!R)return new Set;const e=new Set([R]);return W.edges.forEach(t=>{t.source===R&&e.add(t.target),t.target===R&&e.add(t.source)}),e},[R,W.edges]),N=t.useMemo(()=>new Date(r.last_analyzed_at).toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,day:"numeric",month:"short",year:"numeric"}),[r.last_analyzed_at]),q=t.useCallback(e=>{e.target.closest("[data-edge-hit]")||e.target.closest("[data-node]")||(M(!0),S.current={x:e.clientX,y:e.clientY},C.current={...m},e.currentTarget.style.cursor="grabbing")},[m]),L=t.useCallback(e=>{w&&j({x:C.current.x+(e.clientX-S.current.x),y:C.current.y+(e.clientY-S.current.y)})},[w]),X=t.useCallback(()=>{M(!1),s.current&&(s.current.style.cursor="grab")},[]),H=t.useCallback(e=>{e.preventDefault(),k(t=>Math.min(2.5,Math.max(.2,t-.001*e.deltaY)))},[]);t.useEffect(()=>{const e=s.current;return e&&e.addEventListener("wheel",H,{passive:!1}),()=>e?.removeEventListener("wheel",H)},[H]);const T=a?.backgroundColor||a?.background||(i?"#090d16":"#ffffff"),O=a?.color||(i?"#f8fafc":"#1e293b"),Q=a?.subtitle?.color||"#94a3b8",U=(e,t)=>"string"==typeof e?e:t,G={width:32,height:32,border:"none",background:"transparent",borderRadius:8,cursor:"pointer",fontSize:16,color:i?"#cbd5e1":"#475569",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:500,...a?.controlButton};return e.jsxs("div",{style:{width:"100%",height:"100%",background:T,color:O,fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, sans-serif",position:"relative",overflow:"hidden",...a?.root},children:[e.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,zIndex:20,borderBottom:o?i?"1px solid #1e293b":"1px solid #f1f5f9":"none",background:o?T:"transparent",...a?.header},children:[e.jsxs("div",{style:{padding:"10px 14px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsxs("div",{children:[o&&e.jsx("h2",{style:{margin:0,fontSize:17,fontWeight:700,color:O,...a?.title},children:"Dependency Graph"}),e.jsxs("p",{style:{margin:"2px 0 0",fontSize:12,color:Q,...a?.subtitle},children:[`Last analyzed: ${N||""} · `,"Click a node or connection to explore details and dependencies."]})]}),e.jsxs("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[e.jsxs("div",{style:{display:"flex",gap:2,background:i?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:i?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)",...a?.controls},children:[e.jsx("button",{onClick:()=>k(e=>Math.max(.2,e-.15)),style:G,children:"−"}),e.jsxs("button",{onClick:()=>{k(.5),j({x:0,y:0})},style:{...G,fontSize:11,width:52,fontWeight:600},children:[Math.round(100*v)||0,"%"]}),e.jsx("button",{onClick:()=>k(e=>Math.min(2.5,e+.15)),style:G,children:"+"})]}),n&&e.jsx("div",{style:{display:"flex",background:i?"#1e293b":"#fff",borderRadius:10,padding:3,boxShadow:i?"0 1px 4px rgba(0,0,0,0.4)":"0 1px 4px rgba(0,0,0,0.08)",...a?.controls},children:e.jsx("button",{onClick:n,style:G,children:o?e.jsx(d.default,{style:{fontSize:16}}):e.jsx(l.default,{style:{fontSize:16}})})})]})]}),z&&e.jsx("div",{style:{margin:"0 20px 14px",width:"30%",minWidth:280,borderRadius:12,overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.07)",border:"1px solid #e2e8f0",animation:"slideDown 0.2s ease-out",...a?.nodePopup},children:(()=>{const t=z.node,n=_[t.cluster_id]??0;return W.edges.filter(e=>e.source===t.id).length,W.edges.filter(e=>e.target===t.id).length,e.jsxs("div",{children:[e.jsxs("div",{style:{padding:"10px 14px",background:x[n%x.length||0],color:"#fff",display:"flex",alignItems:"center",justifyContent:"space-between",...a?.nodePopupHeader},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[e.jsx("span",{style:{width:28,height:28,borderRadius:8,background:"rgba(255,255,255,0.2)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:14},children:h[n%h.length||0]}),e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:9,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.75},children:r.clusters[n]?.label||"Cluster Name"}),e.jsx("div",{style:{fontSize:14,fontWeight:700,marginTop:1},children:t.label||"Cluster Name"})]})]}),e.jsx("button",{onClick:()=>{F(null),I(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",flexShrink:0,...a?.popupCloseButton},children:"×"})]}),e.jsx("div",{style:{padding:"10px 14px",fontSize:13,lineHeight:1.6,color:i?"#cbd5e1":"#475569",background:i?"#1e293b":"#fff",...a?.nodePopupBody},children:t.description||"No description available..."})]})})()})]}),e.jsxs("div",{ref:s,onPointerDown:q,onPointerMove:L,onPointerUp:X,onPointerLeave:X,onClick:()=>{E(null),F(null),I(null)},style:{width:"100%",height:"100%",cursor:w?"grabbing":"grab",position:"relative"},children:[e.jsx("div",{style:{transform:`translate(${m.x}px, ${m.y}px) scale(${v})`,transformOrigin:"top left",position:"absolute",top:o?70:50,left:20,transition:w?"none":"transform 0.08s ease-out"},children:e.jsxs("svg",{width:W.canvasW,height:W.canvasH,style:{overflow:"visible"},children:[W.clusterBounds.map(t=>e.jsxs("g",{children:[e.jsx("rect",{x:t.x,y:t.y,width:t.width,height:t.height,rx:"16",fill:U(a?.cluster?.backgroundColor||a?.cluster?.background,i?"rgba(30, 41, 59, 0.35)":"none"),stroke:U(a?.cluster?.borderColor||a?.cluster?.border,i?"#334155":"#e2e8f0"),strokeWidth:"1.5",strokeDasharray:"8 4"}),e.jsx("text",{x:t.x+14,y:t.y+t.height-10,fontSize:"11",fill:U(a?.clusterLabel?.color,"#94a3b8"),fontFamily:"Inter, sans-serif",fontWeight:"500",children:t.label||"Cluster Name"})]},t.id)),W.edges.map(t=>{const r=b(t,B,W.edges);if(!r)return null;const n=D.has(t.id),o=$?.edge.id===t.id,l=P===t.id,d=!!R&&!n,c=n||o?a?.activeEdge?.color||a?.activeEdge?.borderColor||"#6366f1":l?a?.edge?.color||"#818cf8":a?.edge?.borderColor||a?.edge?.color||(i?"#475569":"#cbd5e1"),f=n||o?2.5:l?2:1.5;return e.jsxs("g",{style:{opacity:d?.1:1,transition:"opacity 0.25s"},children:[e.jsx("path",{"data-edge-hit":"true",d:r,fill:"none",stroke:"transparent",strokeWidth:18,style:{cursor:"pointer"},onClick:e=>((e,t)=>{e.stopPropagation();const r=s.current.getBoundingClientRect();E({edge:t,screenX:e.clientX-r.left,screenY:e.clientY-r.top}),F(null),I(null)})(e,t),onMouseEnter:()=>A(t.id),onMouseLeave:()=>A(null)}),e.jsx("path",{d:r,fill:"none",stroke:c,strokeWidth:f,style:{transition:"stroke 0.2s, stroke-width 0.2s",pointerEvents:"none"}}),(n||o)&&e.jsxs(e.Fragment,{children:[e.jsx("circle",{r:4,fill:a?.edgeMarker?.color||a?.activeEdge?.color||"#6366f1",children:e.jsx("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:r})}),e.jsx("circle",{r:6,fill:a?.edgeMarker?.color||a?.activeEdge?.color||"#6366f1",opacity:.2,children:e.jsx("animateMotion",{dur:"1.8s",repeatCount:"indefinite",path:r})})]})]},t.id)}),W.nodes.map(t=>{const r=R===t.id,n=Y.has(t.id),o=!!R&&!n,l=(_[t.cluster_id]??0)%p.length,d=p[l||0];return e.jsx("g",{"data-node":"true",onClick:e=>((e,t)=>{e.stopPropagation();const r=s.current.getBoundingClientRect();R===t.id?(I(null),F(null)):(I(t.id),F({node:t,screenX:e.clientX-r.left,screenY:e.clientY-r.top}),E(null))})(e,t),style:{cursor:"pointer",opacity:o?.15:1,transition:"opacity 0.25s"},children:e.jsx("foreignObject",{x:t.x,y:t.y,width:c,height:f,children:e.jsxs("div",{style:{background:a?.node?.backgroundColor||a?.node?.background||(i?"#1e293b":"#fff"),border:r?a?.selectedNode?.border||`2.5px solid ${a?.selectedNode?.borderColor||d}`:a?.node?.border||`1.5px solid ${a?.node?.borderColor||(i?"#334155":"#e2e8f0")}`,borderRadius:10,padding:"8px 14px",fontSize:13,fontWeight:600,color:i?"#f1f5f9":"#334155",fontFamily:"'Inter', sans-serif",display:"flex",alignItems:"center",gap:8,boxShadow:r?a?.selectedNode?.boxShadow||`0 0 0 3px ${d}33, 0 2px 8px rgba(0,0,0,0.4)`:a?.node?.boxShadow||(i?"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",...a?.node,...r?a?.selectedNode:{}},children:[e.jsx("span",{style:{width:22,height:22,borderRadius:6,background:u[l],display:"flex",alignItems:"center",justifyContent:"center",fontSize:11,flexShrink:0,color:g[l],...a?.nodeIcon},children:h[l]}),e.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:t.label||"Node name"})]})})},t.id)})]})}),$&&e.jsxs("div",{onClick:e=>e.stopPropagation(),style:{position:"absolute",...function(e,t,r,n){if(!s.current)return{};const o=s.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}}($.screenX,$.screenY,320,180),width:320,background:i?"#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 #e2e8f0",zIndex:30,animation:"popIn 0.18s ease-out",overflow:"hidden",...a?.edgePopup},children:[e.jsxs("div",{style:{padding:"12px 16px 10px",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",...a?.edgePopupHeader},children:[e.jsx("div",{style:{fontSize:10,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.06em",opacity:.8},children:"Edge Reasoning"}),e.jsxs("div",{style:{fontSize:13,fontWeight:600,marginTop:4},children:[B[$.edge.source]?.label||"Source",e.jsx("span",{style:{opacity:.6,margin:"0 6px"},children:"→"}),B[$.edge.target]?.label||"Target"]})]}),e.jsx("div",{style:{padding:"12px 16px 14px",fontSize:13,lineHeight:1.6,color:i?"#cbd5e1":"#475569",whiteSpace:"pre-line",...a?.edgePopupBody},children:$.edge.reasoning||"No Reasoning available..."}),e.jsx("button",{onClick:()=>E(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",...a?.popupCloseButton},children:"×"})]})]}),e.jsx("style",{children:"\n @keyframes popIn { from { opacity:0; transform:scale(0.95) translateY(4px); } to { opacity:1; transform:scale(1) translateY(0); } }\n @keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }\n "})]})}var j=a.default.memo(function({data:r,isDarkMode:n=!1,style:o}){const[i,a]=t.useState(!1),{fullscreenPaper:l,root:d,header:c,title:f,subtitle:u,controls:g,controlButton:h,nodePopup:p,edgePopup:x,...y}=o||{},b=o||{},j=t.useCallback(()=>{a(!0)},[]),v=t.useCallback(()=>{a(!1)},[]);return e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{position:"relative",width:"100%",height:"500px",...y},children:e.jsx(m,{data:r,onFullscreen:j,isDarkMode:n,style:b})}),e.jsx(s.default,{open:i,onClose:v,maxWidth:!1,PaperProps:{style:{width:"95vw",height:"92vh",maxWidth:"none",borderRadius:12,overflow:"hidden",background:b.backgroundColor||b.background||(n?"#090d16":"#ffffff"),color:b.color||(n?"#f8fafc":"#1e293b"),...b.fullscreenPaper}},children:e.jsx("div",{style:{width:"100%",height:"100%",position:"relative",background:b.backgroundColor||b.background||(n?"#090d16":"#ffffff")},children:e.jsx(m,{data:r,onFullscreen:v,isFullscreen:!0,isDarkMode:n,style:b})})})]})});exports.default=j;
2
2
  //# sourceMappingURL=DependencyGraph.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DependencyGraph.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"DependencyGraph.js","sources":["../../../../src/features/SPBAnalysisPanel/DependencyGraph.tsx"],"sourcesContent":["import React, { useRef, useState, useMemo, useCallback, useEffect } from \"react\";\nimport Dialog from \"@mui/material/Dialog\";\nimport FullscreenIcon from \"@mui/icons-material/Fullscreen\";\nimport CloseFullscreenIcon from \"@mui/icons-material/CloseFullscreen\";\n\ninterface Cluster {\n id: string;\n label: string;\n}\n\ninterface RawNode {\n id: string;\n label: string;\n cluster_id: string;\n x: number;\n y: number;\n description: string;\n}\n\ninterface Edge {\n id: string;\n source: string;\n target: string;\n reasoning: string;\n score: number;\n gap: string;\n dependency_type: string;\n}\n\ninterface ApiData {\n graph_id: string;\n prompt_id: string;\n last_analyzed_at: string;\n clusters: Cluster[];\n nodes: RawNode[];\n edges: Edge[];\n}\n\ninterface Position {\n x: number;\n y: number;\n}\n\ninterface LayoutNode extends RawNode {\n cluster: number;\n}\n\ninterface ClusterBound {\n id: string;\n label: string;\n idx: number;\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\ninterface ComputedGraph {\n nodes: LayoutNode[];\n edges: Edge[];\n clusterBounds: ClusterBound[];\n canvasW: number;\n canvasH: number;\n}\n\ninterface Point {\n x: number;\n y: number;\n}\n\ninterface EdgePopupState {\n edge: Edge;\n screenX: number;\n screenY: number;\n}\n\ninterface NodePopupState {\n node: LayoutNode;\n screenX: number;\n screenY: number;\n}\n\nexport interface DependencyGraphProps {\n data: ApiData;\n isDarkMode?: boolean;\n style?: React.CSSProperties | any;\n sx?: any;\n}\n\ninterface DependencyGraphStyles extends React.CSSProperties {\n fullscreenPaper?: React.CSSProperties;\n root?: React.CSSProperties;\n header?: React.CSSProperties;\n title?: React.CSSProperties;\n subtitle?: React.CSSProperties;\n controls?: React.CSSProperties;\n controlButton?: React.CSSProperties;\n cluster?: React.CSSProperties;\n clusterLabel?: React.CSSProperties;\n node?: React.CSSProperties;\n selectedNode?: React.CSSProperties;\n nodeIcon?: React.CSSProperties;\n edge?: React.CSSProperties;\n activeEdge?: React.CSSProperties;\n edgeMarker?: React.CSSProperties;\n nodePopup?: React.CSSProperties;\n nodePopupHeader?: React.CSSProperties;\n nodePopupBody?: React.CSSProperties;\n popupCloseButton?: React.CSSProperties;\n edgePopup?: React.CSSProperties;\n edgePopupHeader?: React.CSSProperties;\n edgePopupBody?: React.CSSProperties;\n}\n\nexport interface DependencyGraphInnerProps {\n data: ApiData;\n onFullscreen?: () => void;\n isFullscreen?: boolean;\n isDarkMode?: boolean;\n style?: DependencyGraphStyles;\n}\n\n// const data: ApiData = {\"graph_id\": \"pg_deps_5e0066ee\", \"prompt_id\": \"\", \"last_analyzed_at\": \"2026-06-12T19:29:35Z\", \"clusters\": [{\"id\": \"cl_1\", \"label\": \"C1\"}, {\"id\": \"cl_2\", \"label\": \"C2\"}, {\"id\": \"cl_3\", \"label\": \"C3\"}], \"nodes\": [{\"id\": \"node_role\", \"label\": \"Role\", \"cluster_id\": \"cl_1\", \"x\": 153, \"y\": 50, \"description\": \"Defines the AI's persona as the 'Citations Recommendation Tool (CRT)' and its core mission to analyze ground truth and generate structured citation recommendations.\"}, {\"id\": \"node_core_capabilities\", \"label\": \"Core Capabilities\", \"cluster_id\": \"cl_1\", \"x\": 373, \"y\": 50, \"description\": \"Lists the key functions the CRT is designed to perform, such as generating citation recommendations, semantic matching, decision strength calculation, and gap analysis.\"}, {\"id\": \"node_input_format\", \"label\": \"Input Format\", \"cluster_id\": \"cl_2\", \"x\": 799, \"y\": 50, \"description\": \"Specifies the exact structured format in which the tool will receive its input, including available citations and ground truth data.\"}, {\"id\": \"node_output_format\", \"label\": \"Output Format\", \"cluster_id\": \"cl_3\", \"x\": 476, \"y\": 788, \"description\": \"Describes the two-part structure (conversational response and metadata block) required for every output, including key order and field definitions.\"}, {\"id\": \"node_recommendation_structure\", \"label\": \"Recommendation Structure\", \"cluster_id\": \"cl_3\", \"x\": 183, \"y\": 489, \"description\": \"Details the precise JSON structure for individual recommendation objects, including fields like citation_type, decision_strength, reasoning, and gap, along with their requirements.\"}, {\"id\": \"node_mandatory_citations\", \"label\": \"Mandatory Citations\", \"cluster_id\": \"cl_3\", \"x\": 50, \"y\": 835, \"description\": \"Instructs the tool to always include a specific citation ('CognitiveDecisioningCard') as the first recommendation with predefined attributes and 100% decision strength.\"}, {\"id\": \"node_citation_matching_algorithm\", \"label\": \"Citation Matching Algorithm\", \"cluster_id\": \"cl_3\", \"x\": 405, \"y\": 575, \"description\": \"Provides a detailed, step-by-step process for how the tool should generate citation recommendations, from parsing input to calculating scores and building the recommendations array.\"}, {\"id\": \"node_error_handling\", \"label\": \"Error Handling\", \"cluster_id\": \"cl_3\", \"x\": 260, \"y\": 928, \"description\": \"Defines specific responses and metadata structures for various error conditions, such as missing input, no ground truth, or no matching citations.\"}, {\"id\": \"node_example_response\", \"label\": \"Example Response\", \"cluster_id\": \"cl_2\", \"x\": 1019, \"y\": 50, \"description\": \"Illustrates a complete interaction with an example input and the corresponding expected output, demonstrating adherence to the specified formats and logic.\"}, {\"id\": \"node_best_practices\", \"label\": \"Best Practices\", \"cluster_id\": \"cl_3\", \"x\": 230, \"y\": 709, \"description\": \"Offers general guidelines and reminders for maintaining consistency and quality in the tool's responses, covering aspects like key order, brevity, and specificity.\"}], \"edges\": [{\"id\": \"e001\", \"source\": \"node_core_capabilities\", \"target\": \"node_role\", \"reasoning\": \"The capabilities listed are specific functions of the 'Citations Recommendation Tool (CRT)', directly linking them to the persona and mission established in the 'role' section.\", \"score\": 85, \"gap\": \"The connection is strong but inferred; the section describes the tool's functions without explicitly referencing the tool's name or mission from the 'role' section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e002\", \"source\": \"node_output_format\", \"target\": \"node_recommendation_structure\", \"reasoning\": \"The 'output_format' explicitly states that the 'recommendations' array within its 'Metadata Block' refers to 'Array of recommendation objects (see RecommendationStructure)', directly naming the section for definition.\", \"score\": 100, \"gap\": \"No gap identified.\", \"dependency_type\": \"explicit\"}, {\"id\": \"e003\", \"source\": \"node_output_format\", \"target\": \"node_citation_matching_algorithm\", \"reasoning\": \"The 'generate_recommendations' field in 'output_format' is directly controlled by the logic described in 'citation_matching_algorithm', which dictates when recommendations are generated or not.\", \"score\": 88, \"gap\": \"The 'output_format' defines the field, but the logic for populating it is entirely contained within 'citation_matching_algorithm', which is not explicitly referenced.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e004\", \"source\": \"node_output_format\", \"target\": \"node_error_handling\", \"reasoning\": \"The 'error_handling' section provides concrete examples of the 'output_format's 'Metadata Block' structure, showing how 'generate_recommendations' and 'recommendations' are populated under specific error conditions.\", \"score\": 75, \"gap\": \"While 'error_handling' uses the structure defined in 'output_format', it doesn't explicitly reference 'output_format' by name, making the link inferred through structural consistency.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e005\", \"source\": \"node_recommendation_structure\", \"target\": \"node_output_format\", \"reasoning\": \"The 'recommendation_structure' defines the objects that populate the 'recommendations' array, which is a key part of the 'output_format'. Without 'output_format', these objects would have no defined place in the overall response.\", \"score\": 89, \"gap\": \"The 'recommendation_structure' defines the content for a part of the 'output_format', but the 'output_format' only references it for its definition, not for its existence as a component of the output.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e006\", \"source\": \"node_recommendation_structure\", \"target\": \"node_citation_matching_algorithm\", \"reasoning\": \"The 'decision_strength', 'reasoning', and 'gap' fields within 'recommendation_structure' are all explicitly defined and calculated by the 'citation_matching_algorithm'.\", \"score\": 89, \"gap\": \"The 'citation_matching_algorithm' dictates the content and calculation for several fields within 'recommendation_structure', but 'recommendation_structure' itself doesn't explicitly point to the algorithm for these definitions.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e007\", \"source\": \"node_mandatory_citations\", \"target\": \"node_recommendation_structure\", \"reasoning\": \"The example recommendation object provided in 'mandatory_citations' strictly adheres to the format defined in 'recommendation_structure', using its field names and structure.\", \"score\": 89, \"gap\": \"The 'mandatory_citations' section provides a concrete example that perfectly matches the 'recommendation_structure', but it doesn't explicitly state that it is using or conforming to that structure.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e008\", \"source\": \"node_citation_matching_algorithm\", \"target\": \"node_input_format\", \"reasoning\": \"The algorithm's first step is to 'Parse ===AVAILABLE CITATIONS===' and 'Handle Ground Truth', both of which are input structures whose definition is provided in 'input_format'.\", \"score\": 89, \"gap\": \"The algorithm implicitly relies on the 'input_format' for the structure of its input, but it doesn't explicitly reference the 'input_format' section by name.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e009\", \"source\": \"node_citation_matching_algorithm\", \"target\": \"node_recommendation_structure\", \"reasoning\": \"The algorithm details how to generate 'decision_strength', 'reasoning', and 'gap' for each recommendation, which are all fields defined in 'recommendation_structure'.\", \"score\": 89, \"gap\": \"The algorithm defines the 'how' for elements whose 'what' is defined in 'recommendation_structure', but it doesn't explicitly name 'recommendation_structure' as the source of these definitions.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e010\", \"source\": \"node_citation_matching_algorithm\", \"target\": \"node_output_format\", \"reasoning\": \"The algorithm's steps directly influence the 'generate_recommendations' field and the 'recommendations' array within the 'output_format', dictating their content and conditions.\", \"score\": 89, \"gap\": \"The algorithm's output directly shapes the 'output_format', but the connection is inferred through the shared fields rather than an explicit reference to the 'output_format' section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e011\", \"source\": \"node_citation_matching_algorithm\", \"target\": \"node_mandatory_citations\", \"reasoning\": \"Step 7 of the algorithm explicitly states to 'Start with CognitiveDecisioningCard (mandatory, 100% strength)', directly incorporating the requirement and content defined in 'mandatory_citations'.\", \"score\": 95, \"gap\": \"The algorithm refers to the 'CognitiveDecisioningCard (mandatory, 100% strength)' but doesn't explicitly name the 'mandatory_citations' section as its source, leading to a minor ambiguity.\", \"dependency_type\": \"explicit\"}, {\"id\": \"e012\", \"source\": \"node_citation_matching_algorithm\", \"target\": \"node_error_handling\", \"reasoning\": \"The algorithm's Step 2 ('Handle Ground Truth') includes conditions that align with the 'No Ground Truth Available' error case described in 'error_handling', dictating when an error response is triggered.\", \"score\": 80, \"gap\": \"The algorithm implements a specific error condition, but it doesn't explicitly reference the 'error_handling' section as the source of this error definition.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e013\", \"source\": \"node_error_handling\", \"target\": \"node_output_format\", \"reasoning\": \"The 'error_handling' section provides specific examples of the 'Metadata Block' structure, including 'generate_recommendations' and 'recommendations' fields, which are defined in 'output_format'.\", \"score\": 89, \"gap\": \"The 'error_handling' section provides concrete examples that adhere to the 'output_format's structure, but it doesn't explicitly state that it is following the 'output_format' section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e014\", \"source\": \"node_error_handling\", \"target\": \"node_mandatory_citations\", \"reasoning\": \"The 'No Matches Found' error response explicitly includes the 'CognitiveDecisioningCard' recommendation with its specific 'reasoning' and 'gap', directly incorporating content from 'mandatory_citations'.\", \"score\": 89, \"gap\": \"The 'error_handling' section includes the mandatory card, but it doesn't explicitly reference the 'mandatory_citations' section as the source of this requirement.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e015\", \"source\": \"node_error_handling\", \"target\": \"node_citation_matching_algorithm\", \"reasoning\": \"The conditions for triggering the error responses (e.g., 'No Ground Truth Available', 'No Matches Found') are determined by the logic in 'citation_matching_algorithm'.\", \"score\": 85, \"gap\": \"The 'error_handling' defines the output for error conditions, but the 'citation_matching_algorithm' dictates when those conditions are met, a link that is strong but not explicitly stated.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e016\", \"source\": \"node_example_response\", \"target\": \"node_input_format\", \"reasoning\": \"The 'Input' part of the example strictly follows the structure defined in 'input_format', including the '===AVAILABLE CITATIONS===' and '===GROUND TRUTH===' sections.\", \"score\": 89, \"gap\": \"The example implicitly demonstrates adherence to the 'input_format' without explicitly stating that it is following that section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e017\", \"source\": \"node_example_response\", \"target\": \"node_output_format\", \"reasoning\": \"The 'Output' part of the example strictly follows the structure defined in 'output_format', including the 'Conversational Response' and 'Metadata Block' with specific fields.\", \"score\": 89, \"gap\": \"The example implicitly demonstrates adherence to the 'output_format' without explicitly stating that it is following that section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e018\", \"source\": \"node_example_response\", \"target\": \"node_recommendation_structure\", \"reasoning\": \"The individual recommendation objects within the 'Output' part of the example adhere to the structure defined in 'recommendation_structure', including fields like 'citation_type', 'decision_strength', 'reasoning', and 'gap'.\", \"score\": 89, \"gap\": \"The example implicitly demonstrates adherence to the 'recommendation_structure' without explicitly stating that it is following that section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e019\", \"source\": \"node_example_response\", \"target\": \"node_mandatory_citations\", \"reasoning\": \"The example output correctly includes the 'CognitiveDecisioningCard' as the first recommendation with 100% decision strength, as required by 'mandatory_citations'.\", \"score\": 89, \"gap\": \"The example implicitly demonstrates adherence to the 'mandatory_citations' requirement without explicitly stating that it is following that section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e020\", \"source\": \"node_example_response\", \"target\": \"node_citation_matching_algorithm\", \"reasoning\": \"The example output's 'decision_strength', 'reasoning', and 'gap' for the 'CitationsViewer' recommendation are consistent with the calculation and generation steps outlined in 'citation_matching_algorithm'.\", \"score\": 85, \"gap\": \"The example output is a result of applying the 'citation_matching_algorithm', but the example itself doesn't explicitly reference the algorithm as the source of its logic.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e021\", \"source\": \"node_best_practices\", \"target\": \"node_output_format\", \"reasoning\": \"The best practices regarding 'key order: generate_recommendations, recommendations' and keeping the 'conversational response brief' directly refer to structural elements defined in 'output_format'.\", \"score\": 89, \"gap\": \"The 'best_practices' section refers to elements of the 'output_format' but doesn't explicitly name the 'output_format' section as their source.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e022\", \"source\": \"node_best_practices\", \"target\": \"node_recommendation_structure\", \"reasoning\": \"The best practices regarding 'line numbers in all reasoning points' and being 'specific in gap analysis' directly refer to requirements for the 'reasoning' and 'gap' fields within 'recommendation_structure'.\", \"score\": 89, \"gap\": \"The 'best_practices' section refers to elements of the 'recommendation_structure' but doesn't explicitly name the 'recommendation_structure' section as their source.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e023\", \"source\": \"node_best_practices\", \"target\": \"node_mandatory_citations\", \"reasoning\": \"The best practice 'Always include CognitiveDecisioningCard as the first recommendation with 100% strength' is a direct restatement of the core instruction in 'mandatory_citations'.\", \"score\": 89, \"gap\": \"The 'best_practices' section restates a rule from 'mandatory_citations' but doesn't explicitly name 'mandatory_citations' as the source of that rule.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e024\", \"source\": \"node_best_practices\", \"target\": \"node_citation_matching_algorithm\", \"reasoning\": \"The best practices regarding 'Deduplicate when multiple ground truths match' and 'Generate recommendations immediately' refer to operational steps defined in 'citation_matching_algorithm'.\", \"score\": 85, \"gap\": \"The 'best_practices' section refers to operational aspects that are fully defined in 'citation_matching_algorithm', but it doesn't explicitly name the algorithm section.\", \"dependency_type\": \"implicit\"}, {\"id\": \"e025\", \"source\": \"node_best_practices\", \"target\": \"node_error_handling\", \"reasoning\": \"The best practice 'Generate recommendations immediately whenever ground truth is provided \\u2014 no confirmation steps required' implicitly refers to the handling of 'No Ground Truth Available' from 'error_handling'.\", \"score\": 70, \"gap\": \"The connection is indirect; the best practice implies a contrast with error conditions, but it doesn't directly reference the 'error_handling' section.\", \"dependency_type\": \"implicit\"}]};\n\n\nconst NODE_W: number = 170;\nconst NODE_H: number = 48;\n\nconst CL_BG: string[] = [\"#ede9fe\", \"#e0f2fe\", \"#fef3c7\", \"#dcfce7\", \"#ffe4e6\", \"#f0fdf4\", \"#fef9c3\", \"#e0e7ff\", \"#fce7f3\", \"#f1f5f9\"];\nconst CL_FG: string[] = [\"#7c3aed\", \"#0284c7\", \"#b45309\", \"#16a34a\", \"#e11d48\", \"#15803d\", \"#a16207\", \"#4338ca\", \"#db2777\", \"#475569\"];\nconst CL_ICON: string[] = [\"⚙\", \"◈\", \"⟐\", \"✦\", \"◎\", \"⬡\", \"◇\", \"⊕\", \"✶\", \"◉\"];\nconst CL_BORDER_ACTIVE: string[] = [\"#a78bfa\", \"#7dd3fc\", \"#fbbf24\", \"#86efac\", \"#fda4af\", \"#6ee7b7\", \"#fde047\", \"#a5b4fc\", \"#f9a8d4\", \"#94a3b8\"];\nconst CL_GRAD: string[] = [\n \"linear-gradient(135deg,#7c3aed,#a78bfa)\",\n \"linear-gradient(135deg,#0284c7,#38bdf8)\",\n \"linear-gradient(135deg,#b45309,#fbbf24)\",\n \"linear-gradient(135deg,#16a34a,#86efac)\",\n \"linear-gradient(135deg,#e11d48,#fda4af)\",\n \"linear-gradient(135deg,#15803d,#6ee7b7)\",\n \"linear-gradient(135deg,#a16207,#fde047)\",\n \"linear-gradient(135deg,#4338ca,#a5b4fc)\",\n \"linear-gradient(135deg,#db2777,#f9a8d4)\",\n \"linear-gradient(135deg,#475569,#94a3b8)\",\n];\n\n// ─── Auto Layout — rank-seeded force-directed ──\n\nfunction autoLayout(rawNodes: RawNode[] = [], rawEdges: Edge[] = [], rawClusters: Cluster[] = []): Map<string, Position> {\n const nodes = Array.isArray(rawNodes) ? rawNodes : [];\n const edges = Array.isArray(rawEdges) ? rawEdges : [];\n const clusters = Array.isArray(rawClusters) ? rawClusters : [];\n const N: number = nodes.length;\n if (N === 0) return new Map();\n\n const idxOf: Record<string, number> = {};\n nodes.forEach((n, i) => { idxOf[n.id] = i; });\n\n // ── 1. Build adjacency & compute topological rank \n const outN: Record<string, string[]> = {};\n const inN: Record<string, string[]> = {};\n nodes.forEach((n) => { outN[n.id] = []; inN[n.id] = []; });\n\n edges.forEach((e) => {\n if (outN[e.source]) outN[e.source].push(e.target);\n if (inN[e.target]) inN[e.target].push(e.source);\n });\n\n // Iterative longest-path relaxation (handles cycles by capping at N)\n const rank: Record<string, number> = {};\n nodes.forEach((n) => { rank[n.id] = 0; });\n\n for (let pass = 0; pass < N; pass++) {\n\n let changed = false;\n\n for (const e of edges) {\n const nr: number = (rank[e.source] || 0) + 1;\n if (nr > (rank[e.target] || 0) && nr < N) {\n rank[e.target] = nr;\n changed = true;\n }\n }\n if (!changed) break;\n }\n\n // ── 2. Initial placement: rank → Y, cluster stagger → X \n const clusterCol: Record<string, number> = {};\n clusters.forEach((c, i) => { clusterCol[c.id] = i; });\n\n // Sort within each cluster by rank for cleaner vertical stacking\n const clusterGroups: Record<string, RawNode[]> = {};\n \n clusters.forEach((c) => { clusterGroups[c.id] = []; });\n nodes.forEach((n) => { clusterGroups[n.cluster_id]?.push(n); });\n Object.values(clusterGroups).forEach((g) =>\n g.sort((a, b) => (rank[a.id] || 0) - (rank[b.id] || 0))\n );\n\n const COL_GAP: number = 520;\n const ROW_GAP: number = 200;\n const px: Float64Array = new Float64Array(N);\n const py: Float64Array = new Float64Array(N);\n const vx: Float64Array = new Float64Array(N);\n const vy: Float64Array = new Float64Array(N);\n\n for (const c of clusters) {\n const col: number = clusterCol[c.id] ?? 0;\n const group: RawNode[] = clusterGroups[c.id] || [];\n\n group.forEach((n, row) => {\n const i: number = idxOf[n.id];\n px[i] = col * COL_GAP + 280;\n py[i] = row * ROW_GAP + 120;\n });\n\n }\n\n // ── 3. Force simulation\n const REPULSION: number = 480000;\n const SPRING_K: number = 0.004;\n const IDEAL_LEN: number = 380;\n const CLUSTER_K: number = 0.0015;\n const RANK_GRAVITY: number = 0.002; \n const DAMPING: number = 0.84;\n const ITERS: number = 350;\n\n // Pre-compute per-node target Y from rank (used for rank-gravity)\n const maxRank: number = Math.max(...nodes.map((n) => rank[n.id] || 0), 1);\n const rankTargetY: Float64Array = new Float64Array(N);\n\n for (let i = 0; i < N; i++) {\n rankTargetY[i] = ((rank[nodes[i].id] || 0) / maxRank) * (N * ROW_GAP * 0.6) + 120;\n }\n\n for (let iter = 0; iter < ITERS; iter++) {\n\n const t: number = Math.max(0.015, 1 - iter / ITERS);\n const fx: Float64Array = new Float64Array(N);\n const fy: Float64Array = new Float64Array(N);\n\n // Repulsion (all pairs — strong to keep nodes well apart)\n for (let i = 0; i < N; i++) {\n for (let j = i + 1; j < N; j++) {\n\n let dx: number = px[i] - px[j], dy: number = py[i] - py[j];\n let d2: number = dx * dx + dy * dy;\n\n if (d2 < 400) {\n dx = (i - j) * 12;\n dy = (i + j) * 8;\n d2 = dx * dx + dy * dy;\n }\n\n const d: number = Math.sqrt(d2);\n const f: number = REPULSION / d2;\n\n const ux: number = (dx / d) * f, uy: number = (dy / d) * f;\n\n fx[i] += ux; fy[i] += uy;\n fx[j] -= ux; fy[j] -= uy;\n }\n }\n\n // Spring attraction along edges\n for (const e of edges) {\n\n const si: number | undefined = idxOf[e.source], ti: number | undefined = idxOf[e.target];\n\n if (si === undefined || ti === undefined) continue;\n const dx: number = px[ti] - px[si], dy: number = py[ti] - py[si];\n const d: number = Math.sqrt(dx * dx + dy * dy);\n\n if (d < 1) continue;\n\n const f: number = (d - IDEAL_LEN) * SPRING_K;\n const ux: number = (dx / d) * f, uy: number = (dy / d) * f;\n fx[si] += ux; fy[si] += uy;\n fx[ti] -= ux; fy[ti] -= uy;\n\n }\n\n // Cluster cohesion (gentle — just group, don't squish)\n const csx: Record<string, number> = {}, csy: Record<string, number> = {}, cnt: Record<string, number> = {};\n for (let i = 0; i < N; i++) {\n\n const c: string = nodes[i].cluster_id;\n csx[c] = (csx[c] || 0) + px[i];\n csy[c] = (csy[c] || 0) + py[i];\n cnt[c] = (cnt[c] || 0) + 1;\n\n }\n\n for (let i = 0; i < N; i++) {\n const c: string = nodes[i].cluster_id;\n fx[i] += (csx[c] / cnt[c] - px[i]) * CLUSTER_K;\n fy[i] += (csy[c] / cnt[c] - py[i]) * CLUSTER_K;\n }\n\n // Rank gravity — nudge Y toward rank-based target so flow reads top→bottom\n for (let i = 0; i < N; i++) {\n fy[i] += (rankTargetY[i] - py[i]) * RANK_GRAVITY;\n }\n\n // Integrate with cooling\n for (let i = 0; i < N; i++) {\n vx[i] = (vx[i] + fx[i]) * DAMPING * t;\n vy[i] = (vy[i] + fy[i]) * DAMPING * t;\n px[i] += vx[i];\n py[i] += vy[i];\n }\n }\n\n // ── 4. Overlap resolution with generous margins \n const MIN_DX: number = NODE_W + 100, MIN_DY: number = NODE_H + 80;\n\n for (let pass = 0; pass < 40; pass++) {\n\n let moved = false;\n\n for (let i = 0; i < N; i++) {\n for (let j = i + 1; j < N; j++) {\n const dx: number = px[i] - px[j], dy: number = py[i] - py[j];\n const ox: number = MIN_DX - Math.abs(dx), oy: number = MIN_DY - Math.abs(dy);\n if (ox > 0 && oy > 0) {\n moved = true;\n if (ox < oy) {\n const push: number = ox / 2 + 5;\n px[i] += dx > 0 ? push : -push;\n px[j] -= dx > 0 ? push : -push;\n } else {\n const push: number = oy / 2 + 5;\n py[i] += dy > 0 ? push : -push;\n py[j] -= dy > 0 ? push : -push;\n }\n }\n }\n }\n if (!moved) break;\n }\n\n // ── 5. Normalize to positive coords with comfortable padding \n let minX: number = Infinity, minY: number = Infinity;\n\n for (let i = 0; i < N; i++) {\n minX = Math.min(minX, px[i]);\n minY = Math.min(minY, py[i]);\n }\n\n const result: Map<string, Position> = new Map();\n\n for (let i = 0; i < N; i++) {\n result.set(nodes[i].id, {\n x: Math.round(px[i] - minX + 80),\n y: Math.round(py[i] - minY + 80),\n });\n }\n\n return result;\n}\n\n\nfunction computeGraph(apiData: ApiData): ComputedGraph {\n const clusters = Array.isArray(apiData?.clusters) ? apiData.clusters : [];\n const rawNodes = Array.isArray(apiData?.nodes) ? apiData.nodes : [];\n const edges = Array.isArray(apiData?.edges) ? apiData.edges : [];\n\n // Compute positions frontend-side (ignores backend x/y)\n const positions: Map<string, Position> = autoLayout(rawNodes, edges, clusters);\n\n const nodes: RawNode[] = rawNodes.map((n) => {\n const p: Position = positions.get(n.id) || { x: 0, y: 0 };\n return { ...n, x: p.x, y: p.y };\n });\n\n const clusterIdToIdx: Record<string, number> = {};\n clusters.forEach((c, i) => { clusterIdToIdx[c.id] = i; });\n\n const clusterNodes: Record<string, RawNode[]> = {};\n clusters.forEach((c) => { clusterNodes[c.id] = []; });\n nodes.forEach((n) => { clusterNodes[n.cluster_id]?.push(n); });\n\n const PAD: number = 36;\n\n const clusterBounds: ClusterBound[] = clusters\n .map((c) => {\n const cn: RawNode[] = clusterNodes[c.id];\n\n if (!cn.length) return null;\n\n const minX: number = Math.min(...cn.map((n) => n.x));\n const minY: number = Math.min(...cn.map((n) => n.y));\n const maxX: number = Math.max(...cn.map((n) => n.x + NODE_W));\n const maxY: number = Math.max(...cn.map((n) => n.y + NODE_H));\n\n return {\n id: c.id,\n label: c.label,\n idx: clusterIdToIdx[c.id],\n x: minX - PAD,\n y: minY - PAD,\n width: maxX - minX + PAD * 2,\n height: maxY - minY + PAD * 2 + 22,\n };\n\n })\n .filter((cb): cb is ClusterBound => cb !== null);\n\n const layoutNodes: LayoutNode[] = nodes.map((n) => ({\n ...n,\n cluster: clusterIdToIdx[n.cluster_id] ?? 0,\n }));\n\n const canvasW: number = Math.max(...nodes.map((n) => n.x + NODE_W)) + PAD * 2;\n const canvasH: number = Math.max(...nodes.map((n) => n.y + NODE_H)) + PAD * 2;\n\n return { nodes: layoutNodes, edges, clusterBounds, canvasW, canvasH };\n}\n\nfunction getConnectionPoints(sn: LayoutNode, tn: LayoutNode): { source: Point; target: Point } {\n const sCx: number = sn.x + NODE_W / 2, sCy: number = sn.y + NODE_H / 2;\n const tCx: number = tn.x + NODE_W / 2, tCy: number = tn.y + NODE_H / 2;\n\n function getPort(cx: number, cy: number, ox: number, oy: number): Point {\n\n const dx: number = ox - cx, dy: number = oy - cy;\n\n if (Math.abs(dy) > Math.abs(dx) * 0.4)\n return dy > 0 ? { x: cx, y: cy + NODE_H / 2 } : { x: cx, y: cy - NODE_H / 2 };\n return dx > 0 ? { x: cx + NODE_W / 2, y: cy } : { x: cx - NODE_W / 2, y: cy };\n }\n\n return {\n source: getPort(sCx, sCy, tCx, tCy),\n target: getPort(tCx, tCy, sCx, sCy),\n };\n}\n\nfunction getEdgePath(edge: Edge, nodesMap: Record<string, LayoutNode>, allEdges: Edge[]): string {\n const sn: LayoutNode | undefined = nodesMap[edge.source], tn: LayoutNode | undefined = nodesMap[edge.target];\n\n if (!sn || !tn) return \"\";\n\n const { source: s, target: t } = getConnectionPoints(sn, tn);\n\n const dx: number = t.x - s.x, dy: number = t.y - s.y;\n const dist: number = Math.sqrt(dx * dx + dy * dy);\n\n if (dist < 5) return `M ${s.x} ${s.y} L ${t.x} ${t.y}`;\n\n // Back-edge: target well above source — route wide around the left side\n const isBack: boolean = tn.y + 150 < sn.y && tn.y < sn.y - NODE_H;\n\n if (isBack) {\n const side: number = Math.min(sn.x, tn.x) - 110;\n return `M ${s.x} ${s.y} C ${side} ${s.y}, ${side} ${t.y}, ${t.x} ${t.y}`;\n }\n\n // Check for a reverse edge (A→B and B→A) — curve in opposite directions\n const hasReverse: boolean = allEdges.some(\n (e) => e.source === edge.target && e.target === edge.source\n );\n\n const nx: number = -dy / dist, ny: number = dx / dist; // perpendicular unit normal\n\n if (hasReverse) {\n // Deterministic sign: alphabetically-first source always curves one way\n const sign: number = edge.source < edge.target ? 1 : -1;\n const bend: number = Math.max(dist * 0.18, 40) * sign;\n const mx: number = (s.x + t.x) / 2 + nx * bend;\n const my: number = (s.y + t.y) / 2 + ny * bend;\n return `M ${s.x} ${s.y} Q ${mx} ${my} ${t.x} ${t.y}`;\n }\n\n // Normal edge — gentle curve (always curves the same perpendicular side)\n const bend: number = Math.min(dist * 0.12, 55);\n const mx: number = (s.x + t.x) / 2 + nx * bend;\n const my: number = (s.y + t.y) / 2 + ny * bend;\n return `M ${s.x} ${s.y} Q ${mx} ${my} ${t.x} ${t.y}`;\n}\n\n\n\n\nfunction DependencyGraphInner({ data, onFullscreen, isFullscreen, isDarkMode = false, style }: DependencyGraphInnerProps): React.ReactElement {\n const containerRef = useRef<HTMLDivElement>(null);\n const [pan, setPan] = useState<Position>({ x: 0, y: 0 });\n const [zoom, setZoom] = useState<number>(0.5);\n const [isPanning, setIsPanning] = useState<boolean>(false);\n const panStart = useRef<Position>({ x: 0, y: 0 });\n const panOrigin = useRef<Position>({ x: 0, y: 0 });\n\n const [edgePopup, setEdgePopup] = useState<EdgePopupState | null>(null);\n const [nodePopup, setNodePopup] = useState<NodePopupState | null>(null);\n const [hoveredEdge, setHoveredEdge] = useState<string | null>(null);\n const [selectedNode, setSelectedNode] = useState<string | null>(null);\n\n const graph: ComputedGraph = useMemo(() => computeGraph(data), [data]);\n\n const nodesMap: Record<string, LayoutNode> = useMemo(() => {\n const m: Record<string, LayoutNode> = {};\n graph.nodes.forEach((n) => { m[n.id] = n; });\n return m;\n }, [graph]);\n\n const clusterIdToIdx: Record<string, number> = useMemo(() => {\n const m: Record<string, number> = {};\n data.clusters.forEach((c, i) => { m[c.id] = i; });\n return m;\n }, [data]);\n\n const activeEdges: Set<string> = useMemo(() => {\n if (!selectedNode) return new Set();\n return new Set(\n graph.edges\n .filter((e) => e.source === selectedNode || e.target === selectedNode)\n .map((e) => e.id)\n );\n }, [selectedNode, graph.edges]);\n\n const connectedNodes: Set<string> = useMemo(() => {\n\n if (!selectedNode) return new Set();\n\n const ids = new Set<string>([selectedNode]);\n\n graph.edges.forEach((e) => {\n if (e.source === selectedNode) ids.add(e.target);\n if (e.target === selectedNode) ids.add(e.source);\n });\n return ids;\n }, [selectedNode, graph.edges]);\n\n const lastAnalyzed: string = useMemo(() => {\n const d = new Date(data.last_analyzed_at);\n return d.toLocaleString(\"en-US\", {\n hour: \"numeric\",\n minute: \"2-digit\",\n hour12: true,\n day: \"numeric\",\n month: \"short\",\n year: \"numeric\",\n });\n }, [data.last_analyzed_at]);\n\n const handlePointerDown = useCallback((e: React.PointerEvent<HTMLDivElement>): void => {\n\n if ((e.target as HTMLElement).closest(\"[data-edge-hit]\") || (e.target as HTMLElement).closest(\"[data-node]\")) return;\n\n setIsPanning(true);\n panStart.current = { x: e.clientX, y: e.clientY };\n panOrigin.current = { ...pan };\n e.currentTarget.style.cursor = \"grabbing\";\n\n }, [pan]);\n\n const handlePointerMove = useCallback((e: React.PointerEvent<HTMLDivElement>): void => {\n\n if (!isPanning) return;\n\n setPan({\n x: panOrigin.current.x + (e.clientX - panStart.current.x),\n y: panOrigin.current.y + (e.clientY - panStart.current.y),\n });\n\n }, [isPanning]);\n\n const handlePointerUp = useCallback((): void => {\n\n setIsPanning(false);\n if (containerRef.current) containerRef.current.style.cursor = \"grab\";\n\n }, []);\n\n const handleWheel = useCallback((e: WheelEvent): void => {\n e.preventDefault();\n setZoom((z) => Math.min(2.5, Math.max(0.2, z - e.deltaY * 0.001)));\n }, []);\n\n useEffect(() => {\n\n const el: HTMLDivElement | null = containerRef.current;\n if (el) el.addEventListener(\"wheel\", handleWheel, { passive: false });\n return () => el?.removeEventListener(\"wheel\", handleWheel);\n\n }, [handleWheel]);\n\n const handleEdgeClick = (e: React.MouseEvent, edge: Edge): void => {\n\n e.stopPropagation();\n\n const rect: DOMRect = containerRef.current!.getBoundingClientRect();\n setEdgePopup({ edge, screenX: e.clientX - rect.left, screenY: e.clientY - rect.top });\n setNodePopup(null);\n setSelectedNode(null);\n };\n\n const handleNodeClick = (e: React.MouseEvent, node: LayoutNode): void => {\n\n e.stopPropagation();\n\n const rect: DOMRect = containerRef.current!.getBoundingClientRect();\n if (selectedNode === node.id) {\n setSelectedNode(null);\n setNodePopup(null);\n } else {\n setSelectedNode(node.id);\n setNodePopup({ node, screenX: e.clientX - rect.left, screenY: e.clientY - rect.top });\n setEdgePopup(null);\n }\n\n };\n\n const handleBgClick = (): void => {\n setEdgePopup(null);\n setNodePopup(null);\n setSelectedNode(null);\n };\n\n function getPopupPos(screenX: number, screenY: number, w: number, h: number): { left?: number; top?: number } {\n \n if (!containerRef.current) return {};\n\n const rect: DOMRect = containerRef.current.getBoundingClientRect();\n let x: number = screenX + 14, y: number = screenY - h / 2;\n if (x + w > rect.width) x = screenX - w - 14;\n if (y < 8) y = 8;\n if (y + h > rect.height) y = rect.height - h - 8;\n\n return { left: x, top: y };\n\n }\n\n const zoomIn = (): void => setZoom((z) => Math.min(2.5, z + 0.15));\n const zoomOut = (): void => setZoom((z) => Math.max(0.2, z - 0.15));\n const zoomReset = (): void => { setZoom(0.5); setPan({ x: 0, y: 0 }); };\n\n const graphBackground = style?.backgroundColor || style?.background || (isDarkMode ? \"#090d16\" : \"#ffffff\");\n const graphForeground = style?.color || (isDarkMode ? \"#f8fafc\" : \"#1e293b\");\n const graphMutedForeground = style?.subtitle?.color || (isDarkMode ? \"#94a3b8\" : \"#94a3b8\");\n const toSvgPaint = (value: unknown, fallback: string): string =>\n typeof value === \"string\" ? value : fallback;\n\n const zBtnStyle: React.CSSProperties = {\n width: 32, height: 32, border: \"none\", background: \"transparent\",\n borderRadius: 8, cursor: \"pointer\", fontSize: 16, color: isDarkMode ? \"#cbd5e1\" : \"#475569\",\n display: \"flex\", alignItems: \"center\", justifyContent: \"center\", fontWeight: 500,\n ...style?.controlButton,\n };\n\n return (\n <div style={{ width: \"100%\", height: \"100%\", background: graphBackground, color: graphForeground, fontFamily: \"'Inter', -apple-system, BlinkMacSystemFont, sans-serif\", position: \"relative\", overflow: \"hidden\", ...style?.root }}>\n\n {/* Header */}\n <div style={{ position: \"absolute\", top: 0, left: 0, right: 0, zIndex: 20, borderBottom: isFullscreen ? (isDarkMode ? \"1px solid #1e293b\" : \"1px solid #f1f5f9\") : \"none\", background: isFullscreen ? graphBackground : \"transparent\", ...style?.header }}>\n <div style={{ padding: \"10px 14px\", display: \"flex\", alignItems: \"center\", justifyContent: \"space-between\" }}>\n <div>\n {isFullscreen && <h2 style={{ margin: 0, fontSize: 17, fontWeight: 700, color: graphForeground, ...style?.title }}>Dependency Graph</h2>}\n <p style={{ margin: \"2px 0 0\", fontSize: 12, color: graphMutedForeground, ...style?.subtitle }}>{isFullscreen ? `Last analyzed: ${lastAnalyzed || \"\"} · ` : `Last analyzed: ${lastAnalyzed || \"\"} · `}Click a node or connection to explore details and dependencies.</p>\n </div>\n <div style={{ display: \"flex\", gap: 6, alignItems: \"center\" }}>\n <div style={{ display: \"flex\", gap: 2, background: isDarkMode ? \"#1e293b\" : \"#fff\", borderRadius: 10, padding: 3, boxShadow: isDarkMode ? \"0 1px 4px rgba(0,0,0,0.4)\" : \"0 1px 4px rgba(0,0,0,0.08)\", ...style?.controls }}>\n <button onClick={zoomOut} style={zBtnStyle}>−</button>\n <button onClick={zoomReset} style={{ ...zBtnStyle, fontSize: 11, width: 52, fontWeight: 600 }}>{Math.round(zoom * 100) || 0}%</button>\n <button onClick={zoomIn} style={zBtnStyle}>+</button>\n </div>\n {onFullscreen && (\n <div style={{ display: \"flex\", background: isDarkMode ? \"#1e293b\" : \"#fff\", borderRadius: 10, padding: 3, boxShadow: isDarkMode ? \"0 1px 4px rgba(0,0,0,0.4)\" : \"0 1px 4px rgba(0,0,0,0.08)\", ...style?.controls }}>\n <button onClick={onFullscreen} style={zBtnStyle}>\n {isFullscreen \n ? <CloseFullscreenIcon style={{ fontSize: 16 }} />\n : <FullscreenIcon style={{ fontSize: 16 }} />\n }\n </button>\n </div>\n )}\n </div>\n </div>\n\n {/* Node info panel */}\n {nodePopup && (\n <div style={{ margin: \"0 20px 14px\", width: \"30%\", minWidth: 280, borderRadius: 12, overflow: \"hidden\", boxShadow: \"0 2px 12px rgba(0,0,0,0.07)\", border: \"1px solid #e2e8f0\", animation: \"slideDown 0.2s ease-out\", ...style?.nodePopup }}>\n {(() => {\n const node: LayoutNode = nodePopup.node;\n const idx: number = clusterIdToIdx[node.cluster_id] ?? 0;\n const outgoing: number = graph.edges.filter((e) => e.source === node.id).length;\n const incoming: number = graph.edges.filter((e) => e.target === node.id).length;\n return (\n <div>\n <div style={{ padding: \"10px 14px\", background: CL_GRAD[idx % CL_GRAD.length || 0], color: \"#fff\", display: \"flex\", alignItems: \"center\", justifyContent: \"space-between\", ...style?.nodePopupHeader }}>\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 10 }}>\n <span style={{ width: 28, height: 28, borderRadius: 8, background: \"rgba(255,255,255,0.2)\", display: \"flex\", alignItems: \"center\", justifyContent: \"center\", fontSize: 14 }}>\n {CL_ICON[idx % CL_ICON.length || 0]}\n </span>\n <div>\n <div style={{ fontSize: 9, fontWeight: 600, textTransform: \"uppercase\", letterSpacing: \"0.06em\", opacity: 0.75 }}>{data.clusters[idx]?.label || \"Cluster Name\"}</div>\n <div style={{ fontSize: 14, fontWeight: 700, marginTop: 1 }}>{node.label || \"Cluster Name\"}</div>\n </div>\n {/* <div style={{ display: \"flex\", gap: 6, marginLeft: 8 }}>\n <span style={{ fontSize: 11, background: \"rgba(255,255,255,0.2)\", padding: \"2px 8px\", borderRadius: 20 }}>↑ {outgoing} out</span>\n <span style={{ fontSize: 11, background: \"rgba(255,255,255,0.2)\", padding: \"2px 8px\", borderRadius: 20 }}>↓ {incoming} in</span>\n </div> */}\n </div>\n <button onClick={() => { setNodePopup(null); setSelectedNode(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\", flexShrink: 0, ...style?.popupCloseButton }}>×</button>\n </div>\n <div style={{ padding: \"10px 14px\", fontSize: 13, lineHeight: 1.6, color: isDarkMode ? \"#cbd5e1\" : \"#475569\", background: isDarkMode ? \"#1e293b\" : \"#fff\", ...style?.nodePopupBody }}>\n {node.description || \"No description available...\"}\n </div>\n </div>\n );\n })()}\n </div>\n )}\n </div>\n\n {/* Canvas */}\n <div\n ref={containerRef}\n onPointerDown={handlePointerDown}\n onPointerMove={handlePointerMove}\n onPointerUp={handlePointerUp}\n onPointerLeave={handlePointerUp}\n onClick={handleBgClick}\n style={{ width: \"100%\", height: \"100%\", cursor: isPanning ? \"grabbing\" : \"grab\", position: \"relative\" }}\n >\n <div style={{ transform: `translate(${pan.x}px, ${pan.y}px) scale(${zoom})`, transformOrigin: \"top left\", position: \"absolute\", top: isFullscreen ? 70 : 50, left: 20, transition: isPanning ? \"none\" : \"transform 0.08s ease-out\" }}>\n <svg width={graph.canvasW} height={graph.canvasH} style={{ overflow: \"visible\" }}>\n\n {/* Cluster backgrounds */}\n {graph.clusterBounds.map((cb) => (\n <g key={cb.id}>\n <rect x={cb.x} y={cb.y} width={cb.width} height={cb.height} rx=\"16\" fill={toSvgPaint(style?.cluster?.backgroundColor || style?.cluster?.background, isDarkMode ? \"rgba(30, 41, 59, 0.35)\" : \"none\")} stroke={toSvgPaint(style?.cluster?.borderColor || style?.cluster?.border, isDarkMode ? \"#334155\" : \"#e2e8f0\")} strokeWidth=\"1.5\" strokeDasharray=\"8 4\" />\n <text x={cb.x + 14} y={cb.y + cb.height - 10} fontSize=\"11\" fill={toSvgPaint(style?.clusterLabel?.color, \"#94a3b8\")} fontFamily=\"Inter, sans-serif\" fontWeight=\"500\">{cb.label || \"Cluster Name\"}</text>\n </g>\n ))}\n\n {/* Edges */}\n {graph.edges.map((edge) => {\n const path: string = getEdgePath(edge, nodesMap, graph.edges);\n if (!path) return null;\n const isEdgeActive: boolean = activeEdges.has(edge.id);\n const isEdgePopup: boolean = edgePopup?.edge.id === edge.id;\n const isHovered: boolean = hoveredEdge === edge.id;\n const dimmed: boolean = !!selectedNode && !isEdgeActive;\n const color: string = (isEdgeActive || isEdgePopup)\n ? (style?.activeEdge?.color || style?.activeEdge?.borderColor || \"#6366f1\")\n : isHovered\n ? (style?.edge?.color || \"#818cf8\")\n : (style?.edge?.borderColor || style?.edge?.color || (isDarkMode ? \"#475569\" : \"#cbd5e1\"));\n const strokeW: number = (isEdgeActive || isEdgePopup) ? 2.5 : isHovered ? 2 : 1.5;\n return (\n <g key={edge.id} style={{ opacity: dimmed ? 0.1 : 1, transition: \"opacity 0.25s\" }}>\n <path data-edge-hit=\"true\" d={path} fill=\"none\" stroke=\"transparent\" strokeWidth={18}\n style={{ cursor: \"pointer\" }}\n onClick={(e: React.MouseEvent<SVGPathElement>) => handleEdgeClick(e, edge)}\n onMouseEnter={() => setHoveredEdge(edge.id)}\n onMouseLeave={() => setHoveredEdge(null)} />\n <path d={path} fill=\"none\" stroke={color} strokeWidth={strokeW}\n style={{ transition: \"stroke 0.2s, stroke-width 0.2s\", pointerEvents: \"none\" }} />\n {(isEdgeActive || isEdgePopup) && (\n <>\n <circle r={4} fill={style?.edgeMarker?.color || style?.activeEdge?.color || \"#6366f1\"}><animateMotion dur=\"1.8s\" repeatCount=\"indefinite\" path={path} /></circle>\n <circle r={6} fill={style?.edgeMarker?.color || style?.activeEdge?.color || \"#6366f1\"} opacity={0.2}><animateMotion dur=\"1.8s\" repeatCount=\"indefinite\" path={path} /></circle>\n </>\n )}\n </g>\n );\n })}\n\n {/* Nodes */}\n {graph.nodes.map((node) => {\n const isSelected: boolean = selectedNode === node.id;\n const isConnected: boolean = connectedNodes.has(node.id);\n const dimmed: boolean = !!selectedNode && !isConnected;\n const idx: number = clusterIdToIdx[node.cluster_id] ?? 0;\n const clusterIdx: number = idx % CL_BORDER_ACTIVE.length;\n const cc: string = CL_BORDER_ACTIVE[clusterIdx || 0];\n return (\n <g key={node.id} data-node=\"true\"\n onClick={(e: React.MouseEvent<SVGGElement>) => handleNodeClick(e, node)}\n style={{ cursor: \"pointer\", opacity: dimmed ? 0.15 : 1, transition: \"opacity 0.25s\" }}>\n <foreignObject x={node.x} y={node.y} width={NODE_W} height={NODE_H}>\n <div style={{\n background: style?.node?.backgroundColor || style?.node?.background || (isDarkMode ? \"#1e293b\" : \"#fff\"),\n border: isSelected\n ? (style?.selectedNode?.border || `2.5px solid ${style?.selectedNode?.borderColor || cc}`)\n : (style?.node?.border || `1.5px solid ${style?.node?.borderColor || (isDarkMode ? \"#334155\" : \"#e2e8f0\")}`),\n borderRadius: 10, padding: \"8px 14px\", fontSize: 13, fontWeight: 600, color: isDarkMode ? \"#f1f5f9\" : \"#334155\",\n fontFamily: \"'Inter', sans-serif\", display: \"flex\", alignItems: \"center\", gap: 8,\n boxShadow: isSelected\n ? (style?.selectedNode?.boxShadow || `0 0 0 3px ${cc}33, 0 2px 8px rgba(0,0,0,0.4)`)\n : (style?.node?.boxShadow || (isDarkMode ? \"0 2px 6px rgba(0,0,0,0.3)\" : \"0 1px 3px rgba(0,0,0,0.05)\")),\n whiteSpace: \"nowrap\", userSelect: \"none\", height: NODE_H - 2, boxSizing: \"border-box\",\n transition: \"border 0.2s, box-shadow 0.2s\",\n ...style?.node,\n ...(isSelected ? style?.selectedNode : {}),\n }}>\n <span style={{ width: 22, height: 22, borderRadius: 6, background: CL_BG[clusterIdx], display: \"flex\", alignItems: \"center\", justifyContent: \"center\", fontSize: 11, flexShrink: 0, color: CL_FG[clusterIdx], ...style?.nodeIcon }}>\n {CL_ICON[clusterIdx]}\n </span>\n <span style={{ overflow: \"hidden\", textOverflow: \"ellipsis\" }}>{node.label || \"Node name\"}</span>\n </div>\n </foreignObject>\n </g>\n );\n })}\n </svg>\n </div>\n\n {/* Edge popup */}\n {edgePopup && (\n <div onClick={(e: React.MouseEvent<HTMLDivElement>) => e.stopPropagation()} style={{\n position: \"absolute\",\n ...getPopupPos(edgePopup.screenX, edgePopup.screenY, 320, 180),\n width: 320, background: isDarkMode ? \"#1e293b\" : \"#fff\", borderRadius: 14,\n boxShadow: \"0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06)\",\n border: \"1px solid #e2e8f0\", zIndex: 30, animation: \"popIn 0.18s ease-out\", overflow: \"hidden\", ...style?.edgePopup,\n }}>\n <div style={{ padding: \"12px 16px 10px\", background: \"linear-gradient(135deg, #6366f1, #8b5cf6)\", color: \"#fff\", ...style?.edgePopupHeader }}>\n <div style={{ fontSize: 10, fontWeight: 600, textTransform: \"uppercase\", letterSpacing: \"0.06em\", opacity: 0.8 }}>Edge Reasoning</div>\n <div style={{ fontSize: 13, fontWeight: 600, marginTop: 4 }}>\n {nodesMap[edgePopup.edge.source]?.label || \"Source\"}\n <span style={{ opacity: 0.6, margin: \"0 6px\" }}>→</span>\n {nodesMap[edgePopup.edge.target]?.label || \"Target\"}\n </div>\n </div>\n <div style={{ padding: \"12px 16px 14px\", fontSize: 13, lineHeight: 1.6, color: isDarkMode ? \"#cbd5e1\" : \"#475569\", whiteSpace: \"pre-line\", ...style?.edgePopupBody }}>\n {edgePopup.edge.reasoning || \"No Reasoning available...\"}\n </div>\n <button onClick={() => setEdgePopup(null)} style={{\n position: \"absolute\", top: 8, right: 10, background: \"rgba(255,255,255,0.2)\", border: \"none\", color: \"#fff\",\n borderRadius: 6, width: 24, height: 24, cursor: \"pointer\", fontSize: 14,\n display: \"flex\", alignItems: \"center\", justifyContent: \"center\", ...style?.popupCloseButton,\n }}>×</button>\n </div>\n )}\n </div>\n\n <style>{`\n @keyframes popIn { from { opacity:0; transform:scale(0.95) translateY(4px); } to { opacity:1; transform:scale(1) translateY(0); } }\n @keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }\n `}</style>\n </div>\n );\n}\n\nfunction DependencyGraph({ data, isDarkMode = false, style }: DependencyGraphProps): React.ReactElement {\n const [isFullscreen, setIsFullscreen] = useState<boolean>(false);\n const {\n fullscreenPaper,\n root,\n header,\n title,\n subtitle,\n controls,\n controlButton,\n nodePopup,\n edgePopup,\n ...containerStyle\n } = style || {};\n const graphStyle: DependencyGraphStyles = style || {};\n\n const openFullscreen = useCallback((): void => {\n setIsFullscreen(true);\n }, []);\n\n const closeFullscreen = useCallback((): void => {\n setIsFullscreen(false);\n }, []);\n\n return (\n <>\n <div style={{ position: \"relative\", width: \"100%\", height: \"500px\", ...containerStyle }}>\n <DependencyGraphInner data={data} onFullscreen={openFullscreen} isDarkMode={isDarkMode} style={graphStyle} />\n </div>\n\n <Dialog\n open={isFullscreen}\n onClose={closeFullscreen}\n maxWidth={false}\n PaperProps={{\n style: {\n width: \"95vw\",\n height: \"92vh\",\n maxWidth: \"none\",\n borderRadius: 12,\n overflow: \"hidden\",\n background: graphStyle.backgroundColor || graphStyle.background || (isDarkMode ? \"#090d16\" : \"#ffffff\"),\n color: graphStyle.color || (isDarkMode ? \"#f8fafc\" : \"#1e293b\"),\n ...graphStyle.fullscreenPaper,\n },\n }}\n >\n <div style={{ width: \"100%\", height: \"100%\", position: \"relative\", background: graphStyle.backgroundColor || graphStyle.background || (isDarkMode ? \"#090d16\" : \"#ffffff\") }}>\n <DependencyGraphInner data={data} onFullscreen={closeFullscreen} isFullscreen isDarkMode={isDarkMode} style={graphStyle} />\n </div>\n </Dialog>\n </>\n );\n}\n\nexport default React.memo(DependencyGraph);\n"],"names":["NODE_W","NODE_H","CL_BG","CL_FG","CL_ICON","CL_BORDER_ACTIVE","CL_GRAD","computeGraph","apiData","clusters","Array","isArray","rawNodes","nodes","edges","positions","rawEdges","rawClusters","N","length","Map","idxOf","forEach","n","i","id","outN","inN","e","source","push","target","rank","pass","changed","nr","clusterCol","c","clusterGroups","cluster_id","Object","values","g","sort","a","b","px","Float64Array","py","vx","vy","col","row","CLUSTER_K","maxRank","Math","max","map","rankTargetY","iter","t","fx","fy","j","dx","dy","d2","d","sqrt","f","ux","uy","si","ti","csx","csy","cnt","moved","ox","abs","oy","minX","Infinity","minY","min","result","set","x","round","y","autoLayout","p","get","clusterIdToIdx","clusterNodes","PAD","clusterBounds","cn","maxX","maxY","label","idx","width","height","filter","cb","cluster","canvasW","canvasH","getEdgePath","edge","nodesMap","allEdges","sn","tn","s","sCx","sCy","tCx","tCy","getPort","cx","cy","getConnectionPoints","dist","side","nx","ny","some","sign","bend","mx","my","DependencyGraphInner","data","onFullscreen","isFullscreen","isDarkMode","style","containerRef","useRef","pan","setPan","useState","zoom","setZoom","isPanning","setIsPanning","panStart","panOrigin","edgePopup","setEdgePopup","nodePopup","setNodePopup","hoveredEdge","setHoveredEdge","selectedNode","setSelectedNode","graph","useMemo","m","activeEdges","Set","connectedNodes","ids","add","lastAnalyzed","Date","last_analyzed_at","toLocaleString","hour","minute","hour12","day","month","year","handlePointerDown","useCallback","closest","current","clientX","clientY","currentTarget","cursor","handlePointerMove","handlePointerUp","handleWheel","preventDefault","z","deltaY","useEffect","el","addEventListener","passive","removeEventListener","graphBackground","backgroundColor","background","graphForeground","color","graphMutedForeground","subtitle","toSvgPaint","value","fallback","zBtnStyle","border","borderRadius","fontSize","display","alignItems","justifyContent","fontWeight","controlButton","jsxs","fontFamily","position","overflow","root","children","top","left","right","zIndex","borderBottom","header","padding","margin","title","gap","boxShadow","controls","jsx","onClick","CloseFullscreenIcon","FullscreenIcon","minWidth","animation","node","nodePopupHeader","textTransform","letterSpacing","opacity","marginTop","flexShrink","popupCloseButton","lineHeight","nodePopupBody","description","ref","onPointerDown","onPointerMove","onPointerUp","onPointerLeave","transform","transformOrigin","transition","rx","fill","stroke","borderColor","strokeWidth","strokeDasharray","clusterLabel","path","isEdgeActive","has","isEdgePopup","isHovered","dimmed","activeEdge","strokeW","stopPropagation","rect","getBoundingClientRect","screenX","screenY","handleEdgeClick","onMouseEnter","onMouseLeave","pointerEvents","Fragment","r","edgeMarker","dur","repeatCount","isSelected","isConnected","clusterIdx","cc","handleNodeClick","whiteSpace","userSelect","boxSizing","nodeIcon","textOverflow","w","h","getPopupPos","edgePopupHeader","edgePopupBody","reasoning","DependencyGraph$1","React","memo","setIsFullscreen","fullscreenPaper","containerStyle","graphStyle","openFullscreen","closeFullscreen","Dialog","open","onClose","maxWidth","PaperProps"],"mappings":"iWA6HA,MAAMA,EAAiB,IACjBC,EAAiB,GAEjBC,EAAkB,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,WACtHC,EAAkB,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,WACtHC,EAAoB,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,KAClEC,EAA6B,CAAC,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,WACjIC,EAAoB,CACxB,0CACA,0CACA,0CACA,0CACA,0CACA,0CACA,0CACA,0CACA,0CACA,2CA2NF,SAASC,EAAaC,GACd,MAAAC,EAAWC,MAAMC,QAAQH,GAASC,UAAYD,EAAQC,SAAW,GACjEG,EAAWF,MAAMC,QAAQH,GAASK,OAASL,EAAQK,MAAQ,GAC3DC,EAAQJ,MAAMC,QAAQH,GAASM,OAASN,EAAQM,MAAQ,GAGxDC,EA5NR,SAAoBH,EAAsB,GAAII,EAAmB,GAAIC,EAAyB,IAC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AI9F,MAAO,CAAE8E,SAAU,WAAYlH,MAAO,OAAQC,OAAQ,WAAY4M,GACrExF,SAAAa,EAAAA,IAACnG,GAAqBC,OAAYC,aAAc8K,EAAgB5K,aAAwBC,MAAO0K,MAGjG5E,EAAAA,IAAC+E,EAAA,QAAA,CACCC,KAAMhL,EACNiL,QAASH,EACTI,UAAU,EACVC,WAAY,CACVjL,MAAO,CACLpC,MAAO,OACPC,OAAQ,OACRmN,SAAU,OACV3G,aAAc,GACdU,SAAU,SACVpB,WAAY+G,EAAWhH,iBAAmBgH,EAAW/G,aAAe5D,EAAa,UAAY,WAC7F8D,MAAO6G,EAAW7G,QAAU9D,EAAa,UAAY,cAClD2K,EAAWF,kBAIlBvF,SAACa,EAAAA,IAAA,MAAA,CAAI9F,MAAO,CAAEpC,MAAO,OAAQC,OAAQ,OAAQiH,SAAU,WAAYnB,WAAY+G,EAAWhH,iBAAmBgH,EAAW/G,aAAe5D,EAAa,UAAY,YAC9JkF,SAAAa,EAAAA,IAACnG,EAAqB,CAAAC,OAAYC,aAAc+K,EAAiB9K,cAAY,EAACC,aAAwBC,MAAO0K,UAKvH"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("react"),o=require("@mui/material");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=i(require("@monaco-editor/react")),a={base:"vs-dark",inherit:!0,rules:[{token:"tag",foreground:"714be3",fontStyle:"bold"},{token:"attribute.name",foreground:"87CEFA"},{token:"attribute.value",foreground:"98FB98"},{token:"variable",foreground:"00FFFF"},{token:"delimiter",foreground:"888888"},{token:"white",foreground:"AAAAAA"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#030202","editorLineNumber.foreground":"#858585","editorCursor.foreground":"#FFFFFF","editorIndentGuide.background":"#404040","editorIndentGuide.activeBackground":"#707070"}},d={base:"vs",inherit:!0,rules:[{token:"tag",foreground:"5928ED",fontStyle:"bold"},{token:"attribute.name",foreground:"AF00DB"},{token:"attribute.value",foreground:"008000"},{token:"variable",foreground:"B000B0"},{token:"delimiter",foreground:"808080"},{token:"white",foreground:"000000"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editorLineNumber.foreground":"#999999","editorCursor.foreground":"#000000","editorIndentGuide.background":"#CCCCCC","editorIndentGuide.activeBackground":"#999999"}},u=function(i){var u=i.content,l=i.selectedTag,s=i.highlightVariable,g=i.isDarkMode,f=i.height,m=void 0===f?250:f,c=i.fontSize,h=void 0===c?12:c,p=t.useRef(),b=t.useRef();return t.useEffect(function(){if(l&&p.current&&b.current){var e=p.current,r=e.getModel();if(r){for(var t=r.getValue().split("\n"),o=-1,i=0;i<t.length;i++){var n=t[i].match(/<([^\s>\/]+(?:\s[^\s>\/]+)*)/);if(n&&n[1].trim().toLowerCase()===l.toLowerCase()){o=i+1;break}}if(o>0){var a=o,d="</".concat(l.toLowerCase(),">");for(i=o;i<t.length;i++)if(t[i].toLowerCase().includes(d)){a=i+1;break}e.setSelection(new b.current.Selection(o,1,o,1)),e.trigger(null,"editor.unfold",{}),e.revealLineInCenterIfOutsideViewport(o);var u=e.deltaDecorations([],[{range:new b.current.Range(o,1,a,t[a-1].length+1),options:{isWholeLine:!0,className:"promptemon-viewer-highlight",inlineClassName:"promptemon-viewer-highlight"}}]);setTimeout(function(){return e.deltaDecorations(u,[])},2e3)}}}},[l]),t.useEffect(function(){if(s&&p.current&&b.current){var e=p.current,r=e.getModel();if(r){for(var t=r.getValue().split("\n"),o=[],i=0;i<t.length;i++)for(var n=t[i].indexOf(s);-1!==n;)o.push(new b.current.Range(i+1,n+1,i+1,n+s.length+1)),n=t[i].indexOf(s,n+1);if(0!==o.length){e.revealLineInCenterIfOutsideViewport(o[0].startLineNumber);var a=e.deltaDecorations([],o.map(function(e){return{range:e,options:{inlineClassName:"promptemon-viewer-variable-highlight"}}}));setTimeout(function(){return e.deltaDecorations(a,[])},2e3)}}}},[s]),t.useEffect(function(){b.current&&b.current.editor.setTheme(g?"promptemonViewerDark":"promptemonViewerLight")},[g]),r.jsxs(r.Fragment,{children:[r.jsx("style",{children:"\n .promptemon-viewer-highlight { background-color: rgba(89, 40, 237, 0.15); }\n .promptemon-viewer-variable-highlight { background-color: rgba(0, 255, 255, 0.2); border-radius: 2px; }\n "}),r.jsxs(o.Box,e.__assign({sx:{width:"100%",height:m,display:"flex",flexDirection:"column"}},{children:[r.jsx(o.Box,{sx:{width:"100%",height:20,bgcolor:g?"#030202":"#fff",borderTopLeftRadius:8,borderTopRightRadius:8}}),r.jsx(o.Box,e.__assign({sx:{flex:1,minHeight:0,overflow:"hidden"}},{children:r.jsx(n.default,{onMount:function(e,r){p.current=e,b.current=r,r.editor.defineTheme("promptemonViewerDark",a),r.editor.defineTheme("promptemonViewerLight",d),r.editor.setTheme(g?"promptemonViewerDark":"promptemonViewerLight"),r.languages.register({id:"promptemonViewerLang"}),r.languages.setMonarchTokensProvider("promptemonViewerLang",{tokenizer:{root:[[/(<)([a-zA-Z0-9\-]+)(\s*)/,["delimiter","tag","white"],"@tagBody"],[/(<\/)([a-zA-Z0-9\-]+)(\s*)(>)/,["delimiter","tag","white","delimiter"]],[/{{[^}]+}}/,"variable"]],tagBody:[[/[a-zA-Z0-9\:\-]+(?=\=)/,"attribute.name"],[/=/,"delimiter"],[/(".*?"|'.*?')/,"attribute.value"],[/\s+/,"white"],[/(\/?>)/,{token:"delimiter",next:"@pop"}]]}}),r.languages.registerFoldingRangeProvider("promptemonViewerLang",{provideFoldingRanges:function(e){var r=e.getLinesContent(),t=[],o=[];return r.forEach(function(e,r){var i=r+1,n=e.match(/<([a-zA-Z0-9\-]+)(\s[^>]*)?>/),a=e.match(/<\/([a-zA-Z0-9\-]+)>/);if(n&&!e.includes("/>")&&o.push({tag:n[1],start:i}),a)for(var d=a[1],u=o.length-1;u>=0;u--)if(o[u].tag===d){t.push({start:o[u].start,end:i}),o.splice(u,1);break}}),t}})},beforeMount:function(e){e.editor.defineTheme("promptemonViewerDark",a),e.editor.defineTheme("promptemonViewerLight",d),e.editor.setTheme(g?"promptemonViewerDark":"promptemonViewerLight")},theme:g?"promptemonViewerDark":"promptemonViewerLight",value:u,language:"promptemonViewerLang",onChange:function(){},options:{fontSize:h,minimap:{enabled:!1},wordWrap:"on",lineNumbers:"on",readOnly:!0,domReadOnly:!0,scrollBeyondLastLine:!1,padding:{top:4,bottom:12},folding:!0,automaticLayout:!0,scrollbar:{vertical:"visible",horizontal:"visible",verticalScrollbarSize:8}}})})),r.jsx(o.Box,{sx:{width:"100%",height:20,bgcolor:g?"#030202":"#fff",borderBottomLeftRadius:8,borderBottomRightRadius:8}})]}))]})};exports.InternalEditor=u,exports.default=u;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(require("@monaco-editor/react"));const i={base:"vs-dark",inherit:!0,rules:[{token:"tag",foreground:"714be3",fontStyle:"bold"},{token:"attribute.name",foreground:"87CEFA"},{token:"attribute.value",foreground:"98FB98"},{token:"variable",foreground:"00FFFF"},{token:"delimiter",foreground:"888888"},{token:"white",foreground:"AAAAAA"}],colors:{"editor.foreground":"#FFFFFF","editor.background":"#030202","editorLineNumber.foreground":"#858585","editorCursor.foreground":"#FFFFFF","editorIndentGuide.background":"#404040","editorIndentGuide.activeBackground":"#707070"}},a={base:"vs",inherit:!0,rules:[{token:"tag",foreground:"5928ED",fontStyle:"bold"},{token:"attribute.name",foreground:"AF00DB"},{token:"attribute.value",foreground:"008000"},{token:"variable",foreground:"B000B0"},{token:"delimiter",foreground:"808080"},{token:"white",foreground:"000000"}],colors:{"editor.foreground":"#000000","editor.background":"#FFFFFF","editorLineNumber.foreground":"#999999","editorCursor.foreground":"#000000","editorIndentGuide.background":"#CCCCCC","editorIndentGuide.activeBackground":"#999999"}},l=({content:n,selectedTag:l,highlightVariable:s,isDarkMode:d,height:u=250,fontSize:g=12})=>{const c=t.useRef(),h=t.useRef(),m=t.useRef([]);return t.useEffect(()=>{if(!l||!c.current||!h.current)return;const e=c.current,t=e.getModel();if(!t)return;const r=t.getValue().split("\n");let n=-1;for(let e=0;e<r.length;e++){const t=r[e].match(/<([^\s>\/]+(?:\s[^\s>\/]+)*)/);if(t&&t[1].trim().toLowerCase()===l.toLowerCase()){n=e+1;break}}if(n>0){let t=n;const o=`</${l.toLowerCase()}>`;for(let e=n;e<r.length;e++)if(r[e].toLowerCase().includes(o)){t=e+1;break}e.setSelection(new h.current.Selection(n,1,n,1)),e.trigger(null,"editor.unfold",{}),e.revealLineInCenterIfOutsideViewport(n);const i=e.deltaDecorations([],[{range:new h.current.Range(n,1,t,r[t-1].length+1),options:{isWholeLine:!0,className:"promptemon-viewer-highlight",inlineClassName:"promptemon-viewer-highlight"}}]);setTimeout(()=>e.deltaDecorations(i,[]),2e3)}},[l,n]),t.useEffect(()=>{if(!s||!c.current||!h.current)return;const e=c.current,t=e.getModel();if(!t)return;const r=t.getValue(),n=e=>e.replace(/\r\n/g,"\n").replace(/\\([<>])/g,"$1").replace(/\*\*/g,"").replace(/\s+/g," ").trim().toLowerCase(),o=n(s);if(!o)return;const i=[],a=r.indexOf(s);if(-1!==a){const e=r.slice(0,a),t=e.split("\n").length,n=-1===e.lastIndexOf("\n")?a+1:a-e.lastIndexOf("\n"),o=s,l=o.split("\n"),d=t+l.length-1,u=1===l.length?n+o.length:l[l.length-1].length+1;i.push(new h.current.Range(t,n,d,u))}if(0===i.length){const e=n(r).indexOf(o);if(-1!==e){const t=r.split("\n");let a=0;for(let r=0;r<t.length;r++){const l=n(t[r]);if(!l){a+=1;continue}const s=a;if(e<a+l.length&&e+o.length>s){i.push(new h.current.Range(r+1,1,r+1,t[r].length+1));break}a+=l.length+1}}}if(0===i.length){const e=s.split("\n").map(e=>n(e)).filter(e=>e.length>10);let t={line:-1,score:0};const o=r.split("\n");if(o.forEach((r,o)=>{const i=n(r);if(!i)return;let a=0;e.forEach(e=>{i.includes(e)&&(a=Math.max(a,e.length/i.length))}),a>t.score&&(t={line:o,score:a})}),t.score>=.5){const e=o[t.line];i.push(new h.current.Range(t.line+1,1,t.line+1,e.length+1))}}if(0===i.length)return;e.revealLineInCenterIfOutsideViewport(i[0].startLineNumber),m.current=e.deltaDecorations(m.current,i.map(e=>({range:e,options:{inlineClassName:"promptemon-viewer-variable-highlight"}})));const l=setTimeout(()=>{c.current&&(m.current=c.current.deltaDecorations(m.current,[]))},2e3);return()=>clearTimeout(l)},[s,n]),t.useEffect(()=>{h.current&&h.current.editor.setTheme(d?"promptemonViewerDark":"promptemonViewerLight")},[d]),e.jsxs(e.Fragment,{children:[e.jsx("style",{children:"\n .promptemon-viewer-highlight { background-color: rgba(89, 40, 237, 0.15); }\n .promptemon-viewer-variable-highlight { background-color: rgba(0, 255, 255, 0.2); border-radius: 2px; }\n "}),e.jsxs(r.Box,{sx:{width:"100%",height:u,display:"flex",flexDirection:"column"},children:[e.jsx(r.Box,{sx:{width:"100%",height:20,bgcolor:d?"#030202":"#fff",borderTopLeftRadius:8,borderTopRightRadius:8}}),e.jsx(r.Box,{sx:{flex:1,minHeight:0,overflow:"hidden"},children:e.jsx(o.default,{onMount:(e,t)=>{c.current=e,h.current=t,t.editor.defineTheme("promptemonViewerDark",i),t.editor.defineTheme("promptemonViewerLight",a),t.editor.setTheme(d?"promptemonViewerDark":"promptemonViewerLight"),t.languages.register({id:"promptemonViewerLang"}),t.languages.setMonarchTokensProvider("promptemonViewerLang",{tokenizer:{root:[[/(<)([a-zA-Z0-9\-]+)(\s*)/,["delimiter","tag","white"],"@tagBody"],[/(<\/)([a-zA-Z0-9\-]+)(\s*)(>)/,["delimiter","tag","white","delimiter"]],[/{{[^}]+}}/,"variable"]],tagBody:[[/[a-zA-Z0-9\:\-]+(?=\=)/,"attribute.name"],[/=/,"delimiter"],[/(".*?"|'.*?')/,"attribute.value"],[/\s+/,"white"],[/(\/?>)/,{token:"delimiter",next:"@pop"}]]}}),t.languages.registerFoldingRangeProvider("promptemonViewerLang",{provideFoldingRanges:e=>{const t=e.getLinesContent(),r=[],n=[];return t.forEach((e,t)=>{const o=t+1,i=e.match(/<([a-zA-Z0-9\-]+)(\s[^>]*)?>/),a=e.match(/<\/([a-zA-Z0-9\-]+)>/);if(i&&!e.includes("/>")&&n.push({tag:i[1],start:o}),a){const e=a[1];for(let t=n.length-1;t>=0;t--)if(n[t].tag===e){r.push({start:n[t].start,end:o}),n.splice(t,1);break}}}),r}})},beforeMount:e=>{e.editor.defineTheme("promptemonViewerDark",i),e.editor.defineTheme("promptemonViewerLight",a),e.editor.setTheme(d?"promptemonViewerDark":"promptemonViewerLight")},theme:d?"promptemonViewerDark":"promptemonViewerLight",value:n,language:"promptemonViewerLang",onChange:()=>{},options:{fontSize:g,minimap:{enabled:!1},wordWrap:"on",lineNumbers:"on",readOnly:!0,domReadOnly:!0,scrollBeyondLastLine:!1,padding:{top:4,bottom:12},folding:!0,automaticLayout:!0,scrollbar:{vertical:"visible",horizontal:"visible",verticalScrollbarSize:8}}})}),e.jsx(r.Box,{sx:{width:"100%",height:20,bgcolor:d?"#030202":"#fff",borderBottomLeftRadius:8,borderBottomRightRadius:8}})]})]})};exports.InternalEditor=l,exports.default=l;
2
2
  //# sourceMappingURL=Internaleditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Internaleditor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"Internaleditor.js","sources":["../../../../src/features/SPBAnalysisPanel/Internaleditor.tsx"],"sourcesContent":["import { useEffect, useRef } from \"react\";\nimport { Box } from \"@mui/material\";\nimport Editor, { OnMount, Monaco } from \"@monaco-editor/react\";\nimport type * as monaco from \"monaco-editor\";\n\n// ─── NOTE ────────────────────────────────────────────────────────────────────\n// Extracted verbatim from PromptemonViewer.tsx's local `InternalEditor` so it can\n// be shared between PromptemonViewer (FPB) and SPBAnalysisPanel (SPB) without\n// duplicating the Monaco tokenizer/theme/highlight logic. If you already have\n// InternalEditor living inline in PromptemonViewer.tsx, delete that local copy\n// and import from here instead — the props are unchanged.\n\nconst DARK_THEME = {\n base: \"vs-dark\" as const,\n inherit: true,\n rules: [\n { token: \"tag\", foreground: \"714be3\", fontStyle: \"bold\" },\n { token: \"attribute.name\", foreground: \"87CEFA\" },\n { token: \"attribute.value\", foreground: \"98FB98\" },\n { token: \"variable\", foreground: \"00FFFF\" },\n { token: \"delimiter\", foreground: \"888888\" },\n { token: \"white\", foreground: \"AAAAAA\" },\n ],\n colors: {\n \"editor.foreground\": \"#FFFFFF\",\n \"editor.background\": \"#030202\",\n \"editorLineNumber.foreground\": \"#858585\",\n \"editorCursor.foreground\": \"#FFFFFF\",\n \"editorIndentGuide.background\": \"#404040\",\n \"editorIndentGuide.activeBackground\": \"#707070\",\n },\n};\n\nconst LIGHT_THEME = {\n base: \"vs\" as const,\n inherit: true,\n rules: [\n { token: \"tag\", foreground: \"5928ED\", fontStyle: \"bold\" },\n { token: \"attribute.name\", foreground: \"AF00DB\" },\n { token: \"attribute.value\", foreground: \"008000\" },\n { token: \"variable\", foreground: \"B000B0\" },\n { token: \"delimiter\", foreground: \"808080\" },\n { token: \"white\", foreground: \"000000\" },\n ],\n colors: {\n \"editor.foreground\": \"#000000\",\n \"editor.background\": \"#FFFFFF\",\n \"editorLineNumber.foreground\": \"#999999\",\n \"editorCursor.foreground\": \"#000000\",\n \"editorIndentGuide.background\": \"#CCCCCC\",\n \"editorIndentGuide.activeBackground\": \"#999999\",\n },\n};\n\nexport interface InternalEditorProps {\n content: string;\n selectedTag?: string;\n highlightVariable?: string;\n isDarkMode: boolean;\n height?: number | string;\n fontSize?: number;\n}\n\nexport const InternalEditor = ({\n content,\n selectedTag,\n highlightVariable,\n isDarkMode,\n height = 250,\n fontSize = 12,\n}: InternalEditorProps) => {\n const editorRef = useRef<monaco.editor.IStandaloneCodeEditor>();\n const monacoRef = useRef<Monaco>();\n const decorationIdsRef = useRef<string[]>([]);\n\n const handleBeforeMount = (monacoInstance: Monaco) => {\n // @ts-ignore\n monacoInstance.editor.defineTheme(\"promptemonViewerDark\", DARK_THEME);\n // @ts-ignore\n monacoInstance.editor.defineTheme(\"promptemonViewerLight\", LIGHT_THEME);\n monacoInstance.editor.setTheme(isDarkMode ? \"promptemonViewerDark\" : \"promptemonViewerLight\");\n };\n\n const handleEditorMount: OnMount = (editor, monacoInstance) => {\n editorRef.current = editor;\n monacoRef.current = monacoInstance;\n\n // @ts-ignore\n monacoInstance.editor.defineTheme(\"promptemonViewerDark\", DARK_THEME);\n // @ts-ignore\n monacoInstance.editor.defineTheme(\"promptemonViewerLight\", LIGHT_THEME);\n monacoInstance.editor.setTheme(isDarkMode ? \"promptemonViewerDark\" : \"promptemonViewerLight\");\n\n monacoInstance.languages.register({ id: \"promptemonViewerLang\" });\n monacoInstance.languages.setMonarchTokensProvider(\"promptemonViewerLang\", {\n tokenizer: {\n root: [\n [/(<)([a-zA-Z0-9\\-]+)(\\s*)/, [\"delimiter\", \"tag\", \"white\"], \"@tagBody\"],\n [/(<\\/)([a-zA-Z0-9\\-]+)(\\s*)(>)/, [\"delimiter\", \"tag\", \"white\", \"delimiter\"]],\n [/{{[^}]+}}/, \"variable\"],\n ],\n tagBody: [\n [/[a-zA-Z0-9\\:\\-]+(?=\\=)/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/(\".*?\"|'.*?')/, \"attribute.value\"],\n [/\\s+/, \"white\"],\n [/(\\/?>)/, { token: \"delimiter\", next: \"@pop\" }],\n ],\n },\n });\n\n monacoInstance.languages.registerFoldingRangeProvider(\"promptemonViewerLang\", {\n provideFoldingRanges: (model) => {\n const lines = model.getLinesContent();\n const foldingRanges: any[] = [];\n const stack: { tag: string; start: number }[] = [];\n lines.forEach((line, index) => {\n const lineNumber = index + 1;\n const openTagMatch = line.match(/<([a-zA-Z0-9\\-]+)(\\s[^>]*)?>/);\n const closeTagMatch = line.match(/<\\/([a-zA-Z0-9\\-]+)>/);\n if (openTagMatch && !line.includes(\"/>\")) {\n stack.push({ tag: openTagMatch[1], start: lineNumber });\n }\n if (closeTagMatch) {\n const tag = closeTagMatch[1];\n for (let i = stack.length - 1; i >= 0; i--) {\n if (stack[i].tag === tag) {\n foldingRanges.push({ start: stack[i].start, end: lineNumber });\n stack.splice(i, 1);\n break;\n }\n }\n }\n });\n return foldingRanges;\n },\n });\n };\n\n useEffect(() => {\n if (!selectedTag || !editorRef.current || !monacoRef.current) return;\n const editor = editorRef.current;\n const model = editor.getModel();\n if (!model) return;\n const lines = model.getValue().split(\"\\n\");\n let targetLine = -1;\n for (let i = 0; i < lines.length; i++) {\n const tagMatch = lines[i].match(/<([^\\s>\\/]+(?:\\s[^\\s>\\/]+)*)/);\n if (tagMatch && tagMatch[1].trim().toLowerCase() === selectedTag.toLowerCase()) {\n targetLine = i + 1;\n break;\n }\n }\n if (targetLine > 0) {\n let closingLine = targetLine;\n const closingTagLower = `</${selectedTag.toLowerCase()}>`;\n for (let i = targetLine; i < lines.length; i++) {\n if (lines[i].toLowerCase().includes(closingTagLower)) {\n closingLine = i + 1;\n break;\n }\n }\n editor.setSelection(new monacoRef.current.Selection(targetLine, 1, targetLine, 1));\n editor.trigger(null, \"editor.unfold\", {});\n editor.revealLineInCenterIfOutsideViewport(targetLine);\n const decorations = editor.deltaDecorations([], [{\n range: new monacoRef.current.Range(targetLine, 1, closingLine, lines[closingLine - 1].length + 1),\n options: { isWholeLine: true, className: \"promptemon-viewer-highlight\", inlineClassName: \"promptemon-viewer-highlight\" },\n }]);\n setTimeout(() => editor.deltaDecorations(decorations, []), 2000);\n }\n }, [selectedTag,content]);\n\n useEffect(() => {\n if (!highlightVariable || !editorRef.current || !monacoRef.current) {\n return;\n }\n\n const editor = editorRef.current;\n const model = editor.getModel();\n\n if (!model) return;\n\n const content = model.getValue();\n\n const normalize = (value: string) =>\n value\n .replace(/\\r\\n/g, \"\\n\")\n .replace(/\\\\([<>])/g, \"$1\")\n .replace(/\\*\\*/g, \"\")\n .replace(/\\s+/g, \" \")\n .trim()\n .toLowerCase();\n\n const target = normalize(highlightVariable);\n\n if (!target) return;\n\n const ranges: monaco.Range[] = [];\n\n // --------------------------------------------------\n // 1. Exact match\n // --------------------------------------------------\n\n const exactIndex = content.indexOf(highlightVariable);\n\n if (exactIndex !== -1) {\n const before = content.slice(0, exactIndex);\n\n const startLine = before.split(\"\\n\").length;\n const startColumn =\n before.lastIndexOf(\"\\n\") === -1\n ? exactIndex + 1\n : exactIndex - before.lastIndexOf(\"\\n\");\n\n const matchedText = highlightVariable;\n const matchLines = matchedText.split(\"\\n\");\n\n const endLine = startLine + matchLines.length - 1;\n\n const endColumn =\n matchLines.length === 1\n ? startColumn + matchedText.length\n : matchLines[matchLines.length - 1].length + 1;\n\n ranges.push(\n new monacoRef.current.Range(\n startLine,\n startColumn,\n endLine,\n endColumn\n )\n );\n }\n\n // --------------------------------------------------\n // 2. Normalized multiline match\n // --------------------------------------------------\n\n if (ranges.length === 0) {\n const normalizedContent = normalize(content);\n\n const normalizedIndex = normalizedContent.indexOf(target);\n\n if (normalizedIndex !== -1) {\n const lines = content.split(\"\\n\");\n\n let accumulated = 0;\n\n for (let i = 0; i < lines.length; i++) {\n const normalizedLine = normalize(lines[i]);\n\n if (!normalizedLine) {\n accumulated += 1;\n continue;\n }\n\n const lineStart = accumulated;\n const lineEnd =\n accumulated + normalizedLine.length;\n\n if (\n normalizedIndex < lineEnd &&\n normalizedIndex + target.length > lineStart\n ) {\n ranges.push(\n new monacoRef.current.Range(\n i + 1,\n 1,\n i + 1,\n lines[i].length + 1\n )\n );\n\n break;\n }\n\n accumulated += normalizedLine.length + 1;\n }\n }\n }\n\n // --------------------------------------------------\n // 3. Safe string fallback\n // --------------------------------------------------\n\n if (ranges.length === 0) {\n const targetLines = highlightVariable\n .split(\"\\n\")\n .map((line) => normalize(line))\n .filter((line) => line.length > 10);\n\n let bestMatch = {\n line: -1,\n score: 0,\n };\n\n const lines = content.split(\"\\n\");\n\n lines.forEach((line, index) => {\n const normalizedLine = normalize(line);\n\n if (!normalizedLine) return;\n\n let score = 0;\n\n targetLines.forEach((targetLine) => {\n if (normalizedLine.includes(targetLine)) {\n score = Math.max(\n score,\n targetLine.length / normalizedLine.length\n );\n }\n });\n\n if (score > bestMatch.score) {\n bestMatch = {\n line: index,\n score,\n };\n }\n });\n\n // Only accept a reasonably strong match.\n if (bestMatch.score >= 0.5) {\n const line = lines[bestMatch.line];\n\n ranges.push(\n new monacoRef.current.Range(\n bestMatch.line + 1,\n 1,\n bestMatch.line + 1,\n line.length + 1\n )\n );\n }\n }\n\n // --------------------------------------------------\n // No reliable match\n // --------------------------------------------------\n\n if (ranges.length === 0) {\n return;\n }\n\n editor.revealLineInCenterIfOutsideViewport(\n ranges[0].startLineNumber\n );\n\n decorationIdsRef.current = editor.deltaDecorations(\n decorationIdsRef.current,\n ranges.map((range) => ({\n range,\n options: {\n inlineClassName: \"promptemon-viewer-variable-highlight\",\n },\n }))\n );\n\n const timeout = setTimeout(() => {\n if (editorRef.current) {\n decorationIdsRef.current = editorRef.current.deltaDecorations(\n decorationIdsRef.current,\n []\n );\n }\n }, 2000);\n\n return () => clearTimeout(timeout);\n }, [highlightVariable, content]);\n\n useEffect(() => {\n if (!monacoRef.current) return;\n monacoRef.current.editor.setTheme(isDarkMode ? \"promptemonViewerDark\" : \"promptemonViewerLight\");\n }, [isDarkMode]);\n\n return (\n <>\n <style>{`\n .promptemon-viewer-highlight { background-color: rgba(89, 40, 237, 0.15); }\n .promptemon-viewer-variable-highlight { background-color: rgba(0, 255, 255, 0.2); border-radius: 2px; }\n `}</style>\n <Box sx={{ width: \"100%\", height, display: \"flex\", flexDirection: \"column\" }}>\n <Box sx={{ width: \"100%\", height: 20, bgcolor: isDarkMode ? \"#030202\" : \"#fff\", borderTopLeftRadius: 8, borderTopRightRadius: 8 }} />\n <Box sx={{ flex: 1, minHeight: 0, overflow: \"hidden\" }}>\n <Editor\n onMount={handleEditorMount}\n beforeMount={handleBeforeMount}\n theme={isDarkMode ? \"promptemonViewerDark\" : \"promptemonViewerLight\"}\n value={content}\n language=\"promptemonViewerLang\"\n onChange={() => {}}\n options={{\n fontSize,\n minimap: { enabled: false },\n wordWrap: \"on\",\n lineNumbers: \"on\",\n readOnly: true,\n domReadOnly: true,\n scrollBeyondLastLine: false,\n padding: { top: 4, bottom: 12 },\n folding: true,\n automaticLayout: true,\n scrollbar: { vertical: \"visible\", horizontal: \"visible\", verticalScrollbarSize: 8 },\n }}\n />\n </Box>\n <Box sx={{ width: \"100%\", height: 20, bgcolor: isDarkMode ? \"#030202\" : \"#fff\", borderBottomLeftRadius: 8, borderBottomRightRadius: 8 }} />\n </Box>\n </>\n );\n};\n\nexport default InternalEditor;"],"names":["DARK_THEME","base","inherit","rules","token","foreground","fontStyle","colors","LIGHT_THEME","InternalEditor","content","selectedTag","highlightVariable","isDarkMode","height","fontSize","editorRef","useRef","monacoRef","decorationIdsRef","useEffect","current","editor","model","getModel","lines","getValue","split","targetLine","i","length","tagMatch","match","trim","toLowerCase","closingLine","closingTagLower","includes","setSelection","Selection","trigger","revealLineInCenterIfOutsideViewport","decorations","deltaDecorations","range","Range","options","isWholeLine","className","inlineClassName","setTimeout","normalize","value","replace","target","ranges","exactIndex","indexOf","before","slice","startLine","startColumn","lastIndexOf","matchedText","matchLines","endLine","endColumn","push","normalizedIndex","accumulated","normalizedLine","lineStart","targetLines","map","line","filter","bestMatch","score","forEach","index","Math","max","startLineNumber","timeout","clearTimeout","setTheme","jsxs","Fragment","children","jsx","Box","sx","width","display","flexDirection","bgcolor","borderTopLeftRadius","borderTopRightRadius","flex","minHeight","overflow","Editor","onMount","monacoInstance","defineTheme","languages","register","id","setMonarchTokensProvider","tokenizer","root","tagBody","next","registerFoldingRangeProvider","provideFoldingRanges","getLinesContent","foldingRanges","stack","lineNumber","openTagMatch","closeTagMatch","tag","start","end","splice","beforeMount","theme","language","onChange","minimap","enabled","wordWrap","lineNumbers","readOnly","domReadOnly","scrollBeyondLastLine","padding","top","bottom","folding","automaticLayout","scrollbar","vertical","horizontal","verticalScrollbarSize","borderBottomLeftRadius","borderBottomRightRadius"],"mappings":"sQAYA,MAAMA,EAAa,CACfC,KAAM,UACNC,SAAS,EACTC,MAAO,CACH,CAAEC,MAAO,MAAOC,WAAY,SAAUC,UAAW,QACjD,CAAEF,MAAO,iBAAkBC,WAAY,UACvC,CAAED,MAAO,kBAAmBC,WAAY,UACxC,CAAED,MAAO,WAAYC,WAAY,UACjC,CAAED,MAAO,YAAaC,WAAY,UAClC,CAAED,MAAO,QAASC,WAAY,WAElCE,OAAQ,CACJ,oBAAqB,UACrB,oBAAqB,UACrB,8BAA+B,UAC/B,0BAA2B,UAC3B,+BAAgC,UAChC,qCAAsC,YAIxCC,EAAc,CAChBP,KAAM,KACNC,SAAS,EACTC,MAAO,CACH,CAAEC,MAAO,MAAOC,WAAY,SAAUC,UAAW,QACjD,CAAEF,MAAO,iBAAkBC,WAAY,UACvC,CAAED,MAAO,kBAAmBC,WAAY,UACxC,CAAED,MAAO,WAAYC,WAAY,UACjC,CAAED,MAAO,YAAaC,WAAY,UAClC,CAAED,MAAO,QAASC,WAAY,WAElCE,OAAQ,CACJ,oBAAqB,UACrB,oBAAqB,UACrB,8BAA+B,UAC/B,0BAA2B,UAC3B,+BAAgC,UAChC,qCAAsC,YAajCE,EAAiB,EAC1BC,UACAC,cACAC,oBACAC,aACAC,SAAS,IACTC,WAAW,OAEX,MAAMC,EAAYC,EAAAA,SACZC,EAAYD,EAAAA,SACZE,EAAmBF,SAAiB,IAgT1C,OA9OAG,EAAAA,UAAU,KACN,IAAKT,IAAgBK,EAAUK,UAAYH,EAAUG,QAAS,OAC9D,MAAMC,EAASN,EAAUK,QACnBE,EAAQD,EAAOE,WACrB,IAAKD,EAAO,OACZ,MAAME,EAAQF,EAAMG,WAAWC,MAAM,MACrC,IAAIC,GAAa,EACjB,IAAA,IAASC,EAAI,EAAGA,EAAIJ,EAAMK,OAAQD,IAAK,CACnC,MAAME,EA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O,OAAO/F,EAAG,GAChB,KACJ,CAER,IAEGuF,MA8PCS,YAzTOtB,IAERA,EAAAjF,OAAOkF,YAAY,uBAAwBxG,GAE3CuG,EAAAjF,OAAOkF,YAAY,wBAAyBhG,GAC3D+F,EAAejF,OAAO+D,SAASxE,EAAa,uBAAyB,0BAqTrDiH,MAAOjH,EAAa,uBAAyB,wBAC7CuC,MAAO1C,EACPqH,SAAS,uBACTC,SAAU,OACVlF,QAAS,CACL/B,WACAkH,QAAS,CAAEC,SAAS,GACpBC,SAAU,KACVC,YAAa,KACbC,UAAU,EACVC,aAAa,EACbC,sBAAsB,EACtBC,QAAS,CAAEC,IAAK,EAAGC,OAAQ,IAC3BC,SAAS,EACTC,iBAAiB,EACjBC,UAAW,CAAEC,SAAU,UAAWC,WAAY,UAAWC,sBAAuB,cAI3FtD,EAAIA,IAAA,CAAAC,GAAI,CAAEC,MAAO,OAAQ9E,OAAQ,GAAIiF,QAASlF,EAAa,UAAY,OAAQoI,uBAAwB,EAAGC,wBAAyB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),r=require("react-markdown"),t=require("rehype-raw"),o=require("@mui/material"),a=require("react-syntax-highlighter"),l=require("react-syntax-highlighter/dist/esm/styles/prism"),s=require("@mui/icons-material"),d=require("@mui/icons-material/ExpandMoreOutlined"),c=require("./Cognitivereasoningpanel.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=u(i),g=u(r),f=u(t),h=u(d),v=function(e){var n,i,r;void 0===e&&(e="");var t=null==e?void 0:e.replace(/\\`/g,"`");return t=null==(t=null==(t=null===(r=null==(t=null===(i=null===(n=null==(t=null==t?void 0:t.replace(/```json\s*([\s\S]*?)```/g,function(e,n){return"<codebasename>".concat(n.trim(),"</codebasename>")}))?void 0:t.replace(/^```.*\n?/,""))||void 0===n?void 0:n.replace(/\n?```$/,""))||void 0===i?void 0:i.trim())?void 0:t.replace(/^```/,""))||void 0===r?void 0:r.replace(/```$/,""))?void 0:t.replace(/<\/summary>/g,"</summary>\n"))?void 0:t.replace(/<details>/g,"\n<details>")},_=function(r){var t=r.text,o=i.useState(!1),a=o[0],l=o[1];return n.jsxs("button",e.__assign({onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(t)];case 1:return e.sent(),l(!0),setTimeout(function(){return l(!1)},2e3),[3,3];case 2:return e.sent(),[3,3];case 3:return[2]}})})},"aria-label":"Copy code",style:{position:"absolute",top:8,right:8,display:"inline-flex",alignItems:"center",gap:4,padding:"3px 8px",fontSize:"0.68rem",fontWeight:500,fontFamily:"inherit",color:a?"#16a34a":"#6B7280",background:a?"#f0fdf4":"#f3f4f6",border:"1px solid ".concat(a?"#bbf7d0":"#e5e7eb"),borderRadius:6,cursor:"pointer",transition:"all 0.2s",opacity:.85},onMouseEnter:function(e){e.currentTarget.style.opacity="1"},onMouseLeave:function(e){e.currentTarget.style.opacity="0.85"}},{children:[a?n.jsx(s.Check,{style:{fontSize:13}}):n.jsx(s.ContentCopy,{style:{fontSize:13}}),a?"Copied":"Copy"]}))},x=function(r){r.node;var t=e.__rest(r,["node"]),o=i.useState(!1),a=o[0],l=o[1],d=i.useRef(null),c=p.default.Children.toArray(t.children),u=c.find(function(e){var n;return null===(n=null==e?void 0:e.props)||void 0===n?void 0:n["data-codebase-name"]}),g=!!u,f=g?u.props["data-codebase-name"]:"",h=c.map(function(e){var n;return"string"==typeof e?e:(null===(n=e.props)||void 0===n?void 0:n.children)||""}).join("").replace(/\*\*/g,"").trim(),v=g?"From ".concat(f," codebase"):h||"Accordion title not found";return i.useEffect(function(){var e,n=null===(e=d.current)||void 0===e?void 0:e.parentElement;if(n){var i=function(){return l(n.open)};return i(),n.addEventListener("toggle",i),function(){return n.removeEventListener("toggle",i)}}},[]),n.jsxs("summary",e.__assign({ref:d,style:{padding:"8px 12px",listStyleType:"none",cursor:"pointer",fontWeight:600,fontSize:"0.82rem",color:"#6932E2",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,borderRadius:8,background:a?"#f5f3ff":"transparent",transition:"background 0.2s"}},{children:[n.jsx("span",{children:v}),n.jsx("div",e.__assign({style:{display:"flex",alignItems:"center",flexShrink:0,color:"#6932E2"}},{children:a?n.jsx(s.ExpandLess,{sx:{fontSize:"1.1rem"}}):n.jsx(s.ExpandMore,{sx:{fontSize:"1.1rem"}})}))]}))},m=function(r){var t=r.message,s=r.fontSize,d=r.extraMetaData,u=r.isDarkMode,m=void 0!==u&&u,b=r.cognitiveDecisioningStyles,y=r.style,j=r.sx,S=null!=s?s:"0.88rem",k=m?"#e2e8f0":"#1f2937",w=m?"#f8fafc":"#111827",M=i.useState({open:!1,data:null,activeKey:null}),C=M[0],z=M[1],R=function(){return z({open:!1,data:null,activeKey:null})},W=i.useMemo(function(){var e=function(e){var n={};return{processed:e.replace(/<!--\s*<ai_reasoning>\s*([\s\S]*?)\s*<\/ai_reasoning>\s*-->/g,function(e,i){try{var r=JSON.parse(i.trim()),t=r.id||"reasoning_".concat(Object.keys(n).length);return n[t]=r,'<aireasoning data-reasoning-key="'.concat(t,'">').concat(t,"</aireasoning>")}catch(e){return console.warn("[ai_reasoning] Failed to parse block:",e),""}}),reasoningMap:n}}(t||"");return{processedMessage:e.processed,inlineReasoningMap:e.reasoningMap}},[t]),E=W.processedMessage,q=W.inlineReasoningMap,B=i.useMemo(function(){return{aireasoning:function(i){i.node;var r=e.__rest(i,["node"])["data-reasoning-key"],t=q[r];if(!t)return null;var a=C.open&&C.activeKey===r;return n.jsxs("div",e.__assign({style:{margin:"6px 0"}},{children:[n.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation();var n=function(e){var n,i,r,t,o,a=[];return(null!==(i=null===(n=e.aiReasoningCitation)||void 0===n?void 0:n.gpt_citation)&&void 0!==i?i:[]).forEach(function(e){var n,i,r,t,o,l,s,d,c,u,p=null!==(i=null===(n=e.customMetadata)||void 0===n?void 0:n.data_sources)&&void 0!==i?i:[],g=null!==(t=null===(r=e.customMetadata)||void 0===r?void 0:r.training_data_title)&&void 0!==t?t:[],f=null!==(l=null===(o=e.customMetadata)||void 0===o?void 0:o.paraphrase)&&void 0!==l?l:[],h=null===(s=p[0])||void 0===s?void 0:s.match(/<highlight>([\s\S]*?)<\/highlight>/),v=h?h[1].trim():null!==(d=p[0])&&void 0!==d?d:"";a.push({citation_number:Number(e.citation_number),section_ref:null!==(c=g[0])&&void 0!==c?c:"",paraphrase:null!==(u=f[0])&&void 0!==u?u:"",highlight:v})}),{block_cognitive_reasoning_html:null!==(r=e.reasoning)&&void 0!==r?r:"",block_cognitive_gap_html:null!==(t=e.Gap)&&void 0!==t?t:"",block_cognitive_confidence:Number(null!==(o=e.decision_strength)&&void 0!==o?o:0),block_cognitive_citations:a}}(t);z(function(e){return e.open&&e.activeKey===r?{open:!1,data:null,activeKey:null}:{open:!0,data:n,activeKey:r}})},style:{display:"inline-flex",alignItems:"center",gap:6,cursor:"pointer",color:m?"#a78bfa":"#6932E2",fontWeight:500,fontSize:S,transition:"all 0.2s",padding:"2px 0"}},{children:[n.jsx("span",{children:r}),n.jsx("span",e.__assign({style:{display:"inline-flex",alignItems:"center",gap:2,border:m?"1px solid #334155":"1px solid #e2e8f0",borderRadius:5,padding:"4px 2px"}},{children:n.jsx(h.default,{sx:{fontSize:"1rem",color:m?"#94a3b8":"#475569",transform:a?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})}))]})),a&&C.data&&n.jsx(o.Box,e.__assign({component:"div",onClick:function(e){return e.stopPropagation()},sx:{display:"block",width:"fit-content",maxWidth:"100%",mt:1,mb:1,ml:0}},{children:n.jsx(c.default,{open:!0,onClose:R,data:C.data,styles:b})}))]}))},codebasename:function(i){var r=i.children,t=("string"==typeof r[0]?r[0]:"").trim();return""!==t?n.jsxs("div",e.__assign({"data-codebase-name":t,style:{position:"relative",margin:"12px 0"}},{children:[n.jsx(_,{text:String(r).replace(/\n$/,"")}),n.jsx(a.Prism,e.__assign({style:l.oneLight,language:"json",PreTag:"div",customStyle:{borderRadius:8,padding:"1rem",fontSize:"0.8rem",border:m?"1px solid #334155":"1px solid #e5e7eb",margin:0,lineHeight:1.6}},{children:String(r).replace(/\n$/,"")}))]})):n.jsx(n.Fragment,{})},details:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("details",e.__assign({},r,{style:{borderRadius:8,border:m?"1px solid #334155":"1px solid #e9e5f5",backgroundColor:"transparent",margin:"8px 0",overflow:"hidden"}},{children:r.children}))},summary:x,p:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("p",e.__assign({style:{wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",maxWidth:"100%",fontSize:S,lineHeight:1.7,margin:"4px 0",color:k}},{children:null==r?void 0:r.children}))},strong:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("strong",e.__assign({style:{fontWeight:650,color:w}},{children:null==r?void 0:r.children}))},h1:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h1",e.__assign({style:{fontSize:"1.35rem",fontWeight:700,color:w,margin:"20px 0 8px",lineHeight:1.3,letterSpacing:"-0.01em"}},{children:r.children}))},h2:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h2",e.__assign({style:{fontSize:"1.15rem",fontWeight:650,color:w,margin:"16px 0 6px",lineHeight:1.35}},{children:r.children}))},h3:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h3",e.__assign({style:{fontSize:"1rem",fontWeight:600,color:w,margin:"14px 0 4px",lineHeight:1.4}},{children:r.children}))},h4:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h4",e.__assign({style:{fontSize:"0.92rem",fontWeight:600,color:k,margin:"12px 0 4px",lineHeight:1.4}},{children:r.children}))},ol:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ol",e.__assign({style:{listStyleType:"decimal",marginLeft:20,paddingLeft:4,display:"flex",flexDirection:"column",gap:2}},{children:null==r?void 0:r.children}))},ul:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ul",e.__assign({style:{listStyleType:"disc",marginLeft:20,paddingLeft:4,display:"flex",flexDirection:"column",gap:2}},{children:null==r?void 0:r.children}))},li:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("li",e.__assign({style:{fontSize:S,lineHeight:1.7,color:k,paddingLeft:4}},{children:r.children}))},blockquote:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("blockquote",e.__assign({style:{margin:"12px 0",padding:"8px 16px",borderLeft:"3px solid #8b5cf6",background:m?"#1e1b4b":"#faf5ff",borderRadius:"0 6px 6px 0",color:m?"#cbd5e1":"#4b5563",fontStyle:"italic",fontSize:S,lineHeight:1.65}},{children:r.children}))},hr:function(){return n.jsx("hr",{style:{border:"none",height:1,background:m?"linear-gradient(to right, transparent, #334155, transparent)":"linear-gradient(to right, transparent, #d1d5db, transparent)",margin:"16px 0"}})},table:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("div",e.__assign({style:{overflowX:"auto",margin:"12px 0",borderRadius:8,border:m?"1px solid #334155":"1px solid #e5e7eb"}},{children:n.jsx("table",e.__assign({style:{width:"100%",borderCollapse:"collapse",fontSize:"0.8rem",lineHeight:1.5}},{children:r.children}))}))},thead:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("thead",e.__assign({style:{background:m?"#1e293b":"#f9fafb",borderBottom:m?"2px solid #334155":"2px solid #e5e7eb"}},{children:r.children}))},th:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("th",e.__assign({style:{padding:"8px 12px",textAlign:"left",fontWeight:600,fontSize:"0.76rem",color:m?"#cbd5e1":"#374151",whiteSpace:"nowrap"}},{children:r.children}))},td:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("td",e.__assign({style:{padding:"8px 12px",borderTop:m?"1px solid #334155":"1px solid #f3f4f6",color:m?"#94a3b8":"#4b5563",fontSize:"0.8rem"}},{children:r.children}))},a:function(i){var r=i.children;i.node;var t=e.__rest(i,["children","node"]),a=t["data-cognitive-reasoning"];if(a&&(null==d?void 0:d[a]))return n.jsxs(n.Fragment,{children:[n.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation();var n=function(e){var n,i,r,t,o;if(!e)return null;var a=[];return(null!==(i=null===(n=e.aiReasoningCitation)||void 0===n?void 0:n.gpt_citation)&&void 0!==i?i:[]).forEach(function(e){var n,i,r,t,o,l,s,d,c,u,p=null!==(i=null===(n=e.customMetadata)||void 0===n?void 0:n.data_sources)&&void 0!==i?i:[],g=null!==(t=null===(r=e.customMetadata)||void 0===r?void 0:r.training_data_title)&&void 0!==t?t:[],f=null!==(l=null===(o=e.customMetadata)||void 0===o?void 0:o.paraphrase)&&void 0!==l?l:[],h=null===(s=p[0])||void 0===s?void 0:s.match(/<highlight>([\s\S]*?)<\/highlight>/),v=h?h[1].trim():null!==(d=p[0])&&void 0!==d?d:"";a.push({citation_number:Number(e.citation_number),section_ref:null!==(c=g[0])&&void 0!==c?c:"",paraphrase:null!==(u=f[0])&&void 0!==u?u:"",highlight:v})}),{block_cognitive_reasoning_html:null!==(r=e.Reasoning)&&void 0!==r?r:"",block_cognitive_gap_html:null!==(t=e.Gap)&&void 0!==t?t:"",block_cognitive_confidence:Number(null!==(o=e.Confidence_score)&&void 0!==o?o:0),block_cognitive_citations:a}}(d[a]);z(function(e){return e.open&&e.activeKey===a?{open:!1,data:null,activeKey:null}:{open:!0,data:n,activeKey:a}})},style:{color:m?"#a78bfa":"#6932E2",fontWeight:500,cursor:"pointer",transition:"all 0.2s",padding:"0 2px",position:"relative",display:"flex",alignItems:"center",gap:6,width:"fit-content"}},{children:[r||"",n.jsx("span",e.__assign({style:{cursor:"pointer",padding:"4px 2px",display:"flex",alignItems:"center",gap:2,border:m?"1px solid #334155":"1px solid #e2e8f0",borderRadius:"5px",width:"fit-content"}},{children:n.jsx(h.default,{sx:{fontSize:"1rem",color:m?"#94a3b8":"#475569",transition:"transform 0.2s"}})}))]})),C.open&&C.activeKey===a&&C.data&&n.jsx(o.Box,e.__assign({component:"div",onClick:function(e){return e.stopPropagation()},sx:{display:"block",width:"fit-content",maxWidth:"100%",mt:1,mb:1,ml:0}},{children:n.jsx(c.default,{open:!0,onClose:R,data:C.data,styles:b})}))]});var l=!1;try{l=new URL(null==t?void 0:t.href).protocol.startsWith("http")}catch(e){l=!1}return l?n.jsx("a",e.__assign({href:null==t?void 0:t.href,style:{color:m?"#a78bfa":"#6932E2",textDecoration:"none",fontWeight:500,borderBottom:m?"1px solid #7c3aed":"1px solid #c4b5fd",transition:"border-color 0.2s, color 0.2s"},target:"_blank",rel:"noopener noreferrer",onMouseEnter:function(e){e.currentTarget.style.borderBottomColor=m?"#a78bfa":"#6932E2"},onMouseLeave:function(e){e.currentTarget.style.borderBottomColor=m?"#7c3aed":"#c4b5fd"}},{children:r})):n.jsx("span",{children:r})},sup:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx(o.Tooltip,e.__assign({title:r.children,placement:"top",arrow:!0},{children:n.jsx(o.Box,e.__assign({component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,borderRadius:"50%",background:m?"#3730a3":"#ede9fe",color:m?"#c084fc":"#7c3aed",fontSize:"0.6rem",fontWeight:700,verticalAlign:"super",cursor:"pointer",userSelect:"none",lineHeight:1,transition:"all 0.2s","&:hover":{background:m?"#6d28d9":"#7c3aed",color:"#fff"}},"aria-label":"Info",role:"button"},{children:"i"}))}))},code:function(i){var r=i.children;return n.jsx("code",e.__assign({style:{fontFamily:"'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, monospace",fontSize:"0.82em",color:m?"#e9d5ff":"#9333ea",background:m?"#2e1065":"#faf5ff",padding:"1.5px 5px",borderRadius:4,border:m?"1px solid #581c87":"1px solid #f3e8ff",fontWeight:500}},{children:r}))},pre:function(i){var r=i.children,t=function(e){var n;return"string"==typeof e?e:(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n.children)?(Array.isArray(e.props.children)?e.props.children:[e.props.children]).map(t).join(""):""},o=p.default.Children.toArray(r).map(t).join("");return n.jsxs("div",e.__assign({style:{position:"relative",margin:"12px 0"}},{children:[n.jsx(_,{text:o}),n.jsx("pre",e.__assign({style:{fontFamily:"'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, monospace",fontSize:"0.8rem",lineHeight:1.6,color:k,background:m?"#0f172a":"#f9fafb",border:m?"1px solid #334155":"1px solid #e5e7eb",borderRadius:8,padding:"14px 16px",margin:0,overflowX:"auto",whiteSpace:"pre"}},{children:r}))]}))},img:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("img",e.__assign({},r,{style:{maxWidth:"100%",height:"auto",borderRadius:8,margin:"8px 0",border:m?"1px solid #334155":"1px solid #e5e7eb"},loading:"lazy"}))}}},[t,S,d,C.activeKey,C.open,b,q,m,k,w]);return n.jsx(o.Box,e.__assign({className:"pg-markdown-renderer",style:y,sx:e.__assign(e.__assign({fontSize:S,lineHeight:1.7,color:k,wordBreak:"break-word",position:"relative"},j),{"& span[style*='color'], & font[color]":m?{color:"#60a5fa !important"}:{},"& a":{color:m?"#a78bfa !important":"#6932E2 !important"},"& strong":{color:m?"#f8fafc !important":"#111827 !important"},"& h1, & h2, & h3, & h4, & h5, & h6":{color:m?"#f1f5f9 !important":"#111827 !important"}})},{children:n.jsx(g.default,e.__assign({components:B,rehypePlugins:[f.default],className:"react-markdown-renderer-with-overrides"},{children:v(E)}))}))};exports.MarkdownRenderer=m,exports.default=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("react-markdown"),r=require("rehype-raw"),o=require("@mui/material"),i=require("react-syntax-highlighter"),a=require("react-syntax-highlighter/dist/esm/styles/prism"),s=require("@mui/icons-material"),l=require("@mui/icons-material/ExpandMoreOutlined"),d=require("./Cognitivereasoningpanel.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=c(t),g=c(n),h=c(r),f=c(l);const x=(e="")=>{let t=e?.replace(/\\`/g,"`");return t=t?.replace(/```json\s*([\s\S]*?)```/g,(e,t)=>`<codebasename>${t.trim()}</codebasename>`),t=t?.replace(/^```.*\n?/,"")?.replace(/\n?```$/,"")?.trim(),t=t?.replace(/^```/,"")?.replace(/```$/,""),t=t?.replace(/<\/summary>/g,"</summary>\n"),t=t?.replace(/<details>/g,"\n<details>"),t},m=({text:n})=>{const[r,o]=t.useState(!1);return e.jsxs("button",{onClick:async()=>{try{await navigator.clipboard.writeText(n),o(!0),setTimeout(()=>o(!1),2e3)}catch{}},"aria-label":"Copy code",style:{position:"absolute",top:8,right:8,display:"inline-flex",alignItems:"center",gap:4,padding:"3px 8px",fontSize:"0.68rem",fontWeight:500,fontFamily:"inherit",color:r?"#16a34a":"#6B7280",background:r?"#f0fdf4":"#f3f4f6",border:"1px solid "+(r?"#bbf7d0":"#e5e7eb"),borderRadius:6,cursor:"pointer",transition:"all 0.2s",opacity:.85},onMouseEnter:e=>{e.currentTarget.style.opacity="1"},onMouseLeave:e=>{e.currentTarget.style.opacity="0.85"},children:[r?e.jsx(s.Check,{style:{fontSize:13}}):e.jsx(s.ContentCopy,{style:{fontSize:13}}),r?"Copied":"Copy"]})},u=({node:n,...r})=>{const[o,i]=t.useState(!1),a=t.useRef(null),l=p.default.Children.toArray(r.children),d=l.find(e=>e?.props?.["data-codebase-name"]),c=!!d,g=c?d.props["data-codebase-name"]:"",h=l.map(e=>"string"==typeof e?e:e.props?.children||"").join("").replace(/\*\*/g,"").trim(),f=c?`From ${g} codebase`:h||"Accordion title not found";return t.useEffect(()=>{const e=a.current?.parentElement;if(!e)return;const t=()=>i(e.open);return t(),e.addEventListener("toggle",t),()=>e.removeEventListener("toggle",t)},[]),e.jsxs("summary",{ref:a,style:{padding:"8px 12px",listStyleType:"none",cursor:"pointer",fontWeight:600,fontSize:"0.82rem",color:"#6932E2",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,borderRadius:8,background:o?"#f5f3ff":"transparent",transition:"background 0.2s"},children:[e.jsx("span",{children:f}),e.jsx("div",{style:{display:"flex",alignItems:"center",flexShrink:0,color:"#6932E2"},children:o?e.jsx(s.ExpandLess,{sx:{fontSize:"1.1rem"}}):e.jsx(s.ExpandMore,{sx:{fontSize:"1.1rem"}})})]})},b=({message:n,fontSize:r,extraMetaData:s,isDarkMode:l=!1,cognitiveDecisioningStyles:c,style:b,sx:y})=>{const j=r??"0.88rem",v=l?"#e2e8f0":"#1f2937",S=l?"#f8fafc":"#111827",[k,_]=t.useState({open:!1,data:null,activeKey:null}),w=()=>_({open:!1,data:null,activeKey:null}),{processedMessage:M,inlineReasoningMap:C}=t.useMemo(()=>{const{processed:e,reasoningMap:t}=(e=>{const t={};return{processed:e.replace(/<!--\s*<ai_reasoning>\s*([\s\S]*?)\s*<\/ai_reasoning>\s*-->/g,(e,n)=>{try{const e=JSON.parse(n.trim()),r=e.id||`reasoning_${Object.keys(t).length}`;return t[r]=e,`<aireasoning data-reasoning-key="${r}">${r}</aireasoning>`}catch(e){return console.warn("[ai_reasoning] Failed to parse block:",e),""}}),reasoningMap:t}})(n||"");return{processedMessage:e,inlineReasoningMap:t}},[n]),z=t.useMemo(()=>({aireasoning:({node:t,...n})=>{const r=n["data-reasoning-key"],i=C[r];if(!i)return null;const a=k.open&&k.activeKey===r;return e.jsxs("div",{style:{margin:"6px 0"},children:[e.jsxs("span",{onClick:e=>{e.stopPropagation();const t=(e=>{const t=[];return(e.aiReasoningCitation?.gpt_citation??[]).forEach(e=>{const n=e.customMetadata?.data_sources??[],r=e.customMetadata?.training_data_title??[],o=e.customMetadata?.paraphrase??[],i=n[0]?.match(/<highlight>([\s\S]*?)<\/highlight>/),a=i?i[1].trim():n[0]??"";t.push({citation_number:Number(e.citation_number),section_ref:r[0]??"",paraphrase:o[0]??"",highlight:a})}),{block_cognitive_reasoning_html:e.reasoning??"",block_cognitive_gap_html:e.Gap??"",block_cognitive_confidence:Number(e.decision_strength??0),block_cognitive_citations:t}})(i);_(e=>e.open&&e.activeKey===r?{open:!1,data:null,activeKey:null}:{open:!0,data:t,activeKey:r})},style:{display:"inline-flex",alignItems:"center",gap:6,cursor:"pointer",color:l?"#a78bfa":"#6932E2",fontWeight:500,fontSize:j,transition:"all 0.2s",padding:"2px 0"},children:[e.jsx("span",{children:r}),e.jsx("span",{style:{display:"inline-flex",alignItems:"center",gap:2,border:l?"1px solid #334155":"1px solid #e2e8f0",borderRadius:5,padding:"4px 2px"},children:e.jsx(f.default,{sx:{fontSize:"1rem",color:l?"#94a3b8":"#475569",transform:a?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s"}})})]}),a&&k.data&&e.jsx(o.Box,{component:"div",onClick:e=>e.stopPropagation(),sx:{display:"block",width:"fit-content",maxWidth:"100%",mt:1,mb:1,ml:0},children:e.jsx(d.default,{open:!0,onClose:w,data:k.data,styles:c})})]})},codebasename:({children:t})=>{const n=("string"==typeof t[0]?t[0]:"").trim();return""!==n?e.jsxs("div",{"data-codebase-name":n,style:{position:"relative",margin:"12px 0"},children:[e.jsx(m,{text:String(t).replace(/\n$/,"")}),e.jsx(i.Prism,{style:a.oneLight,language:"json",PreTag:"div",customStyle:{borderRadius:8,padding:"1rem",fontSize:"0.8rem",border:l?"1px solid #334155":"1px solid #e5e7eb",margin:0,lineHeight:1.6},children:String(t).replace(/\n$/,"")})]}):e.jsx(e.Fragment,{})},details:({node:t,...n})=>e.jsx("details",{...n,style:{borderRadius:8,border:l?"1px solid #334155":"1px solid #e9e5f5",backgroundColor:"transparent",margin:"8px 0",overflow:"hidden"},children:n.children}),summary:u,p:({node:t,...n})=>e.jsx("p",{style:{wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",maxWidth:"100%",fontSize:j,lineHeight:1.7,margin:"4px 0",color:v},children:n?.children}),strong:({node:t,...n})=>e.jsx("strong",{style:{fontWeight:650,color:S},children:n?.children}),h1:({node:t,...n})=>e.jsx("h1",{style:{fontSize:"1.35rem",fontWeight:700,color:S,margin:"20px 0 8px",lineHeight:1.3,letterSpacing:"-0.01em"},children:n.children}),h2:({node:t,...n})=>e.jsx("h2",{style:{fontSize:"1.15rem",fontWeight:650,color:S,margin:"16px 0 6px",lineHeight:1.35},children:n.children}),h3:({node:t,...n})=>e.jsx("h3",{style:{fontSize:"1rem",fontWeight:600,color:S,margin:"14px 0 4px",lineHeight:1.4},children:n.children}),h4:({node:t,...n})=>e.jsx("h4",{style:{fontSize:"0.92rem",fontWeight:600,color:v,margin:"12px 0 4px",lineHeight:1.4},children:n.children}),ol:({node:t,...n})=>e.jsx("ol",{style:{listStyleType:"decimal",marginLeft:20,paddingLeft:4,display:"flex",flexDirection:"column",gap:2},children:n?.children}),ul:({node:t,...n})=>e.jsx("ul",{style:{listStyleType:"disc",marginLeft:20,paddingLeft:4,display:"flex",flexDirection:"column",gap:2},children:n?.children}),li:({node:t,...n})=>e.jsx("li",{style:{fontSize:j,lineHeight:1.7,color:v,paddingLeft:4},children:n.children}),blockquote:({node:t,...n})=>e.jsx("blockquote",{style:{margin:"12px 0",padding:"8px 16px",borderLeft:"3px solid #8b5cf6",background:l?"#1e1b4b":"#faf5ff",borderRadius:"0 6px 6px 0",color:l?"#cbd5e1":"#4b5563",fontStyle:"italic",fontSize:j,lineHeight:1.65},children:n.children}),hr:()=>e.jsx("hr",{style:{border:"none",height:1,background:l?"linear-gradient(to right, transparent, #334155, transparent)":"linear-gradient(to right, transparent, #d1d5db, transparent)",margin:"16px 0"}}),table:({node:t,...n})=>e.jsx("div",{style:{overflowX:"auto",margin:"12px 0",borderRadius:8,border:l?"1px solid #334155":"1px solid #e5e7eb"},children:e.jsx("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"0.8rem",lineHeight:1.5},children:n.children})}),thead:({node:t,...n})=>e.jsx("thead",{style:{background:l?"#1e293b":"#f9fafb",borderBottom:l?"2px solid #334155":"2px solid #e5e7eb"},children:n.children}),th:({node:t,...n})=>e.jsx("th",{style:{padding:"8px 12px",textAlign:"left",fontWeight:600,fontSize:"0.76rem",color:l?"#cbd5e1":"#374151",whiteSpace:"nowrap"},children:n.children}),td:({node:t,...n})=>e.jsx("td",{style:{padding:"8px 12px",borderTop:l?"1px solid #334155":"1px solid #f3f4f6",color:l?"#94a3b8":"#4b5563",fontSize:"0.8rem"},children:n.children}),a:({children:t,node:n,...r})=>{const i=r["data-cognitive-reasoning"];if(i&&s?.[i])return e.jsxs(e.Fragment,{children:[e.jsxs("span",{onClick:e=>{e.stopPropagation();const t=(e=>{if(!e)return null;const t=[];return(e.aiReasoningCitation?.gpt_citation??[]).forEach(e=>{const n=e.customMetadata?.data_sources??[],r=e.customMetadata?.training_data_title??[],o=e.customMetadata?.paraphrase??[],i=n[0]?.match(/<highlight>([\s\S]*?)<\/highlight>/),a=i?i[1].trim():n[0]??"";t.push({citation_number:Number(e.citation_number),section_ref:r[0]??"",paraphrase:o[0]??"",highlight:a})}),{block_cognitive_reasoning_html:e.Reasoning??"",block_cognitive_gap_html:e.Gap??"",block_cognitive_confidence:Number(e.Confidence_score??0),block_cognitive_citations:t}})(s[i]);_(e=>e.open&&e.activeKey===i?{open:!1,data:null,activeKey:null}:{open:!0,data:t,activeKey:i})},style:{color:l?"#a78bfa":"#6932E2",fontWeight:500,cursor:"pointer",transition:"all 0.2s",padding:"0 2px",position:"relative",display:"flex",alignItems:"center",gap:6,width:"fit-content"},children:[t||"",e.jsx("span",{style:{cursor:"pointer",padding:"4px 2px",display:"flex",alignItems:"center",gap:2,border:l?"1px solid #334155":"1px solid #e2e8f0",borderRadius:"5px",width:"fit-content"},children:e.jsx(f.default,{sx:{fontSize:"1rem",color:l?"#94a3b8":"#475569",transition:"transform 0.2s"}})})]}),k.open&&k.activeKey===i&&k.data&&e.jsx(o.Box,{component:"div",onClick:e=>e.stopPropagation(),sx:{display:"block",width:"fit-content",maxWidth:"100%",mt:1,mb:1,ml:0},children:e.jsx(d.default,{open:!0,onClose:w,data:k.data,styles:c})})]});let a=!1;try{a=new URL(r?.href).protocol.startsWith("http")}catch{a=!1}return a?e.jsx("a",{href:r?.href,style:{color:l?"#a78bfa":"#6932E2",textDecoration:"none",fontWeight:500,borderBottom:l?"1px solid #7c3aed":"1px solid #c4b5fd",transition:"border-color 0.2s, color 0.2s"},target:"_blank",rel:"noopener noreferrer",onMouseEnter:e=>{e.currentTarget.style.borderBottomColor=l?"#a78bfa":"#6932E2"},onMouseLeave:e=>{e.currentTarget.style.borderBottomColor=l?"#7c3aed":"#c4b5fd"},children:t}):e.jsx("span",{children:t})},sup:({node:t,...n})=>e.jsx(o.Tooltip,{title:n.children,placement:"top",arrow:!0,children:e.jsx(o.Box,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,borderRadius:"50%",background:l?"#3730a3":"#ede9fe",color:l?"#c084fc":"#7c3aed",fontSize:"0.6rem",fontWeight:700,verticalAlign:"super",cursor:"pointer",userSelect:"none",lineHeight:1,transition:"all 0.2s","&:hover":{background:l?"#6d28d9":"#7c3aed",color:"#fff"}},"aria-label":"Info",role:"button",children:"i"})}),code:({children:t})=>e.jsx("code",{style:{fontFamily:"'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, monospace",fontSize:"0.82em",color:l?"#e9d5ff":"#9333ea",background:l?"#2e1065":"#faf5ff",padding:"1.5px 5px",borderRadius:4,border:l?"1px solid #581c87":"1px solid #f3e8ff",fontWeight:500},children:t}),pre:({children:t})=>{const n=e=>{if("string"==typeof e)return e;if(e?.props?.children){return(Array.isArray(e.props.children)?e.props.children:[e.props.children]).map(n).join("")}return""},r=p.default.Children.toArray(t).map(n).join("");return e.jsxs("div",{style:{position:"relative",margin:"12px 0"},children:[e.jsx(m,{text:r}),e.jsx("pre",{style:{fontFamily:"'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, monospace",fontSize:"0.8rem",lineHeight:1.6,color:v,background:l?"#0f172a":"#f9fafb",border:l?"1px solid #334155":"1px solid #e5e7eb",borderRadius:8,padding:"14px 16px",margin:0,overflowX:"auto",whiteSpace:"pre"},children:t})]})},img:({node:t,...n})=>e.jsx("img",{...n,style:{maxWidth:"100%",height:"auto",borderRadius:8,margin:"8px 0",border:l?"1px solid #334155":"1px solid #e5e7eb"},loading:"lazy"})}),[n,j,s,k.activeKey,k.open,c,C,l,v,S]);return e.jsx(o.Box,{className:"pg-markdown-renderer",style:b,sx:{fontSize:j,lineHeight:1.7,color:v,wordBreak:"break-word",position:"relative",...y,"& span[style*='color'], & font[color]":l?{color:"#60a5fa !important"}:{},"& a":{color:l?"#a78bfa !important":"#6932E2 !important"},"& strong":{color:l?"#f8fafc !important":"#111827 !important"},"& h1, & h2, & h3, & h4, & h5, & h6":{color:l?"#f1f5f9 !important":"#111827 !important"}},children:e.jsx(g.default,{components:z,rehypePlugins:[h.default],className:"react-markdown-renderer-with-overrides",children:x(M)})})};exports.MarkdownRenderer=b,exports.default=b;
2
2
  //# sourceMappingURL=Markdownrenderer.js.map