@e-llm-studio/citation 0.0.249 → 0.0.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2374) hide show
  1. package/README.md +36 -183
  2. package/dist/BPACitationRenderer.js +2 -0
  3. package/dist/BPACitationRenderer.js.map +1 -0
  4. package/dist/BookCitation.js +2 -0
  5. package/dist/BookCitation.js.map +1 -0
  6. package/dist/Bookemon.js +2 -0
  7. package/dist/Bookemon.js.map +1 -0
  8. package/dist/ChatCitation.js +2 -0
  9. package/dist/ChatCitation.js.map +1 -0
  10. package/dist/ChatDrawer.js +2 -0
  11. package/dist/ChatDrawer.js.map +1 -0
  12. package/dist/CitationRenderer.js +2 -0
  13. package/dist/CitationRenderer.js.map +1 -0
  14. package/dist/CodeCitation.js +2 -0
  15. package/dist/CodeCitation.js.map +1 -0
  16. package/dist/CognitiveInternalgptCoreComponent.js +2 -0
  17. package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
  18. package/dist/CognitiveInternalgptReasoning.js +2 -0
  19. package/dist/CognitiveInternalgptReasoning.js.map +1 -0
  20. package/dist/GptWebCitation.js +2 -0
  21. package/dist/GptWebCitation.js.map +1 -0
  22. package/dist/IngestionStatusComponent.js +2 -0
  23. package/dist/IngestionStatusComponent.js.map +1 -0
  24. package/dist/PdfViewer.js +2 -0
  25. package/dist/PdfViewer.js.map +1 -0
  26. package/dist/ProjectAccordion.js +2 -0
  27. package/dist/ProjectAccordion.js.map +1 -0
  28. package/dist/SplitterCitationsComponent.js +2 -0
  29. package/dist/SplitterCitationsComponent.js.map +1 -0
  30. package/dist/TextualGuideLinesComponent.js +2 -0
  31. package/dist/TextualGuideLinesComponent.js.map +1 -0
  32. package/dist/assests/icons/CitationsIcon.js +1 -1
  33. package/dist/assests/icons/CitationsIcon.js.map +1 -1
  34. package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
  35. package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
  36. package/dist/assests/icons/InfoAlert.js +1 -1
  37. package/dist/assests/icons/InfoAlert.js.map +1 -1
  38. package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
  39. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  40. package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
  41. package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
  42. package/dist/assests/svg/PdfViewerIcons.js +1 -1
  43. package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
  44. package/dist/assests/svg/SparkleIcon.js +1 -1
  45. package/dist/assests/svg/SparkleIcon.js.map +1 -1
  46. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
  47. package/dist/assests/svg/chevronUp.svg.js.map +1 -1
  48. package/dist/cjs/BPACitationRenderer.js +2 -0
  49. package/dist/cjs/BPACitationRenderer.js.map +1 -0
  50. package/dist/cjs/BookCitation.js +2 -0
  51. package/dist/cjs/BookCitation.js.map +1 -0
  52. package/dist/cjs/Bookemon.js +2 -0
  53. package/dist/cjs/Bookemon.js.map +1 -0
  54. package/dist/cjs/ChatCitation.js +2 -0
  55. package/dist/cjs/ChatCitation.js.map +1 -0
  56. package/dist/cjs/ChatDrawer.js +2 -0
  57. package/dist/cjs/ChatDrawer.js.map +1 -0
  58. package/dist/cjs/CitationRenderer.js +2 -0
  59. package/dist/cjs/CitationRenderer.js.map +1 -0
  60. package/dist/cjs/CodeCitation.js +2 -0
  61. package/dist/cjs/CodeCitation.js.map +1 -0
  62. package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
  63. package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
  64. package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
  65. package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
  66. package/dist/cjs/GptWebCitation.js +2 -0
  67. package/dist/cjs/GptWebCitation.js.map +1 -0
  68. package/dist/cjs/IngestionStatusComponent.js +2 -0
  69. package/dist/cjs/IngestionStatusComponent.js.map +1 -0
  70. package/dist/cjs/PdfViewer.js +2 -0
  71. package/dist/cjs/PdfViewer.js.map +1 -0
  72. package/dist/cjs/ProjectAccordion.js +2 -0
  73. package/dist/cjs/ProjectAccordion.js.map +1 -0
  74. package/dist/cjs/SplitterCitationsComponent.js +2 -0
  75. package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
  76. package/dist/cjs/TextualGuideLinesComponent.js +2 -0
  77. package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
  78. package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
  79. package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
  80. package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
  81. package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
  82. package/dist/cjs/assests/icons/InfoAlert.js +1 -1
  83. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
  84. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
  85. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  86. package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
  87. package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
  88. package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
  89. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
  90. package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
  91. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
  92. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
  93. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
  94. package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
  95. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
  96. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  97. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  98. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
  99. package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
  100. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
  101. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
  102. package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
  103. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
  104. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  105. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  106. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  107. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  108. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  109. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  110. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  111. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  112. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  113. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  114. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  115. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  116. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  117. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  118. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  119. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  120. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  121. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  122. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  123. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  124. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
  125. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  126. package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
  127. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
  128. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
  129. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  130. package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
  131. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
  132. package/dist/cjs/features/Bookemon/BookemonStyles.js +2 -0
  133. package/dist/cjs/features/Bookemon/BookemonStyles.js.map +1 -0
  134. package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
  135. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
  136. package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
  137. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
  138. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
  139. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  140. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  141. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  142. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  143. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  144. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
  145. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  146. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
  147. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
  148. package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
  149. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
  150. package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
  151. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
  152. package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
  153. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
  154. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
  155. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  156. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  157. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  158. package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
  159. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
  160. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
  161. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
  162. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
  163. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
  164. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  165. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  166. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
  167. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  168. package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
  169. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
  170. package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
  171. package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
  172. package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
  173. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
  174. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
  175. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
  176. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  177. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  178. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
  179. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  180. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
  181. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  182. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  183. package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
  184. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
  185. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
  186. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  187. package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
  188. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
  189. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
  190. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  191. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  192. package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
  193. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
  194. package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
  195. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
  196. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  197. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  198. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  199. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  200. package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
  201. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
  202. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
  203. package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
  204. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
  205. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  206. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  207. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  208. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  209. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
  210. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  211. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  212. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  213. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  214. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  215. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  216. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  217. package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
  218. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
  219. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  220. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  221. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  223. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  224. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  225. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
  226. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  227. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
  228. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  229. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  230. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  231. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  232. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  233. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  234. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  235. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  237. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  239. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  240. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  241. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  242. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  243. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  244. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  245. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  246. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  247. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  248. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  249. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  250. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  251. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  252. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
  253. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  254. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  255. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  256. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
  257. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  258. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  259. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  260. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  261. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  262. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
  263. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  264. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  265. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  266. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  267. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  268. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  269. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  271. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  272. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  273. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  274. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  275. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  276. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  277. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  278. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  279. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  281. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  283. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  285. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  287. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  289. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  291. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  293. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  295. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  296. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  297. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  298. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
  299. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  300. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  301. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  302. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  303. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  304. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  305. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  306. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  307. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  308. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  309. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  312. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  313. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  314. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  315. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  316. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  317. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
  318. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  319. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
  320. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  321. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  322. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
  323. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
  324. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
  325. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  326. package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
  327. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
  328. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  329. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
  330. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  331. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  332. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  333. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  334. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  335. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  336. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  337. package/dist/cjs/features/GptWebCitation/types.js +1 -1
  338. package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
  339. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
  340. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  341. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  342. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  343. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  344. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  345. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  346. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  347. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
  348. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
  349. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  350. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  351. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  352. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  353. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  354. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  355. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  356. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  357. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  358. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  359. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  360. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  361. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  362. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  363. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  364. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
  365. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  366. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  367. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  368. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  369. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
  370. package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
  371. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
  372. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  373. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  374. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  375. package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
  376. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
  377. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  378. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  379. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  380. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  381. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  382. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
  383. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
  384. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  385. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  386. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  387. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  388. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  389. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
  390. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
  391. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  392. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
  393. package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
  394. package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
  395. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  396. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
  397. package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
  398. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
  399. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  400. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
  401. package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
  402. package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
  403. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
  404. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  405. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  406. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
  407. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  408. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
  409. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  410. package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
  411. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
  412. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
  413. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  414. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  415. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  416. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  417. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  418. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  419. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  420. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  421. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  422. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  423. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  424. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  425. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  426. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  427. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  428. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  429. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  430. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  431. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  432. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  433. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  434. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  435. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  436. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  437. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  438. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  439. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  440. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  441. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  442. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  443. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  444. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  445. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  446. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  447. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  448. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  449. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  450. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  451. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  452. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  453. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  454. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  455. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  456. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  457. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  458. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  459. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  460. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  461. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  462. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  463. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  464. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  465. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  466. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  467. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  468. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  469. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  470. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  471. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  472. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  473. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  474. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  475. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  476. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  477. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  478. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  479. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
  480. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  481. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
  482. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
  483. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  484. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  485. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  486. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  487. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  488. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  489. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  490. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  491. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  492. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  493. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  494. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  495. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  496. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  497. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  498. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  499. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  500. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  501. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
  502. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  503. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  504. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  505. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  506. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  507. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  508. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  509. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  510. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  511. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
  512. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  513. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
  514. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  515. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  516. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  517. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
  518. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  519. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  520. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  521. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  522. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  523. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  524. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  525. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  526. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  527. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  528. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  529. package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
  530. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
  531. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
  532. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  533. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  534. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  535. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  536. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  537. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  538. package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
  539. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
  540. package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
  541. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
  542. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
  543. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  544. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  545. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  546. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  547. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
  548. package/dist/cjs/index.js +1 -1
  549. package/dist/cjs/lib/ui/icons.js +2 -0
  550. package/dist/cjs/lib/ui/icons.js.map +1 -0
  551. package/dist/cjs/lib/ui/materialCompat.js +2 -0
  552. package/dist/cjs/lib/ui/materialCompat.js.map +1 -0
  553. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  554. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  555. package/dist/cjs/service/apicache.service.js +1 -1
  556. package/dist/cjs/service/apicache.service.js.map +1 -1
  557. package/dist/cjs/service/onDemandApi.js +1 -1
  558. package/dist/cjs/service/onDemandApi.js.map +1 -1
  559. package/dist/cjs/types/onDemandApi.types.js +1 -1
  560. package/dist/cjs/types/onDemandApi.types.js.map +1 -1
  561. package/dist/cjs/utils/codeCitations.utils.js +1 -1
  562. package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
  563. package/dist/cjs/utils/sanitizeHtml.js +1 -1
  564. package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
  565. package/dist/cjs/utils/themeManager.js +1 -1
  566. package/dist/cjs/utils/themeManager.js.map +1 -1
  567. package/dist/constants/diagnosticStylesBySeverity.js +1 -1
  568. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
  569. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  570. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  571. package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
  572. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
  573. package/dist/features/BookCitation/BookCitation.js +1 -1
  574. package/dist/features/BookCitation/BookCitation.js.map +1 -1
  575. package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
  576. package/dist/features/BookCitation/text-cleaner.js +1 -1
  577. package/dist/features/BookCitation/text-cleaner.js.map +1 -1
  578. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  579. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  580. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  581. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  582. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  583. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  584. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  585. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  586. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  587. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  588. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  589. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  590. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  591. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  592. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  593. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  594. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  595. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  596. package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  597. package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  598. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  599. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  600. package/dist/features/Bookemon/Bookemon.js +1 -1
  601. package/dist/features/Bookemon/Bookemon.js.map +1 -1
  602. package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
  603. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  604. package/dist/features/Bookemon/BookemonContent.js +1 -1
  605. package/dist/features/Bookemon/BookemonContent.js.map +1 -1
  606. package/dist/features/Bookemon/BookemonStyles.js +2 -0
  607. package/dist/features/Bookemon/BookemonStyles.js.map +1 -0
  608. package/dist/features/Bookemon/utils/highlight.js +1 -1
  609. package/dist/features/Bookemon/utils/highlight.js.map +1 -1
  610. package/dist/features/ChatCitation/BigQueryTable.js +1 -1
  611. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
  612. package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
  613. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  614. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  615. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  616. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  617. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  618. package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
  619. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  620. package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
  621. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
  622. package/dist/features/ChatCitation/components/Chip.js +1 -1
  623. package/dist/features/ChatCitation/components/Chip.js.map +1 -1
  624. package/dist/features/ChatCitation/components/DetailedView.js +1 -1
  625. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
  626. package/dist/features/ChatCitation/components/IconContainer.js +1 -1
  627. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
  628. package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
  629. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  630. package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  631. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  632. package/dist/features/ChatCitation/components/RuleBook.js +1 -1
  633. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
  634. package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
  635. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
  636. package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
  637. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
  638. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  639. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  640. package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
  641. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  642. package/dist/features/ChatCitation/constants/renderer.js +1 -1
  643. package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
  644. package/dist/features/ChatCitation/styles/common.css.js +2 -0
  645. package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
  646. package/dist/features/ChatCitation/utils/helpers.js +1 -1
  647. package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
  648. package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
  649. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
  650. package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
  651. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  652. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  653. package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
  654. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  655. package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
  656. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  657. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  658. package/dist/features/CitationViewer/CitationsViewer.js +1 -1
  659. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
  660. package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
  661. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  662. package/dist/features/CitationViewer/components/Header.js +1 -1
  663. package/dist/features/CitationViewer/components/Header.js.map +1 -1
  664. package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
  665. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  666. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  667. package/dist/features/CitationViewer/components/Transcript.js +1 -1
  668. package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
  669. package/dist/features/CitationViewer/config/apiConfig.js +1 -1
  670. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
  671. package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  672. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  673. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  674. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  675. package/dist/features/CodeCitation/CodeCitation.js +1 -1
  676. package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
  677. package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
  678. package/dist/features/CodeCitation/_components/Accordian.js +1 -1
  679. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
  680. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  681. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  682. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  683. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  684. package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
  685. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  686. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  687. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  688. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  689. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  690. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  691. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  692. package/dist/features/CodeCitation/_components/Spinner.js +1 -1
  693. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
  694. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  695. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  696. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  697. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  698. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  699. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  700. package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
  701. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  702. package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
  703. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  704. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  705. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  706. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  707. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  708. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  709. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  710. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  711. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  712. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  713. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  714. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  715. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  716. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  717. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  718. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  719. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  720. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  721. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  722. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  723. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  724. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  725. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  726. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  727. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  728. package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
  729. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  730. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  731. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  732. package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
  733. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  734. package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  735. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  736. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  737. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  738. package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
  739. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  740. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  741. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  742. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  743. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  744. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  745. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  746. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  747. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  748. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  749. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  750. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  751. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  752. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  753. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  754. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  755. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  756. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  757. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  758. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  759. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  760. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  761. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  762. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  763. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  764. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  765. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  766. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  767. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  768. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  769. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  770. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  771. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  772. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  773. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  774. package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
  775. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  776. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  777. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  778. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  779. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  780. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  781. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  782. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  783. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  784. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  785. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  786. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  787. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  788. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  789. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  790. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  791. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  792. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  793. package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
  794. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  795. package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
  796. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  797. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  798. package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
  799. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
  800. package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
  801. package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  802. package/dist/features/ExcelCitation/utils/helper.js +1 -1
  803. package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
  804. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  805. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
  806. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  807. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  808. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  809. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  810. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  811. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  812. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  813. package/dist/features/GptWebCitation/types.js +1 -1
  814. package/dist/features/GptWebCitation/types.js.map +1 -1
  815. package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
  816. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  817. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  818. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  819. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  820. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  821. package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  822. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  823. package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
  824. package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
  825. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  826. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  827. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  828. package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  829. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  830. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  831. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  832. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  833. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  834. package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  835. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  836. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  837. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  838. package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  839. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  840. package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
  841. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  842. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  843. package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  844. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  845. package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
  846. package/dist/features/InstantLearningCitation/types/Types.js +1 -1
  847. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
  848. package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  849. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  850. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  851. package/dist/features/ManageRemainders/ManageReminders.js +1 -1
  852. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
  853. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  854. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  855. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  856. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  857. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  858. package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
  859. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
  860. package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  861. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  862. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  863. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  864. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  865. package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
  866. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  867. package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
  868. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  869. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
  870. package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
  871. package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
  872. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  873. package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
  874. package/dist/features/PdfViewer/rotationManager.js +1 -1
  875. package/dist/features/PdfViewer/rotationManager.js.map +1 -1
  876. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  877. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
  878. package/dist/features/PdfViewer/zoomStateManager.js +2 -0
  879. package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
  880. package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
  881. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  882. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  883. package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
  884. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  885. package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
  886. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  887. package/dist/features/PromptCitation/PromptCitation.js +1 -1
  888. package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
  889. package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
  890. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  891. package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  892. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  893. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  894. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  895. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  896. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  897. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  898. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  899. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  900. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  901. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  902. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  903. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  904. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  905. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  906. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  907. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  908. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  909. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  910. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  911. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  912. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  913. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  914. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  915. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  916. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  917. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  918. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  919. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  920. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  921. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  922. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  923. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  924. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  925. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  926. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  927. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  928. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  929. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  930. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  931. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  932. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  933. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  934. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  935. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  936. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  937. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  938. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  939. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  940. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  941. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  942. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  943. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  944. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  945. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  946. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  947. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  948. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  949. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  950. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  951. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  952. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  953. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  954. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  955. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  956. package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
  957. package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  958. package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
  959. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
  960. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  961. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  962. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  963. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  964. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  965. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  966. package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  967. package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  968. package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  969. package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  970. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  971. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  972. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  973. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  974. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  975. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  976. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  977. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  978. package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
  979. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  980. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  981. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  982. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  983. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  984. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  985. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  986. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  987. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  988. package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
  989. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  990. package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
  991. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  992. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  993. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  994. package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
  995. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  996. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  997. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  998. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  999. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  1000. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  1001. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  1002. package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  1003. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  1004. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  1005. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  1006. package/dist/features/SegmentReviewComponents/helper.js +1 -1
  1007. package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
  1008. package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
  1009. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  1010. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  1011. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  1012. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  1013. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  1014. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  1015. package/dist/features/SplitterCitations/icons/icons.js +1 -1
  1016. package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
  1017. package/dist/features/TableCitation/TableCitationContent.js +1 -1
  1018. package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
  1019. package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
  1020. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  1021. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  1022. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  1023. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  1024. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
  1025. package/dist/index.js +1 -1
  1026. package/dist/lib/ui/icons.js +2 -0
  1027. package/dist/lib/ui/icons.js.map +1 -0
  1028. package/dist/lib/ui/materialCompat.js +2 -0
  1029. package/dist/lib/ui/materialCompat.js.map +1 -0
  1030. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  1031. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  1032. package/dist/service/apicache.service.js +1 -1
  1033. package/dist/service/apicache.service.js.map +1 -1
  1034. package/dist/service/onDemandApi.js +1 -1
  1035. package/dist/service/onDemandApi.js.map +1 -1
  1036. package/dist/types/AutopilotStyle.d.ts +2 -0
  1037. package/dist/types/AutopilotStyle.d.ts.map +1 -0
  1038. package/dist/types/BPACitationRenderer.d.ts +3 -0
  1039. package/dist/types/BPACitationRenderer.d.ts.map +1 -0
  1040. package/dist/types/BookCitation.d.ts +3 -0
  1041. package/dist/types/BookCitation.d.ts.map +1 -0
  1042. package/dist/types/Bookemon.d.ts +3 -0
  1043. package/dist/types/Bookemon.d.ts.map +1 -0
  1044. package/dist/types/ChatCitation.d.ts +3 -0
  1045. package/dist/types/ChatCitation.d.ts.map +1 -0
  1046. package/dist/types/ChatDrawer.d.ts +3 -0
  1047. package/dist/types/ChatDrawer.d.ts.map +1 -0
  1048. package/dist/types/CitationRenderer.d.ts +3 -0
  1049. package/dist/types/CitationRenderer.d.ts.map +1 -0
  1050. package/dist/types/CodeCitation.d.ts +3 -0
  1051. package/dist/types/CodeCitation.d.ts.map +1 -0
  1052. package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
  1053. package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1054. package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
  1055. package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
  1056. package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
  1057. package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
  1058. package/dist/types/GptWebCitation.d.ts +3 -0
  1059. package/dist/types/GptWebCitation.d.ts.map +1 -0
  1060. package/dist/types/IngestionStatusComponent.d.ts +2 -0
  1061. package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
  1062. package/dist/types/PdfViewer.d.ts +3 -0
  1063. package/dist/types/PdfViewer.d.ts.map +1 -0
  1064. package/dist/types/ProjectAccordion.d.ts +3 -0
  1065. package/dist/types/ProjectAccordion.d.ts.map +1 -0
  1066. package/dist/types/SplitterCitationsComponent.d.ts +3 -0
  1067. package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
  1068. package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
  1069. package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
  1070. package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
  1071. package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
  1072. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
  1073. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  1074. package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
  1075. package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
  1076. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
  1077. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
  1078. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
  1079. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  1080. package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
  1081. package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
  1082. package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
  1083. package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
  1084. package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
  1085. package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
  1086. package/dist/types/context/DataSelectedContext.d.ts +73 -0
  1087. package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
  1088. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  1089. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  1090. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
  1091. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  1092. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  1093. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  1094. package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
  1095. package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
  1096. package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
  1097. package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
  1098. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
  1099. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  1100. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
  1101. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  1102. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
  1103. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  1104. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
  1105. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  1106. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
  1107. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  1108. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  1109. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  1110. package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
  1111. package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
  1112. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
  1113. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  1114. package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
  1115. package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
  1116. package/dist/types/features/Bookemon/BookemonStyles.d.ts +6 -0
  1117. package/dist/types/features/Bookemon/BookemonStyles.d.ts.map +1 -0
  1118. package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
  1119. package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
  1120. package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
  1121. package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
  1122. package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
  1123. package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  1124. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
  1125. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  1126. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  1127. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1128. package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
  1129. package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1130. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
  1131. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1132. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1133. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1134. package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
  1135. package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1136. package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
  1137. package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1138. package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1139. package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1140. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
  1141. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1142. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
  1143. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1144. package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
  1145. package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1146. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1147. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1148. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
  1149. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1150. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1151. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1152. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1153. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1154. package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
  1155. package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1156. package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
  1157. package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1158. package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
  1159. package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1160. package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
  1161. package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1162. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1163. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1164. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1165. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1166. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1167. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1168. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
  1169. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  1170. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  1171. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  1172. package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
  1173. package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1174. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1175. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1176. package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
  1177. package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
  1178. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1179. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1180. package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
  1181. package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1182. package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1183. package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1184. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1185. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1186. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1187. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1188. package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
  1189. package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1190. package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
  1191. package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1192. package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1193. package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1194. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
  1195. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1196. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1197. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1198. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1199. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1200. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
  1201. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1202. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1203. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1204. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
  1205. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
  1206. package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1207. package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1208. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1209. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1210. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1211. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1212. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1213. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1214. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1215. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1216. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1217. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1218. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1219. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1220. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
  1221. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1222. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
  1223. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1224. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1225. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1226. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1227. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1228. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
  1229. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1230. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1231. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1232. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1233. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1234. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1235. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1236. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
  1237. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1238. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
  1239. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1240. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1241. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1242. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1243. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1244. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
  1245. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1246. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1247. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1248. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1249. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1250. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1251. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1252. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1253. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1254. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
  1255. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1256. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1257. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1258. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1259. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1260. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1261. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1262. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1263. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1264. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1265. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1266. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  1267. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1268. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1269. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1270. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1271. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1272. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1273. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1274. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1275. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1276. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1277. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1278. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1279. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1280. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1281. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1282. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
  1283. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1284. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1285. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1286. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1287. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1288. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  1289. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1290. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1291. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1292. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1293. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1294. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1295. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1296. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1297. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1298. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1299. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1300. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
  1301. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1302. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
  1303. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1304. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1305. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1306. package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
  1307. package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
  1308. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1309. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1310. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1311. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1312. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1313. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1314. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
  1315. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1316. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
  1317. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1318. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1319. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1320. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1321. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1322. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
  1323. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1324. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1325. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1326. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1327. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1328. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1329. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1330. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1331. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1332. package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
  1333. package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1334. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1335. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1336. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1337. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1338. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1339. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1340. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1341. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1342. package/dist/types/features/GptWebCitation/types.d.ts +405 -0
  1343. package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
  1344. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1345. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1346. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1347. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1348. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1349. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1350. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1351. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1352. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1353. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1354. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1355. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1356. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1357. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1358. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1359. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1360. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1361. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1362. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1363. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1364. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1365. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1366. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1367. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1368. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1369. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1370. package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1371. package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1372. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1373. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1374. package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
  1375. package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1376. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1377. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1378. package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
  1379. package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
  1380. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1381. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1382. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1383. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1384. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1385. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1386. package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
  1387. package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1388. package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
  1389. package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1390. package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
  1391. package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1392. package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
  1393. package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1394. package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
  1395. package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
  1396. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
  1397. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1398. package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
  1399. package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
  1400. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1401. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1402. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1403. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1404. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  1405. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  1406. package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
  1407. package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  1408. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  1409. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  1410. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  1411. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  1412. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  1413. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  1414. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
  1415. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1416. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1417. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1418. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
  1419. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  1420. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
  1421. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  1422. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  1423. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  1424. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  1425. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  1426. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  1427. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  1428. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  1429. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  1430. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1431. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1432. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  1433. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  1434. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  1435. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  1436. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  1437. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  1438. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  1439. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  1440. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  1441. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  1442. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  1443. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  1444. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  1445. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  1446. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  1447. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  1448. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  1449. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  1450. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  1451. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  1452. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
  1453. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  1454. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  1455. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  1456. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
  1457. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  1458. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
  1459. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  1460. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  1461. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  1462. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
  1463. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  1464. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
  1465. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  1466. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
  1467. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  1468. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  1469. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  1470. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1471. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1472. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1473. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1474. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1475. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1476. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1477. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1478. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
  1479. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1480. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
  1481. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1482. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +11 -0
  1483. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1484. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
  1485. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1486. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
  1487. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1488. package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
  1489. package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1490. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
  1491. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1492. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  1493. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  1494. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  1495. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  1496. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
  1497. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  1498. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  1499. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  1500. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  1501. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  1502. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  1503. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  1504. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  1505. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  1506. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  1507. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  1508. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  1509. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  1510. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  1511. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  1512. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  1513. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  1514. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  1515. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  1516. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  1517. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  1518. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  1519. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  1520. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  1521. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  1522. package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
  1523. package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  1524. package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
  1525. package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
  1526. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  1527. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  1528. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  1529. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  1530. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1531. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1532. package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
  1533. package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1534. package/dist/types/features/SplitterCitations/types.d.ts +77 -0
  1535. package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
  1536. package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
  1537. package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1538. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1539. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1540. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1541. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1542. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1543. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1544. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1545. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1546. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
  1547. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1548. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1549. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1550. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1551. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1552. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1553. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1554. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1555. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1556. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1557. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1558. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1559. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1560. package/dist/types/features/UploadData/main.d.ts +9 -0
  1561. package/dist/types/features/UploadData/main.d.ts.map +1 -0
  1562. package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1563. package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1564. package/dist/types/index.d.ts +63 -0
  1565. package/dist/types/index.d.ts.map +1 -0
  1566. package/dist/types/lib/ui/icons.d.ts +46 -0
  1567. package/dist/types/lib/ui/icons.d.ts.map +1 -0
  1568. package/dist/types/lib/ui/materialCompat.d.ts +117 -0
  1569. package/dist/types/lib/ui/materialCompat.d.ts.map +1 -0
  1570. package/dist/types/methodsToExpose.d.ts +18 -0
  1571. package/dist/types/methodsToExpose.d.ts.map +1 -0
  1572. package/dist/types/onDemandApi.types.js +1 -1
  1573. package/dist/types/onDemandApi.types.js.map +1 -1
  1574. package/dist/types/service/API.d.ts +6 -0
  1575. package/dist/types/service/API.d.ts.map +1 -0
  1576. package/dist/types/service/DataService.d.ts +73 -0
  1577. package/dist/types/service/DataService.d.ts.map +1 -0
  1578. package/dist/types/service/ModelService.d.ts +68 -0
  1579. package/dist/types/service/ModelService.d.ts.map +1 -0
  1580. package/dist/types/service/ProjectService.d.ts +16 -0
  1581. package/dist/types/service/ProjectService.d.ts.map +1 -0
  1582. package/dist/types/service/SavedDataSetService.d.ts +27 -0
  1583. package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
  1584. package/dist/types/service/apicache.service.d.ts +43 -0
  1585. package/dist/types/service/apicache.service.d.ts.map +1 -0
  1586. package/dist/types/service/constants.d.ts +3 -0
  1587. package/dist/types/service/constants.d.ts.map +1 -0
  1588. package/dist/types/service/envHelperService.d.ts +5 -0
  1589. package/dist/types/service/envHelperService.d.ts.map +1 -0
  1590. package/dist/types/service/onDemandApi.d.ts +27 -0
  1591. package/dist/types/service/onDemandApi.d.ts.map +1 -0
  1592. package/dist/types/service/variableHelperService.d.ts +6 -0
  1593. package/dist/types/service/variableHelperService.d.ts.map +1 -0
  1594. package/dist/types/theme.d.ts +4 -0
  1595. package/dist/types/theme.d.ts.map +1 -0
  1596. package/dist/types/types/CodeCitationTypes.d.ts +46 -0
  1597. package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
  1598. package/dist/types/types/onDemandApi.types.d.ts +63 -0
  1599. package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
  1600. package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1601. package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1602. package/dist/types/userProvidedConfig.d.ts +8 -0
  1603. package/dist/types/userProvidedConfig.d.ts.map +1 -0
  1604. package/dist/types/utils/api.d.ts +2 -0
  1605. package/dist/types/utils/api.d.ts.map +1 -0
  1606. package/dist/types/utils/codeCitations.utils.d.ts +9 -0
  1607. package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
  1608. package/dist/types/utils/sanitizeHtml.d.ts +5 -0
  1609. package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
  1610. package/dist/types/utils/themeManager.d.ts +13 -0
  1611. package/dist/types/utils/themeManager.d.ts.map +1 -0
  1612. package/dist/utils/codeCitations.utils.js +1 -1
  1613. package/dist/utils/codeCitations.utils.js.map +1 -1
  1614. package/dist/utils/sanitizeHtml.js +1 -1
  1615. package/dist/utils/sanitizeHtml.js.map +1 -1
  1616. package/dist/utils/themeManager.js +1 -1
  1617. package/dist/utils/themeManager.js.map +1 -1
  1618. package/package.json +135 -278
  1619. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  1620. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  1621. package/dist/types/src/App.d.ts +0 -3
  1622. package/dist/types/src/App.d.ts.map +0 -1
  1623. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  1624. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  1625. package/dist/types/src/BookCitationTest.d.ts +0 -3
  1626. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  1627. package/dist/types/src/BookemonTest.d.ts +0 -83
  1628. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  1629. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  1630. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  1631. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  1632. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  1633. package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
  1634. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
  1635. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  1636. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  1637. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  1638. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  1639. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  1640. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  1641. package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
  1642. package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
  1643. package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
  1644. package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
  1645. package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
  1646. package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
  1647. package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
  1648. package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
  1649. package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
  1650. package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
  1651. package/dist/types/src/CustomStylesProvider.d.ts +0 -6
  1652. package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
  1653. package/dist/types/src/CustomThemeProvider.d.ts +0 -7
  1654. package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
  1655. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  1656. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  1657. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  1658. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  1659. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  1660. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  1661. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  1662. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  1663. package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
  1664. package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
  1665. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  1666. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  1667. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  1668. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  1669. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  1670. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  1671. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  1672. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  1673. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  1674. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  1675. package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
  1676. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
  1677. package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
  1678. package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
  1679. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  1680. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  1681. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  1682. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  1683. package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
  1684. package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
  1685. package/dist/types/src/TableCitationTest.d.ts +0 -3
  1686. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  1687. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
  1688. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
  1689. package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
  1690. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
  1691. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
  1692. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
  1693. package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
  1694. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
  1695. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
  1696. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
  1697. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
  1698. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
  1699. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
  1700. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
  1701. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  1702. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  1703. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
  1704. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
  1705. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  1706. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  1707. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
  1708. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
  1709. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
  1710. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
  1711. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
  1712. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
  1713. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
  1714. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
  1715. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
  1716. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
  1717. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
  1718. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
  1719. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
  1720. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
  1721. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  1722. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  1723. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  1724. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  1725. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  1726. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  1727. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  1728. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  1729. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  1730. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  1731. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  1732. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  1733. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  1734. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  1735. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  1736. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  1737. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  1738. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  1739. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  1740. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  1741. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  1742. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  1743. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  1744. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  1745. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  1746. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  1747. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  1748. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  1749. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  1750. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  1751. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  1752. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  1753. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  1754. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  1755. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  1756. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  1757. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
  1758. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  1759. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  1760. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  1761. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  1762. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  1763. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  1764. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  1765. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  1766. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  1767. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  1768. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  1769. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  1770. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  1771. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  1772. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  1773. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  1774. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  1775. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  1776. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  1777. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  1778. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  1779. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  1780. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  1781. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  1782. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  1783. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
  1784. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  1785. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  1786. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  1787. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  1788. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  1789. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  1790. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  1791. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  1792. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  1793. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  1794. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  1795. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  1796. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  1797. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  1798. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  1799. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
  1800. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1801. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1802. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1803. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  1804. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  1805. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  1806. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  1807. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  1808. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  1809. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  1810. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  1811. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  1812. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  1813. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  1814. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  1815. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  1816. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  1817. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  1818. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  1819. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  1820. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  1821. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  1822. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  1823. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  1824. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  1825. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
  1826. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  1827. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  1828. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  1829. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
  1830. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  1831. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  1832. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  1833. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  1834. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  1835. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  1836. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  1837. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  1838. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  1839. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
  1840. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
  1841. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  1842. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  1843. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  1844. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  1845. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  1846. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  1847. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  1848. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  1849. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  1850. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  1851. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  1852. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  1853. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
  1854. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  1855. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
  1856. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  1857. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  1858. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  1859. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  1860. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  1861. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  1862. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  1863. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
  1864. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  1865. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
  1866. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  1867. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  1868. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  1869. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
  1870. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  1871. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
  1872. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
  1873. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
  1874. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
  1875. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
  1876. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
  1877. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  1878. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  1879. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
  1880. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
  1881. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  1882. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  1883. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
  1884. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  1885. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  1886. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  1887. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  1888. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  1889. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  1890. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  1891. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  1892. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  1893. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  1894. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  1895. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  1896. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  1897. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  1898. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  1899. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  1900. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  1901. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
  1902. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  1903. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
  1904. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  1905. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  1906. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  1907. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
  1908. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  1909. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  1910. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  1911. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  1912. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  1913. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
  1914. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  1915. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  1916. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  1917. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  1918. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  1919. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  1920. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  1921. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  1922. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  1923. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  1924. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  1925. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  1926. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  1927. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  1928. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1929. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
  1930. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1931. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  1932. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
  1933. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1934. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1935. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1936. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1937. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1938. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1939. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1940. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1941. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
  1942. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1943. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
  1944. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1945. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1946. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1947. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
  1948. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
  1949. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1950. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1951. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1952. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1953. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1954. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1955. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1956. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1957. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1958. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1959. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1960. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1961. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1962. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1963. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1964. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1965. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1966. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1967. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1968. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1969. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1970. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1971. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1972. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1973. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1974. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1975. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1976. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1977. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
  1978. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
  1979. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
  1980. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
  1981. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
  1982. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
  1983. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1984. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1985. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1986. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1987. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1988. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1989. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1990. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1991. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
  1992. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
  1993. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
  1994. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
  1995. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
  1996. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
  1997. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
  1998. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
  1999. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
  2000. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
  2001. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
  2002. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
  2003. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
  2004. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
  2005. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
  2006. package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
  2007. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
  2008. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
  2009. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
  2010. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
  2011. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
  2012. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
  2013. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
  2014. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  2015. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  2016. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  2017. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  2018. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  2019. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
  2020. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
  2021. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
  2022. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
  2023. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
  2024. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
  2025. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
  2026. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
  2027. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
  2028. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
  2029. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
  2030. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
  2031. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
  2032. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
  2033. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
  2034. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
  2035. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
  2036. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
  2037. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
  2038. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
  2039. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  2040. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  2041. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  2042. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  2043. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  2044. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  2045. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  2046. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  2047. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  2048. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  2049. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  2050. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  2051. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  2052. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  2053. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  2054. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  2055. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  2056. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  2057. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
  2058. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  2059. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  2060. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  2061. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
  2062. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  2063. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
  2064. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  2065. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
  2066. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
  2067. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
  2068. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
  2069. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
  2070. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  2071. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  2072. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  2073. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  2074. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  2075. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  2076. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  2077. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
  2078. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
  2079. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
  2080. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
  2081. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
  2082. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
  2083. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
  2084. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
  2085. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  2086. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  2087. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
  2088. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
  2089. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
  2090. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
  2091. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
  2092. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
  2093. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
  2094. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
  2095. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
  2096. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
  2097. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
  2098. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
  2099. package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
  2100. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
  2101. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
  2102. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2103. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
  2104. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2105. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2106. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2107. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2108. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2109. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2110. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2111. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2112. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2113. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  2114. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  2115. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2116. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2117. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2118. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2119. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2120. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2121. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2122. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2123. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2124. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2125. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2126. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2127. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2128. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2129. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2130. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2131. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2132. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2133. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2134. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2135. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
  2136. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2137. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2138. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2139. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
  2140. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2141. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2142. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2143. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2144. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2145. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
  2146. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2147. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2148. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2149. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2150. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2151. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2152. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2153. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  2154. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  2155. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  2156. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  2157. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
  2158. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
  2159. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
  2160. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
  2161. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
  2162. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
  2163. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
  2164. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
  2165. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
  2166. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
  2167. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
  2168. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
  2169. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
  2170. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
  2171. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
  2172. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
  2173. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
  2174. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
  2175. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
  2176. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
  2177. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  2178. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  2179. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
  2180. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
  2181. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
  2182. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
  2183. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
  2184. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
  2185. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
  2186. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
  2187. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
  2188. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
  2189. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
  2190. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
  2191. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
  2192. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
  2193. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
  2194. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
  2195. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
  2196. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
  2197. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
  2198. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
  2199. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
  2200. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
  2201. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
  2202. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
  2203. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
  2204. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
  2205. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
  2206. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
  2207. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
  2208. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
  2209. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
  2210. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
  2211. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
  2212. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
  2213. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
  2214. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
  2215. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
  2216. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
  2217. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
  2218. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
  2219. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
  2220. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  2221. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  2222. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  2223. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
  2224. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
  2225. package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
  2226. package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
  2227. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  2228. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  2229. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  2230. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  2231. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
  2232. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  2233. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
  2234. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
  2235. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  2236. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  2237. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  2238. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  2239. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  2240. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  2241. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  2242. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  2243. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  2244. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  2245. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  2246. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  2247. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  2248. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  2249. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  2250. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  2251. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  2252. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  2253. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  2254. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  2255. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  2256. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  2257. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  2258. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  2259. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  2260. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  2261. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  2262. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  2263. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  2264. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  2265. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  2266. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  2267. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  2268. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  2269. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  2270. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  2271. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  2272. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  2273. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  2274. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  2275. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  2276. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  2277. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  2278. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  2279. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  2280. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  2281. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  2282. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  2283. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  2284. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  2285. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  2286. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  2287. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  2288. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  2289. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  2290. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  2291. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  2292. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  2293. package/dist/types/src/hooks/useDebounce.d.ts +0 -2
  2294. package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
  2295. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
  2296. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
  2297. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
  2298. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
  2299. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
  2300. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  2301. package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
  2302. package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
  2303. package/dist/types/src/index.d.ts +0 -63
  2304. package/dist/types/src/index.d.ts.map +0 -1
  2305. package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
  2306. package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
  2307. package/dist/types/src/methodsToExpose.d.ts +0 -13
  2308. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  2309. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
  2310. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  2311. package/dist/types/src/routes/Routes.d.ts +0 -2
  2312. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  2313. package/dist/types/src/service/API.d.ts +0 -6
  2314. package/dist/types/src/service/API.d.ts.map +0 -1
  2315. package/dist/types/src/service/DataService.d.ts +0 -73
  2316. package/dist/types/src/service/DataService.d.ts.map +0 -1
  2317. package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
  2318. package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
  2319. package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
  2320. package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
  2321. package/dist/types/src/service/ModelService.d.ts +0 -68
  2322. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  2323. package/dist/types/src/service/ProjectService.d.ts +0 -16
  2324. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  2325. package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
  2326. package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
  2327. package/dist/types/src/service/apicache.service.d.ts +0 -43
  2328. package/dist/types/src/service/apicache.service.d.ts.map +0 -1
  2329. package/dist/types/src/service/constants.d.ts +0 -3
  2330. package/dist/types/src/service/constants.d.ts.map +0 -1
  2331. package/dist/types/src/service/envHelperService.d.ts +0 -5
  2332. package/dist/types/src/service/envHelperService.d.ts.map +0 -1
  2333. package/dist/types/src/service/onDemandApi.d.ts +0 -27
  2334. package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
  2335. package/dist/types/src/service/variableHelperService.d.ts +0 -6
  2336. package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
  2337. package/dist/types/src/theme.d.ts +0 -4
  2338. package/dist/types/src/theme.d.ts.map +0 -1
  2339. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2340. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2341. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2342. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2343. package/dist/types/src/types/epubItems.d.ts +0 -23
  2344. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2345. package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
  2346. package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
  2347. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
  2348. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
  2349. package/dist/types/src/userProvidedConfig.d.ts +0 -8
  2350. package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
  2351. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2352. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2353. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2354. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2355. package/dist/types/src/utils/api.d.ts +0 -2
  2356. package/dist/types/src/utils/api.d.ts.map +0 -1
  2357. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2358. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2359. package/dist/types/src/utils/colors.d.ts +0 -5
  2360. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2361. package/dist/types/src/utils/date.d.ts +0 -1
  2362. package/dist/types/src/utils/date.d.ts.map +0 -1
  2363. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2364. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2365. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2366. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2367. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2368. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2369. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2370. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2371. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2372. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2373. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2374. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BPACitationRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"BPACitationRenderer.js","sources":["../../../../src/features/BPACitationRenderer/BPACitationRenderer.tsx"],"sourcesContent":["import { useState, ReactNode } from 'react';\nimport { ChevronDown, ChevronUp, Maximize2, X, ExternalLink } from 'lucide-react';\nimport Dialog from '@mui/material/Dialog';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport DialogContent from '@mui/material/DialogContent';\nimport IconButton from '@mui/material/IconButton';\nimport dayjs from 'dayjs';\nimport ScannedDocCitation from \"../ScannedDocCitation/ScannedDocCitation\";\nimport InstantLearningCitationWrapper from \"../InstantLearningCitation/InstantLearningCitationComponent\";\nimport SlashLoader from \"../InstantLearningCitation/SlashLoader\";\nimport NonWebReasoningComponent from \"../CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent\";\nimport CognitiveInternalgptCoreComponent from \"../CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent\";\nimport ImageCitationContent from \"../RequirementAiCitations/ImageCitation/ImageCitationContent\";\nimport WebCitationWithImageContent from \"../RequirementAiCitations/WebCitation/WebCitationWithImageContent\";\nimport ChatCitationRenderer from \"../ChatCitation/ChatCitationRenderer\";\nimport RuleBookCitationWrapper from '../DualCitation/RuleBookCitationComponent';\nimport CitationRenderer from \"../CitationRenderer/CitationRenderer\";\nimport SplitterCitationsComponent from \"../SplitterCitations/SplitterCitationsComponent\";\nimport { SourcesBQCitation } from '../DualCitation/SourceBQDataCompnent';\nimport { CITATION_TYPES } from './citationTypes';\nimport { CitationOrchestratorProps } from './BPACitationRenderer.types';\n\nexport * from './BPACitationRenderer.types';\n\nconst validate = (value: unknown, type: string, field: string) => {\n if (!value) throw new Error(`[BPACitationRenderer] ${type}: missing required field \"${field}\" in customMetaData`);\n};\n\nconst validateUrl = (value: string | undefined, type: string, field: string) => {\n validate(value, type, field);\n try { new URL(value!); } catch { throw new Error(`[BPACitationRenderer] ${type}: \"${field}\" is not a valid URL: \"${value}\"`); }\n};\n\nconst validateAny = (fields: Record<string, unknown>, type: string) => {\n if (!Object.values(fields).some(Boolean)) {\n throw new Error(`[BPACitationRenderer] ${type}: missing one of \"${Object.keys(fields).join('\", \"')}\" in customMetaData`);\n }\n};\n\nconst RuleBookGuidelinesDialog = ({\n children,\n content,\n dialogTitle = 'Guidelines',\n}: {\n children: ReactNode;\n content: ReactNode;\n dialogTitle?: string;\n}) => {\n const [open, setOpen] = useState(false);\n return (\n <>\n <span\n style={{\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n fontSize: '14px',\n fontWeight: 400,\n color: '#526eff',\n }}\n onClick={() => setOpen(true)}\n >\n {children}\n </span>\n <Dialog open={open} onClose={() => setOpen(false)} maxWidth=\"md\" fullWidth>\n <DialogTitle style={{ fontWeight: 'bold' }}>\n {dialogTitle}\n <IconButton\n edge=\"end\"\n onClick={() => setOpen(false)}\n aria-label=\"close\"\n style={{ position: 'absolute', top: 5, right: 16 }}\n size=\"large\"\n >\n <X />\n </IconButton>\n </DialogTitle>\n <DialogContent style={{ maxHeight: '70vh', overflow: 'auto' }}>{content}</DialogContent>\n </Dialog>\n </>\n );\n};\n\nconst BPACitationRenderer = ({\n href,\n children,\n isStreaming,\n onCitationToggle,\n chatCitationConfig,\n scannedDocCitationConfig,\n ruleBookCitationConfig,\n ilCitationConfig,\n gptCitationConfig,\n scannedDocCitationData,\n ilCitationData,\n chatCitationData,\n gptCitationData,\n webCitationData,\n imageCitationData,\n bqCitationData,\n title,\n citationIcon,\n isDualCitationFlag=false\n}: CitationOrchestratorProps) => {\n const [isDualCitationExpanded, setIsDualCitationExpanded] = useState(false);\n // [L3](./?citationNumber=1&citation_type=IL&citationSource=L3&decisionStrength=100%)\n // [DualCitation](./?citationNumber=1&citation_type=dual_Citation&left_citation_type=ruleBook_citation&right_citation_type=bq_data&citationSource=L3&decisionStrength=100%&left.citationNumber=2)\n\n // we need one more condition if it is dual citation? then use CognitiveInternalgptCoreComponent instead of the gpt_citation\n\n if (isStreaming) {\n return (\n <span style={{ display: 'inline-flex', alignItems: 'center', gap: '0.25rem', fontWeight: 500, color: '#6D28D9' }}>\n <span>{children}</span>\n <SlashLoader />\n </span>\n );\n }\n\n try {\n const url = new URL(href, 'http://example.com');\n const citationNumber = url.searchParams.get('citationNumber') ?? url.searchParams.get('citation_number');\n const decisionStrengthFromUrl = url.searchParams.get('decisionStrength') ?? url.searchParams.get('decision_strength');\n const citationType = url.searchParams.get('citation_type')\n const isDualCitation=isDualCitationFlag||(citationType===CITATION_TYPES.DUAL)\n\n if (!citationNumber) return null;\n if (citationType === CITATION_TYPES.SCANNED_DOC) {\n const valuePages = scannedDocCitationData?.pages;\n if (valuePages?.length) {\n return (\n <ScannedDocCitation\n pages={valuePages}\n subHeadingText={scannedDocCitationData?.artifactTitle}\n {...scannedDocCitationConfig}\n />\n );\n }\n validate(scannedDocCitationData?.gsUrl, 'scanned_doc_citation', 'gs_url');\n const images = [scannedDocCitationData!.gsUrl!];\n const highlights = (scannedDocCitationData?.highlightedCoordinates ?? []).map((coord, pageIndex) => ({\n pageIndex,\n bboxes: [coord],\n }));\n return <ScannedDocCitation images={images} highlights={highlights} {...scannedDocCitationConfig} />;\n }\n if (citationType === CITATION_TYPES.IL) {\n validate(ilCitationData?.ilLearning, 'IL', 'il_learning');\n const linkTitle =\n (children as string) ||\n ilCitationData?.linkText ||\n ilCitationData?.citationSource ||\n String(ilCitationData?.citationNumber ?? 1);\n\n return (\n <InstantLearningCitationWrapper\n ilLearning={ilCitationData!.ilLearning}\n ilLearningHighlights={ilCitationData?.ilLearningHighlights}\n comparisonHighlights={ilCitationData?.comparisonHighlights}\n decisionStrength={decisionStrengthFromUrl || ilCitationData?.decisionStrength || ''}\n linkTitle={linkTitle}\n onCitationToggle={onCitationToggle ?? (() => {})}\n config={ilCitationConfig}\n />\n );\n }\n if (citationType === CITATION_TYPES.CHAT) {\n const chatConfigData = chatCitationConfig ?? {};\n const chatData = (chatCitationData?.chatData ?? [])?.map((item) => ({\n ...item,\n timeStamp: dayjs(item.timeStamp),\n }));\n\n const hasRuleBook = !!chatCitationData?.ruleBookContent;\n\n return (\n <ChatCitationRenderer\n showRootContainer={chatConfigData.showRootContainer ?? true}\n reversePanels={chatConfigData.reversePanels}\n isRenderedCustomComponent={chatConfigData.isRenderedCustomComponent}\n modalContainerStyle={chatConfigData.modalContainerStyle}\n additionalData={chatConfigData.additionalData}\n closePreview={chatConfigData.closePreview}\n selectedIdFromReason={chatConfigData.selectedIdFromReason ?? undefined}\n rootContainer={{\n ...chatConfigData.rootContainer,\n relevanceScore: chatCitationData?.relevanceScore,\n }}\n chatContainer={{\n ...chatConfigData.chatContainer,\n chatData,\n summarizedTab: {\n ...chatConfigData.chatContainer?.summarizedTab,\n chip: {\n isActive: true,\n show: true,\n ...chatConfigData.chatContainer?.summarizedTab?.chip,\n },\n },\n detailedTab: {\n ...chatConfigData.chatContainer?.detailedTab,\n chip: {\n isActive: false,\n ...chatConfigData.chatContainer?.detailedTab?.chip,\n },\n },\n }}\n ruleBookContainer={\n hasRuleBook\n ? {\n ...chatConfigData.ruleBookContainer,\n data: {\n content: chatCitationData!.ruleBookContent!,\n highlighted_texts: chatCitationData?.ruleBookHighlights ?? [],\n },\n }\n : undefined\n }\n />\n );\n }\n if (citationType === CITATION_TYPES.GPT) {\n const value = gptCitationData?.value;\n const dataSource = value?.text ?? gptCitationData?.dataSources?.[0];\n const trainingDataTitle = value?.label ?? gptCitationData?.trainingDataTitle?.[0];\n const paraphrase = value?.paraphrase ?? gptCitationData?.paraphrase?.[0];\n validateAny({ data_sources: dataSource, training_data_title: trainingDataTitle }, CITATION_TYPES.GPT);\n const gptItem = {\n text: '',\n dataSource,\n trainingDataTitle,\n paraphrase,\n };\n const gptIconsConfig = gptCitationConfig?.iconsConfig ?? {\n ChevronDownIcon: ChevronDown,\n ChevronUpIcon: ChevronUp,\n MaximizeIcon: Maximize2,\n CloseIcon: X,\n };\n\n return (\n <NonWebReasoningComponent\n item={gptItem}\n headerTitle={gptCitationConfig?.headerTitle ?? 'GPT - Gemini 3.5 Flash'}\n iconsConfig={gptIconsConfig}\n previewCallback={gptCitationConfig?.previewCallback}\n DocumentTitle={gptCitationConfig?.DocumentTitle}\n disableMaximize={isDualCitation}\n />\n );\n\n }\n if (citationType === CITATION_TYPES.WEB) {\n validateUrl(webCitationData?.link, CITATION_TYPES.WEB, 'link');\n const webUrl = webCitationData!.link!;\n const label = (children as string) || webCitationData?.citationSource || webUrl;\n\n if (webCitationData?.screenshotUrl) {\n return (\n <WebCitationWithImageContent\n url={webUrl}\n label={label}\n gsUtilPath={webCitationData?.gsUtilPath}\n signedUrl={webCitationData.screenshotUrl}\n relevanceScore={webCitationData?.relevanceScore}\n visitIcon={ExternalLink}\n PreviewDialogCloseIcon={X}\n />\n );\n }\n\n return (\n <a href={webUrl} target=\"_blank\" rel=\"noreferrer\">\n {label}\n </a>\n );\n }\n if (citationType === CITATION_TYPES.IMAGE) {\n validateAny(\n { gs_util_path: imageCitationData?.gsUtilPath, signed_url: imageCitationData?.signedUrl },\n CITATION_TYPES.IMAGE\n );\n return (\n <ImageCitationContent\n citationTitle={(children as string) || imageCitationData?.citationSource}\n gsUtilPath={imageCitationData?.gsUtilPath}\n signedUrl={imageCitationData?.signedUrl}\n relevanceScore={imageCitationData?.relevanceScore}\n />\n );\n }\n if (citationType === CITATION_TYPES.BQ_DATA) {\n validateAny({ href_params: bqCitationData?.hrefParams, source_obj: bqCitationData?.sourceObj }, CITATION_TYPES.BQ_DATA);\n return (\n <SourcesBQCitation\n hrefParams={bqCitationData!.hrefParams}\n sourceObj={bqCitationData!.sourceObj}\n showChevron={false}\n defaultOpen={true}\n >\n {(children as string) || ''}\n </SourcesBQCitation>\n );\n }\n if (citationType === CITATION_TYPES.RULEBOOK || citationType === CITATION_TYPES.RULEBOOK_CHUNK) {\n const parsedCitationNumber = citationNumber ? parseInt(citationNumber, 10) : 0;\n\n const ruleBookElement = (\n <RuleBookCitationWrapper\n url={ruleBookCitationConfig?.url ?? ''}\n data={{\n citationNumber: ruleBookCitationConfig?.data?.citationNumber ?? parsedCitationNumber,\n fileDetails: ruleBookCitationConfig?.data?.fileDetails,\n }}\n msg={ruleBookCitationConfig?.msg}\n citationIndex={ruleBookCitationConfig?.citationIndex}\n guidelines={ruleBookCitationConfig?.guidelines}\n additionalClassNames={ruleBookCitationConfig?.additionalClassNames}\n headerTitle={ruleBookCitationConfig?.headerTitle}\n InternalGptReasoningData={ruleBookCitationConfig?.InternalGptReasoningData}\n isDataProvided={ruleBookCitationConfig?.isDataProvided}\n textualContent={ruleBookCitationConfig?.textualContent}\n phraseToHighlight={ruleBookCitationConfig?.phraseToHighlight}\n IgptHeaderTitle={ruleBookCitationConfig?.IgptHeaderTitle}\n isInternalGptReasoningLoading={ruleBookCitationConfig?.isInternalGptReasoningLoading}\n onAccordionToggle={ruleBookCitationConfig?.onAccordionToggle}\n />\n );\n\n if (!isDualCitationFlag) {\n return (\n <RuleBookGuidelinesDialog content={ruleBookElement} dialogTitle={ruleBookCitationConfig?.dialogTitle}>\n {children}\n </RuleBookGuidelinesDialog>\n );\n }\n\n return ruleBookElement;\n }\n if (citationType === CITATION_TYPES.IL_RULEBOOK) {\n const ilRuleBookElement = (\n <RuleBookCitationWrapper\n headerTitle={ruleBookCitationConfig?.headerTitle}\n InternalGptReasoningData={ruleBookCitationConfig?.InternalGptReasoningData}\n isDataProvided={ruleBookCitationConfig?.isDataProvided}\n textualContent={ruleBookCitationConfig?.textualContent}\n phraseToHighlight={ruleBookCitationConfig?.phraseToHighlight}\n IgptHeaderTitle={ruleBookCitationConfig?.IgptHeaderTitle}\n onAccordionToggle={ruleBookCitationConfig?.onAccordionToggle}\n isInternalGptReasoningLoading={ruleBookCitationConfig?.isInternalGptReasoningLoading}\n />\n );\n\n if (!isDualCitationFlag) {\n return (\n <RuleBookGuidelinesDialog content={ilRuleBookElement} dialogTitle={ruleBookCitationConfig?.dialogTitle}>\n {children}\n </RuleBookGuidelinesDialog>\n );\n }\n\n return ilRuleBookElement;\n }\n if (citationType === CITATION_TYPES.DUAL) {\n const leftCitationType = url.searchParams.get('left_citation_type');\n const rightCitationType = url.searchParams.get('right_citation_type');\n if(leftCitationType===CITATION_TYPES.DUAL||rightCitationType===CITATION_TYPES.DUAL){\n console.error(\"left or right citation type cant be dual_citation\")\n return null;\n }\n const buildSideHref = (side: 'left' | 'right', sideCitationType: string | null) => {\n const prefix = `${side}.`;\n const otherPrefix = side === 'left' ? 'right.' : 'left.';\n const sideParams = new URLSearchParams();\n\n url.searchParams.forEach((value, key) => {\n if (key === 'citation_type' || key === 'left_citation_type' || key === 'right_citation_type') return;\n if (key.startsWith(prefix) || key.startsWith(otherPrefix)) return;\n sideParams.set(key, value);\n });\n\n url.searchParams.forEach((value, key) => {\n if (key.startsWith(prefix)) sideParams.set(key.slice(prefix.length), value);\n });\n\n if (sideCitationType) sideParams.set('citation_type', sideCitationType);\n return `?${sideParams.toString()}`;\n };\n\n const leftHref = buildSideHref('left', leftCitationType);\n const rightHref = buildSideHref('right', rightCitationType);\n const dualTitle = (children as string) || title || 'Source and Guidelines';\n\n const getSideProps = (sideType: string | null) => {\n switch (sideType) {\n case CITATION_TYPES.SCANNED_DOC:\n return { scannedDocCitationData, scannedDocCitationConfig };\n case CITATION_TYPES.IL:\n return { ilCitationData, ilCitationConfig };\n case CITATION_TYPES.CHAT:\n return { chatCitationData, chatCitationConfig };\n case CITATION_TYPES.GPT:\n return { gptCitationData, gptCitationConfig };\n case CITATION_TYPES.WEB:\n return { webCitationData };\n case CITATION_TYPES.IMAGE:\n return { imageCitationData };\n case CITATION_TYPES.BQ_DATA:\n return { bqCitationData };\n case CITATION_TYPES.RULEBOOK:\n return {ruleBookCitationConfig}\n default:\n return {};\n }\n };\n\n return (\n <CitationRenderer\n inLineCitation\n citationTitle={dualTitle}\n citationIcon={citationIcon}\n isOpen={isDualCitationExpanded}\n onToggle={() => setIsDualCitationExpanded((prev) => !prev)}\n styles={{\n pillButton: {\n fontSize: '14px',\n margin: '0px',\n padding: '0px',\n color: '#526eff',\n cursor: 'pointer',\n verticalAlign: 'middle',\n whiteSpace: 'nowrap',\n display: 'inline-flex',\n alignItems: 'center',\n background: 'white',\n border: 'none',\n },\n citationContent: {\n width: '100%',\n background: 'transparent',\n minHeight: '10px',\n height: 'fit-content',\n },\n }}\n citationComponent={\n <SplitterCitationsComponent\n left={\n <BPACitationRenderer\n href={leftHref}\n onCitationToggle={onCitationToggle}\n {...getSideProps(leftCitationType)}\n isDualCitationFlag={true}\n />\n }\n right={\n <BPACitationRenderer\n href={rightHref}\n onCitationToggle={onCitationToggle}\n isDualCitationFlag={true}\n {...getSideProps(rightCitationType)}\n />\n }\n header={{ title: dualTitle, showDocIcon: false, }}\n openInFullscreen={true}\n fullscreenOnly={true}\n onFullscreenClose={() => setIsDualCitationExpanded(false)}\n />\n }\n />\n );\n }\n console.warn(`[BPACitationRenderer] unhandled citation_type: \"${citationType}\"`);\n } catch (e) {\n console.error(e);\n return null;\n }\n\n return null;\n};\n\nexport default BPACitationRenderer;\n"],"names":["validate","value","type","field","Error","validateAny","fields","Object","values","some","Boolean","keys","join","RuleBookGuidelinesDialog","children","content","dialogTitle","open","setOpen","useState","jsxs","Fragment","jsx","style","display","alignItems","cursor","fontSize","fontWeight","color","onClick","Dialog","onClose","maxWidth","fullWidth","DialogTitle","IconButton","edge","position","top","right","size","X","DialogContent","maxHeight","overflow","BPACitationRenderer","href","isStreaming","onCitationToggle","chatCitationConfig","scannedDocCitationConfig","ruleBookCitationConfig","ilCitationConfig","gptCitationConfig","scannedDocCitationData","ilCitationData","chatCitationData","gptCitationData","webCitationData","imageCitationData","bqCitationData","title","citationIcon","isDualCitationFlag","isDualCitationExpanded","setIsDualCitationExpanded","gap","SlashLoader","url","URL","citationNumber","searchParams","get","decisionStrengthFromUrl","citationType","isDualCitation","CITATION_TYPES","DUAL","SCANNED_DOC","valuePages","pages","length","ScannedDocCitation","subHeadingText","artifactTitle","gsUrl","images","highlights","highlightedCoordinates","map","coord","pageIndex","bboxes","IL","ilLearning","linkTitle","linkText","citationSource","String","InstantLearningCitationWrapper","ilLearningHighlights","comparisonHighlights","decisionStrength","config","CHAT","chatConfigData","chatData","item","timeStamp","dayjs","hasRuleBook","ruleBookContent","ChatCitationRenderer","showRootContainer","reversePanels","isRenderedCustomComponent","modalContainerStyle","additionalData","closePreview","selectedIdFromReason","rootContainer","relevanceScore","chatContainer","summarizedTab","chip","isActive","show","detailedTab","ruleBookContainer","data","highlighted_texts","ruleBookHighlights","GPT","dataSource","text","dataSources","trainingDataTitle","label","paraphrase","data_sources","training_data_title","gptItem","gptIconsConfig","iconsConfig","ChevronDownIcon","ChevronDown","ChevronUpIcon","ChevronUp","MaximizeIcon","Maximize2","CloseIcon","NonWebReasoningComponent","headerTitle","previewCallback","DocumentTitle","disableMaximize","WEB","validateUrl","link","webUrl","screenshotUrl","WebCitationWithImageContent","gsUtilPath","signedUrl","visitIcon","ExternalLink","PreviewDialogCloseIcon","target","rel","IMAGE","gs_util_path","signed_url","ImageCitationContent","citationTitle","BQ_DATA","href_params","hrefParams","source_obj","sourceObj","SourcesBQCitation","showChevron","defaultOpen","RULEBOOK","RULEBOOK_CHUNK","parsedCitationNumber","parseInt","ruleBookElement","RuleBookCitationWrapper","fileDetails","msg","citationIndex","guidelines","additionalClassNames","InternalGptReasoningData","isDataProvided","textualContent","phraseToHighlight","IgptHeaderTitle","isInternalGptReasoningLoading","onAccordionToggle","IL_RULEBOOK","ilRuleBookElement","leftCitationType","rightCitationType","console","error","buildSideHref","side","sideCitationType","prefix","otherPrefix","sideParams","URLSearchParams","forEach","key","startsWith","set","slice","toString","leftHref","rightHref","dualTitle","getSideProps","sideType","CitationRenderer","inLineCitation","isOpen","onToggle","prev","styles","pillButton","margin","padding","verticalAlign","whiteSpace","background","border","citationContent","width","minHeight","height","citationComponent","SplitterCitationsComponent","left","header","showDocIcon","openInFullscreen","fullscreenOnly","onFullscreenClose","warn","e"],"mappings":"0pCAwBA,MAAMA,EAAW,CAACC,EAAgBC,EAAcC,KAC1C,IAACF,EAAa,MAAA,IAAIG,MAAM,yBAAyBF,8BAAiCC,yBAQlFE,EAAc,CAACC,EAAiCJ,KACpD,IAAKK,OAAOC,OAAOF,GAAQG,KAAKC,SAC9B,MAAM,IAAIN,MAAM,yBAAyBF,sBAAyBK,OAAOI,KAAKL,GAAQM,KAAK,+BAIzFC,EAA2B,EAC/BC,WACAC,UACAC,cAAc,iBAMd,MAAOC,EAAMC,GAAWC,YAAS,GACjC,OAEIC,EAAAA,KAAAC,WAAA,CAAAP,SAAA,CAAAQ,EAAAA,IAAC,OAAA,CACCC,MAAO,CACLC,QAAS,cACTC,WAAY,SACZC,OAAQ,UACRC,SAAU,OACVC,WAAY,IACZC,MAAO,WAETC,QAAS,IAAMZ,GAAQ,GAEtBJ,aAEHM,EAAAA,KAACW,EAAAA,QAAO,CAAAd,OAAYe,QAAS,IAAMd,GAAQ,GAAQe,SAAS,KAAKC,WAAS,EACxEpB,SAAA,CAAAM,EAAAA,KAACe,EAAY,QAAA,CAAAZ,MAAO,CAAEK,WAAY,QAC/Bd,SAAA,CAAAE,EACDM,EAAAA,IAACc,EAAA,QAAA,CACCC,KAAK,MACLP,QAAS,IAAMZ,GAAQ,GACvB,aAAW,QACXK,MAAO,CAAEe,SAAU,WAAYC,IAAK,EAAGC,MAAO,IAC9CC,KAAK,QAEL3B,eAAC4B,EAAEA,EAAA,SAGPpB,EAAAA,IAACqB,WAAcpB,MAAO,CAAEqB,UAAW,OAAQC,SAAU,QAAW/B,SAAQC,WAM1E+B,EAAsB,EAC1BC,OACAjC,WACAkC,cACAC,mBACAC,qBACAC,2BACAC,yBACAC,mBACAC,oBACAC,yBACAC,iBACAC,mBACAC,kBACAC,kBACAC,oBACAC,iBACAC,QACAC,eACAC,sBAAmB,MAEnB,MAAOC,EAAwBC,GAA6B/C,YAAS,GAMrE,GAAI6B,EACF,OACG5B,EAAAA,KAAA,OAAA,CAAKG,MAAO,CAAEC,QAAS,cAAeC,WAAY,SAAU0C,IAAK,UAAWvC,WAAY,IAAKC,MAAO,WACnGf,SAAA,CAAAQ,MAAC,QAAMR,mBACNsD,EAAY,QAAA,OAKf,IACF,MAAMC,EAAM,IAAIC,IAAIvB,EAAM,sBACpBwB,EAAiBF,EAAIG,aAAaC,IAAI,mBAAqBJ,EAAIG,aAAaC,IAAI,mBAChFC,EAA0BL,EAAIG,aAAaC,IAAI,qBAAuBJ,EAAIG,aAAaC,IAAI,qBAC3FE,EAAeN,EAAIG,aAAaC,IAAI,iBACpCG,EAAeZ,GAAqBW,IAAeE,EAAAA,eAAeC,KAEpE,IAACP,EAAuB,OAAA,KACxB,GAAAI,IAAiBE,iBAAeE,YAAa,CAC/C,MAAMC,EAAazB,GAAwB0B,MAC3C,GAAID,GAAYE,OAEZ,OAAA5D,EAAAA,IAAC6D,EAAA,QAAA,CACCF,MAAOD,EACPI,eAAgB7B,GAAwB8B,iBACpClC,IAIDnD,EAAAuD,GAAwB+B,MAAO,uBAAwB,UAC1D,MAAAC,EAAS,CAAChC,EAAwB+B,OAClCE,GAAcjC,GAAwBkC,wBAA0B,IAAIC,IAAI,CAACC,EAAOC,KAAe,CACnGA,YACAC,OAAQ,CAACF,MAEX,OAAQrE,EAAAA,IAAA6D,EAAAA,QAAA,CAAmBI,SAAgBC,gBAA4BrC,GACzE,CACI,GAAAwB,IAAiBE,iBAAeiB,GAAI,CAC7B9F,EAAAwD,GAAgBuC,WAAY,KAAM,eACrC,MAAAC,EACHlF,GACD0C,GAAgByC,UAChBzC,GAAgB0C,gBAChBC,OAAO3C,GAAgBe,gBAAkB,GAGzC,OAAAjD,EAAAA,IAAC8E,EAAA,QAAA,CACCL,WAAYvC,EAAgBuC,WAC5BM,qBAAsB7C,GAAgB6C,qBACtCC,qBAAsB9C,GAAgB8C,qBACtCC,iBAAkB7B,GAA2BlB,GAAgB+C,kBAAoB,GACjFP,YACA/C,iBAAkBA,SAA4B,GAC9CuD,OAAQnD,GAGd,CACI,GAAAsB,IAAiBE,iBAAe4B,KAAM,CAClC,MAAAC,EAAiBxD,GAAsB,GACvCyD,GAAYlD,GAAkBkD,UAAY,KAAKjB,IAAKkB,IAAU,IAC/DA,EACHC,UAAWC,EAAAA,QAAMF,EAAKC,cAGlBE,IAAgBtD,GAAkBuD,gBAGtC,OAAA1F,EAAAA,IAAC2F,EAAA,QAAA,CACCC,kBAAmBR,EAAeQ,oBAAqB,EACvDC,cAAeT,EAAeS,cAC9BC,0BAA2BV,EAAeU,0BAC1CC,oBAAqBX,EAAeW,oBACpCC,eAAgBZ,EAAeY,eAC/BC,aAAcb,EAAea,aAC7BC,qBAAsBd,EAAec,2BAAwB,EAC7DC,cAAe,IACVf,EAAee,cAClBC,eAAgBjE,GAAkBiE,gBAEpCC,cAAe,IACVjB,EAAeiB,cAClBhB,WACAiB,cAAe,IACVlB,EAAeiB,eAAeC,cACjCC,KAAM,CACJC,UAAU,EACVC,MAAM,KACHrB,EAAeiB,eAAeC,eAAeC,OAGpDG,YAAa,IACRtB,EAAeiB,eAAeK,YACjCH,KAAM,CACJC,UAAU,KACPpB,EAAeiB,eAAeK,aAAaH,QAIpDI,kBACElB,EACI,IACKL,EAAeuB,kBAClBC,KAAM,CACJnH,QAAS0C,EAAkBuD,gBAC3BmB,kBAAmB1E,GAAkB2E,oBAAsB,UAG/D,GAIZ,CACI,GAAAzD,IAAiBE,iBAAewD,IAAK,CACvC,MAAMpI,EAAQyD,GAAiBzD,MACzBqI,EAAarI,GAAOsI,MAAQ7E,GAAiB8E,cAAc,GAC3DC,EAAoBxI,GAAOyI,OAAShF,GAAiB+E,oBAAoB,GACzEE,EAAa1I,GAAO0I,YAAcjF,GAAiBiF,aAAa,GACtEtI,EAAY,CAAEuI,aAAcN,EAAYO,oBAAqBJ,GAAqB5D,EAAAA,eAAewD,KACjG,MAAMS,EAAU,CACdP,KAAM,GACND,aACAG,oBACAE,cAEII,EAAiBzF,GAAmB0F,aAAe,CACvDC,gBAAiBC,EAAAA,YACjBC,cAAeC,EAAAA,UACfC,aAAcC,EAAAA,UACdC,UAAW7G,EAAAA,GAIX,OAAApB,EAAAA,IAACkI,EAAA,QAAA,CACC5C,KAAMkC,EACNW,YAAanG,GAAmBmG,aAAe,yBAC/CT,YAAaD,EACbW,gBAAiBpG,GAAmBoG,gBACpCC,cAAerG,GAAmBqG,cAClCC,gBAAiBhF,GAIvB,CACI,GAAAD,IAAiBE,iBAAegF,IAAK,CAhOzB,EAAC5J,EAA2BC,EAAcC,KACnDH,EAAAC,EAAOC,EAAMC,GAClB,IAAE,IAAImE,IAAIrE,EAAM,CAAW,MAAQ,MAAA,IAAIG,MAAM,yBAAyBF,OAAUC,2BAA+BF,KAAW,GA+N1H6J,CAAYnG,GAAiBoG,KAAMlF,EAAeA,eAAAgF,IAAK,QACvD,MAAMG,EAASrG,EAAiBoG,KAC1BrB,EAAS5H,GAAuB6C,GAAiBuC,gBAAkB8D,EAEzE,OAAIrG,GAAiBsG,cAEjB3I,EAAAA,IAAC4I,EAAA,QAAA,CACC7F,IAAK2F,EACLtB,QACAyB,WAAYxG,GAAiBwG,WAC7BC,UAAWzG,EAAgBsG,cAC3BvC,eAAgB/D,GAAiB+D,eACjC2C,UAAWC,EAAAA,aACXC,uBAAwB7H,EAAAA,IAM5BpB,MAAC,KAAEyB,KAAMiH,EAAQQ,OAAO,SAASC,IAAI,aAClC3J,SACH4H,GAEJ,CACI,GAAA/D,IAAiBE,iBAAe6F,MAMhC,OALFrK,EACE,CAAEsK,aAAc/G,GAAmBuG,WAAYS,WAAYhH,GAAmBwG,WAC9EvF,EAAAA,eAAe6F,OAGfpJ,EAAAA,IAACuJ,EAAA,QAAA,CACCC,cAAgBhK,GAAuB8C,GAAmBsC,eAC1DiE,WAAYvG,GAAmBuG,WAC/BC,UAAWxG,GAAmBwG,UAC9B1C,eAAgB9D,GAAmB8D,iBAIrC,GAAA/C,IAAiBE,iBAAekG,QAGhC,OAFU1K,EAAA,CAAE2K,YAAanH,GAAgBoH,WAAYC,WAAYrH,GAAgBsH,WAAatG,iBAAekG,SAE7GzJ,EAAAA,IAAC8J,EAAAA,kBAAA,CACCH,WAAYpH,EAAgBoH,WAC5BE,UAAWtH,EAAgBsH,UAC3BE,aAAa,EACbC,aAAa,EAEXxK,SAAuBA,GAAA,KAI/B,GAAI6D,IAAiBE,EAAAA,eAAe0G,UAAY5G,IAAiBE,EAAAA,eAAe2G,eAAgB,CAC9F,MAAMC,EAAuBlH,EAAiBmH,SAASnH,EAAgB,IAAM,EAEvEoH,EACJrK,EAAAA,IAACsK,EAAA,QAAA,CACCvH,IAAKjB,GAAwBiB,KAAO,GACpC6D,KAAM,CACJ3D,eAAgBnB,GAAwB8E,MAAM3D,gBAAkBkH,EAChEI,YAAazI,GAAwB8E,MAAM2D,aAE7CC,IAAK1I,GAAwB0I,IAC7BC,cAAe3I,GAAwB2I,cACvCC,WAAY5I,GAAwB4I,WACpCC,qBAAsB7I,GAAwB6I,qBAC9CxC,YAAarG,GAAwBqG,YACrCyC,yBAA0B9I,GAAwB8I,yBAClDC,eAAgB/I,GAAwB+I,eACxCC,eAAgBhJ,GAAwBgJ,eACxCC,kBAAmBjJ,GAAwBiJ,kBAC3CC,gBAAiBlJ,GAAwBkJ,gBACzCC,8BAA+BnJ,GAAwBmJ,8BACvDC,kBAAmBpJ,GAAwBoJ,oBAI/C,OAAKxI,EAQE2H,QANF9K,EAAyB,CAAAE,QAAS4K,EAAiB3K,YAAaoC,GAAwBpC,YACtFF,YAMT,CACI,GAAA6D,IAAiBE,iBAAe4H,YAAa,CAC/C,MAAMC,EACJpL,EAAAA,IAACsK,EAAA,QAAA,CACCnC,YAAarG,GAAwBqG,YACrCyC,yBAA0B9I,GAAwB8I,yBAClDC,eAAgB/I,GAAwB+I,eACxCC,eAAgBhJ,GAAwBgJ,eACxCC,kBAAmBjJ,GAAwBiJ,kBAC3CC,gBAAiBlJ,GAAwBkJ,gBACzCE,kBAAmBpJ,GAAwBoJ,kBAC3CD,8BAA+BnJ,GAAwBmJ,gCAI3D,OAAKvI,EAQE0I,QANF7L,EAAyB,CAAAE,QAAS2L,EAAmB1L,YAAaoC,GAAwBpC,YACxFF,YAMT,CACI,GAAA6D,IAAiBE,iBAAeC,KAAM,CACxC,MAAM6H,EAAmBtI,EAAIG,aAAaC,IAAI,sBACxCmI,EAAoBvI,EAAIG,aAAaC,IAAI,uBAC/C,GAAGkI,IAAmB9H,EAAAA,eAAeC,MAAM8H,IAAoB/H,EAAAA,eAAeC,KAErE,OADP+H,QAAQC,MAAM,qDACP,KAEH,MAAAC,EAAgB,CAACC,EAAwBC,KACvC,MAAAC,EAAS,GAAGF,KACZG,EAAuB,SAATH,EAAkB,SAAW,QAC3CI,EAAa,IAAIC,gBAahB,OAXPhJ,EAAIG,aAAa8I,QAAQ,CAACrN,EAAOsN,KACnB,kBAARA,GAAmC,uBAARA,GAAwC,wBAARA,IAC3DA,EAAIC,WAAWN,IAAWK,EAAIC,WAAWL,IAClCC,EAAAK,IAAIF,EAAKtN,MAGtBoE,EAAIG,aAAa8I,QAAQ,CAACrN,EAAOsN,KAC3BA,EAAIC,WAAWN,IAASE,EAAWK,IAAIF,EAAIG,MAAMR,EAAOhI,QAASjF,KAGnEgN,GAAkBG,EAAWK,IAAI,gBAAiBR,GAC/C,IAAIG,EAAWO,cAGlBC,EAAWb,EAAc,OAAQJ,GACjCkB,EAAYd,EAAc,QAASH,GACnCkB,EAAahN,GAAuBgD,GAAS,wBAE7CiK,EAAgBC,IACpB,OAAQA,GACN,KAAKnJ,EAAeA,eAAAE,YACX,MAAA,CAAExB,yBAAwBJ,4BACnC,KAAK0B,EAAeA,eAAAiB,GACX,MAAA,CAAEtC,iBAAgBH,oBAC3B,KAAKwB,EAAeA,eAAA4B,KACX,MAAA,CAAEhD,mBAAkBP,sBAC7B,KAAK2B,EAAeA,eAAAwD,IACX,MAAA,CAAE3E,kBAAiBJ,qBAC5B,KAAKuB,EAAeA,eAAAgF,IAClB,MAAO,CAAElG,mBACX,KAAKkB,EAAeA,eAAA6F,MAClB,MAAO,CAAE9G,qBACX,KAAKiB,EAAeA,eAAAkG,QAClB,MAAO,CAAElH,kBACX,KAAKgB,EAAeA,eAAA0G,SAClB,MAAO,CAACnI,0BACV,QACE,MAAO,KAKX,OAAA9B,EAAAA,IAAC2M,EAAA,QAAA,CACCC,gBAAc,EACdpD,cAAegD,EACf/J,eACAoK,OAAQlK,EACRmK,SAAU,IAAMlK,EAA2BmK,IAAUA,GACrDC,OAAQ,CACRC,WAAY,CACV5M,SAAU,OACV6M,OAAQ,MACRC,QAAS,MACT5M,MAAO,UACPH,OAAQ,UACRgN,cAAe,SACfC,WAAY,SACZnN,QAAS,cACTC,WAAY,SACZmN,WAAY,QACZC,OAAQ,QAEVC,gBAAiB,CACfC,MAAO,OACPH,WAAY,cACZI,UAAW,OACXC,OAAQ,gBAGVC,kBACE5N,EAAAA,IAAC6N,EAAA,QAAA,CACCC,KACE9N,EAAAA,IAACwB,EAAA,CACCC,KAAM6K,EACN3K,sBACI8K,EAAapB,GACjB3I,oBAAoB,IAGxBxB,MACElB,EAAAA,IAACwB,EAAA,CACCC,KAAM8K,EACN5K,mBACAe,oBAAoB,KAChB+J,EAAanB,KAGrByC,OAAQ,CAAEvL,MAAOgK,EAAWwB,aAAa,GACzCC,kBAAkB,EAClBC,gBAAgB,EAChBC,kBAAmB,IAAMvL,GAA0B,MAK7D,CACQ2I,QAAA6C,KAAK,mDAAmD/K,YACzDgL,GAEA,OADP9C,QAAQC,MAAM6C,GACP,IACT,CAEO,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"citationTypes.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"citationTypes.js","sources":["../../../../src/features/BPACitationRenderer/citationTypes.ts"],"sourcesContent":["// Citation type values recognized by BPACitationRenderer `citation_type` URL param.\nexport const CITATION_TYPES = {\n SCANNED_DOC: 'scanned_doc_citation',\n IL: 'IL',\n CHAT: 'chat_citation',\n GPT: 'gpt_citation',\n WEB: 'web_citation',\n IMAGE: 'image_citation',\n BQ_DATA: 'bq_data',\n RULEBOOK: 'rulebook_citation',\n RULEBOOK_CHUNK:'rulebook_chunk',\n IL_RULEBOOK: 'il_rulebook_citation',\n DUAL: 'dual_citation',\n} as const;\n\nexport type CitationTypeValue = (typeof CITATION_TYPES)[keyof typeof CITATION_TYPES];\n"],"names":["SCANNED_DOC","IL","CHAT","GPT","WEB","IMAGE","BQ_DATA","RULEBOOK","RULEBOOK_CHUNK","IL_RULEBOOK","DUAL"],"mappings":"2FAC8B,CAC5BA,YAAa,uBACbC,GAAI,KACJC,KAAM,gBACNC,IAAK,eACLC,IAAK,eACLC,MAAO,iBACPC,QAAS,UACTC,SAAU,oBACVC,eAAe,iBACfC,YAAa,uBACbC,KAAM"}
@@ -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"),a=require("./BookCitation.module.css.js"),i=require("./text-cleaner.js");exports.default=function(o){var s,r=o.title,c=o.author,l=o.paragraphs,d=o.chevronUpComponent,u=o.chevronDownComponent,f=o.externalLinkComponent,v=o.textToHighlight,h=o.pageNumber,p=o.totalPageNumber,m=void 0===p?null:p,g=o.citationTitle,x=o.customStyle,_=void 0===x?{}:x,j=o.handleExternalLinkClick,N=o.bookCoverImage,b=o.partialMatch,y=void 0!==b&&b,C=o.citationNumber,k=void 0===C?1:C,E=o.defaultState,T=void 0!==E&&E,q=o.isNonHighlightedBlur,A=void 0!==q&&q,L=o.toggleBlur,w=void 0===L?A:L,B=o.fixedWidth,I=void 0===B||B,W=o.isBookemon,H=void 0!==W&&W,M=o.useDropdown,S=void 0===M||M,O=t.useState(T),F=O[0],R=O[1],$=null===(s=null==_?void 0:_.showGradientOverlay)||void 0===s||s,D=["address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","li","main","nav","noscript","ol","p","pre","section","table","tfoot","ul","video"];t.useEffect(function(){if(F||!S){var e,n="quotes-citations-".concat(null!=k?k:""),t=!1;return requestAnimationFrame(function(){requestAnimationFrame(function(){e=function(){var e=document.getElementById(n);if(e&&!t){e.scrollIntoView({behavior:"smooth",block:"center"});var a=setTimeout(function(){if(!t){var n=e.getBoundingClientRect(),a=window.innerHeight/2;Math.abs(n.top-a)>40&&e.scrollIntoView({behavior:"auto",block:"center"})}},400);return function(){return clearTimeout(a)}}}()||void 0})}),function(){t=!0,e&&e()}}},[F,S,v,k]);var P=function(e){void 0===e&&(e="");var n=document.createElement("div");n.innerHTML=e;var t=n.textContent||n.innerText||"";return(t=(t=t.replace(/<\/?[^>]+(>|$)/g,"")).replace(/\s+/g," ")).trim()};function V(e){var n=document.createElement("div");n.innerHTML=e;var t=a.default.highlighted,i=function(e,n){var o,s;if(void 0===n&&(n=!1),e.nodeType===Node.TEXT_NODE){if(!n&&(null===(o=e.textContent)||void 0===o?void 0:o.trim())){var r=document.createElement("span");r.classList.add(a.default.blurred),r.textContent=e.textContent,null===(s=e.parentNode)||void 0===s||s.replaceChild(r,e)}}else if(e.nodeType===Node.ELEMENT_NODE){var c=e,l=c.classList.contains(t);Array.from(c.childNodes).forEach(function(e){return i(e,n||l)})}};return Array.from(n.childNodes).forEach(function(e){return i(e)}),n.innerHTML}function z(e,n,t,i,o,s){void 0===o&&(o=[]),void 0===s&&(s=!1);var r,c=a.default.highlighted,l=a.default.highlightedInline,d=a.default.highlightedBlock,u="".concat(c," ").concat(l),f="".concat(c," ").concat(d),v=n,h=(r=document.createElement("textarea"),function(e){return r.innerHTML=e,r.value});if(o.length>0){if(s){return o.forEach(function(e){e&&(v=function(e,n,t){for(var a='<span id="'.concat(t,'" class="').concat(u,'">'),i="</span>",o=e,s=0,r=new RegExp("(<(?:".concat(D.join("|"),")[^>]*>.*?)(?=<(?:").concat(D.join("|"),")|$)"),"gi"),c=(n.match(r)||[n]).map(function(e){var n=e.match(/^<([a-zA-Z0-9]+)([^>]*)>/);if(n&&D.includes(n[1].toLowerCase())){var t=n[0].length;return n[0]+a+e.slice(t)+i}return a+e+i}).join("");;){var l=o.indexOf(n,s);if(-1===l)break;o=o.slice(0,l)+c+o.slice(l+n.length),s=l+c.length}var f=d;return o.replace(/<span([^>]*)>([\s\S]*?)<\/span>/gi,function(e,n,t){if(D.some(function(e){return new RegExp("<".concat(e,"\\b[^>]*>"),"i").test(t)})){var a=n.match(/\sclass\s*=\s*(['"])(.*?)\1/);if(a){var i=a[2],o=i.split(/\s+/).includes(f)?i:"".concat(i," ").concat(f);n=n.replace(a[0],' class="'.concat(o,'"'))}else n+=' class="'.concat(f,'"')}return"<span".concat(n,">").concat(t,"</span>")})}(v,e,"Annotation"===t?"quotes-annotations-".concat(null!=i?i:""):"quotes-citations-".concat(null!=i?i:"")))}),A&&w?V(v):v}return o.forEach(function(e){var a=h(e).trim();if(a&&h(n).trim().toLowerCase()===a.toLowerCase()){var o="Annotation"===t?"quotes-annotations-".concat(null!=i?i:""):"quotes-citations-".concat(null!=i?i:"");v='<span id="'.concat(o,'" class="').concat(f,'">').concat(n,"</span>")}}),A&&w?V(v):v}var p=f;if(!e||!n)return"Annotation"===t?n:'<span id="quotes-citations" class="'.concat(p,'">').concat(n,"</span>");var m=Array.from(e.matchAll(/`([^`]+)`/g));if(0===m.length)return"Annotation"===t?n:'<span id="quotes-citations" class="'.concat(p,'">').concat(n,"</span>");v=n;var g=!1;return m.forEach(function(e){var n=h(e[1]).trim();if(n){var a=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),i=new RegExp("(".concat(a,")"),"gi");v.match(i)&&(g=!0,v=v.replace(i,'<span id="'.concat("Annotation"===t?"quotes-annotations":"quotes-citations",'" class="').concat(p,'">$1</span>')))}}),g?v:"Annotation"===t?n:'<span id="quotes-citations" class="'.concat(p,'">').concat(n,"</span>")}return n.jsx(n.Fragment,{children:n.jsxs("span",e.__assign({className:"".concat(a.default.relativeWrapper," ").concat(H?a.default.height95percent+" "+a.default.displayFlex:a.default.height100percent),style:null==_?void 0:_.relativeWrapper},{children:[!T&&S&&n.jsx("div",e.__assign({className:a.default.citationButtonWrapper,style:null==_?void 0:_.citationButtonWrapper},{children:n.jsxs("div",e.__assign({onClick:function(){return R(function(e){return!e})},className:a.default.citationButton,style:null==_?void 0:_.citationButton},{children:[n.jsx("span",e.__assign({className:a.default.citationText},{children:g})),n.jsx("span",e.__assign({style:null==_?void 0:_.arrow},{children:F?d:u}))]}))})),(F&&S||!S)&&n.jsx("div",e.__assign({className:a.default.expandedWrapper,style:null==_?void 0:_.expandedWrapper},{children:n.jsx("div",e.__assign({className:"".concat(a.default.expandableContainer," ").concat(I?a.default.expandableContainerWidth:""),style:null==_?void 0:_.expandableContainer},{children:n.jsx("div",e.__assign({className:a.default.expandableContent,style:null==_?void 0:_.expandableContent},{children:n.jsxs("div",e.__assign({className:a.default.bookBodyContent,style:null==_?void 0:_.bookBodyContent},{children:[!T&&n.jsx("div",e.__assign({className:a.default.header,style:null==_?void 0:_.bookHeader},{children:n.jsxs("div",e.__assign({className:a.default.bookInfo},{children:[N&&n.jsx("div",e.__assign({className:a.default.bookImageWrapper},{children:n.jsx("img",{src:N,alt:r||"Book cover",className:a.default.bookImage})})),n.jsxs("div",e.__assign({className:a.default.bookTextInfo},{children:[n.jsx("h1",e.__assign({className:a.default.bookTitle},{children:r})),c||Array.isArray(c)&&n.jsxs("p",e.__assign({className:a.default.bookAuthor},{children:["by"," ",Array.isArray(c)?c.join(", "):c||""]}))]})),n.jsx("div",e.__assign({onClick:j,className:a.default.externalLink},{children:f}))]}))})),n.jsx("div",e.__assign({className:a.default.relativeContainer,style:null==_?void 0:_.relative},{children:n.jsx("div",e.__assign({className:a.default.container},{children:n.jsxs("div",e.__assign({className:"".concat(a.default.contentWrapper," ").concat(a.default.customScrollbarClass," ").concat(H?"":a.default.maxheight38rem),style:null==_?void 0:_.customScrollbarClass},{children:[$&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:a.default.gradientOverlayLeft}),n.jsx("div",{className:a.default.gradientOverlayRight})]}),n.jsxs("div",e.__assign({className:a.default.contentWrapper},{children:[l.map(function(e,t){i.cleanScannedText(e);var o=(y?e.includes(v[0]):v.some(function(n){return P(e).toLowerCase()===P(n).toLowerCase()}))?z(l.join("\n"),e,"Citation",k,v,y):e;return n.jsx("div",{className:"".concat(a.default.paragraph," ").concat(0!==t?a.default.textIndent:""),dangerouslySetInnerHTML:{__html:o}},t)}),h&&n.jsx("div",e.__assign({className:a.default.pageIndex},{children:n.jsxs("div",e.__assign({className:a.default.pageLabel,style:null==_?void 0:_.pageColor},{children:[h," ",m&&"of ".concat(m)]}))}))]}))]}))}))}))]}))}))}))}))]}))})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),a=require("./BookCitation.module.css.js"),n=require("./text-cleaner.js");exports.default=({title:s,author:o,paragraphs:r,chevronUpComponent:i,chevronDownComponent:l,externalLinkComponent:c,textToHighlight:d,pageNumber:u,totalPageNumber:h=null,citationTitle:p,customStyle:m={},handleExternalLinkClick:f,bookCoverImage:x,partialMatch:g=!1,citationNumber:$=1,defaultState:v=!1,isNonHighlightedBlur:j=!1,toggleBlur:N=j,fixedWidth:b=!0,isBookemon:y=!1,useDropdown:C=!0})=>{const[k,E]=t.useState(v),T=m?.showGradientOverlay??!0,A=["address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","li","main","nav","noscript","ol","p","pre","section","table","tfoot","ul","video"];t.useEffect(()=>{if(!k&&C)return;const e=`quotes-citations-${$??""}`;let t=!1;let a;return requestAnimationFrame(()=>{requestAnimationFrame(()=>{a=(()=>{const a=document.getElementById(e);if(!a||t)return;a.scrollIntoView({behavior:"smooth",block:"center"});const n=setTimeout(()=>{if(t)return;const e=a.getBoundingClientRect(),n=window.innerHeight/2;Math.abs(e.top-n)>40&&a.scrollIntoView({behavior:"auto",block:"center"})},400);return()=>clearTimeout(n)})()||void 0})}),()=>{t=!0,a&&a()}},[k,C,d,$]);const L=(e="")=>{const t=document.createElement("div");t.innerHTML=e;let a=t.textContent||t.innerText||"";return a=a.replace(/<\/?[^>]+(>|$)/g,""),a=a.replace(/\s+/g," "),a.trim()};function q(e){const t=document.createElement("div");t.innerHTML=e;const n=a.default.highlighted,s=(e,t=!1)=>{if(e.nodeType===Node.TEXT_NODE){if(!t&&e.textContent?.trim()){const t=document.createElement("span");t.classList.add(a.default.blurred),t.textContent=e.textContent,e.parentNode?.replaceChild(t,e)}}else if(e.nodeType===Node.ELEMENT_NODE){const a=e,o=a.classList.contains(n);Array.from(a.childNodes).forEach(e=>s(e,t||o))}};return Array.from(t.childNodes).forEach(e=>s(e)),t.innerHTML}return e.jsx(e.Fragment,{children:e.jsxs("span",{className:`${a.default.relativeWrapper} ${y?a.default.height95percent+" "+a.default.displayFlex:a.default.height100percent}`,style:m?.relativeWrapper,children:[!v&&C&&e.jsx("div",{className:a.default.citationButtonWrapper,style:m?.citationButtonWrapper,children:e.jsxs("div",{onClick:()=>E(e=>!e),className:a.default.citationButton,style:m?.citationButton,children:[e.jsx("span",{className:a.default.citationText,children:p}),e.jsx("span",{style:m?.arrow,children:k?i:l})]})}),(k&&C||!C)&&e.jsx("div",{className:a.default.expandedWrapper,style:m?.expandedWrapper,children:e.jsx("div",{className:`${a.default.expandableContainer} ${b?a.default.expandableContainerWidth:""}`,style:m?.expandableContainer,children:e.jsx("div",{className:a.default.expandableContent,style:m?.expandableContent,children:e.jsxs("div",{className:a.default.bookBodyContent,style:m?.bookBodyContent,children:[!v&&e.jsx("div",{className:a.default.header,style:m?.bookHeader,children:e.jsxs("div",{className:a.default.bookInfo,children:[x&&e.jsx("div",{className:a.default.bookImageWrapper,children:e.jsx("img",{src:x,alt:s||"Book cover",className:a.default.bookImage})}),e.jsxs("div",{className:a.default.bookTextInfo,children:[e.jsx("h1",{className:a.default.bookTitle,children:s}),o||Array.isArray(o)&&e.jsxs("p",{className:a.default.bookAuthor,children:["by"," ",Array.isArray(o)?o.join(", "):o||""]})]}),e.jsx("div",{onClick:f,className:a.default.externalLink,children:c})]})}),e.jsx("div",{className:a.default.relativeContainer,style:m?.relative,children:e.jsx("div",{className:a.default.container,children:e.jsxs("div",{className:`${a.default.contentWrapper} ${a.default.customScrollbarClass} ${y?"":a.default.maxheight38rem}`,style:m?.customScrollbarClass,children:[T&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:a.default.gradientOverlayLeft}),e.jsx("div",{className:a.default.gradientOverlayRight})]}),e.jsxs("div",{className:a.default.contentWrapper,children:[r.map((t,s)=>{n.cleanScannedText(t);let o=!1;o=g?t.includes(d[0]):d.some(e=>L(t).toLowerCase()===L(e).toLowerCase());const i=o?function(e,t,n,s,o=[],r=!1){const i=a.default.highlighted,l=a.default.highlightedInline,c=a.default.highlightedBlock,d=`${i} ${l}`,u=`${i} ${c}`;let h=t;const p=(()=>{const e=document.createElement("textarea");return t=>(e.innerHTML=t,e.value)})();if(o.length>0){if(r){const e=(e,t,a)=>{const n=`<span id="${a}" class="${d}">`,s="</span>";let o=e,r=0;const i=new RegExp(`(<(?:${A.join("|")})[^>]*>.*?)(?=<(?:${A.join("|")})|$)`,"gi"),l=(t.match(i)||[t]).map(e=>{const t=e.match(/^<([a-zA-Z0-9]+)([^>]*)>/);if(t&&A.includes(t[1].toLowerCase())){const a=t[0].length;return t[0]+n+e.slice(a)+s}return n+e+s}).join("");for(;;){const e=o.indexOf(t,r);if(-1===e)break;o=o.slice(0,e)+l+o.slice(e+t.length),r=e+l.length}const u=c;return o=o.replace(/<span([^>]*)>([\s\S]*?)<\/span>/gi,(e,t,a)=>{if(A.some(e=>new RegExp(`<${e}\\b[^>]*>`,"i").test(a))){const e=t.match(/\sclass\s*=\s*(['"])(.*?)\1/);if(e){const a=e[2],n=a.split(/\s+/).includes(u)?a:`${a} ${u}`;t=t.replace(e[0],` class="${n}"`)}else t+=` class="${u}"`}return`<span${t}>${a}</span>`}),o};return o.forEach(t=>{t&&(h=e(h,t,"Annotation"===n?`quotes-annotations-${s??""}`:`quotes-citations-${s??""}`))}),j&&N?q(h):h}return o.forEach(e=>{const a=p(e).trim();a&&p(t).trim().toLowerCase()===a.toLowerCase()&&(h=`<span id="${"Annotation"===n?`quotes-annotations-${s??""}`:`quotes-citations-${s??""}`}" class="${u}">${t}</span>`)}),j&&N?q(h):h}const m=u;if(!e||!t)return"Annotation"===n?t:`<span id="quotes-citations" class="${m}">${t}</span>`;const f=Array.from(e.matchAll(/`([^`]+)`/g));if(0===f.length)return"Annotation"===n?t:`<span id="quotes-citations" class="${m}">${t}</span>`;h=t;let x=!1;return f.forEach(e=>{const t=p(e[1]).trim();if(!t)return;const a=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`(${a})`,"gi");h.match(s)&&(x=!0,h=h.replace(s,`<span id="${"Annotation"===n?"quotes-annotations":"quotes-citations"}" class="${m}">$1</span>`))}),x?h:"Annotation"===n?t:`<span id="quotes-citations" class="${m}">${t}</span>`}(r.join("\n"),t,"Citation",$,d,g):t;return e.jsx("div",{className:`${a.default.paragraph} ${0!==s?a.default.textIndent:""}`,dangerouslySetInnerHTML:{__html:i}},s)}),u&&e.jsx("div",{className:a.default.pageIndex,children:e.jsxs("div",{className:a.default.pageLabel,style:m?.pageColor,children:[u," ",h&&`of ${h}`]})})]})]})})})]})})})})]})})};
2
2
  //# sourceMappingURL=BookCitation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"BookCitation.js","sources":["../../../../src/features/BookCitation/BookCitation.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useState } from \"react\";\nimport styles from \"./BookCitation.module.css\";\nimport { cleanScannedText } from \"./text-cleaner\";\n\ninterface CitationLinkProps {\n title?: string;\n author?: string | string[];\n pageNumber?: string;\n totalPageNumber?: string;\n paragraphs: string[];\n citationTitle: string;\n textToHighlight: string[];\n bookCoverImage?: string;\n handleExternalLinkClick?: () => void;\n externalLinkComponent?: React.ReactNode;\n chevronUpComponent?: React.ReactNode;\n chevronDownComponent?: React.ReactNode;\n customStyle?: {\n citationButtonWrapper?: CSSProperties;\n arrow?: CSSProperties;\n citationButton?: CSSProperties;\n expandableContent?: CSSProperties;\n bookHeader?: CSSProperties;\n relative?: CSSProperties;\n pageColor?: CSSProperties;\n highlightedText?: CSSProperties;\n expandedWrapper?: CSSProperties;\n expandableContainer?: CSSProperties;\n bookBodyContent?: CSSProperties;\n customScrollbarClass?: CSSProperties;\n relativeWrapper?: CSSProperties;\n showGradientOverlay?: boolean\n };\n citationNumber?: number;\n partialMatch?: boolean;\n defaultState?: boolean;\n isNonHighlightedBlur?: boolean;\n toggleBlur?: boolean;\n fixedWidth?: boolean;\n isBookemon? :boolean\n useDropdown?: boolean;\n}\n\nconst BookCitation: React.FC<CitationLinkProps> = ({\n title,\n author,\n paragraphs,\n chevronUpComponent,\n chevronDownComponent,\n externalLinkComponent,\n textToHighlight,\n pageNumber,\n totalPageNumber = null,\n citationTitle,\n customStyle = {}, // kept for API compatibility only\n handleExternalLinkClick,\n bookCoverImage,\n partialMatch = false,\n citationNumber = 1,\n defaultState = false,\n isNonHighlightedBlur = false,\n toggleBlur = isNonHighlightedBlur,\n fixedWidth = true,\n isBookemon =false,\n useDropdown = true,\n}) => {\n const [isExpanded, setIsExpanded] = useState(defaultState);\n const showGradientOverlay = customStyle?.showGradientOverlay ?? true\n\n const blockTags = [\n \"address\",\n \"article\",\n \"aside\",\n \"blockquote\",\n \"canvas\",\n \"dd\",\n \"div\",\n \"dl\",\n \"dt\",\n \"fieldset\",\n \"figcaption\",\n \"figure\",\n \"footer\",\n \"form\",\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\",\n \"header\",\n \"hgroup\",\n \"li\",\n \"main\",\n \"nav\",\n \"noscript\",\n \"ol\",\n \"p\",\n \"pre\",\n \"section\",\n \"table\",\n \"tfoot\",\n \"ul\",\n \"video\",\n ];\n\n useEffect(() => {\n if (!isExpanded && useDropdown) return;\n\n const spanId = `quotes-citations-${citationNumber ?? \"\"}`;\n let cancelled = false;\n\n const doScroll = () => {\n const el = document.getElementById(spanId);\n if (!el || cancelled) return;\n\n // First smooth scroll\n el.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n\n // After smooth scroll finishes, check if correction needed\n const timer = setTimeout(() => {\n if (cancelled) return;\n\n const rect = el.getBoundingClientRect();\n const mid = window.innerHeight / 2;\n\n // Only correct if highlight is far from center (overshoot)\n if (Math.abs(rect.top - mid) > 40) {\n el.scrollIntoView({ behavior: \"auto\", block: \"center\" });\n }\n\n }, 400);\n\n return () => clearTimeout(timer);\n };\n\n let cleanup: (() => void) | undefined;\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n cleanup = doScroll() || undefined;\n });\n });\n\n return () => {\n cancelled = true;\n if (cleanup) cleanup();\n };\n }, [isExpanded, useDropdown, textToHighlight, citationNumber]); \n\n const normalizeTextV2 = (text: string = \"\"): string => {\n const tempEl = document.createElement(\"div\");\n tempEl.innerHTML = text;\n let decoded = tempEl.textContent || tempEl.innerText || \"\";\n decoded = decoded.replace(/<\\/?[^>]+(>|$)/g, \"\");\n decoded = decoded.replace(/\\s+/g, \" \");\n return decoded.trim();\n };\n\n function blurNonHighlightedElements(html: string): string {\n const container = document.createElement(\"div\");\n container.innerHTML = html;\n\n const highlightBaseClass = styles.highlighted;\n\n const traverse = (node: ChildNode, parentHighlighted = false) => {\n if (node.nodeType === Node.TEXT_NODE) {\n if (!parentHighlighted && node.textContent?.trim()) {\n const span = document.createElement(\"span\");\n span.classList.add(styles.blurred);\n span.textContent = node.textContent;\n node.parentNode?.replaceChild(span, node);\n }\n } else if (node.nodeType === Node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n const isHighlighted = el.classList.contains(highlightBaseClass);\n Array.from(el.childNodes).forEach((child) =>\n traverse(child, parentHighlighted || isHighlighted)\n );\n }\n };\n\n Array.from(container.childNodes).forEach((child) => traverse(child));\n return container.innerHTML;\n }\n\n function highlightQuote(\n aiAnswer: string,\n citation: string,\n usedFor: string,\n citationNumber: number,\n textToHighlight: string[] = [],\n partialMatch: boolean = false\n ): string {\n const baseHighlightClass = styles.highlighted;\n const inlineHighlightClass = styles.highlightedInline;\n const blockHighlightClass = styles.highlightedBlock;\n\n const spanClassForPartial = `${baseHighlightClass} ${inlineHighlightClass}`;\n const spanClassForFull = `${baseHighlightClass} ${blockHighlightClass}`;\n\n let citationNormalized = citation;\n\n const decodeHtml = (() => {\n const txt = document.createElement(\"textarea\");\n return (str: string) => {\n txt.innerHTML = str;\n return txt.value;\n };\n })();\n\n if (textToHighlight.length > 0) {\n if (partialMatch) {\n const wrapInsideBlocks = (\n html: string,\n snippet: string,\n spanId: string\n ): string => {\n const openSpan = `<span id=\"${spanId}\" class=\"${spanClassForPartial}\">`;\n const closeSpan = `</span>`;\n\n let result = html;\n let startIndex = 0;\n\n const wrapPiece = (piece: string): string => {\n const blockMatch = piece.match(/^<([a-zA-Z0-9]+)([^>]*)>/);\n if (blockMatch && blockTags.includes(blockMatch[1].toLowerCase())) {\n const tagLen = blockMatch[0].length;\n return blockMatch[0] + openSpan + piece.slice(tagLen) + closeSpan;\n } else {\n return openSpan + piece + closeSpan;\n }\n };\n\n const blockRegex = new RegExp(\n `(<(?:${blockTags.join(\"|\")})[^>]*>.*?)(?=<(?:${blockTags.join(\n \"|\"\n )})|$)`,\n \"gi\"\n );\n const pieces = snippet.match(blockRegex) || [snippet];\n const wrappedSnippet = pieces.map(wrapPiece).join(\"\");\n\n while (true) {\n const idx = result.indexOf(snippet, startIndex);\n if (idx === -1) break;\n\n result =\n result.slice(0, idx) +\n wrappedSnippet +\n result.slice(idx + snippet.length);\n\n startIndex = idx + wrappedSnippet.length;\n }\n\n const blockClass = blockHighlightClass;\n\n result = result.replace(\n /<span([^>]*)>([\\s\\S]*?)<\\/span>/gi,\n (match, attrs, inner) => {\n const hasBlockInside = blockTags.some((tag) =>\n new RegExp(`<${tag}\\\\b[^>]*>`, \"i\").test(inner)\n );\n\n if (hasBlockInside) {\n const classAttrMatch = attrs.match(\n /\\sclass\\s*=\\s*(['\"])(.*?)\\1/\n );\n if (classAttrMatch) {\n const existingClasses = classAttrMatch[2];\n const alreadyHas = existingClasses\n .split(/\\s+/)\n .includes(blockClass);\n const newClasses = alreadyHas\n ? existingClasses\n : `${existingClasses} ${blockClass}`;\n attrs = attrs.replace(\n classAttrMatch[0],\n ` class=\"${newClasses}\"`\n );\n } else {\n attrs += ` class=\"${blockClass}\"`;\n }\n }\n\n return `<span${attrs}>${inner}</span>`;\n }\n );\n\n return result;\n };\n\n textToHighlight.forEach((text) => {\n if (!text) return;\n\n citationNormalized = wrapInsideBlocks(\n citationNormalized,\n text,\n usedFor === \"Annotation\"\n ? `quotes-annotations-${citationNumber ?? \"\"}`\n : `quotes-citations-${citationNumber ?? \"\"}`\n );\n });\n\n if (isNonHighlightedBlur && toggleBlur) {\n return blurNonHighlightedElements(citationNormalized);\n }\n return citationNormalized;\n } else {\n textToHighlight.forEach((text) => {\n const normalizedText = decodeHtml(text).trim();\n if (!normalizedText) return;\n\n if (\n decodeHtml(citation).trim().toLowerCase() ===\n normalizedText.toLowerCase()\n ) {\n const spanId =\n usedFor === \"Annotation\"\n ? `quotes-annotations-${citationNumber ?? \"\"}`\n : `quotes-citations-${citationNumber ?? \"\"}`;\n\n citationNormalized = `<span id=\"${spanId}\" class=\"${spanClassForFull}\">${citation}</span>`;\n }\n });\n\n if (isNonHighlightedBlur && toggleBlur) {\n return blurNonHighlightedElements(citationNormalized);\n }\n return citationNormalized;\n }\n }\n\n const spanClassFallback = spanClassForFull;\n\n if (!aiAnswer || !citation) {\n return usedFor === \"Annotation\"\n ? citation\n : `<span id=\"quotes-citations\" class=\"${spanClassFallback}\">${citation}</span>`;\n }\n\n const quoteMatches = Array.from(aiAnswer.matchAll(/`([^`]+)`/g));\n if (quoteMatches.length === 0) {\n return usedFor === \"Annotation\"\n ? citation\n : `<span id=\"quotes-citations\" class=\"${spanClassFallback}\">${citation}</span>`;\n }\n\n citationNormalized = citation;\n let foundAtLeastOneMatch = false;\n\n quoteMatches.forEach((match) => {\n const quote = decodeHtml(match[1]).trim();\n if (!quote) return;\n\n const escapedQuote = quote.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n const regex = new RegExp(`(${escapedQuote})`, \"gi\");\n\n if (citationNormalized.match(regex)) {\n foundAtLeastOneMatch = true;\n citationNormalized = citationNormalized.replace(\n regex,\n `<span id=\"${\n usedFor === \"Annotation\" ? \"quotes-annotations\" : \"quotes-citations\"\n }\" class=\"${spanClassFallback}\">$1</span>`\n );\n }\n });\n\n return foundAtLeastOneMatch\n ? citationNormalized\n : usedFor === \"Annotation\"\n ? citation\n : `<span id=\"quotes-citations\" class=\"${spanClassFallback}\">${citation}</span>`;\n }\n\n const toggleCitation = () => setIsExpanded((prev) => !prev);\n\n return (\n <>\n <span\n className={`${styles.relativeWrapper} ${\n isBookemon\n ? styles.height95percent + \" \" + styles.displayFlex\n : styles.height100percent\n }`}\n style={customStyle?.relativeWrapper}\n >\n {!defaultState && useDropdown && (\n <div\n className={styles.citationButtonWrapper}\n style={customStyle?.citationButtonWrapper}\n >\n <div\n onClick={toggleCitation}\n className={styles.citationButton}\n style={customStyle?.citationButton}\n >\n <span className={styles.citationText}>{citationTitle}</span>\n <span style={customStyle?.arrow}>\n {isExpanded ? chevronUpComponent : chevronDownComponent}\n </span>\n </div>\n </div>\n )}\n\n {((isExpanded && useDropdown) || !useDropdown) && (\n <div\n className={styles.expandedWrapper}\n style={customStyle?.expandedWrapper}\n >\n <div\n className={`${styles.expandableContainer} ${\n fixedWidth ? styles.expandableContainerWidth : \"\"\n }`}\n style={customStyle?.expandableContainer}\n >\n <div\n className={styles.expandableContent}\n style={customStyle?.expandableContent}\n >\n <div\n className={styles.bookBodyContent}\n style={customStyle?.bookBodyContent}\n >\n {!defaultState && (\n <div\n className={styles.header}\n style={customStyle?.bookHeader}\n >\n <div className={styles.bookInfo}>\n {bookCoverImage && (\n <div className={styles.bookImageWrapper}>\n <img\n src={bookCoverImage}\n alt={title || \"Book cover\"}\n className={styles.bookImage}\n />\n </div>\n )}\n <div className={styles.bookTextInfo}>\n <h1 className={styles.bookTitle}>{title}</h1>\n {author ||\n (Array.isArray(author) && (\n <p className={styles.bookAuthor}>\n by{\" \"}\n {Array.isArray(author)\n ? author.join(\", \")\n : author || \"\"}\n </p>\n ))}\n </div>\n <div\n onClick={handleExternalLinkClick}\n className={styles.externalLink}\n >\n {externalLinkComponent}\n </div>\n </div>\n </div>\n )}\n\n <div\n className={styles.relativeContainer}\n style={customStyle?.relative}\n >\n <div className={styles.container}>\n <div\n className={`${styles.contentWrapper} ${styles.customScrollbarClass} ${\n !isBookemon ? styles.maxheight38rem : \"\"\n }`}\n style={customStyle?.customScrollbarClass}\n >\n {showGradientOverlay && (\n <>\n <div className={styles.gradientOverlayLeft} />\n <div className={styles.gradientOverlayRight} />\n </>\n )}\n\n <div className={styles.contentWrapper}>\n {paragraphs.map((chunk: any, index: number) => {\n const cleanedChunk = cleanScannedText(chunk);\n\n let isCitationMatch = false;\n\n if (partialMatch) {\n isCitationMatch = chunk.includes(\n textToHighlight[0]\n );\n } else {\n isCitationMatch = textToHighlight.some(\n (text) =>\n normalizeTextV2(chunk).toLowerCase() ===\n normalizeTextV2(text).toLowerCase()\n );\n }\n\n const html = isCitationMatch\n ? highlightQuote(\n paragraphs.join(\"\\n\"),\n chunk,\n \"Citation\",\n citationNumber,\n textToHighlight,\n partialMatch\n )\n : chunk;\n\n return (\n <div\n key={index}\n className={`${styles.paragraph} ${\n index !== 0 ? styles.textIndent : \"\"\n }`}\n dangerouslySetInnerHTML={{ __html: html }}\n />\n );\n })}\n\n {pageNumber && (\n <div className={styles.pageIndex}>\n <div\n className={styles.pageLabel}\n style={customStyle?.pageColor}\n >\n {pageNumber}{\" \"}\n {totalPageNumber && `of ${totalPageNumber}`}\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )}\n </span>\n </>\n );\n};\n\nexport default BookCitation;\n"],"names":["title","author","paragraphs","chevronUpComponent","chevronDownComponent","externalLinkComponent","textToHighlight","pageNumber","totalPageNumber","citationTitle","customStyle","handleExternalLinkClick","bookCoverImage","partialMatch","citationNumber","defaultState","isNonHighlightedBlur","toggleBlur","fixedWidth","isBookemon","useDropdown","isExpanded","setIsExpanded","useState","showGradientOverlay","blockTags","useEffect","spanId","cancelled","cleanup","requestAnimationFrame","el","document","getElementById","scrollIntoView","behavior","block","timer","setTimeout","rect","getBoundingClientRect","mid","window","innerHeight","Math","abs","top","clearTimeout","doScroll","normalizeTextV2","text","tempEl","createElement","innerHTML","decoded","textContent","innerText","replace","trim","blurNonHighlightedElements","html","container","highlightBaseClass","styles","highlighted","traverse","node","parentHighlighted","nodeType","Node","TEXT_NODE","span","classList","add","blurred","parentNode","replaceChild","ELEMENT_NODE","isHighlighted","contains","Array","from","childNodes","forEach","child","jsx","Fragment","children","jsxs","className","relativeWrapper","height95percent","displayFlex","height100percent","style","citationButtonWrapper","onClick","prev","citationButton","citationText","arrow","expandedWrapper","expandableContainer","expandableContainerWidth","expandableContent","bookBodyContent","header","bookHeader","bookInfo","bookImageWrapper","src","alt","bookImage","bookTextInfo","bookTitle","isArray","bookAuthor","join","externalLink","relativeContainer","relative","contentWrapper","customScrollbarClass","maxheight38rem","gradientOverlayLeft","gradientOverlayRight","map","chunk","index","cleanScannedText","isCitationMatch","includes","some","toLowerCase","aiAnswer","citation","usedFor","baseHighlightClass","inlineHighlightClass","highlightedInline","blockHighlightClass","highlightedBlock","spanClassForPartial","spanClassForFull","citationNormalized","decodeHtml","txt","str","value","length","wrapInsideBlocks","snippet","openSpan","closeSpan","result","startIndex","blockRegex","RegExp","wrappedSnippet","match","piece","blockMatch","tagLen","slice","idx","indexOf","blockClass","attrs","inner","tag","test","classAttrMatch","existingClasses","newClasses","split","normalizedText","spanClassFallback","quoteMatches","matchAll","foundAtLeastOneMatch","quote","escapedQuote","regex","highlightQuote","paragraph","textIndent","dangerouslySetInnerHTML","__html","pageIndex","pageLabel","pageColor"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;if(document.getElementById("bookCitationStyles"))return;const o=document.createElement("style");o.id="bookCitationStyles",o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(".BookCitation-module_relativeWrapper__jFpTh{position:relative;width:100%}.BookCitation-module_displayFlex__iMb2e{align-items:center;display:flex;justify-content:center}.BookCitation-module_height95percent__kWGUx{height:90%}.BookCitation-module_height100percent__zQeLG{height:100%}.BookCitation-module_relativeContainer__HLngm{height:100%;min-height:0;position:relative}.BookCitation-module_citationButtonWrapper__einPL{color:#be87ff;cursor:pointer;display:inline-block;height:100%;margin-right:.25rem}.BookCitation-module_citationButton__8U9MO{align-items:center;background-color:initial;border:none;border-radius:9999px;color:#d63384;cursor:pointer;display:inline-flex;font-family:Plus Jakarta Sans,sans-serif;font-size:16px;font-weight:700;margin:0;padding:0;text-decoration:none;white-space:normal;width:fit-content;word-break:break-word}.BookCitation-module_citationText__aH2j-{align-items:center;display:flex;justify-content:center;text-align:center}.BookCitation-module_pageText__nEM69{margin-left:6px}.BookCitation-module_expandedWrapper__roHmf{align-items:center;display:flex;height:100%;justify-content:start;min-height:0}.BookCitation-module_expandableContainer__yNmEx{height:100%;left:0;margin-top:.5rem;min-height:0;top:100%;width:100%;z-index:49}.BookCitation-module_expandableContainerWidth__O7mEU{width:32rem}.BookCitation-module_expandableContent__AvgFX{background-color:#fff;border:1px solid #60a3f8;border-radius:8px;box-shadow:0 1.694px 6.775px 0 #0000000d,0 37.262px 40.65px -10.162px #00000026,0 0 20.325px 3.387px #0000000d;color:#fff;height:fit-content;height:100%;margin-bottom:1.5rem;min-height:0;padding:.75rem}.BookCitation-module_bookBodyContent__a20pD{height:100%;margin:0 auto;min-height:0}.BookCitation-module_header__kMSfc{display:flex;justify-content:space-between;margin-bottom:1rem}.BookCitation-module_bookInfo__AzKFV{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.BookCitation-module_bookImageWrapper__JNna7{flex-shrink:0}.BookCitation-module_bookImage__CXga1{height:70px;object-fit:cover;width:70px}.BookCitation-module_bookTextInfo__zVuts{display:flex;flex-direction:column;gap:.1rem}.BookCitation-module_bookTitle__lHfz0{font-family:Inter,sans-serif;font-size:1rem;font-weight:700;line-height:1;margin:0}.BookCitation-module_bookAuthor__Chqif{font-family:Inter,sans-serif;font-size:.8rem;font-weight:500;line-height:1;margin:0}.BookCitation-module_externalLink__cQ3aM{margin-left:auto}.BookCitation-module_audioHover__XquBK{border-radius:.5rem;transition:background-color .2s}.BookCitation-module_audioHover__XquBK:hover{background-color:#fff3}.BookCitation-module_audioIcon__hoXWS{width:5rem}.BookCitation-module_container__msLn5{background-color:#fff;border-radius:.75rem;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;height:100%;margin-left:auto;margin-right:auto;max-width:100%;position:relative;width:100%}.BookCitation-module_gradientOverlayLeft__vKN9H{background:linear-gradient(270deg,#000 0,#000000b3 40%,#0006 70%,#0000);bottom:0;box-shadow:-4px 0 8px #0000001a;opacity:.5;pointer-events:none;position:absolute;right:20px;top:0;width:16px;z-index:0}.BookCitation-module_gradientOverlayRight__lElq0{background:linear-gradient(90deg,#000 0,#0009 40%,#0003 70%,#0000);bottom:0;box-shadow:4px 0 8px #0000001a;opacity:.5;pointer-events:none;position:absolute;right:5px;top:0;width:16px;z-index:0}.BookCitation-module_contentWrapper__2y1ae{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding-right:.94rem;position:relative;word-break:break-word;z-index:0}.BookCitation-module_paragraph__9gQDG{height:100%;margin-bottom:1rem;text-align:justify}.BookCitation-module_textIndent__ejJaC{text-indent:1rem}.BookCitation-module_pageIndex__wUixS{margin-top:auto;padding:.5rem 0;text-align:right}.BookCitation-module_pageLabel__NZ6CE{border-radius:9999px;color:#4b5563;display:inline-block;font-size:1rem;font-weight:500;padding:.25rem .75rem}.BookCitation-module_highlighted__n9p6V{background-color:#eaea79;font-weight:700}.BookCitation-module_highlightedInline__Vaoms{display:inline}.BookCitation-module_highlightedBlock__c-R3J{display:block}.BookCitation-module_blurred__E0v59{filter:blur(2px);pointer-events:none;user-select:none}.BookCitation-module_customScrollbarClass__mwGyt{background-color:#f5f4f4;border:1px solid #cbd5e1;border-radius:.5rem;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;font-weight:400;letter-spacing:0;line-height:100%;overflow:auto;padding:40px 50px 0 20px}.BookCitation-module_maxheight38rem__8icW1{max-height:38rem}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar{height:0;width:0}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-track{background:#0000}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-thumb{background-color:#a3a4ae;border-radius:10px}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-button{display:none}"));const e=document.head||document.getElementsByTagName("head")[0]||document.documentElement;e&&e.appendChild(o)}(),exports.default={relativeWrapper:"BookCitation-module_relativeWrapper__jFpTh",displayFlex:"BookCitation-module_displayFlex__iMb2e",height95percent:"BookCitation-module_height95percent__kWGUx",height100percent:"BookCitation-module_height100percent__zQeLG",relativeContainer:"BookCitation-module_relativeContainer__HLngm",citationButtonWrapper:"BookCitation-module_citationButtonWrapper__einPL",citationButton:"BookCitation-module_citationButton__8U9MO",citationText:"BookCitation-module_citationText__aH2j-",pageText:"BookCitation-module_pageText__nEM69",expandedWrapper:"BookCitation-module_expandedWrapper__roHmf",expandableContainer:"BookCitation-module_expandableContainer__yNmEx",expandableContainerWidth:"BookCitation-module_expandableContainerWidth__O7mEU",expandableContent:"BookCitation-module_expandableContent__AvgFX",bookBodyContent:"BookCitation-module_bookBodyContent__a20pD",header:"BookCitation-module_header__kMSfc",bookInfo:"BookCitation-module_bookInfo__AzKFV",bookImageWrapper:"BookCitation-module_bookImageWrapper__JNna7",bookImage:"BookCitation-module_bookImage__CXga1",bookTextInfo:"BookCitation-module_bookTextInfo__zVuts",bookTitle:"BookCitation-module_bookTitle__lHfz0",bookAuthor:"BookCitation-module_bookAuthor__Chqif",externalLink:"BookCitation-module_externalLink__cQ3aM",audioHover:"BookCitation-module_audioHover__XquBK",audioIcon:"BookCitation-module_audioIcon__hoXWS",container:"BookCitation-module_container__msLn5",gradientOverlayLeft:"BookCitation-module_gradientOverlayLeft__vKN9H",gradientOverlayRight:"BookCitation-module_gradientOverlayRight__lElq0",contentWrapper:"BookCitation-module_contentWrapper__2y1ae",paragraph:"BookCitation-module_paragraph__9gQDG",textIndent:"BookCitation-module_textIndent__ejJaC",pageIndex:"BookCitation-module_pageIndex__wUixS",pageLabel:"BookCitation-module_pageLabel__NZ6CE",highlighted:"BookCitation-module_highlighted__n9p6V",highlightedInline:"BookCitation-module_highlightedInline__Vaoms",highlightedBlock:"BookCitation-module_highlightedBlock__c-R3J",blurred:"BookCitation-module_blurred__E0v59",customScrollbarClass:"BookCitation-module_customScrollbarClass__mwGyt",maxheight38rem:"BookCitation-module_maxheight38rem__8icW1"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js").default(".BookCitation-module_relativeWrapper__jFpTh{position:relative;width:100%}.BookCitation-module_displayFlex__iMb2e{align-items:center;display:flex;justify-content:center}.BookCitation-module_height95percent__kWGUx{height:90%}.BookCitation-module_height100percent__zQeLG{height:100%}.BookCitation-module_relativeContainer__HLngm{height:100%;min-height:0;position:relative}.BookCitation-module_citationButtonWrapper__einPL{color:#be87ff;cursor:pointer;display:inline-block;height:100%;margin-right:.25rem}.BookCitation-module_citationButton__8U9MO{align-items:center;background-color:transparent;border:none;border-radius:9999px;color:#d63384;cursor:pointer;display:inline-flex;font-family:Plus Jakarta Sans,sans-serif;font-size:16px;font-weight:700;margin:0;padding:0;text-decoration:none;white-space:normal;width:fit-content;word-break:break-word}.BookCitation-module_citationText__aH2j-{align-items:center;display:flex;justify-content:center;text-align:center}.BookCitation-module_pageText__nEM69{margin-left:6px}.BookCitation-module_expandedWrapper__roHmf{align-items:center;display:flex;height:100%;justify-content:start;min-height:0}.BookCitation-module_expandableContainer__yNmEx{height:100%;left:0;margin-top:.5rem;min-height:0;top:100%;width:100%;z-index:49}.BookCitation-module_expandableContainerWidth__O7mEU{width:32rem}.BookCitation-module_expandableContent__AvgFX{background-color:#fff;border:1px solid #60a3f8;border-radius:8px;box-shadow:0 1.694px 6.775px 0 rgba(0,0,0,.05),0 37.262px 40.65px -10.162px rgba(0,0,0,.15),0 0 20.325px 3.387px rgba(0,0,0,.05);color:#fff;height:fit-content;height:100%;margin-bottom:1.5rem;min-height:0;padding:.75rem}.BookCitation-module_bookBodyContent__a20pD{height:100%;margin:0 auto;min-height:0}.BookCitation-module_header__kMSfc{display:flex;justify-content:space-between;margin-bottom:1rem}.BookCitation-module_bookInfo__AzKFV{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.BookCitation-module_bookImageWrapper__JNna7{flex-shrink:0}.BookCitation-module_bookImage__CXga1{height:70px;object-fit:cover;width:70px}.BookCitation-module_bookTextInfo__zVuts{display:flex;flex-direction:column;gap:.1rem}.BookCitation-module_bookTitle__lHfz0{font-family:Inter,sans-serif;font-size:1rem;font-weight:700;line-height:1;margin:0}.BookCitation-module_bookAuthor__Chqif{font-family:Inter,sans-serif;font-size:.8rem;font-weight:500;line-height:1;margin:0}.BookCitation-module_externalLink__cQ3aM{margin-left:auto}.BookCitation-module_audioHover__XquBK{border-radius:.5rem;transition:background-color .2s}.BookCitation-module_audioHover__XquBK:hover{background-color:hsla(0,0%,100%,.2)}.BookCitation-module_audioIcon__hoXWS{width:5rem}.BookCitation-module_container__msLn5{background-color:#fff;border-radius:.75rem;box-shadow:0 4px 6px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;margin-left:auto;margin-right:auto;max-width:100%;position:relative;width:100%}.BookCitation-module_gradientOverlayLeft__vKN9H{background:linear-gradient(270deg,#000 0,rgba(0,0,0,.7) 40%,rgba(0,0,0,.4) 70%,transparent);bottom:0;box-shadow:-4px 0 8px rgba(0,0,0,.1);opacity:.5;pointer-events:none;position:absolute;right:20px;top:0;width:16px;z-index:0}.BookCitation-module_gradientOverlayRight__lElq0{background:linear-gradient(90deg,#000 0,rgba(0,0,0,.6) 40%,rgba(0,0,0,.2) 70%,transparent);bottom:0;box-shadow:4px 0 8px rgba(0,0,0,.1);opacity:.5;pointer-events:none;position:absolute;right:5px;top:0;width:16px;z-index:0}.BookCitation-module_contentWrapper__2y1ae{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding-right:.94rem;position:relative;word-break:break-word;z-index:0}.BookCitation-module_paragraph__9gQDG{height:100%;margin-bottom:1rem;text-align:justify}.BookCitation-module_textIndent__ejJaC{text-indent:1rem}.BookCitation-module_pageIndex__wUixS{margin-top:auto;padding:.5rem 0;text-align:right}.BookCitation-module_pageLabel__NZ6CE{border-radius:9999px;color:#4b5563;display:inline-block;font-size:1rem;font-weight:500;padding:.25rem .75rem}.BookCitation-module_highlighted__n9p6V{background-color:#eaea79;font-weight:700}.BookCitation-module_highlightedInline__Vaoms{display:inline}.BookCitation-module_highlightedBlock__c-R3J{display:block}.BookCitation-module_blurred__E0v59{filter:blur(2px);pointer-events:none;user-select:none}.BookCitation-module_customScrollbarClass__mwGyt{background-color:#f5f4f4;border:1px solid #cbd5e1;border-radius:.5rem;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;font-weight:400;letter-spacing:0;line-height:100%;overflow:auto;padding:40px 50px 0 20px}.BookCitation-module_maxheight38rem__8icW1{max-height:38rem}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar{height:0;width:0}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-track{background:transparent}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-thumb{background-color:#a3a4ae;border-radius:10px}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-button{display:none}"),exports.default={relativeWrapper:"BookCitation-module_relativeWrapper__jFpTh",displayFlex:"BookCitation-module_displayFlex__iMb2e",height95percent:"BookCitation-module_height95percent__kWGUx",height100percent:"BookCitation-module_height100percent__zQeLG",relativeContainer:"BookCitation-module_relativeContainer__HLngm",citationButtonWrapper:"BookCitation-module_citationButtonWrapper__einPL",citationButton:"BookCitation-module_citationButton__8U9MO",citationText:"BookCitation-module_citationText__aH2j-",pageText:"BookCitation-module_pageText__nEM69",expandedWrapper:"BookCitation-module_expandedWrapper__roHmf",expandableContainer:"BookCitation-module_expandableContainer__yNmEx",expandableContainerWidth:"BookCitation-module_expandableContainerWidth__O7mEU",expandableContent:"BookCitation-module_expandableContent__AvgFX",bookBodyContent:"BookCitation-module_bookBodyContent__a20pD",header:"BookCitation-module_header__kMSfc",bookInfo:"BookCitation-module_bookInfo__AzKFV",bookImageWrapper:"BookCitation-module_bookImageWrapper__JNna7",bookImage:"BookCitation-module_bookImage__CXga1",bookTextInfo:"BookCitation-module_bookTextInfo__zVuts",bookTitle:"BookCitation-module_bookTitle__lHfz0",bookAuthor:"BookCitation-module_bookAuthor__Chqif",externalLink:"BookCitation-module_externalLink__cQ3aM",audioHover:"BookCitation-module_audioHover__XquBK",audioIcon:"BookCitation-module_audioIcon__hoXWS",container:"BookCitation-module_container__msLn5",gradientOverlayLeft:"BookCitation-module_gradientOverlayLeft__vKN9H",gradientOverlayRight:"BookCitation-module_gradientOverlayRight__lElq0",contentWrapper:"BookCitation-module_contentWrapper__2y1ae",paragraph:"BookCitation-module_paragraph__9gQDG",textIndent:"BookCitation-module_textIndent__ejJaC",pageIndex:"BookCitation-module_pageIndex__wUixS",pageLabel:"BookCitation-module_pageLabel__NZ6CE",highlighted:"BookCitation-module_highlighted__n9p6V",highlightedInline:"BookCitation-module_highlightedInline__Vaoms",highlightedBlock:"BookCitation-module_highlightedBlock__c-R3J",blurred:"BookCitation-module_blurred__E0v59",customScrollbarClass:"BookCitation-module_customScrollbarClass__mwGyt",maxheight38rem:"BookCitation-module_maxheight38rem__8icW1"};
2
2
  //# sourceMappingURL=BookCitation.module.css.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=[{name:"Spaced-out title",match:function(t){return(t.match(/\b[a-z]\b/gi)||[]).length>5}},{name:"Standalone page number",match:function(t){return/^\/?\s*\d{1,4}\s*$/.test(t.trim())}},{name:"PDF footer",check:function(t){return/\b\d{1,4}_.*\.pdf\b/i.test(t)},match:function(t){return/\b\d{1,4}_.*\.pdf\b/i.test(t)&&/\b\d{4}\b.*\d{1,2}:\d{2}:\d{2}/.test(t)&&/\b\d{1,4}$/.test(t)}},{name:"Factiva metadata (Page x of y)",match:function(t){return/^Page \d+ of \d+/i.test(t.trim())}},{name:"Factiva copyright line",match:function(t){return/© \d{4} Factiva, Inc\./i.test(t)}},{name:"Factiva document ID or search summary line",match:function(t){return/(Cartoons Document|Search Summary Text rst=|Results Found Timestamp)/i.test(t)}},{name:"High symbol/noise content",match:function(t){var e=t.replace(/\s/g,""),n=e.replace(/[a-z0-9]/gi,"").length/e.length;return e.length>10&&n>.5}},{name:"Page reference (book/page metadata)",match:function(t){return/\d+\s*\/\s*THE\sESSENTIAL\sDRUCKER/i.test(t)}}];exports.cleanScannedText=function(e){var n=t.filter(function(t){return!t.check||t.check(e)});return e.split("\n").filter(function(t){return!n.some(function(e){return e.match(t)})}).map(function(t){return t.replace(/-\s*\n/g,"").replace(/\u00AD/g,"").replace(/\s+/g," ")}).join(" ").replace(/\s+/g," ").trim()};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=[{name:"Spaced-out title",match:e=>(e.match(/\b[a-z]\b/gi)||[]).length>5},{name:"Standalone page number",match:e=>/^\/?\s*\d{1,4}\s*$/.test(e.trim())},{name:"PDF footer",check:e=>/\b\d{1,4}_.*\.pdf\b/i.test(e),match:e=>/\b\d{1,4}_.*\.pdf\b/i.test(e)&&/\b\d{4}\b.*\d{1,2}:\d{2}:\d{2}/.test(e)&&/\b\d{1,4}$/.test(e)},{name:"Factiva metadata (Page x of y)",match:e=>/^Page \d+ of \d+/i.test(e.trim())},{name:"Factiva copyright line",match:e=>/© \d{4} Factiva, Inc\./i.test(e)},{name:"Factiva document ID or search summary line",match:e=>/(Cartoons Document|Search Summary Text rst=|Results Found Timestamp)/i.test(e)},{name:"High symbol/noise content",match:e=>{const t=e.replace(/\s/g,""),a=t.replace(/[a-z0-9]/gi,"").length/t.length;return t.length>10&&a>.5}},{name:"Page reference (book/page metadata)",match:e=>/\d+\s*\/\s*THE\sESSENTIAL\sDRUCKER/i.test(e)}];exports.cleanScannedText=function(t){const a=e.filter(e=>!e.check||e.check(t));return t.split("\n").filter(e=>!a.some(t=>t.match(e))).map(e=>e.replace(/-\s*\n/g,"").replace(/\u00AD/g,"").replace(/\s+/g," ")).join(" ").replace(/\s+/g," ").trim()};
2
2
  //# sourceMappingURL=text-cleaner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-cleaner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"text-cleaner.js","sources":["../../../../src/features/BookCitation/text-cleaner.ts"],"sourcesContent":["type FilterRule = {\n name: string;\n check?: (text: string) => boolean;\n match: (line: string) => boolean;\n};\n\nconst rules: FilterRule[] = [\n {\n name: 'Spaced-out title',\n match: (line) => (line.match(/\\b[a-z]\\b/gi) || []).length > 5,\n },\n {\n name: 'Standalone page number',\n match: (line) => /^\\/?\\s*\\d{1,4}\\s*$/.test(line.trim()),\n },\n {\n name: 'PDF footer',\n check: (text) => /\\b\\d{1,4}_.*\\.pdf\\b/i.test(text),\n match: (line) =>\n /\\b\\d{1,4}_.*\\.pdf\\b/i.test(line) &&\n /\\b\\d{4}\\b.*\\d{1,2}:\\d{2}:\\d{2}/.test(line) &&\n /\\b\\d{1,4}$/.test(line),\n },\n {\n name: 'Factiva metadata (Page x of y)',\n match: (line) => /^Page \\d+ of \\d+/i.test(line.trim()),\n },\n {\n name: 'Factiva copyright line',\n match: (line) => /© \\d{4} Factiva, Inc\\./i.test(line),\n },\n {\n name: 'Factiva document ID or search summary line',\n match: (line) =>\n /(Cartoons Document|Search Summary Text rst=|Results Found Timestamp)/i.test(line),\n },\n {\n name: 'High symbol/noise content',\n match: (line) => {\n const clean = line.replace(/\\s/g, '');\n const symbolRatio = clean.replace(/[a-z0-9]/gi, '').length / clean.length;\n return clean.length > 10 && symbolRatio > 0.5;\n },\n },\n {\n name: 'Page reference (book/page metadata)',\n // Updated regex to handle \"108 / THE ESSENTIAL DRUCKER\"\n match: (line) => /\\d+\\s*\\/\\s*THE\\sESSENTIAL\\sDRUCKER/i.test(line),\n },\n];\n\nexport function cleanScannedText(text: string): string {\n const activeRules = rules.filter((rule) => !rule.check || rule.check(text));\n\n return text\n .split('\\n')\n .filter((line) => {\n return !activeRules.some((rule) => rule.match(line));\n })\n .map((line) =>\n line\n .replace(/-\\s*\\n/g, '') // remove hyphen + line break\n .replace(/\\u00AD/g, '') // soft hyphen\n .replace(/\\s+/g, ' ') // normalize spaces\n )\n .join(' ')\n .replace(/\\s+/g, ' ') // remove extra spaces between words\n .trim();\n}\n"],"names":["rules","name","match","line","length","test","trim","check","text","clean","replace","symbolRatio","activeRules","filter","rule","split","some","map","join"],"mappings":"oEAMA,MAAMA,EAAsB,CACxB,CACIC,KAAM,mBACNC,MAAQC,IAAUA,EAAKD,MAAM,gBAAkB,IAAIE,OAAS,GAEhE,CACIH,KAAM,yBACNC,MAAQC,GAAS,qBAAqBE,KAAKF,EAAKG,SAEpD,CACIL,KAAM,aACNM,MAAQC,GAAS,uBAAuBH,KAAKG,GAC7CN,MAAQC,GACJ,uBAAuBE,KAAKF,IAC5B,iCAAiCE,KAAKF,IACtC,aAAaE,KAAKF,IAE1B,CACIF,KAAM,iCACNC,MAAQC,GAAS,oBAAoBE,KAAKF,EAAKG,SAEnD,CACIL,KAAM,yBACNC,MAAQC,GAAS,0BAA0BE,KAAKF,IAEpD,CACIF,KAAM,6CACNC,MAAQC,GACJ,wEAAwEE,KAAKF,IAErF,CACIF,KAAM,4BACNC,MAAQC,IACJ,MAAMM,EAAQN,EAAKO,QAAQ,MAAO,IAC5BC,EAAcF,EAAMC,QAAQ,aAAc,IAAIN,OAASK,EAAML,OAC5D,OAAAK,EAAML,OAAS,IAAMO,EAAc,KAGlD,CACIV,KAAM,sCAENC,MAAQC,GAAS,sCAAsCE,KAAKF,8BAI7D,SAA0BK,GACvB,MAAAI,EAAcZ,EAAMa,OAAQC,IAAUA,EAAKP,OAASO,EAAKP,MAAMC,IAErE,OAAOA,EACFO,MAAM,MACNF,OAAQV,IACGS,EAAYI,KAAMF,GAASA,EAAKZ,MAAMC,KAEjDc,IAAKd,GACFA,EACKO,QAAQ,UAAW,IACnBA,QAAQ,UAAW,IACnBA,QAAQ,OAAQ,MAExBQ,KAAK,KACLR,QAAQ,OAAQ,KAChBJ,MACT"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),t=require("react"),n=require("../utils/highlight.js"),l=require("../../../utils/sanitizeHtml.js"),r={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},textBlock:{fontSize:"14px",fontWeight:400,color:"#64748B",marginBottom:"24px"}};exports.default=function(s){var o,h,u,g,d,a,c,v,p=s.data,x=s.highlightTerms,y=s.onHighlightMatch,m=s.highlightEnabled,j=p.copyright,_=p.salesRights,f=t.useRef(null);return t.useEffect(function(){var i,e,t,n,l,r,s;if(x&&0!==x.length&&m){var o=[String(null!==(e=null===(i=p.copyright)||void 0===i?void 0:i.year)&&void 0!==e?e:""),null!==(n=null===(t=p.copyright)||void 0===t?void 0:t.owner)&&void 0!==n?n:"",null!==(r=null===(l=p.salesRights)||void 0===l?void 0:l.description)&&void 0!==r?r:"",null===(s=p.salesRights)||void 0===s?void 0:s.territory.join(", ")].some(function(i){return!!i&&x.some(function(e){return i.toLowerCase().includes(e.toLowerCase())})});null==y||y(o)}},[x,p]),e.jsxs("div",i.__assign({ref:f},{children:[e.jsx("p",i.__assign({style:r.sectionTitle},{children:"Copyrights"})),e.jsxs("div",i.__assign({style:r.textBlock},{children:[e.jsxs("p",{children:["Copyright Year:"," ",x&&x.length>0&&m?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(n.highlightTermsFunc(String(null!==(o=j.year)&&void 0!==o?o:"NA"),x))}}):null!==(h=j.year)&&void 0!==h?h:"NA"]}),e.jsxs("p",{children:["Copyright Owner:"," ",x&&x.length>0&&m?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(n.highlightTermsFunc(null!==(u=j.owner)&&void 0!==u?u:"NA",x))}}):null!==(g=j.owner)&&void 0!==g?g:"NA"]})]})),e.jsx("p",i.__assign({style:r.sectionTitle},{children:"Sales Rights"})),e.jsxs("div",i.__assign({style:r.textBlock},{children:[e.jsx("p",{children:x&&x.length>0&&m?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(n.highlightTermsFunc(null!==(d=_.description)&&void 0!==d?d:"",x))}}):null!==(a=_.description)&&void 0!==a?a:""}),e.jsxs("p",{children:["Sales Territory:"," ",x&&x.length>0&&m?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(n.highlightTermsFunc(null!==(c=_.territory.join(", "))&&void 0!==c?c:"NA",x))}}):null!==(v=_.territory.join(", "))&&void 0!==v?v:"NA"]})]}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),i=require("../utils/highlight.js"),r=require("../../../utils/sanitizeHtml.js");const s={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},textBlock:{fontSize:"14px",fontWeight:400,color:"#64748B",marginBottom:"24px"}};exports.default=({data:n,highlightTerms:l,onHighlightMatch:o,highlightEnabled:h})=>{const{copyright:g,salesRights:c}=n,a=t.useRef(null);return t.useEffect(()=>{if(!l||0===l.length||!h)return;const e=[String(n.copyright?.year??""),n.copyright?.owner??"",n.salesRights?.description??"",n.salesRights?.territory.join(", ")].some(e=>!!e&&l.some(t=>e.toLowerCase().includes(t.toLowerCase())));o?.(e)},[l,n]),e.jsxs("div",{ref:a,children:[e.jsx("p",{style:s.sectionTitle,children:"Copyrights"}),e.jsxs("div",{style:s.textBlock,children:[e.jsxs("p",{children:["Copyright Year:"," ",l&&l.length>0&&h?e.jsx("span",{dangerouslySetInnerHTML:{__html:r.sanitizeHtml(i.highlightTermsFunc(String(g.year??"NA"),l))}}):g.year??"NA"]}),e.jsxs("p",{children:["Copyright Owner:"," ",l&&l.length>0&&h?e.jsx("span",{dangerouslySetInnerHTML:{__html:r.sanitizeHtml(i.highlightTermsFunc(g.owner??"NA",l))}}):g.owner??"NA"]})]}),e.jsx("p",{style:s.sectionTitle,children:"Sales Rights"}),e.jsxs("div",{style:s.textBlock,children:[e.jsx("p",{children:l&&l.length>0&&h?e.jsx("span",{dangerouslySetInnerHTML:{__html:r.sanitizeHtml(i.highlightTermsFunc(c.description??"",l))}}):c.description??""}),e.jsxs("p",{children:["Sales Territory:"," ",l&&l.length>0&&h?e.jsx("span",{dangerouslySetInnerHTML:{__html:r.sanitizeHtml(i.highlightTermsFunc(c.territory.join(", ")??"NA",l))}}):c.territory.join(", ")??"NA"]})]})]})};
2
2
  //# sourceMappingURL=BookCopyrightsCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookCopyrightsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"BookCopyrightsCard.js","sources":["../../../../../src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useRef } from \"react\";\nimport { highlightTermsFunc } from '../utils/highlight';\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n sectionTitle: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"12px\",\n },\n textBlock: {\n fontSize: \"14px\",\n fontWeight: 400,\n color: \"#64748B\",\n marginBottom: \"24px\",\n },\n};\nexport interface ICopyright {\n year: number;\n owner: string;\n}\n\nexport interface ISalesRights {\n description: string;\n territory: string[];\n}\n\nexport interface IBookCopyrightsData {\n copyright: ICopyright;\n salesRights: ISalesRights;\n}\n\ninterface BookCopyrightsCardProps {\n data: IBookCopyrightsData;\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n highlightEnabled: boolean\n}\n\nconst BookCopyrightsCard = ({ data, highlightTerms, onHighlightMatch, highlightEnabled }: BookCopyrightsCardProps) => {\n const { copyright, salesRights } = data;\n const containerRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (!highlightTerms || highlightTerms.length === 0 || !highlightEnabled) return;\n\n const fieldsToCheck: string[] = [\n String(data.copyright?.year ?? \"\"),\n data.copyright?.owner ?? \"\",\n data.salesRights?.description ?? \"\",\n data.salesRights?.territory.join(', ')\n ];\n\n const matched = fieldsToCheck.some((field) => {\n if (!field) return false;\n return highlightTerms.some((term) =>\n field.toLowerCase().includes(term.toLowerCase())\n );\n });\n\n onHighlightMatch?.(matched);\n\n }, [highlightTerms, data]);\n\n return (\n <div ref={containerRef}>\n <p style={defaultStyles.sectionTitle}>Copyrights</p>\n <div style={defaultStyles.textBlock}>\n <p>\n Copyright Year:{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(String(copyright.year ?? 'NA'), highlightTerms)) }} />\n ) : (\n copyright.year ?? 'NA'\n )}\n </p>\n <p>\n Copyright Owner:{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(copyright.owner ?? 'NA', highlightTerms)) }} />\n ) : (\n copyright.owner ?? 'NA'\n )}\n </p>\n </div>\n <p style={defaultStyles.sectionTitle}>Sales Rights</p>\n <div style={defaultStyles.textBlock}>\n <p>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(salesRights.description ?? '', highlightTerms)) }} />\n ) : (\n salesRights.description ?? ''\n )}\n </p>\n <p>\n Sales Territory:{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(salesRights.territory.join(\", \") ?? \"NA\", highlightTerms)) }} />\n ) : (\n salesRights.territory.join(\", \") ?? \"NA\"\n )}\n </p>\n </div>\n </div>\n );\n};\n\nexport default BookCopyrightsCard;\n"],"names":["defaultStyles","sectionTitle","fontSize","fontWeight","color","marginBottom","textBlock","data","highlightTerms","onHighlightMatch","highlightEnabled","copyright","salesRights","containerRef","useRef","useEffect","length","matched","String","year","owner","description","territory","join","some","field","term","toLowerCase","includes","jsxs","ref","children","jsx","style","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc"],"mappings":"yMAIA,MAAMA,EAAkD,CACtDC,aAAc,CACZC,SAAU,OACVC,WAAY,IACZC,MAAO,UACPC,aAAc,QAEhBC,UAAW,CACTJ,SAAU,OACVC,WAAY,IACZC,MAAO,UACPC,aAAc,yBAyBS,EAAGE,OAAMC,iBAAgBC,mBAAkBC,uBAC9D,MAAAC,UAAEA,EAAWC,YAAAA,GAAgBL,EAC7BM,EAAeC,SAAuB,MAwB1C,OAtBFC,EAAAA,UAAU,KACR,IAAKP,GAA4C,IAA1BA,EAAeQ,SAAiBN,EAAkB,OAEzE,MAOMO,EAP0B,CAC9BC,OAAOX,EAAKI,WAAWQ,MAAQ,IAC/BZ,EAAKI,WAAWS,OAAS,GACzBb,EAAKK,aAAaS,aAAe,GACjCd,EAAKK,aAAaU,UAAUC,KAAK,OAGLC,KAAMC,KAC7BA,GACEjB,EAAegB,KAAME,GAC1BD,EAAME,cAAcC,SAASF,EAAKC,iBAItClB,IAAmBQ,IAElB,CAACT,EAAgBD,IAGlBsB,EAAAA,KAAC,MAAI,CAAAC,IAAKjB,EACRkB,SAAA,CAAAC,EAAAA,IAAC,IAAE,CAAAC,MAAOjC,EAAcC,aAAc8B,SAAU,eAC/CF,EAAAA,KAAA,MAAA,CAAII,MAAOjC,EAAcM,UACxByB,SAAA,CAAAF,OAAC,IAAE,CAAAE,SAAA,CAAA,kBACe,IACfvB,GAAkBA,EAAeQ,OAAS,GAAKN,EAC7CsB,MAAA,OAAA,CAAKE,wBAAyB,CAAEC,OAAQC,EAAAA,aAAaC,qBAAmBnB,OAAOP,EAAUQ,MAAQ,MAAOX,OAEzGG,EAAUQ,MAAQ,eAGrB,IAAE,CAAAY,SAAA,CAAA,mBACgB,IAChBvB,GAAkBA,EAAeQ,OAAS,GAAKN,EAC7CsB,EAAAA,IAAA,OAAA,CAAKE,wBAAyB,CAAEC,OAAQC,eAAaC,qBAAmB1B,EAAUS,OAAS,KAAMZ,OAElGG,EAAUS,OAAS,WAIxBY,EAAAA,IAAA,IAAA,CAAEC,MAAOjC,EAAcC,aAAc8B,SAAY,iBACjDF,EAAAA,KAAA,MAAA,CAAII,MAAOjC,EAAcM,UACxByB,SAAA,CAACC,EAAAA,IAAA,IAAA,CACED,YAAkBvB,EAAeQ,OAAS,GAAKN,EAC9CsB,EAAAA,IAAC,OAAK,CAAAE,wBAAyB,CAAEC,OAAQC,EAAAA,aAAaC,EAAmBA,mBAAAzB,EAAYS,aAAe,GAAIb,OAExGI,EAAYS,aAAe,YAG9B,IAAE,CAAAU,SAAA,CAAA,mBACgB,IAChBvB,GAAkBA,EAAeQ,OAAS,GAAKN,EAC7CsB,EAAAA,IAAA,OAAA,CAAKE,wBAAyB,CAAEC,OAAQC,EAAAA,aAAaC,EAAAA,mBAAmBzB,EAAYU,UAAUC,KAAK,OAAS,KAAMf,OAEnHI,EAAYU,UAAUC,KAAK,OAAS"}
@@ -0,0 +1,2 @@
1
+ "use strict";require("../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js").default(".BookDetailsCard_book-details-container__4LhUK{box-sizing:border-box;width:100%}@media (max-width:768px){.BookDetailsCard_book-details-categories-list__BkEPF,.BookDetailsCard_book-details-details-container__SAUzV,.BookDetailsCard_book-details-reviews-list__3aVA1{padding-left:8px!important}.BookDetailsCard_book-details-review-card__nS2yb{padding:14px!important}.BookDetailsCard_book-details-category__fLBZN{padding:6px 10px!important}}@media (max-width:480px){.BookDetailsCard_book-details-categories-list__BkEPF,.BookDetailsCard_book-details-details-container__SAUzV,.BookDetailsCard_book-details-reviews-list__3aVA1{padding-left:6px!important}.BookDetailsCard_book-details-review-card__nS2yb{padding:12px!important}.BookDetailsCard_book-details-category__fLBZN{font-size:11px!important;padding:5px 8px!important}.BookDetailsCard_book-details-section-title__oliKC{font-size:13px!important}}");
2
+ //# sourceMappingURL=BookDetailsCard.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookDetailsCard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("react"),n=require("../utils/highlight.js"),s=require("../../../utils/sanitizeHtml.js"),l={container:{width:"100%"},sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},detailsContainer:{marginBottom:"24px",fontSize:"14px",fontWeight:400,color:"#64748B",display:"flex",flexDirection:"column",gap:"4px",paddingLeft:"12px"},detailsContainerItem:{margin:"4px 0"},boldText:{fontWeight:"bold"},categoriesContainer:{marginBottom:"24px"},categoriesList:{display:"flex",flexWrap:"wrap",gap:"12px",marginBottom:"8px",paddingLeft:"12px"},category:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:400,fontSize:"12px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},reviewsList:{paddingLeft:"12px"},reviewCard:{border:"1px solid #CBD5E1",borderRadius:"6px",padding:"16px",marginBottom:"12px",backgroundColor:"#F8FAFC"},reviewText:{fontSize:"14px",fontStyle:"italic",fontWeight:400,color:"#475569",marginBottom:"8px"},reviewSource:{fontSize:"10px",color:"#475569",fontWeight:600}};exports.default=function(r){var o,a,c,g,u,d,h,p,x,m,_,b,v,f=r.data,y=r.highlightTerms,j=r.onHighlightMatch,T=r.highlightEnabled;r.citationType;var C,w=r.citationSubTitle,N=i.useState(!1),S=N[0],k=N[1],L=i.useState(!1),H=L[0],I=L[1],M=i.useRef(null),z=null!==(o=null==y?void 0:y.map(function(e){return e.split(",")}).flat())&&void 0!==o?o:[],A=i.useMemo(function(){return S?f.subjectCategories||[]:(f.subjectCategories||[]).slice(0,10)},[S,f.subjectCategories]);return i.useEffect(function(){var e,t;if((null==y?void 0:y.length)&&T){var i="genre_details"==w?z.map(function(e){return e.toLowerCase()}):y.map(function(e){return e.toLowerCase()}),n=function(e){return e&&i.some(function(t){return e.toLowerCase().includes(t)})},s=[f.isbn,f.isbn10,f.imprint,f.publisher,f.publishingDate,f.age].some(n),l=(null!==(e=f.subjectCategories)&&void 0!==e?e:[]).some(n);console.log("categoriesMatch",l);var r=(null!==(t=f.reviews)&&void 0!==t?t:[]).some(function(e){return n(e.replace(/<[^>]+>/g,""))}),o=s||l||r;null==j||j(o),o&&(l&&!S&&k(!0),r&&!H&&I(!0))}},[y,f]),t.jsxs("div",e.__assign({ref:M,style:l.container,className:"book-details-container"},{children:[t.jsx("p",e.__assign({style:l.sectionTitle,className:"book-details-section-title"},{children:"Product Details"})),t.jsxs("div",e.__assign({style:l.detailsContainer,className:"book-details-details-container"},{children:[t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"ISBN:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(a=f.isbn)&&void 0!==a?a:"NA",y))}}):null!==(c=f.isbn)&&void 0!==c?c:"NA"]})),t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"ISBN 10:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(g=f.isbn10)&&void 0!==g?g:"NA",y))}}):null!==(u=f.isbn10)&&void 0!==u?u:"NA"]})),t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"Imprint:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(d=f.imprint)&&void 0!==d?d:"NA",y))}}):null!==(h=f.imprint)&&void 0!==h?h:"NA"]})),t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"Publisher:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(p=f.publisher)&&void 0!==p?p:"NA",y))}}):null!==(x=f.publisher)&&void 0!==x?x:"NA"]})),t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"Publishing Date:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(m=f.publishingDate)&&void 0!==m?m:"NA",y))}}):null!==(_=f.publishingDate)&&void 0!==_?_:"NA"]})),t.jsxs("p",e.__assign({style:l.detailsContainerItem},{children:[t.jsx("span",e.__assign({style:l.boldText},{children:"Age:"}))," ",y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(null!==(b=f.age)&&void 0!==b?b:"NA",y))}}):null!==(v=f.age)&&void 0!==v?v:"NA"]}))]})),t.jsxs("div",e.__assign({style:l.categoriesContainer},{children:[t.jsx("p",e.__assign({style:l.sectionTitle,className:"book-details-section-title"},{children:"Subject Categories"})),t.jsxs("div",e.__assign({style:l.categoriesList,className:"book-details-categories-list"},{children:[A.map(function(i,r){return t.jsx("span",e.__assign({style:l.category,className:"book-details-category"},{children:y&&y.length>0&&T?t.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(n.highlightTermsFunc(i,z))}}):i}),r)}),f.subjectCategories&&f.subjectCategories.length>10&&t.jsx("button",e.__assign({style:l.button,onClick:function(){return k(!S)},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:S?"View less":"View more"}))]}))]})),t.jsxs("div",e.__assign({style:l.reviewsContainer},{children:[t.jsx("p",e.__assign({style:l.sectionTitle,className:"book-details-section-title"},{children:"Book Marketing Collateral"})),t.jsxs("div",e.__assign({style:l.reviewsList,className:"book-details-reviews-list"},{children:[f.reviews&&f.reviews.length>0?(C=f.reviews.filter(function(e){return e.replace(/<[^>]+>/g,"").trim().replace(/&[#A-Za-z0-9]+;/g,"").trim().length>0}),(H?C:C.slice(0,3)).map(function(i,r){return t.jsx("div",e.__assign({style:l.reviewCard,className:"book-details-review-card"},{children:t.jsx("div",{style:l.reviewText,dangerouslySetInnerHTML:{__html:y&&y.length>0&&T?s.sanitizeHtml(n.highlightTermsFunc(i,y)):i}})}),r)})):t.jsx("p",e.__assign({style:l.reviewText},{children:"No Book Marketing Collateral available for this book."})),f.reviews&&f.reviews.length>3&&t.jsx("button",e.__assign({style:l.button,onClick:function(){return I(function(e){return!e})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:H?"View less":"View more"}))]}))]}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),i=require("../utils/highlight.js"),s=require("../../../utils/sanitizeHtml.js");require("./BookDetailsCard.css.js");const n={container:{width:"100%"},sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},detailsContainer:{marginBottom:"24px",fontSize:"14px",fontWeight:400,color:"#64748B",display:"flex",flexDirection:"column",gap:"4px",paddingLeft:"12px"},detailsContainerItem:{margin:"4px 0"},boldText:{fontWeight:"bold"},categoriesContainer:{marginBottom:"24px"},categoriesList:{display:"flex",flexWrap:"wrap",gap:"12px",marginBottom:"8px",paddingLeft:"12px"},category:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:400,fontSize:"12px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},reviewsList:{paddingLeft:"12px"},reviewCard:{border:"1px solid #CBD5E1",borderRadius:"6px",padding:"16px",marginBottom:"12px",backgroundColor:"#F8FAFC"},reviewText:{fontSize:"14px",fontStyle:"italic",fontWeight:400,color:"#475569",marginBottom:"8px"},reviewSource:{fontSize:"10px",color:"#475569",fontWeight:600}};exports.default=({data:l,highlightTerms:r,onHighlightMatch:o,highlightEnabled:a,citationType:c,citationSubTitle:d})=>{const[g,h]=t.useState(!1),[p,x]=t.useState(!1),u=t.useRef(null),m=r?.map(e=>e.split(",")).flat()??[],b=t.useMemo(()=>g?l.subjectCategories||[]:(l.subjectCategories||[]).slice(0,10),[g,l.subjectCategories]);return t.useEffect(()=>{if(!r?.length||!a)return;const e="genre_details"==d?m.map(e=>e.toLowerCase()):r.map(e=>e.toLowerCase()),t=t=>t&&e.some(e=>t.toLowerCase().includes(e)),i=[l.isbn,l.isbn10,l.imprint,l.publisher,l.publishingDate,l.age].some(t),s=(l.subjectCategories??[]).some(t);console.log("categoriesMatch",s);const n=(l.reviews??[]).some(e=>t(e.replace(/<[^>]+>/g,""))),c=i||s||n;o?.(c),c&&(s&&!g&&h(!0),n&&!p&&x(!0))},[r,l]),e.jsxs("div",{ref:u,style:n.container,className:"book-details-container",children:[e.jsx("p",{style:n.sectionTitle,className:"book-details-section-title",children:"Product Details"}),e.jsxs("div",{style:n.detailsContainer,className:"book-details-details-container",children:[e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"ISBN:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.isbn??"NA",r))}}):l.isbn??"NA"]}),e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"ISBN 10:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.isbn10??"NA",r))}}):l.isbn10??"NA"]}),e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"Imprint:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.imprint??"NA",r))}}):l.imprint??"NA"]}),e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"Publisher:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.publisher??"NA",r))}}):l.publisher??"NA"]}),e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"Publishing Date:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.publishingDate??"NA",r))}}):l.publishingDate??"NA"]}),e.jsxs("p",{style:n.detailsContainerItem,children:[e.jsx("span",{style:n.boldText,children:"Age:"})," ",r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(l.age??"NA",r))}}):l.age??"NA"]})]}),e.jsxs("div",{style:n.categoriesContainer,children:[e.jsx("p",{style:n.sectionTitle,className:"book-details-section-title",children:"Subject Categories"}),e.jsxs("div",{style:n.categoriesList,className:"book-details-categories-list",children:[b.map((t,l)=>e.jsx("span",{style:n.category,className:"book-details-category",children:r&&r.length>0&&a?e.jsx("span",{dangerouslySetInnerHTML:{__html:s.sanitizeHtml(i.highlightTermsFunc(t,m))}}):t},l)),l.subjectCategories&&l.subjectCategories.length>10&&e.jsx("button",{style:n.button,onClick:()=>h(!g),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:g?"View less":"View more"})]})]}),e.jsxs("div",{style:n.reviewsContainer,children:[e.jsx("p",{style:n.sectionTitle,className:"book-details-section-title",children:"Book Marketing Collateral"}),e.jsxs("div",{style:n.reviewsList,className:"book-details-reviews-list",children:[l.reviews&&l.reviews.length>0?(()=>{const t=l.reviews.filter(e=>e.replace(/<[^>]+>/g,"").trim().replace(/&[#A-Za-z0-9]+;/g,"").trim().length>0);return(p?t:t.slice(0,3)).map((t,l)=>e.jsx("div",{style:n.reviewCard,className:"book-details-review-card",children:e.jsx("div",{style:n.reviewText,dangerouslySetInnerHTML:{__html:r&&r.length>0&&a?s.sanitizeHtml(i.highlightTermsFunc(t,r)):t}})},l))})():e.jsx("p",{style:n.reviewText,children:"No Book Marketing Collateral available for this book."}),l.reviews&&l.reviews.length>3&&e.jsx("button",{style:n.button,onClick:()=>x(e=>!e),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:p?"View less":"View more"})]})]})]})};
2
2
  //# sourceMappingURL=BookDetailsCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookDetailsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"BookDetailsCard.js","sources":["../../../../../src/features/Bookemon/BookDetailsCard/BookDetailsCard.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useMemo, useRef, useState } from \"react\";\nimport { highlightTermsFunc } from \"../utils/highlight\";\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\nimport { BookemonProps, IBookDetails } from \"../types/citation.types\";\nimport \"./BookDetailsCard.css\";\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n container : {\n width: \"100%\",\n },\n sectionTitle: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"12px\",\n },\n detailsContainer: {\n marginBottom: \"24px\",\n fontSize: \"14px\",\n fontWeight: 400,\n color: \"#64748B\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"4px\",\n paddingLeft : \"12px\"\n },\n detailsContainerItem : {\n margin : \"4px 0\",\n },\n boldText: {\n fontWeight: \"bold\",\n },\n categoriesContainer: {\n marginBottom: \"24px\",\n },\n categoriesList: {\n display: \"flex\",\n flexWrap: \"wrap\",\n gap: \"12px\",\n marginBottom: \"8px\",\n paddingLeft : \"12px\"\n },\n category: {\n backgroundColor: \"#ECEEF1\",\n padding: \"8px 12px\",\n fontWeight: 400,\n fontSize: \"12px\",\n borderRadius: \"4px\",\n color: \"#64748B\",\n maxWidth: \"100%\",\n wordBreak: \"break-word\",\n },\n button: {\n color: \"#5928ED\",\n fontSize: \"14px\",\n fontWeight: 600,\n background: \"none\",\n border: \"none\",\n cursor: \"pointer\",\n padding: 0,\n textDecoration: \"none\",\n paddingLeft : \"12px\",\n },\n\n reviewsList : {\n paddingLeft : \"12px\",\n },\n reviewCard: {\n border: \"1px solid #CBD5E1\",\n borderRadius: \"6px\",\n padding: \"16px\",\n marginBottom: \"12px\",\n backgroundColor: \"#F8FAFC\",\n },\n reviewText: {\n fontSize: \"14px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n color: \"#475569\",\n marginBottom: \"8px\",\n },\n reviewSource: {\n fontSize: \"10px\",\n color: \"#475569\",\n fontWeight: 600,\n },\n};\ntype BookDetailsCardProps = {\n data: IBookDetails;\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n highlightEnabled: boolean\n citationType?: BookemonProps['citationType'];\n citationSubTitle?: BookemonProps['citationSubTitle'];\n};\nconst BookDetailsCard = ({ data, highlightTerms, onHighlightMatch, highlightEnabled, citationType, citationSubTitle }: BookDetailsCardProps) => {\n const [showAllCategories, setShowAllCategories] = useState(false);\n const [showAllReviews, setShowAllReviews] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n const highlightGenreArray = highlightTerms?.map(ele=>ele.split(',')).flat() ?? []\n\n const visibleCategories = useMemo(() => {\n return showAllCategories\n ? data.subjectCategories || []\n : (data.subjectCategories || []).slice(0, 10); \n}, [showAllCategories, data.subjectCategories]);\n\n useEffect(() => {\n if (!highlightTerms?.length || !highlightEnabled) return;\n \n const lowerTerms = citationSubTitle==\"genre_details\" ? highlightGenreArray.map(t => t.toLowerCase()) : highlightTerms.map(t => t.toLowerCase());\n \n const contains = (text?: string) =>\n text && lowerTerms.some(term => text.toLowerCase().includes(term));\n \n // ----- BASIC FIELDS -----\n const basicMatch = [\n data.isbn,\n data.isbn10,\n data.imprint,\n data.publisher,\n data.publishingDate,\n data.age,\n ].some(contains);\n \n // ----- SUBJECT CATEGORIES -----\n const categoriesMatch = (data.subjectCategories ?? []).some(contains);\n console.log('categoriesMatch', categoriesMatch)\n \n // ----- REVIEWS -----\n const reviewsMatch = (data.reviews ?? []).some((review: string) =>\n contains(review.replace(/<[^>]+>/g, \"\"))\n );\n \n const matched = basicMatch || categoriesMatch || reviewsMatch;\n \n onHighlightMatch?.(matched);\n \n if (!matched) return;\n \n // 🔓 Auto open hidden sections\n if (categoriesMatch && !showAllCategories) {\n setShowAllCategories(true);\n }\n \n if (reviewsMatch && !showAllReviews) {\n setShowAllReviews(true);\n }\n \n }, [highlightTerms, data]);\n \n \n\n return (\n <div ref={containerRef} style={defaultStyles.container} className=\"book-details-container\">\n {/* Product Details */}\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Product Details</p>\n <div style={defaultStyles.detailsContainer} className=\"book-details-details-container\">\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>ISBN:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.isbn ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.isbn ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>ISBN 10:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.isbn10 ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.isbn10 ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Imprint:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.imprint ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.imprint ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Publisher:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.publisher ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.publisher ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Publishing Date:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.publishingDate ?? 'NA', highlightTerms)) }} />\n ) : (\n data.publishingDate ?? 'NA'\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Age:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.age ?? 'NA', highlightTerms)) }} />\n ) : (\n data.age ?? 'NA'\n )}\n </p>\n </div>\n {/* Subject Categories */}\n <div style={defaultStyles.categoriesContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Subject Categories</p>\n <div style={defaultStyles.categoriesList} className=\"book-details-categories-list\">\n {visibleCategories.map((category:any, index:any) => (\n <span key={index} style={defaultStyles.category} className=\"book-details-category\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(category, highlightGenreArray)) }} />\n ) : (\n category\n )}\n </span>\n ))}\n\n {data.subjectCategories && data.subjectCategories.length > 10 && (\n <button\n style={defaultStyles.button}\n onClick={() => setShowAllCategories(!showAllCategories)}\n onMouseOver={(event) =>\n (event.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(event) =>\n (event.currentTarget.style.textDecoration = \"none\")\n }\n >\n {showAllCategories ? \"View less\" : \"View more\"}\n </button>\n )}\n </div>\n </div>\n {/* Reviews */}\n <div style={defaultStyles.reviewsContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Book Marketing Collateral</p>\n <div style={defaultStyles.reviewsList} className=\"book-details-reviews-list\">\n {data.reviews && data.reviews.length > 0 ? (\n (() => {\n // STEP 1: Filter out empty reviews\n const validReviews = data.reviews.filter((review:any) => {\n const text = review.replace(/<[^>]+>/g, \"\").trim();\n const decoded = text.replace(/&[#A-Za-z0-9]+;/g, \"\").trim();\n return decoded.length > 0;\n });\n\n // STEP 2: Slice AFTER filtering\n const reviewsToShow = showAllReviews\n ? validReviews\n : validReviews.slice(0, 3);\n\n return reviewsToShow.map((review:any, index:any) => (\n <div key={index} style={defaultStyles.reviewCard} className=\"book-details-review-card\">\n <div\n style={defaultStyles.reviewText}\n dangerouslySetInnerHTML={{\n __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled\n ? sanitizeHtml(highlightTermsFunc(review, highlightTerms))\n : review\n }}\n />\n </div>\n ));\n })()\n ) : (\n <p style={defaultStyles.reviewText}>\n No Book Marketing Collateral available for this book.\n </p>\n )}\n \n {data.reviews && data.reviews.length > 3 && (\n <button\n style={defaultStyles.button}\n onClick={() => setShowAllReviews((prev) => !prev)}\n onMouseOver={(event) =>\n (event.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(event) => (event.currentTarget.style.textDecoration = \"none\")}\n >\n {showAllReviews ? \"View less\" : \"View more\"}\n </button>\n )}\n </div>\n </div>\n </div>\n );\n};\n\nexport default BookDetailsCard;\n"],"names":["defaultStyles","container","width","sectionTitle","fontSize","fontWeight","color","marginBottom","detailsContainer","display","flexDirection","gap","paddingLeft","detailsContainerItem","margin","boldText","categoriesContainer","categoriesList","flexWrap","category","backgroundColor","padding","borderRadius","maxWidth","wordBreak","button","background","border","cursor","textDecoration","reviewsList","reviewCard","reviewText","fontStyle","reviewSource","data","highlightTerms","onHighlightMatch","highlightEnabled","citationType","citationSubTitle","showAllCategories","setShowAllCategories","useState","showAllReviews","setShowAllReviews","containerRef","useRef","highlightGenreArray","map","ele","split","flat","visibleCategories","useMemo","subjectCategories","slice","useEffect","length","lowerTerms","t","toLowerCase","contains","text","some","term","includes","basicMatch","isbn","isbn10","imprint","publisher","publishingDate","age","categoriesMatch","console","log","reviewsMatch","reviews","review","replace","matched","jsxs","ref","style","className","children","jsx","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc","index","onClick","onMouseOver","event","currentTarget","onMouseOut","reviewsContainer","validReviews","filter","trim","prev"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ "use strict";require("../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js").default(".BookElementsCard_book-elements-container__bsopV{box-sizing:border-box;width:100%}.BookElementsCard_book-elements-characters-grid__0Em1u{width:100%}.BookElementsCard_book-elements-geo-wrapper__JJyAl{display:flex;flex-wrap:wrap;row-gap:8px}@media (max-width:1024px){.BookElementsCard_book-elements-characters-grid__0Em1u{gap:12px!important}}@media (max-width:768px){.BookElementsCard_book-elements-quote-card__klTo8{padding:14px!important}.BookElementsCard_book-elements-quote-text__Fo63S,.BookElementsCard_book-elements-section-title__hPnIK{font-size:13px!important}.BookElementsCard_book-elements-character-card__fm9lL{padding:14px!important}.BookElementsCard_book-elements-char-name__1Thhg{font-size:15px!important}.BookElementsCard_book-elements-char-desc__Z-pOa{font-size:13px!important}.BookElementsCard_book-elements-characters-grid__0Em1u{grid-template-columns:1fr 1fr!important}}@media (max-width:480px){.BookElementsCard_book-elements-characters-grid__0Em1u{grid-template-columns:1fr!important}.BookElementsCard_book-elements-character-card__fm9lL,.BookElementsCard_book-elements-quote-card__klTo8{padding:12px!important}.BookElementsCard_book-elements-quote-text__Fo63S,.BookElementsCard_book-elements-section-title__hPnIK{font-size:12px!important}.BookElementsCard_book-elements-quote-meta__tlHOL{font-size:11px!important}.BookElementsCard_book-elements-geo-text__wbGIQ{font-size:13px!important}.BookElementsCard_book-elements-char-name__1Thhg{font-size:14px!important}.BookElementsCard_book-elements-char-desc__Z-pOa{font-size:12px!important}.BookElementsCard_book-elements-pagination__RjOfN{justify-content:center!important}}");
2
+ //# sourceMappingURL=BookElementsCard.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookElementsCard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("@mui/material/Pagination"),a=require("@mui/material/Skeleton"),s=require("react"),i=require("react-markdown"),o=require("rehype-raw"),r=require("remark-breaks"),l=require("../utils/highlight.js"),c=require("../../../utils/sanitizeHtml.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(n),g=u(a),x=u(i),h=u(o),p=u(r),f={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},quotesPadding:{paddingLeft:"12px"},quoteCard:{border:"1px solid #CBD5E1",borderRadius:"8px",padding:"16px",backgroundColor:"#F8FAFC",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",marginBottom:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},quoteText:{fontStyle:"italic",color:"#475569",fontSize:"14px",fontWeight:400,marginBottom:"12px"},quoteMeta:{color:"#475569",fontSize:"12px",fontWeight:400},quoteAuthor:{fontSize:"10px",fontWeight:600,color:"#475569",marginTop:"8px",marginBottom:"18px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},geoLocationsContainer:{marginTop:"24px",marginBottom:"24px"},geoText:{fontSize:"14px",fontWeight:500,cursor:"pointer",color:"#532BED"},geoDivider:{margin:"0 8px",color:"#475abb",backgroundColor:"#475abb",width:"1px",height:"18px",display:"inline-block"},geoLocationFlex:{display:"inline-flex",alignItems:"center",gap:"8px",marginBottom:"8px"},charactersContainer:{marginTop:"16px"},charactersGrid:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px",marginBottom:"16px",paddingLeft:"12px"},characterCard:{border:"1px solid #E5E7EB",borderRadius:"8px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",display:"flex",alignItems:"flex-start",gap:"12px",padding:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},avatar:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",fontSize:"14px",fontWeight:600,flexShrink:0},charName:{fontStyle:"normal",fontWeight:600,color:"#101827",fontSize:"16px"},charDesc:{fontStyle:"normal",fontWeight:400,fontSize:"14px",color:"#6B7280"},retryButton:{backgroundColor:"#5928EC",color:"#fff",padding:"6px 10px",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"500"}};exports.default=function(n){var a,i,o;n.data;var r=n.updateQuotesToHighLight,u=n.handleFetchManuscriptElements,_=n.BookIsbn,m=n.title,y=n.highlightTerms,v=n.onHighlightMatch,b=n.defaultPages;n.citationType;var j=n.citationSubTitle,k=n.highlightEnabled,S=s.useRef(!0);s.useEffect(function(){return function(){S.current=!1}},[]);var T=s.useState([]),C=T[0],q=T[1],w=s.useState(null!==(a=null==b?void 0:b.quotes)&&void 0!==a?a:1),L=w[0],N=w[1],E=s.useState(!1),B=E[0],D=E[1],F=s.useState(!0),M=F[0],P=F[1],H=s.useState(0),z=H[0],I=H[1],W=s.useState([]),R=W[0],G=W[1],K=s.useState(null!==(i=null==b?void 0:b.characters)&&void 0!==i?i:1),Y=K[0],A=K[1],O=s.useState(!1),Q=O[0],J=O[1],U=s.useState(!0),V=U[0],X=U[1],Z=s.useState(0),$=Z[0],ee=Z[1],te=s.useState([]),ne=te[0],ae=te[1],se=s.useState(null!==(o=null==b?void 0:b.locations)&&void 0!==o?o:1),ie=se[0],oe=se[1],re=s.useState(!1),le=re[0],ce=re[1],ue=s.useState(!0),de=ue[0],ge=ue[1],xe=s.useState(0),he=xe[0],pe=xe[1],fe=s.useState({list:"",index:-1,page:1}),_e=fe[0],me=fe[1],ye=s.useRef(!1),ve=s.useRef(null);s.useEffect(function(){if((null==y?void 0:y.length)&&k){var e=y.map(function(e){return e.toLowerCase()}),t=function(t){return t&&e.some(function(e){return t.toLowerCase().includes(e)})},n=!1;"notable_quotes"==j&&C.forEach(function(e,a){!n&&t(e.text)&&(null==v||v(!0),n=!0)}),"location_details"==j&&ne.forEach(function(e,a){!n&&t(e.name)&&(null==v||v(!0),n=!0)}),"notable_characters"==j&&R.forEach(function(t,a){var s;!n&&((s=t.name)&&e[0]===s.toLowerCase())&&(null==v||v(!0),n=!0)})}},[y,C,ne,R,L,ie,Y]),s.useEffect(function(){b&&(b.quotes&&N(b.quotes),b.locations&&oe(b.locations),b.characters&&A(b.characters))},[b]),s.useEffect(function(){ye.current=!1},[y]);var be=function(t){var n=t.endpoint,a=t.page,s=t.isbn,i=t.setData,o=t.setLoading,r=t.setHasMore,l=t.setTotalPage,c=t.title;return e.__awaiter(void 0,void 0,void 0,function(){var t,d,g,x;return e.__generator(this,function(e){switch(e.label){case 0:o(!0),e.label=1;case 1:return e.trys.push([1,,3,4]),[4,u({endpoint:n,page:a,pageSize:10,isbn:s,title:c})];case 2:return t=e.sent(),S.current?(i((null==t?void 0:t.data)||[]),l((null===(d=null==t?void 0:t.pagination)||void 0===d?void 0:d.totalPages)||0),r(!(null===(g=null==t?void 0:t.pagination)||void 0===g?void 0:g.hasNext)&&!(null===(x=null==t?void 0:t.pagination)||void 0===x?void 0:x.hasPrevious)),[3,4]):[2];case 3:return S.current&&o(!1),[7];case 4:return[2]}})})};return s.useEffect(function(){be({endpoint:"notable-quotes",page:L,isbn:_,setData:q,setLoading:D,setHasMore:P,setTotalPage:I,title:m})},[L]),s.useEffect(function(){be({endpoint:"notable-characters",page:Y,isbn:_,setData:G,setLoading:J,setHasMore:X,setTotalPage:ee,title:m})},[Y]),s.useEffect(function(){be({endpoint:"geo-locations",page:ie,isbn:_,setData:ae,setLoading:ce,setHasMore:ge,setTotalPage:pe,title:m})},[ie]),t.jsxs("div",e.__assign({ref:ve,className:"book-elements-container"},{children:[t.jsxs("div",e.__assign({style:{marginBottom:"24px"}},{children:[t.jsx("p",e.__assign({style:f.sectionTitle,className:"book-elements-section-title"},{children:"Notable Quotes"})),t.jsxs("div",e.__assign({style:f.quotesPadding},{children:[B?t.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",rowGap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(n){return t.jsxs("div",e.__assign({className:"book-elements-quote-card",style:f.quoteCard},{children:[t.jsx(g.default,{variant:"text",width:"60%",height:28}),t.jsx(g.default,{variant:"text",width:"40%",height:20}),t.jsx(g.default,{variant:"text",width:"25%",height:20}),t.jsx(g.default,{variant:"text",width:"30%",height:20})]}),n)})})):0===C.length?t.jsxs("p",e.__assign({style:{color:"#6B7280",fontStyle:"italic"}},{children:["No notable quotes found. ",t.jsx("button",e.__assign({style:f.retryButton,onClick:function(){return be({endpoint:"notable-quotes",page:L,isbn:_,setData:q,setLoading:D,setHasMore:P,setTotalPage:I,title:m})}},{children:"Retry"}))]})):t.jsx(t.Fragment,{children:C.map(function(n,a){var s="notable"===_e.list&&_e.page===L&&_e.index===a;return t.jsxs("div",e.__assign({className:"book-elements-quote-card",style:e.__assign(e.__assign({},f.quoteCard),{borderColor:s?"rgb(83, 43, 237)":"#CBD5E1"}),onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,s;return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),me({list:"notable",page:L,index:a}),(null===(s=null==n?void 0:n.chunkIds)||void 0===s?void 0:s.length)>0?[4,r(n.text,"Notable Quotes",n.chunkIds,0)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[3,4];case 3:return t=e.sent(),console.error("Failed to highlight quote:",t),[3,4];case 4:return[2]}})})},"data-selected":"notable"===_e.list&&_e.page===L&&_e.index===a?"true":void 0},{children:[y&&y.length>0&&"notable_quotes"==j&&k?t.jsx("p",{style:f.quoteText,className:"book-elements-quote-text",dangerouslySetInnerHTML:{__html:c.sanitizeHtml(l.highlightTermsFunc(null==n?void 0:n.text,y))}}):t.jsx("p",e.__assign({style:f.quoteText,className:"book-elements-quote-text"},{children:null==n?void 0:n.text})),t.jsxs("p",e.__assign({style:f.quoteMeta,className:"book-elements-quote-meta"},{children:[n.chapter,t.jsx("br",{}),n.page]})),t.jsxs("p",e.__assign({style:f.quoteAuthor},{children:["— ",null==n?void 0:n.author]}))]}),a)})}),t.jsx("div",e.__assign({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!M&&t.jsx(d.default,{disabled:B,count:z,page:L,onChange:function(e,t){return N(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),t.jsxs("div",e.__assign({style:f.geoLocationsContainer},{children:[t.jsx("p",e.__assign({style:f.sectionTitle,className:"book-elements-section-title"},{children:"Key Geo Locations"})),t.jsxs("div",e.__assign({className:"book-elements-geo-wrapper",style:e.__assign(e.__assign({},f.quotesPadding),{marginBottom:"8px"})},{children:[le?t.jsx("div",e.__assign({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(e){return t.jsx(g.default,{variant:"rectangular",width:100,height:20,style:{borderRadius:"8px"}},e)})})):0===ne.length?t.jsxs("p",e.__assign({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key geo locations found. ",t.jsx("button",e.__assign({style:f.retryButton,onClick:function(){return be({endpoint:"geo-locations",page:ie,isbn:_,setData:ae,setLoading:ce,setHasMore:ge,setTotalPage:pe,title:m})}},{children:"Retry"}))]})):t.jsx(t.Fragment,{children:ne.map(function(n,a){var s="geo_location"===_e.list&&_e.page===ie&&_e.index===a;return t.jsxs("span",e.__assign({"data-selected":"geo_location"===_e.list&&_e.page===ie&&_e.index===a?"true":void 0,style:f.geoLocationFlex},{children:[t.jsx("span",e.__assign({className:"book-elements-geo-text",style:e.__assign(e.__assign({},f.geoText),{fontWeight:s?"700":"",textDecoration:s?"underline":""}),onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,s;return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),me({list:"geo_location",page:ie,index:a}),(null===(s=null==n?void 0:n.chunkIds)||void 0===s?void 0:s.length)>0?[4,r(n.name,"Key Geo Locations",n.chunkIds,0)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[3,4];case 3:return t=e.sent(),console.error("Failed to highlight location:",t),[3,4];case 4:return[2]}})})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:y&&y.length>0&&"location_details"==j&&k?t.jsx("span",{dangerouslySetInnerHTML:{__html:c.sanitizeHtml(l.highlightTermsFunc(null==n?void 0:n.name,y))}}):null==n?void 0:n.name})),a<ne.length-1&&t.jsx("span",{style:f.geoDivider})]}),a)})}),t.jsx("div",e.__assign({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!de&&t.jsx(d.default,{disabled:le,count:he,page:ie,onChange:function(e,t){return oe(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),t.jsxs("div",e.__assign({style:f.charactersContainer},{children:[t.jsx("p",e.__assign({style:f.sectionTitle,className:"book-elements-section-title"},{children:"Key Characters"})),Q?t.jsx("div",e.__assign({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(n){return t.jsxs("div",e.__assign({style:e.__assign(e.__assign({},f.characterCard),{flexBasis:"40%"})},{children:[t.jsx(g.default,{variant:"circular",style:e.__assign(e.__assign({},f.avatar),{flexShrink:0})}),t.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",flex:1}},{children:[t.jsx(g.default,{variant:"text",style:{flex:"1",flexShrink:0}}),t.jsx(g.default,{variant:"text",style:{flex:"1"}}),t.jsx(g.default,{variant:"text",style:{flex:"1"}}),t.jsx(g.default,{variant:"text",style:{flex:"1"}})]}))]}),n)})})):0===R.length?t.jsxs("p",e.__assign({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key characters found. ",t.jsx("button",e.__assign({style:f.retryButton,onClick:function(){return be({endpoint:"notable-characters",page:Y,isbn:_,setData:G,setLoading:J,setHasMore:X,setTotalPage:ee,title:m})}},{children:"Retry"}))]})):t.jsx(t.Fragment,{children:t.jsx("div",e.__assign({className:"book-elements-characters-grid",style:f.charactersGrid},{children:R.map(function(n,a){var s=e.__assign(e.__assign({},f.avatar),{backgroundColor:n.bg,color:n.color}),i="key_character"===_e.list&&_e.page===Y&&_e.index===a;return t.jsxs("div",e.__assign({onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},className:"book-elements-character-card",style:e.__assign(e.__assign({},f.characterCard),{borderColor:i?"rgb(83, 43, 237)":"#E5E7EB"}),onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,s;return e.__generator(this,function(e){switch(e.label){case 0:me({list:"key_character",page:Y,index:a}),e.label=1;case 1:return e.trys.push([1,4,,5]),(null===(s=null==n?void 0:n.chunkIds)||void 0===s?void 0:s.length)>0?[4,r(n.name,"Key Characters",n.chunkIds,0)]:[3,3];case 2:e.sent(),e.label=3;case 3:return[3,5];case 4:return t=e.sent(),console.error("Failed to highlight character:",t),[3,5];case 5:return[2]}})})},"data-selected":"key_character"===_e.list&&_e.page===Y&&_e.index===a?"true":void 0},{children:[t.jsx("div",e.__assign({style:s},{children:n.initials})),t.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column"}},{children:[t.jsx("p",e.__assign({className:"book-elements-char-name",style:e.__assign(e.__assign({},f.charName),{margin:0})},{children:y&&y.length>0&&"notable_characters"==j&&n.name.toLowerCase()===y[0].toLowerCase()&&k?t.jsx("span",{dangerouslySetInnerHTML:{__html:c.sanitizeHtml(l.highlightTermsFunc(n.name,y))}}):n.name})),t.jsx("p",e.__assign({className:"book-elements-char-desc",style:e.__assign(e.__assign({},f.charDesc),{margin:0,marginTop:"4px"})},{children:t.jsx(x.default,e.__assign({remarkPlugins:[p.default],rehypePlugins:[h.default],components:{p:function(n){n.node;var a=e.__rest(n,["node"]);return t.jsx("p",e.__assign({style:{marginTop:0}},a))}}},{children:null==n?void 0:n.description}))}))]}))]}),a)})}))}),t.jsx("div",e.__assign({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!V&&t.jsx(d.default,{count:$,disabled:Q,page:Y,onChange:function(e,t){return A(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@mui/material/Pagination"),a=require("@mui/material/Skeleton"),o=require("react"),s=require("react-markdown"),n=require("rehype-raw"),r=require("remark-breaks"),i=require("../utils/highlight.js"),l=require("../../../utils/sanitizeHtml.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./BookElementsCard.css.js");var d=c(t),x=c(a),p=c(s),u=c(n),g=c(r);const h={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},quotesPadding:{paddingLeft:"12px"},quoteCard:{border:"1px solid #CBD5E1",borderRadius:"8px",padding:"16px",backgroundColor:"#F8FAFC",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",marginBottom:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},quoteText:{fontStyle:"italic",color:"#475569",fontSize:"14px",fontWeight:400,marginBottom:"12px"},quoteMeta:{color:"#475569",fontSize:"12px",fontWeight:400},quoteAuthor:{fontSize:"10px",fontWeight:600,color:"#475569",marginTop:"8px",marginBottom:"18px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},geoLocationsContainer:{marginTop:"24px",marginBottom:"24px"},geoText:{fontSize:"14px",fontWeight:500,cursor:"pointer",color:"#532BED"},geoDivider:{margin:"0 8px",color:"#475abb",backgroundColor:"#475abb",width:"1px",height:"18px",display:"inline-block"},geoLocationFlex:{display:"inline-flex",alignItems:"center",gap:"8px",marginBottom:"8px"},charactersContainer:{marginTop:"16px"},charactersGrid:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px",marginBottom:"16px",paddingLeft:"12px"},characterCard:{border:"1px solid #E5E7EB",borderRadius:"8px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",display:"flex",alignItems:"flex-start",gap:"12px",padding:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},avatar:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",fontSize:"14px",fontWeight:600,flexShrink:0},charName:{fontStyle:"normal",fontWeight:600,color:"#101827",fontSize:"16px"},charDesc:{fontStyle:"normal",fontWeight:400,fontSize:"14px",color:"#6B7280"},retryButton:{backgroundColor:"#5928EC",color:"#fff",padding:"6px 10px",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"500"}};exports.default=({data:t,updateQuotesToHighLight:a,handleFetchManuscriptElements:s,BookIsbn:n,title:r,highlightTerms:c,onHighlightMatch:m,defaultPages:f,citationType:y,citationSubTitle:b,highlightEnabled:j})=>{const k=o.useRef(!0);o.useEffect(()=>()=>{k.current=!1},[]);const[S,v]=o.useState([]),[T,C]=o.useState(f?.quotes??1),[q,w]=o.useState(!1),[L,E]=o.useState(!0),[N,B]=o.useState(0),[D,F]=o.useState([]),[M,_]=o.useState(f?.characters??1),[P,H]=o.useState(!1),[z,I]=o.useState(!0),[W,R]=o.useState(0),[G,K]=o.useState([]),[Y,A]=o.useState(f?.locations??1),[O,Q]=o.useState(!1),[J,U]=o.useState(!0),[V,X]=o.useState(0),[Z,$]=o.useState({list:"",index:-1,page:1}),ee=o.useRef(!1),te=o.useRef(null);o.useEffect(()=>{if(!c?.length||!j)return;const e=c.map(e=>e.toLowerCase()),t=t=>t&&e.some(e=>t.toLowerCase().includes(e));let a=!1;"notable_quotes"==b&&S.forEach((e,o)=>{!a&&t(e.text)&&(m?.(!0),a=!0)}),"location_details"==b&&G.forEach((e,o)=>{!a&&t(e.name)&&(m?.(!0),a=!0)}),"notable_characters"==b&&D.forEach((t,o)=>{var s;!a&&((s=t.name)&&e[0]===s.toLowerCase())&&(m?.(!0),a=!0)})},[c,S,G,D,T,Y,M]),o.useEffect(()=>{f&&(f.quotes&&C(f.quotes),f.locations&&A(f.locations),f.characters&&_(f.characters))},[f]),o.useEffect(()=>{ee.current=!1},[c]);const ae=async({endpoint:e,page:t,isbn:a,setData:o,setLoading:n,setHasMore:r,setTotalPage:i,title:l})=>{n(!0);try{const n=await s({endpoint:e,page:t,pageSize:10,isbn:a,title:l});if(!k.current)return;o(n?.data||[]),i(n?.pagination?.totalPages||0),r(!n?.pagination?.hasNext&&!n?.pagination?.hasPrevious)}finally{k.current&&n(!1)}};return o.useEffect(()=>{ae({endpoint:"notable-quotes",page:T,isbn:n,setData:v,setLoading:w,setHasMore:E,setTotalPage:B,title:r})},[T]),o.useEffect(()=>{ae({endpoint:"notable-characters",page:M,isbn:n,setData:F,setLoading:H,setHasMore:I,setTotalPage:R,title:r})},[M]),o.useEffect(()=>{ae({endpoint:"geo-locations",page:Y,isbn:n,setData:K,setLoading:Q,setHasMore:U,setTotalPage:X,title:r})},[Y]),e.jsxs("div",{ref:te,className:"book-elements-container",children:[e.jsxs("div",{style:{marginBottom:"24px"},children:[e.jsx("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Notable Quotes"}),e.jsxs("div",{style:h.quotesPadding,children:[q?e.jsx("div",{style:{display:"flex",flexDirection:"column",rowGap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(t=>e.jsxs("div",{className:"book-elements-quote-card",style:h.quoteCard,children:[e.jsx(x.default,{variant:"text",width:"60%",height:28}),e.jsx(x.default,{variant:"text",width:"40%",height:20}),e.jsx(x.default,{variant:"text",width:"25%",height:20}),e.jsx(x.default,{variant:"text",width:"30%",height:20})]},t))}):0===S.length?e.jsxs("p",{style:{color:"#6B7280",fontStyle:"italic"},children:["No notable quotes found. ",e.jsx("button",{style:h.retryButton,onClick:()=>ae({endpoint:"notable-quotes",page:T,isbn:n,setData:v,setLoading:w,setHasMore:E,setTotalPage:B,title:r}),children:"Retry"})]}):e.jsx(e.Fragment,{children:S.map((t,o)=>{const s="notable"===Z.list&&Z.page===T&&Z.index===o;return e.jsxs("div",{className:"book-elements-quote-card",style:{...h.quoteCard,borderColor:s?"rgb(83, 43, 237)":"#CBD5E1"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},onClick:async()=>{try{$({list:"notable",page:T,index:o}),t?.chunkIds?.length>0&&await a(t.text,"Notable Quotes",t.chunkIds,0)}catch(e){console.error("Failed to highlight quote:",e)}},"data-selected":"notable"===Z.list&&Z.page===T&&Z.index===o?"true":void 0,children:[c&&c.length>0&&"notable_quotes"==b&&j?e.jsx("p",{style:h.quoteText,className:"book-elements-quote-text",dangerouslySetInnerHTML:{__html:l.sanitizeHtml(i.highlightTermsFunc(t?.text,c))}}):e.jsx("p",{style:h.quoteText,className:"book-elements-quote-text",children:t?.text}),e.jsxs("p",{style:h.quoteMeta,className:"book-elements-quote-meta",children:[t.chapter,e.jsx("br",{}),t.page]}),e.jsxs("p",{style:h.quoteAuthor,children:["— ",t?.author]})]},o)})}),e.jsx("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!L&&e.jsx(d.default,{disabled:q,count:N,page:T,onChange:(e,t)=>C(t),shape:"rounded",style:{marginTop:"8px"}})})]})]}),e.jsxs("div",{style:h.geoLocationsContainer,children:[e.jsx("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Key Geo Locations"}),e.jsxs("div",{className:"book-elements-geo-wrapper",style:{...h.quotesPadding,marginBottom:"8px"},children:[O?e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(t=>e.jsx(x.default,{variant:"rectangular",width:100,height:20,style:{borderRadius:"8px"}},t))}):0===G.length?e.jsxs("p",{style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"},children:["No key geo locations found. ",e.jsx("button",{style:h.retryButton,onClick:()=>ae({endpoint:"geo-locations",page:Y,isbn:n,setData:K,setLoading:Q,setHasMore:U,setTotalPage:X,title:r}),children:"Retry"})]}):e.jsx(e.Fragment,{children:G.map((t,o)=>{const s="geo_location"===Z.list&&Z.page===Y&&Z.index===o;return e.jsxs("span",{"data-selected":"geo_location"===Z.list&&Z.page===Y&&Z.index===o?"true":void 0,style:h.geoLocationFlex,children:[e.jsx("span",{className:"book-elements-geo-text",style:{...h.geoText,fontWeight:s?"700":"",textDecoration:s?"underline":""},onClick:async()=>{try{$({list:"geo_location",page:Y,index:o}),t?.chunkIds?.length>0&&await a(t.name,"Key Geo Locations",t.chunkIds,0)}catch(e){console.error("Failed to highlight location:",e)}},onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:c&&c.length>0&&"location_details"==b&&j?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(i.highlightTermsFunc(t?.name,c))}}):t?.name}),o<G.length-1&&e.jsx("span",{style:h.geoDivider})]},o)})}),e.jsx("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!J&&e.jsx(d.default,{disabled:O,count:V,page:Y,onChange:(e,t)=>A(t),shape:"rounded",style:{marginTop:"8px"}})})]})]}),e.jsxs("div",{style:h.charactersContainer,children:[e.jsx("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Key Characters"}),P?e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(t=>e.jsxs("div",{style:{...h.characterCard,flexBasis:"40%"},children:[e.jsx(x.default,{variant:"circular",style:{...h.avatar,flexShrink:0}}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",flex:1},children:[e.jsx(x.default,{variant:"text",style:{flex:"1",flexShrink:0}}),e.jsx(x.default,{variant:"text",style:{flex:"1"}}),e.jsx(x.default,{variant:"text",style:{flex:"1"}}),e.jsx(x.default,{variant:"text",style:{flex:"1"}})]})]},t))}):0===D.length?e.jsxs("p",{style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"},children:["No key characters found. ",e.jsx("button",{style:h.retryButton,onClick:()=>ae({endpoint:"notable-characters",page:M,isbn:n,setData:F,setLoading:H,setHasMore:I,setTotalPage:R,title:r}),children:"Retry"})]}):e.jsx(e.Fragment,{children:e.jsx("div",{className:"book-elements-characters-grid",style:h.charactersGrid,children:D.map((t,o)=>{const s={...h.avatar,backgroundColor:t.bg,color:t.color},n="key_character"===Z.list&&Z.page===M&&Z.index===o;return e.jsxs("div",{onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},className:"book-elements-character-card",style:{...h.characterCard,borderColor:n?"rgb(83, 43, 237)":"#E5E7EB"},onClick:async()=>{$({list:"key_character",page:M,index:o});try{t?.chunkIds?.length>0&&await a(t.name,"Key Characters",t.chunkIds,0)}catch(e){console.error("Failed to highlight character:",e)}},"data-selected":"key_character"===Z.list&&Z.page===M&&Z.index===o?"true":void 0,children:[e.jsx("div",{style:s,children:t.initials}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx("p",{className:"book-elements-char-name",style:{...h.charName,margin:0},children:c&&c.length>0&&"notable_characters"==b&&t.name.toLowerCase()===c[0].toLowerCase()&&j?e.jsx("span",{dangerouslySetInnerHTML:{__html:l.sanitizeHtml(i.highlightTermsFunc(t.name,c))}}):t.name}),e.jsx("p",{className:"book-elements-char-desc",style:{...h.charDesc,margin:0,marginTop:"4px"},children:e.jsx(p.default,{remarkPlugins:[g.default],rehypePlugins:[u.default],components:{p:({node:t,...a})=>e.jsx("p",{style:{marginTop:0},...a})},children:t?.description})})]})]},o)})})}),e.jsx("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!z&&e.jsx(d.default,{count:W,disabled:P,page:M,onChange:(e,t)=>_(t),shape:"rounded",style:{marginTop:"8px"}})})]})]})};
2
2
  //# sourceMappingURL=BookElementsCard.js.map