@viswa-test/test-citation 0.0.253 → 0.0.255

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 (272) hide show
  1. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  2. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  3. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  4. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  5. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  6. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  7. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +2 -0
  8. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -0
  9. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  11. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  15. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  17. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  18. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  19. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  20. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  21. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  22. package/dist/cjs/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  23. package/dist/cjs/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.module.css.js +1 -1
  24. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  25. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  26. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  27. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  28. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  29. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  30. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  31. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  32. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  33. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  34. package/dist/cjs/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  35. package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  36. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  37. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  38. package/dist/cjs/features/RequirementAI/components/segment/segment.module.css.js +1 -1
  39. package/dist/cjs/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  40. package/dist/cjs/features/RequirementAI/components/story-screen/CompletionPanel.module.css.js +1 -1
  41. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  42. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  43. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  44. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  45. package/dist/cjs/service/redlineService.js +1 -1
  46. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  47. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  48. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  49. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  50. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  51. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  52. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +2 -0
  53. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -0
  54. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  55. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  56. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  57. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  58. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  59. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  60. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  61. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  62. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  63. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  64. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  65. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  66. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  67. package/dist/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  68. package/dist/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.module.css.js +1 -1
  69. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  70. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  71. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  72. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  73. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  74. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  75. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  76. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  77. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  78. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  79. package/dist/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  80. package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  81. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  82. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  83. package/dist/features/RequirementAI/components/segment/segment.module.css.js +1 -1
  84. package/dist/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  85. package/dist/features/RequirementAI/components/story-screen/CompletionPanel.module.css.js +1 -1
  86. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  87. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  88. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  89. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  90. package/dist/service/redlineService.js +1 -1
  91. package/dist/types/src/CitationAccordionTest.d.ts +1 -0
  92. package/dist/types/src/CitationAccordionTest.d.ts.map +1 -0
  93. package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -1
  94. package/dist/types/src/DeviationSummaryTest.d.ts.map +1 -1
  95. package/dist/types/src/MockDeviationSummary.d.ts +1 -0
  96. package/dist/types/src/MockDeviationSummary.d.ts.map +1 -0
  97. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  98. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  99. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +3 -0
  100. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  101. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +3 -1
  102. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -1
  103. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  104. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  105. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +19 -0
  106. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  107. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +21 -3
  108. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  109. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
  110. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +5 -1
  111. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -1
  112. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +6 -1
  113. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
  114. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +1680 -1842
  115. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  116. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +33 -0
  117. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +1 -0
  118. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  119. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  120. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  121. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +2 -0
  122. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -1
  123. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -1
  124. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  125. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +1 -0
  126. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  127. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +2 -1
  128. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -1
  129. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +1 -0
  130. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -1
  131. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +2 -1
  132. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  133. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -1
  134. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
  135. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +1 -1
  136. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  137. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +1 -1
  138. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  139. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +7 -23
  140. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  141. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  142. package/dist/types/src/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.d.ts.map +1 -1
  143. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +0 -8
  144. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  145. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -7
  146. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  147. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  148. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +13 -17
  149. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +1 -1
  150. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  151. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +3 -15
  152. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  153. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -21
  154. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  155. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
  156. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts +1 -3
  157. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  158. package/dist/types/src/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.d.ts +2 -3
  159. package/dist/types/src/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.d.ts.map +1 -1
  160. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts +0 -1
  161. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts.map +1 -1
  162. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +1 -8
  163. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
  164. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +1 -5
  165. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
  166. package/dist/types/src/features/RequirementAI/components/story-screen/CompletionPanel.d.ts +1 -3
  167. package/dist/types/src/features/RequirementAI/components/story-screen/CompletionPanel.d.ts.map +1 -1
  168. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +1 -3
  169. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  170. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +1 -2
  171. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  172. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts +1 -18
  173. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts.map +1 -1
  174. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +1 -32
  175. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  176. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +0 -8
  177. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
  178. package/dist/types/src/service/redlineService.d.ts +0 -6
  179. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  180. package/package.json +2 -2
  181. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +0 -2
  182. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +0 -1
  183. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +0 -2
  184. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js.map +0 -1
  185. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +0 -2
  186. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js.map +0 -1
  187. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +0 -2
  188. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js.map +0 -1
  189. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +0 -2
  190. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js.map +0 -1
  191. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +0 -2
  192. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js.map +0 -1
  193. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +0 -2
  194. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js.map +0 -1
  195. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +0 -2
  196. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js.map +0 -1
  197. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +0 -2
  198. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js.map +0 -1
  199. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitation.module.css.js +0 -2
  200. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitation.module.css.js.map +0 -1
  201. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +0 -2
  202. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js.map +0 -1
  203. package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +0 -2
  204. package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js.map +0 -1
  205. package/dist/cjs/features/RequirementAI/components/segment/EditSegmentDialog.js +0 -2
  206. package/dist/cjs/features/RequirementAI/components/segment/EditSegmentDialog.js.map +0 -1
  207. package/dist/cjs/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js +0 -2
  208. package/dist/cjs/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js.map +0 -1
  209. package/dist/features/ParentCitationComponent/ParentCitationComponent.js +0 -2
  210. package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +0 -1
  211. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +0 -2
  212. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js.map +0 -1
  213. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +0 -2
  214. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js.map +0 -1
  215. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +0 -2
  216. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js.map +0 -1
  217. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +0 -2
  218. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js.map +0 -1
  219. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +0 -2
  220. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js.map +0 -1
  221. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +0 -2
  222. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js.map +0 -1
  223. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +0 -2
  224. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js.map +0 -1
  225. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +0 -2
  226. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js.map +0 -1
  227. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitation.module.css.js +0 -2
  228. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitation.module.css.js.map +0 -1
  229. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +0 -2
  230. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js.map +0 -1
  231. package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +0 -2
  232. package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js.map +0 -1
  233. package/dist/features/RequirementAI/components/segment/EditSegmentDialog.js +0 -2
  234. package/dist/features/RequirementAI/components/segment/EditSegmentDialog.js.map +0 -1
  235. package/dist/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js +0 -2
  236. package/dist/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js.map +0 -1
  237. package/dist/types/src/RedlineApprovalCardTest.d.ts +0 -1
  238. package/dist/types/src/RedlineApprovalCardTest.d.ts.map +0 -1
  239. package/dist/types/src/RedlineEditorTest2.d.ts +0 -3
  240. package/dist/types/src/RedlineEditorTest2.d.ts.map +0 -1
  241. package/dist/types/src/commonConstants.d.ts +0 -31103
  242. package/dist/types/src/commonConstants.d.ts.map +0 -1
  243. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +0 -128
  244. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +0 -1
  245. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +0 -13
  246. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +0 -1
  247. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +0 -5445
  248. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +0 -1
  249. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.d.ts +0 -13
  250. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.d.ts.map +0 -1
  251. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts +0 -10
  252. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts.map +0 -1
  253. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +0 -14
  254. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +0 -1
  255. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts +0 -10
  256. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +0 -1
  257. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +0 -30
  258. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +0 -1
  259. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/index.d.ts +0 -4
  260. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/index.d.ts.map +0 -1
  261. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +0 -2
  262. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +0 -1
  263. package/dist/types/src/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.d.ts +0 -11
  264. package/dist/types/src/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.d.ts.map +0 -1
  265. package/dist/types/src/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.d.ts +0 -25
  266. package/dist/types/src/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.d.ts.map +0 -1
  267. package/dist/types/src/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.d.ts +0 -31
  268. package/dist/types/src/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.d.ts.map +0 -1
  269. package/dist/types/src/features/RequirementAI/components/segment/DeleteSegmentsDialog.d.ts +0 -13
  270. package/dist/types/src/features/RequirementAI/components/segment/DeleteSegmentsDialog.d.ts.map +0 -1
  271. package/dist/types/src/features/RequirementAI/components/segment/EditSegmentDialog.d.ts +0 -12
  272. package/dist/types/src/features/RequirementAI/components/segment/EditSegmentDialog.d.ts.map +0 -1
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { DeleteScope } from "../components/segment/DeleteSegmentsDialog";
3
2
  export type TSegmentType = "string" | "table";
4
3
  export type TSegment = {
5
4
  segment_id: string;
@@ -12,10 +11,6 @@ export type TSegment = {
12
11
  segment_type: TSegmentType;
13
12
  label: string;
14
13
  };
15
- export type TUniqueSegment = TSegment & {
16
- segment_uuid: string;
17
- };
18
- export type TSegmentActions = "edit" | "delete";
19
14
  export type TSegmentComponentConfig = {
20
15
  segmentDataList?: TSegment[];
21
16
  upadatedSegmentDataList?: TSegment[];
@@ -23,8 +18,5 @@ export type TSegmentComponentConfig = {
23
18
  handleFetchSegmentDetails?: (segmentId: string) => Promise<void>;
24
19
  handleFetchUpdatedSegmentDetails?: (segmentId: string) => Promise<void>;
25
20
  getSegmentExampleComponent?: (segmentId: string, originalValue: string, segmentType: TSegmentType) => JSX.Element;
26
- handleDeleteSegment?: (scope: DeleteScope, segment: TUniqueSegment, blockId?: string) => Promise<void>;
27
- handleEditSegment?: (segment: TSegment, newLabel: string) => Promise<void>;
28
- enabledSegmentActions?: TSegmentActions[];
29
21
  };
30
22
  //# sourceMappingURL=segment.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"segment.type.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/types/segment.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAC,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG;IACpC,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,uBAAuB,GAAG;IAClC,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,uBAAuB,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,yBAAyB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,gCAAgC,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,0BAA0B,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,KAAK,GAAG,CAAC,OAAO,CAAC;IAClH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvG,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,qBAAqB,CAAC,EAAC,eAAe,EAAE,CAAA;CAC3C,CAAA"}
1
+ {"version":3,"file":"segment.type.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/types/segment.type.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAC,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IAClC,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,uBAAuB,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,yBAAyB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,gCAAgC,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,0BAA0B,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,KAAK,GAAG,CAAC,OAAO,CAAC;CACrH,CAAA"}
@@ -30,10 +30,4 @@ export declare const resolveRedline: (payload: {
30
30
  baseApiUrl: string;
31
31
  redlineConfigId: string;
32
32
  }, token: string) => Promise<any>;
33
- export declare const fetchRedlineDocumentSection: (payload: {
34
- documentId: string;
35
- sectionId: string;
36
- baseApiUrl: string;
37
- redlineConfigId: string;
38
- }, token: string) => Promise<any>;
39
33
  //# sourceMappingURL=redlineService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redlineService.d.ts","sourceRoot":"","sources":["../../../../src/service/redlineService.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,YAAmB;IAChD,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACtB,iBAeA,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAmB;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACtB,SAAS,MAAM,iBAiCf,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAmB;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBA8Bf,CAAC;AAEF,eAAO,MAAM,cAAc,YAAmB;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBA8Bf,CAAC;AAEF,eAAO,MAAM,2BAA2B,YAAmB;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBAsBf,CAAC"}
1
+ {"version":3,"file":"redlineService.d.ts","sourceRoot":"","sources":["../../../../src/service/redlineService.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,YAAmB;IAChD,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACtB,iBAeA,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAmB;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACtB,SAAS,MAAM,iBAiCf,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAmB;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBA8Bf,CAAC;AAEF,eAAO,MAAM,cAAc,YAAmB;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBA8Bf,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@viswa-test/test-citation",
3
- "version": "0.0.253",
4
- "author": "Viswa Koduru",
3
+ "version": "0.0.255",
4
+ "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),i=require("react/jsx-runtime"),a=require("lucide-react"),e=require("dayjs"),n=require("../ScannedDocCitation/ScannedDocCitation.js"),o=require("../InstantLearningCitation/InstantLearningCitationComponent.js"),l=require("../InstantLearningCitation/SlashLoader.js"),r=require("../CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js"),u=require("../RequirementAiCitations/ImageCitation/ImageCitationContent.js"),s=require("../RequirementAiCitations/WebCitation/WebCitationWithImageContent.js"),c=require("../ChatCitation/ChatCitationRenderer.js");function d(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var v=d(e),m=function(t,i,a){if(!t)throw new Error("[CitationOrchestratorComponent] ".concat(i,': missing required field "').concat(a,'" in customMetaData'))},g=function(t,i){if(!Object.values(t).some(Boolean))throw new Error("[CitationOrchestratorComponent] ".concat(i,': missing one of "').concat(Object.keys(t).join('", "'),'" in customMetaData'))};exports.default=function(e){var d,_,h,C,D,f,p,M,x,b,j,I,w,S,q,R,k,y,T,P,L,U,O,z,A,E,F,W,B,G,X,H,N,$,J,K,Q,V,Y,Z,tt,it,at=e.href,et=e.citations,nt=e.children,ot=e.isStreaming,lt=e.onCitationToggle,rt=e.chatCitationConfig;if(ot)return i.jsxs("span",t.__assign({style:{display:"inline-flex",alignItems:"center",gap:"0.25rem",fontWeight:500,color:"#6D28D9"}},{children:[i.jsx("span",{children:nt}),i.jsx(l.default,{})]}));try{var ut=new URL(at,"http://example.com"),st=ut.searchParams.get("citationNumber"),ct=ut.searchParams.get("decisionStrength");if(!st)return null;var dt=(null==et?void 0:et.find(function(t){var i;return String(null===(i=null==t?void 0:t.customMetaData)||void 0===i?void 0:i.citation_number)===st}))||null;if(!dt)return null;var vt=(null===(d=null==dt?void 0:dt.customMetaData)||void 0===d?void 0:d.citation_type)||((null===(_=dt.customMetaData)||void 0===_?void 0:_.type)||"").replace(/s$/,"");if("scanned_doc_citation"===vt){var mt=null==dt?void 0:dt.customMetaData.value;if(null==mt?void 0:mt.length)return i.jsx(n.default,{pages:mt,subHeadingText:dt.customMetaData.artifact_title});m(null===(h=null==dt?void 0:dt.customMetaData)||void 0===h?void 0:h.gs_url,"scanned_doc_citation","gs_url");var gt=[null===(C=null==dt?void 0:dt.customMetaData)||void 0===C?void 0:C.gs_url],_t=(null!==(D=dt.customMetaData.highlighted_coordinates)&&void 0!==D?D:[]).map(function(t,i){return{pageIndex:i,bboxes:[t]}});return i.jsx(n.default,{images:gt,highlights:_t})}if("IL"===vt){m(dt.customMetaData.il_learning,"IL","il_learning");var ht=nt||(null===(f=dt.customMetaData)||void 0===f?void 0:f.link_text)||(null===(p=dt.customMetaData)||void 0===p?void 0:p.citation_source)||String(null!==(M=dt.customMetaData.citation_number)&&void 0!==M?M:1);return i.jsx(o.default,{citation:dt,linkTitle:ht,onCitationToggle:null!=lt?lt:function(){},decisionStrengthFromUrl:ct||(null===(x=dt.customMetaData)||void 0===x?void 0:x.decision_strength)||""})}if("chat_citation"===vt){var Ct=null!=rt?rt:{},Dt=null===(I=null!==(j=null===(b=null==dt?void 0:dt.customMetaData)||void 0===b?void 0:b.chat_data)&&void 0!==j?j:[])||void 0===I?void 0:I.map(function(i){return t.__assign(t.__assign({},i),{timeStamp:v.default(i.timeStamp)})}),ft=!!(null===(w=null==dt?void 0:dt.customMetaData)||void 0===w?void 0:w.rule_book_content);return i.jsx(c.default,{showRootContainer:null===(S=Ct.showRootContainer)||void 0===S||S,reversePanels:Ct.reversePanels,isRenderedCustomComponent:Ct.isRenderedCustomComponent,modalContainerStyle:Ct.modalContainerStyle,additionalData:Ct.additionalData,closePreview:Ct.closePreview,selectedIdFromReason:null!==(q=Ct.selectedIdFromReason)&&void 0!==q?q:void 0,rootContainer:t.__assign(t.__assign({},Ct.rootContainer),{relevanceScore:dt.customMetaData.relevance_score}),chatContainer:t.__assign(t.__assign({},Ct.chatContainer),{chatData:Dt,summarizedTab:null!==(k=null===(R=Ct.chatContainer)||void 0===R?void 0:R.summarizedTab)&&void 0!==k?k:{chip:{isActive:!0,show:!0}},detailedTab:null!==(T=null===(y=Ct.chatContainer)||void 0===y?void 0:y.detailedTab)&&void 0!==T?T:{chip:{isActive:!1}}}),ruleBookContainer:ft?t.__assign(t.__assign({},Ct.ruleBookContainer),{data:{content:dt.customMetaData.rule_book_content,highlighted_texts:null!==(P=dt.customMetaData.rule_book_highlights)&&void 0!==P?P:[]}}):void 0})}if("gpt_citation"===vt){var pt=null===(L=dt.customMetaData)||void 0===L?void 0:L.value,Mt=null!==(U=null==pt?void 0:pt.text)&&void 0!==U?U:null===(z=null===(O=dt.customMetaData)||void 0===O?void 0:O.data_sources)||void 0===z?void 0:z[0],xt=null!==(A=null==pt?void 0:pt.label)&&void 0!==A?A:null===(F=null===(E=dt.customMetaData)||void 0===E?void 0:E.training_data_title)||void 0===F?void 0:F[0],bt=null!==(W=null==pt?void 0:pt.paraphrase)&&void 0!==W?W:null===(G=null===(B=dt.customMetaData)||void 0===B?void 0:B.paraphrase)||void 0===G?void 0:G[0];return g({data_sources:Mt,training_data_title:xt},"gpt_citation"),i.jsx(r.default,{item:{text:"",dataSource:Mt,trainingDataTitle:xt,paraphrase:bt},headerTitle:"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:a.ChevronDown,ChevronUpIcon:a.ChevronUp,MaximizeIcon:a.Maximize2,CloseIcon:a.X}})}if("web_citation"===vt){!function(t,i,a){m(t,i,a);try{new URL(t)}catch(e){throw new Error("[CitationOrchestratorComponent] ".concat(i,': "').concat(a,'" is not a valid URL: "').concat(t,'"'))}}(null===(X=dt.customMetaData)||void 0===X?void 0:X.link,"web_citation","link");var jt=dt.customMetaData.link,It=nt||(null===(H=dt.customMetaData)||void 0===H?void 0:H.citation_source)||jt;return(null===(N=dt.customMetaData)||void 0===N?void 0:N.screenshot_url)?i.jsx(s.default,{url:jt,label:It,gsUtilPath:null===($=dt.customMetaData)||void 0===$?void 0:$.gs_util_path,signedUrl:null===(J=dt.customMetaData)||void 0===J?void 0:J.screenshot_url,relevanceScore:null===(K=dt.customMetaData)||void 0===K?void 0:K.relevance_score,visitIcon:a.ExternalLink,PreviewDialogCloseIcon:a.X}):i.jsx("a",t.__assign({href:jt,target:"_blank",rel:"noreferrer"},{children:It}))}if("image_citation"===vt)return g({gs_util_path:null===(Q=dt.customMetaData)||void 0===Q?void 0:Q.gs_util_path,signed_url:null===(V=dt.customMetaData)||void 0===V?void 0:V.signed_url},"image_citation"),i.jsx(u.default,{citationTitle:nt||(null===(Y=dt.customMetaData)||void 0===Y?void 0:Y.citation_source),gsUtilPath:null===(Z=dt.customMetaData)||void 0===Z?void 0:Z.gs_util_path,signedUrl:null===(tt=dt.customMetaData)||void 0===tt?void 0:tt.signed_url,relevanceScore:null===(it=dt.customMetaData)||void 0===it?void 0:it.relevance_score})}catch(t){return console.error(t),null}return null};
2
- //# sourceMappingURL=ParentCitationComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParentCitationComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("./IterateComponent.js");exports.default=function({onBack:o,onApply:n,historicalClausesData:i=[],isLoadingHistory:s,headerTitle:l="Historical Recommendations",customStyles:a={}}){const d={...r.styles,...a},c=({clause:r,index:o})=>{const[i,s]=t.useState(!1),[l,a]=t.useState(!1),[c,p]=t.useState(!1),x=t.useRef(null),[u,f]=t.useState(!1),h=r.title||r.filename,g=r.content||r.excerpt||"",b=((e=0)=>e>=80?{bg:"#dcfce7",text:"#166534",border:"#bbf7d0"}:e>=50?{bg:"#fef9c3",text:"#854d0e",border:"#fef08a"}:{bg:"#fee2e2",text:"#991b1b",border:"#fecaca"})(r.relevance_score),y=c&&h,v=0===o;return t.useEffect(()=>{const e=x.current;if(!e)return;const t=()=>{i||f(e.scrollHeight>e.clientHeight)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[g,i]),e.jsxs("div",{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:{...d.clauseCard,display:"flex",flexDirection:"column",gap:6,textAlign:"left",backgroundColor:l?"#f8fafc":"#fff",borderColor:l?"#cbd5e1":"#dde5f0",transition:"all 0.2s ease"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"8px"},children:[e.jsxs("div",{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:{position:"relative",flex:1,minWidth:0},children:[e.jsx("p",{style:{...d.clauseFilename,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",cursor:"default"},children:h}),y&&e.jsx("div",{style:{position:"absolute",top:v?"100%":"auto",bottom:v?"auto":"100%",marginTop:v?"6px":"0px",marginBottom:v?"0px":"6px",left:0,backgroundColor:"#1E293B",color:"#fff",padding:"6px 10px",borderRadius:"6px",fontSize:"12px",fontWeight:400,zIndex:50,boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",whiteSpace:"normal",wordBreak:"break-word",width:"max-content",maxWidth:"220px",pointerEvents:"none",lineHeight:1.4},children:h})]}),void 0!==r.relevance_score&&e.jsxs("div",{style:{fontSize:11,fontWeight:600,padding:"2px 8px",borderRadius:12,border:`1px solid ${b.border}`,backgroundColor:b.bg,color:b.text,whiteSpace:"nowrap",flexShrink:0},children:[r.relevance_score,"% Match"]})]}),e.jsxs("div",{ref:x,onClick:e=>e.stopPropagation(),style:{...d.clauseExcerpt,margin:0,display:i?"block":"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i?"unset":3,overflowY:i?"auto":"hidden",overflowX:"hidden",maxHeight:i?"100px":"none",paddingRight:i?"4px":"0px",cursor:"auto"},children:['"',g,'"']}),e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",marginTop:"4px"},children:[e.jsx("div",{children:(u||i)&&e.jsx("span",{onClick:e=>{e.stopPropagation(),i&&x.current&&(x.current.scrollTop=0),s(!i)},style:{fontSize:12,color:"#2563EB",fontWeight:500,cursor:"pointer"},children:i?"View Less":"...View More"})}),e.jsx("button",{onClick:()=>null==n?void 0:n({type:"history",value:r}),style:{backgroundColor:"#F8FAFC",color:"#0F172A",border:"1px solid #CBD5E1",borderRadius:"6px",padding:"4px 12px",fontSize:"12px",fontWeight:500,cursor:"pointer",transition:"all 0.2s ease",boxShadow:"0 1px 2px rgba(0,0,0,0.05)"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#F1F5F9",e.currentTarget.style.borderColor="#94A3B8"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#F8FAFC",e.currentTarget.style.borderColor="#CBD5E1"},children:"Proceed"})]})]})};return e.jsxs("div",{style:d.card,children:[e.jsxs("div",{style:d.header,children:[e.jsx("button",{onClick:o,style:d.backBtn,"aria-label":"Go back",children:"‹"}),e.jsx("span",{style:d.headerTitle,children:l})]}),e.jsx("div",{style:{...d.body,paddingTop:12,paddingBottom:16},children:s?e.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",color:"#64748B",fontSize:13},children:[e.jsx("style",{children:"\n @keyframes iterateSpinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "}),e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{animation:"iterateSpinner 1s linear infinite"},children:e.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),"Fetching recommendations..."]}):e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10,maxHeight:"40vh",overflowY:"auto",paddingRight:"4px"},children:[null==i?void 0:i.map((t,r)=>e.jsx(c,{clause:t,index:r},t.id)),(!i||0===i.length)&&e.jsx("p",{style:{fontSize:12,color:"#aaa",textAlign:"center",padding:"12px 0"},children:"No clauses found"})]})})]})};
2
- //# sourceMappingURL=HistoryMenu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HistoryMenu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("lucide-react");exports.default=function({title:n,children:t,onRefresh:o,onCancel:i}){return e.jsxs("div",{style:{width:360,background:"#fff",borderRadius:12,border:"1px solid #e5e7eb",boxShadow:"0 10px 30px rgba(0, 0, 0, 0.12)",padding:12,fontFamily:"Inter"},children:[i&&e.jsxs("div",{style:{display:"flex",justifyContent:n?"space-between":"flex-end",alignItems:"center"},children:[n&&e.jsx("span",{style:{fontSize:14,color:"#374151"},children:n}),e.jsx("button",{onClick:i,style:{border:"none",background:"transparent",cursor:"pointer",fontSize:15,color:"#6b7280"},children:e.jsx(r.X,{})})]}),e.jsx("div",{style:{fontSize:14,color:"#374151",lineHeight:1.6,marginBottom:5},children:t}),e.jsx("div",{style:{display:"flex",justifyContent:"flex-end",gap:10},children:o&&e.jsx("button",{onClick:o,style:{padding:"8px",borderRadius:8,border:"none",background:"#2563eb",color:"#fff",cursor:"pointer",fontSize:16},children:"Refresh"})})]})};
2
- //# sourceMappingURL=RedlineToast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedlineToast.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./SocketManager.js");class e{static initialize(r){if("string"!=typeof r.applicationId||!r.applicationId.trim()||"string"!=typeof r.authToken||!r.authToken.trim()||"string"!=typeof r.baseUrl||!r.baseUrl.trim())return;const a=t.SocketManager.getInstance();a.getInitStatus()||(a.initialize(r),a.setListener(e.dispatch))}static dispatch(t){const r=e.handlers.get(t.type);r&&r.forEach(e=>{e(t.payload)})}static on(t,r){if("string"!=typeof t||!t.trim()||"function"!=typeof r)throw Error("invalid event or handler type");return e.handlers.has(t)||e.handlers.set(t,new Set),e.handlers.get(t).add(r),()=>e.off(t,r)}static off(t,r){if("string"!=typeof t||!t.trim()||"function"!=typeof r)throw Error("invalid event or handler type");const a=e.handlers.get(t);a&&(a.delete(r),0===a.size&&e.handlers.delete(t))}static emit(e,r){if("string"!=typeof e||!e.trim())throw Error("invalid event type");t.SocketManager.getInstance().publish(e,r)}static isInitialized(){return t.SocketManager.getInstance().getInitStatus()}static destroy(){e.handlers.clear(),t.SocketManager.getInstance().destroy()}}e.handlers=new Map,exports.default=e;
2
- //# sourceMappingURL=CwsEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CwsEvent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("./CwsEvent.js");exports.default=function({baseUrl:a,applicationId:i,children:u,authToken:n}){return r.useEffect(()=>(t.default.initialize({baseUrl:a,applicationId:i,authToken:n}),()=>{t.default.destroy()}),[n,i,a]),e.jsx(e.Fragment,{children:u})};
2
- //# sourceMappingURL=CwsEventProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CwsEventProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("axios"),e=require("socket.io-client");function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=i(t);class n{constructor(){this.isInitialized=!1}static getInstance(){return n.instance||(n.instance=new n),n.instance}async initialize(t){this.isInitialized||(this.applicationId=t.applicationId,this.authToken=t.authToken,this.isInitialized=!0,this.socket=e.io(t.baseUrl,{path:"/cwsEvent/socket-cwsEvent",autoConnect:!0,reconnection:!0,transports:["websocket"],auth:{token:this.authToken}}),this.socket.on("connect",()=>{console.log("Connected:",this.socket.id),this.socket.emit("subscribe",{applicationId:this.applicationId})}),this.socket.on("message",t=>{var e;null===(e=this.listener)||void 0===e||e.call(this,t)}))}async wakeupServer(t){try{await s.default.get(t),console.log("Server wakeup successful")}catch(t){console.error("Server wakeup failed",t)}}setListener(t){this.listener=t}publish(t,e){this.socket.emit("publish",{applicationId:this.applicationId,type:t,payload:e})}disconnect(){this.socket.disconnect()}getInitStatus(){return this.isInitialized}destroy(){this.socket&&(this.socket.removeAllListeners(),this.socket.disconnect(),this.listener=void 0,this.socket=void 0,this.applicationId="",this.authToken="",this.isInitialized=!1,n.instance=void 0)}}exports.SocketManager=n;
2
- //# sourceMappingURL=SocketManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocketManager.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./CwsEvent.js");exports.default=function(r,u){e.useEffect(()=>t.default.on(r,u),[r,u])};
2
- //# sourceMappingURL=useCwsEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCwsEvent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("lucide-react"),i=require("react"),a=require("./pdfCitationUtils.js"),r=require("../RequirementAIWrapper/RequirementAIWrapper.js"),o=require("./pdfCitation.module.css.js"),l=require("./CitationPdfViewer.js");exports.default=function({citation:n,isCitationLoading:d=!1,renderMode:s,pdfViewHeaderAction:u,citationId:c}){var g,f,h,p,m;const{queryClient:v,useGetSignedUrlQuery:x,useGetSignedUrlMutation:w}=r.useRequirementAI().apiCachingConfig,[C,U]=i.useState(!1),V=null==n?void 0:n.customMetadata,_=null!==(g=null==V?void 0:V.value)&&void 0!==g?g:[],j=null!==(f=null==V?void 0:V.artifact_url)&&void 0!==f?f:"",q=null!==(h=null==V?void 0:V.artifact_title)&&void 0!==h?h:"",y=null!==(p=null==V?void 0:V.artifact_format)&&void 0!==p?p:"pdf",P=_.flatMap(e=>e.highlighted_text.map(e=>e.text)),A="docx"===y,S=["getSignedUrl",j],{data:I}=x(j,S),{mutate:M,isPending:N}=w(j),H=null!=I?I:"",D=!!j&&N&&!H;return j||console.warn("Artifact preview details not found in header message or message data",j),i.useEffect(()=>{if(!j)return void U(!0);const e=v.getQueryData(S);e||N||M({gsUtilPath:j}),e&&U(!1)},[j,v,S,N,M]),i.useEffect(()=>{H&&U(!1)},[H]),null!==(m=(()=>{try{const i=a.mapToHighlightAreas(_),r=i.length>0;if(D||d)return e.jsx("div",{className:o.default.loaderContainer,children:e.jsx(t.Loader2,{className:o.default.loaderIcon,size:28})});const n=_.some(e=>!!e.gs_url),g=_.some(e=>null!==e.page_no&&void 0!==e.page_no),f=_.some(e=>Array.isArray(e.highlighted_coordinates)&&e.highlighted_coordinates.length>0),h=i.length>0;return!(n||g||f||h)&&console.warn("No valid coordinates or gs_url found for this citation.",{hasValidGsUrl:n,hasValidPageNo:g,hasHighlightedCoords:f,hasCoordinatesPages:h,pages:_,artifactUrl:j}),(r||!g||C)&&(C||!r)?(console.warn("Error in loading PDF or no valid highlight coordinates found. Rendering fallback viewer without highlights.",{artifactUrl:j,hasValidCoordinates:r,coordinatesPages:i,pages:_}),e.jsx(l.default,{artifactUrl:j,pdfUrl:"",pdfName:q,pages:_,coordinatesPages:[],pdfViewHeaderAction:u,renderMode:null!=s?s:"fallback",isDocx:A,hasValidCoordinates:!1,customStyles:a.citationViewerStyles,highlightText:P,citationId:c})):e.jsx(l.default,{artifactUrl:j,pdfUrl:H,pdfName:q,pages:_,coordinatesPages:i,pdfViewHeaderAction:u,renderMode:null!=s?s:"default",isDocx:A,hasValidCoordinates:r,jumpToPageValue:1,customStyles:a.citationViewerStyles,highlightText:P,citationId:c})}catch(e){return console.warn("Error rendering citation",e),null}})())&&void 0!==m?m:null};
2
- //# sourceMappingURL=CitationPdfRendererWrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationPdfRendererWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("lucide-react"),t=require("@e-llm-studio/citation"),a=require("./pdfCitationUtils.js");const o={pdfViewer:{height:"50%",maxHeight:"50%",display:"flex",flexDirection:"column",backgroundColor:"#FAFAFA",border:"1px solid #e5e7eb",borderRadius:"8px",overflow:"hidden"},pdfContainer:{flex:1,overflowY:"auto",padding:"8px"},header:{borderBottom:"1px solid #e5e7eb"}},l={pdfViewerWrapper:"shadow-sm"},r=()=>e.jsx("div",{className:"h-full flex items-center justify-center",children:e.jsx(i.Loader2,{className:"animate-spin text-purple-500",size:28})});exports.default=({artifactUrl:i,pdfUrl:s,pdfName:n,pages:d,coordinatesPages:c,activeCitationIndex:u,onActiveCitationChange:h,pdfViewHeaderAction:f,isLoading:p,hasValidCoordinates:g,renderMode:x="default",useCoordinates:m=!0,jumpToPageValue:C,customStyles:b,customClasses:v,isDocx:j=!1,highlightText:k,citationId:P})=>{if(p)return e.jsx(r,{});const w=j||"fallback"===x?"":s,A="fallback"===x||!1===g?[]:c,V="fallback"!==x&&m,N=a.stringToNumber(P),y=f?{icon:f.icon,tooltip:f.tooltip,onClick:()=>{f.onClick({artifactUrl:i,artifactId:i,fileName:null!=n?n:"",pages:d,currentCitationIndex:null!=N?N:0})}}:void 0;return e.jsx(t.PdfViewer,{pdfUrl:w,pdfName:n,fallbackPages:d,highlightCordinatePages:A,highlightText:null!=k?k:[],highlightPages:{},useCoordinates:V,activeCitationIndex:u,headerAction:y,onActiveCitationChange:h,highlightColor:"oklch(0.78 0.16 95 / 0.35)",activeHighlightColor:"oklch(0.75 0.17 95 / 0.45)",jumpToPageValue:C,customStyles:null!=b?b:o,customClasses:null!=v?v:l})};
2
- //# sourceMappingURL=CitationPdfViewer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationPdfViewer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".pdfCitation-module_loaderContainer__zqXic{align-items:center;display:flex;height:500px;justify-content:center}.pdfCitation-module_loaderIcon__3jTQ3{animation:pdfCitation-module_spin__Ac7tQ 1s linear infinite;color:#a855f7}@keyframes pdfCitation-module_spin__Ac7tQ{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={loaderContainer:"pdfCitation-module_loaderContainer__zqXic",loaderIcon:"pdfCitation-module_loaderIcon__3jTQ3",spin:"pdfCitation-module_spin__Ac7tQ"};
2
- //# sourceMappingURL=pdfCitation.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pdfCitation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.citationViewerStyles={pdfViewer:{height:"550px",maxHeight:"550px",display:"flex",flexDirection:"column",backgroundColor:"#FAFAFA",border:"1px solid #e5e7eb",borderRadius:"8px",overflow:"hidden"},pdfContainer:{flex:1,overflowY:"auto",padding:"8px"},header:{borderBottom:"1px solid #e5e7eb"}},exports.mapToHighlightAreas=(e=[])=>Array.isArray(e)?null==e?void 0:e.flatMap(e=>{var r,i;const o=null==e?void 0:e.page_no;return!(null===(r=null==e?void 0:e.highlighted_coordinates)||void 0===r?void 0:r.length)&&o?[{pageNumber:o,pageIndex:o-1}]:o&&(null===(i=null==e?void 0:e.highlighted_coordinates)||void 0===i?void 0:i.length)?e.highlighted_coordinates.map(e=>({pageIndex:o-1,pageNumber:o,left:100*e.xmin,top:100*e.ymin,width:100*(e.xmax-e.xmin),height:100*(e.ymax-e.ymin)})):[]}):[],exports.stringToNumber=function(e,r=0){if("number"==typeof e)return Number.isFinite(e)?e:r;if(!e||"string"!=typeof e||!e.trim())return r;let i="";try{i=e.trim().replace(/[^\d.-]/g,"").replace(/(?!^)-/g,"")}catch(e){return console.error("Regex processing failed",e),r}const o=Number(i);return Number.isFinite(o)?o:r};
2
- //# sourceMappingURL=pdfCitationUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pdfCitationUtils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("react"),t=require("@mui/material/Dialog"),s=require("@mui/material/DialogTitle"),a=require("@mui/material/DialogContent"),n=require("@mui/material/DialogActions"),i=require("@mui/material/IconButton"),o=require("@mui/material/Radio"),u=require("lucide-react"),d=require("./deleteSegmentDialog.module.css.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=c(t),m=c(s),f=c(a),p=c(n),y=c(i),x=c(o);const h=[{key:"this-segment",label:"This segment"},{key:"all-occurrences",label:"All occurrences of this segment"}];exports.default=({open:t,onHide:s,onDelete:a,customDeleteStyles:n,customDeleteIcons:i})=>{const[o,c]=l.useState(null),[v,j]=l.useState(!1),b=(null==i?void 0:i.closeIcon)||e.jsx(u.X,{size:20}),N=(null==i?void 0:i.infoIcon)||e.jsx(u.Info,{className:d.default.infoIcon});l.useEffect(()=>{t&&(c(null),j(!1))},[t]);const g=l.useMemo(()=>h.map(e=>({...e,label:"all-occurrences"===e.key?`${e.label}`:e.label})),[]),k=!o||v;return e.jsxs(r.default,{open:t,onClose:s,maxWidth:!1,PaperProps:{className:d.default.paper,style:null==n?void 0:n.paper},children:[e.jsxs(m.default,{className:d.default.title,style:null==n?void 0:n.title,children:[e.jsx("span",{className:d.default.titleText,style:null==n?void 0:n.titleText,children:"Delete Segment"}),e.jsx(y.default,{"aria-label":"close",onClick:s,className:d.default.closeButton,style:null==n?void 0:n.closeButton,children:b})]}),e.jsxs(f.default,{className:d.default.content,style:null==n?void 0:n.content,children:[e.jsx("p",{className:d.default.subtitle,style:null==n?void 0:n.subtitle,children:"Choose what you'd like to delete."}),e.jsx("div",{className:d.default.optionsContainer,style:null==n?void 0:n.optionsContainer,children:g.map(l=>{const t=o===l.key;return e.jsxs("label",{htmlFor:`delete-segment-${l.key}`,className:`${d.default.optionLabel} ${t?d.default.optionSelected:""}`,style:{...null==n?void 0:n.optionLabel,...t?null==n?void 0:n.optionSelected:{}},children:[e.jsx(x.default,{inputProps:{id:`delete-segment-${l.key}`},name:"delete-segment-scope",value:l.key,checked:t,onChange:()=>c(l.key),className:d.default.radio}),e.jsx("span",{className:d.default.optionText,style:null==n?void 0:n.optionText,children:l.label})]},l.key)})}),e.jsxs("div",{className:d.default.infoRow,style:null==n?void 0:n.infoRow,children:[N,e.jsx("span",{className:d.default.infoText,style:null==n?void 0:n.infoText,children:"This action permanently deletes the selected segment(s) and cannot be undone."})]})]}),e.jsxs(p.default,{className:d.default.actions,style:null==n?void 0:n.actions,children:[e.jsx("button",{onClick:s,disabled:v,className:d.default.cancelButton,style:null==n?void 0:n.cancelButton,children:"Cancel"}),e.jsxs("button",{onClick:async()=>{if(o){j(!0);try{await a(o),s()}finally{j(!1)}}},disabled:k,className:`${d.default.deleteButton} ${k?d.default.deleteButtonDisabled:""}`,style:{...null==n?void 0:n.deleteButton,...k?null==n?void 0:n.deleteButtonDisabled:{}},children:[v&&e.jsx("span",{className:d.default.spinner}),"Delete segment"]})]})]})};
2
- //# sourceMappingURL=DeleteSegmentsDialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeleteSegmentsDialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("@mui/material/Dialog"),s=require("@mui/material/DialogTitle"),a=require("@mui/material/DialogContent"),n=require("@mui/material/DialogActions"),i=require("@mui/material/IconButton"),o=require("lucide-react"),r=require("./deleteSegmentDialog.module.css.js"),u=require("./segment.module.css.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(l),m=c(s),f=c(a),x=c(n),p=c(i);exports.default=({open:l,onHide:s,onConfirm:a,customStyles:n,customIcons:i})=>{const[c,j]=t.useState(!1),y=(null==i?void 0:i.closeIcon)||e.jsx(o.X,{size:20});t.useEffect(()=>{l&&j(!1)},[l]);return e.jsxs(d.default,{open:l,onClose:s,maxWidth:!1,PaperProps:{className:r.default.paper,style:null==n?void 0:n.paper},children:[e.jsxs(m.default,{className:r.default.title,style:null==n?void 0:n.title,children:[e.jsx("span",{className:r.default.titleText,style:null==n?void 0:n.titleText,children:"Rename this segment everywhere?"}),e.jsx(p.default,{"aria-label":"close",onClick:s,className:r.default.closeButton,style:null==n?void 0:n.closeButton,children:y})]}),e.jsx(f.default,{className:r.default.content,style:null==n?void 0:n.content,children:e.jsxs("p",{className:r.default.subtitle,style:{marginBottom:"24px",color:"#475569",...null==n?void 0:n.subtitle},children:["Renaming this segment will update its name across all ",e.jsx("strong",{children:"occurrences"})," where it is used. Do you want to continue?"]})}),e.jsxs(x.default,{className:r.default.actions,style:null==n?void 0:n.actions,children:[e.jsx("button",{onClick:s,disabled:c,className:r.default.cancelButton,style:null==n?void 0:n.cancelButton,children:"Cancel"}),e.jsxs("button",{onClick:async()=>{j(!0);try{await a(),s()}catch(e){console.error("Failed to rename segment:",e)}finally{j(!1)}},disabled:c,className:u.default.renameButton,style:{...null==n?void 0:n.renameButton},children:[c&&e.jsx("span",{className:r.default.spinner}),"Rename segment"]})]})]})};
2
- //# sourceMappingURL=EditSegmentDialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditSegmentDialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".deleteSegmentDialog-module_paper__lRyck{border-radius:12px;max-width:calc(100vw - 32px);width:845px}.deleteSegmentDialog-module_title__Lw6--{padding:24px 32px 16px;position:relative}.deleteSegmentDialog-module_titleText__-96hW{color:#101828;font-family:Inter,sans-serif;font-size:18px;font-weight:600;line-height:28px}.deleteSegmentDialog-module_title__Lw6-- .deleteSegmentDialog-module_closeButton__KuSd9{background:#0000!important;color:#64748b!important;padding:4px!important;position:absolute!important;right:20px!important;top:20px!important}.deleteSegmentDialog-module_content__f909m{padding:0 32px 8px}.deleteSegmentDialog-module_subtitle__mNRwe{color:#334155;font-family:Inter,sans-serif;font-size:16px;font-weight:500;line-height:130%;margin:0 0 24px;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_optionsContainer__WOG18{display:flex;flex-direction:column;gap:10px}.deleteSegmentDialog-module_optionLabel__3NwkJ{align-items:center;align-self:stretch;background:#0000;border-radius:8px;cursor:pointer;display:flex;gap:16px;padding:8px;transition:background .15s ease}.deleteSegmentDialog-module_optionSelected__XN5c-{background:#f4f3ff}.deleteSegmentDialog-module_radio__a0BAt{height:16px;width:16px}.deleteSegmentDialog-module_radio__a0BAt .MuiSvgIcon-root{font-size:16px}.deleteSegmentDialog-module_radio__a0BAt.Mui-checked{color:#5928ed!important}.deleteSegmentDialog-module_optionText__j6JEW{color:#334155;font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:130%;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_infoIcon__tPanl{color:#475569;flex-shrink:0;height:14px;width:14px}.deleteSegmentDialog-module_infoRow__SWCp8{align-items:center;display:flex;gap:8px;margin-top:24px}.deleteSegmentDialog-module_infoText__Yg-sI{color:#475569;font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:130%;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_actions__M93kR{border-top:1px solid #e5e7eb;display:flex;gap:16px;justify-content:flex-end;padding:20px 32px 18px}.deleteSegmentDialog-module_cancelButton__e79NB{background:#0000;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;min-width:96px}.deleteSegmentDialog-module_cancelButton__e79NB,.deleteSegmentDialog-module_deleteButton__ovuoP{align-items:center;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:15.75px;font-weight:500;gap:7px;height:40px;justify-content:center;padding:8.75px 12.25px}.deleteSegmentDialog-module_deleteButton__ovuoP{background:#ef4444;border:1px solid #ef4444;border-radius:6px;color:#fff;min-width:176px}.deleteSegmentDialog-module_deleteButtonDisabled__OdVY5{cursor:not-allowed;opacity:.7}.deleteSegmentDialog-module_headerDeleteButton__0GqvY{align-items:center;background:#0000;border:none;border-radius:6px;color:#ef4444;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:4px;height:32px;justify-content:center;padding:6px 10px;transition:opacity .2s ease}.deleteSegmentDialog-module_headerDeleteButton__0GqvY:hover{opacity:.7}.deleteSegmentDialog-module_spinner__8uhh0{animation:deleteSegmentDialog-module_spin__tJyu0 1s linear infinite;border:2px solid #fff;border-radius:9999px;border-top-color:#0000;display:inline-block;height:16px;margin-right:8px;width:16px}@keyframes deleteSegmentDialog-module_spin__tJyu0{to{transform:rotate(1turn)}}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={paper:"deleteSegmentDialog-module_paper__lRyck",title:"deleteSegmentDialog-module_title__Lw6--",titleText:"deleteSegmentDialog-module_titleText__-96hW",closeButton:"deleteSegmentDialog-module_closeButton__KuSd9",content:"deleteSegmentDialog-module_content__f909m",subtitle:"deleteSegmentDialog-module_subtitle__mNRwe",optionsContainer:"deleteSegmentDialog-module_optionsContainer__WOG18",optionLabel:"deleteSegmentDialog-module_optionLabel__3NwkJ",optionSelected:"deleteSegmentDialog-module_optionSelected__XN5c-",radio:"deleteSegmentDialog-module_radio__a0BAt",optionText:"deleteSegmentDialog-module_optionText__j6JEW",infoIcon:"deleteSegmentDialog-module_infoIcon__tPanl",infoRow:"deleteSegmentDialog-module_infoRow__SWCp8",infoText:"deleteSegmentDialog-module_infoText__Yg-sI",actions:"deleteSegmentDialog-module_actions__M93kR",cancelButton:"deleteSegmentDialog-module_cancelButton__e79NB",deleteButton:"deleteSegmentDialog-module_deleteButton__ovuoP",deleteButtonDisabled:"deleteSegmentDialog-module_deleteButtonDisabled__OdVY5",headerDeleteButton:"deleteSegmentDialog-module_headerDeleteButton__0GqvY",spinner:"deleteSegmentDialog-module_spinner__8uhh0",spin:"deleteSegmentDialog-module_spin__tJyu0"};
2
- //# sourceMappingURL=deleteSegmentDialog.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deleteSegmentDialog.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsxs as o,jsx as i}from"react/jsx-runtime";import{ChevronDown as a,ChevronUp as n,Maximize2 as e,X as l,ExternalLink as r}from"lucide-react";import u from"dayjs";import c from"../ScannedDocCitation/ScannedDocCitation.js";import s from"../InstantLearningCitation/InstantLearningCitationComponent.js";import d from"../InstantLearningCitation/SlashLoader.js";import v from"../CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js";import m from"../RequirementAiCitations/ImageCitation/ImageCitationContent.js";import g from"../RequirementAiCitations/WebCitation/WebCitationWithImageContent.js";import h from"../ChatCitation/ChatCitationRenderer.js";var _=function(t,o,i){if(!t)throw new Error("[CitationOrchestratorComponent] ".concat(o,': missing required field "').concat(i,'" in customMetaData'))},C=function(t,o){if(!Object.values(t).some(Boolean))throw new Error("[CitationOrchestratorComponent] ".concat(o,': missing one of "').concat(Object.keys(t).join('", "'),'" in customMetaData'))},p=function(p){var D,f,M,b,I,w,S,R,j,k,x,T,y,P,L,U,O,A,F,W,q,z,B,E,G,H,N,$,J,K,Q,V,X,Y,Z,tt,ot,it,at,nt,et,lt,rt=p.href,ut=p.citations,ct=p.children,st=p.isStreaming,dt=p.onCitationToggle,vt=p.chatCitationConfig;if(st)return o("span",t({style:{display:"inline-flex",alignItems:"center",gap:"0.25rem",fontWeight:500,color:"#6D28D9"}},{children:[i("span",{children:ct}),i(d,{})]}));try{var mt=new URL(rt,"http://example.com"),gt=mt.searchParams.get("citationNumber"),ht=mt.searchParams.get("decisionStrength");if(!gt)return null;var _t=(null==ut?void 0:ut.find(function(t){var o;return String(null===(o=null==t?void 0:t.customMetaData)||void 0===o?void 0:o.citation_number)===gt}))||null;if(!_t)return null;var Ct=(null===(D=null==_t?void 0:_t.customMetaData)||void 0===D?void 0:D.citation_type)||((null===(f=_t.customMetaData)||void 0===f?void 0:f.type)||"").replace(/s$/,"");if("scanned_doc_citation"===Ct){var pt=null==_t?void 0:_t.customMetaData.value;if(null==pt?void 0:pt.length)return i(c,{pages:pt,subHeadingText:_t.customMetaData.artifact_title});_(null===(M=null==_t?void 0:_t.customMetaData)||void 0===M?void 0:M.gs_url,"scanned_doc_citation","gs_url");var Dt=[null===(b=null==_t?void 0:_t.customMetaData)||void 0===b?void 0:b.gs_url],ft=(null!==(I=_t.customMetaData.highlighted_coordinates)&&void 0!==I?I:[]).map(function(t,o){return{pageIndex:o,bboxes:[t]}});return i(c,{images:Dt,highlights:ft})}if("IL"===Ct){_(_t.customMetaData.il_learning,"IL","il_learning");var Mt=ct||(null===(w=_t.customMetaData)||void 0===w?void 0:w.link_text)||(null===(S=_t.customMetaData)||void 0===S?void 0:S.citation_source)||String(null!==(R=_t.customMetaData.citation_number)&&void 0!==R?R:1);return i(s,{citation:_t,linkTitle:Mt,onCitationToggle:null!=dt?dt:function(){},decisionStrengthFromUrl:ht||(null===(j=_t.customMetaData)||void 0===j?void 0:j.decision_strength)||""})}if("chat_citation"===Ct){var bt=null!=vt?vt:{},It=null===(T=null!==(x=null===(k=null==_t?void 0:_t.customMetaData)||void 0===k?void 0:k.chat_data)&&void 0!==x?x:[])||void 0===T?void 0:T.map(function(o){return t(t({},o),{timeStamp:u(o.timeStamp)})}),wt=!!(null===(y=null==_t?void 0:_t.customMetaData)||void 0===y?void 0:y.rule_book_content);return i(h,{showRootContainer:null===(P=bt.showRootContainer)||void 0===P||P,reversePanels:bt.reversePanels,isRenderedCustomComponent:bt.isRenderedCustomComponent,modalContainerStyle:bt.modalContainerStyle,additionalData:bt.additionalData,closePreview:bt.closePreview,selectedIdFromReason:null!==(L=bt.selectedIdFromReason)&&void 0!==L?L:void 0,rootContainer:t(t({},bt.rootContainer),{relevanceScore:_t.customMetaData.relevance_score}),chatContainer:t(t({},bt.chatContainer),{chatData:It,summarizedTab:null!==(O=null===(U=bt.chatContainer)||void 0===U?void 0:U.summarizedTab)&&void 0!==O?O:{chip:{isActive:!0,show:!0}},detailedTab:null!==(F=null===(A=bt.chatContainer)||void 0===A?void 0:A.detailedTab)&&void 0!==F?F:{chip:{isActive:!1}}}),ruleBookContainer:wt?t(t({},bt.ruleBookContainer),{data:{content:_t.customMetaData.rule_book_content,highlighted_texts:null!==(W=_t.customMetaData.rule_book_highlights)&&void 0!==W?W:[]}}):void 0})}if("gpt_citation"===Ct){var St=null===(q=_t.customMetaData)||void 0===q?void 0:q.value,Rt=null!==(z=null==St?void 0:St.text)&&void 0!==z?z:null===(E=null===(B=_t.customMetaData)||void 0===B?void 0:B.data_sources)||void 0===E?void 0:E[0],jt=null!==(G=null==St?void 0:St.label)&&void 0!==G?G:null===(N=null===(H=_t.customMetaData)||void 0===H?void 0:H.training_data_title)||void 0===N?void 0:N[0],kt=null!==($=null==St?void 0:St.paraphrase)&&void 0!==$?$:null===(K=null===(J=_t.customMetaData)||void 0===J?void 0:J.paraphrase)||void 0===K?void 0:K[0];return C({data_sources:Rt,training_data_title:jt},"gpt_citation"),i(v,{item:{text:"",dataSource:Rt,trainingDataTitle:jt,paraphrase:kt},headerTitle:"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:a,ChevronUpIcon:n,MaximizeIcon:e,CloseIcon:l}})}if("web_citation"===Ct){!function(t,o,i){_(t,o,i);try{new URL(t)}catch(a){throw new Error("[CitationOrchestratorComponent] ".concat(o,': "').concat(i,'" is not a valid URL: "').concat(t,'"'))}}(null===(Q=_t.customMetaData)||void 0===Q?void 0:Q.link,"web_citation","link");var xt=_t.customMetaData.link,Tt=ct||(null===(V=_t.customMetaData)||void 0===V?void 0:V.citation_source)||xt;return(null===(X=_t.customMetaData)||void 0===X?void 0:X.screenshot_url)?i(g,{url:xt,label:Tt,gsUtilPath:null===(Y=_t.customMetaData)||void 0===Y?void 0:Y.gs_util_path,signedUrl:null===(Z=_t.customMetaData)||void 0===Z?void 0:Z.screenshot_url,relevanceScore:null===(tt=_t.customMetaData)||void 0===tt?void 0:tt.relevance_score,visitIcon:r,PreviewDialogCloseIcon:l}):i("a",t({href:xt,target:"_blank",rel:"noreferrer"},{children:Tt}))}if("image_citation"===Ct)return C({gs_util_path:null===(ot=_t.customMetaData)||void 0===ot?void 0:ot.gs_util_path,signed_url:null===(it=_t.customMetaData)||void 0===it?void 0:it.signed_url},"image_citation"),i(m,{citationTitle:ct||(null===(at=_t.customMetaData)||void 0===at?void 0:at.citation_source),gsUtilPath:null===(nt=_t.customMetaData)||void 0===nt?void 0:nt.gs_util_path,signedUrl:null===(et=_t.customMetaData)||void 0===et?void 0:et.signed_url,relevanceScore:null===(lt=_t.customMetaData)||void 0===lt?void 0:lt.relevance_score})}catch(t){return console.error(t),null}return null};export{p as default};
2
- //# sourceMappingURL=ParentCitationComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParentCitationComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as o,useRef as r,useEffect as n}from"react";import{styles as i}from"./IterateComponent.js";function l({onBack:l,onApply:a,historicalClausesData:d=[],isLoadingHistory:s,headerTitle:c="Historical Recommendations",customStyles:p={}}){const x={...i,...p},u=({clause:i,index:l})=>{const[d,s]=o(!1),[c,p]=o(!1),[u,f]=o(!1),h=r(null),[g,b]=o(!1),m=i.title||i.filename,y=i.content||i.excerpt||"",v=((e=0)=>e>=80?{bg:"#dcfce7",text:"#166534",border:"#bbf7d0"}:e>=50?{bg:"#fef9c3",text:"#854d0e",border:"#fef08a"}:{bg:"#fee2e2",text:"#991b1b",border:"#fecaca"})(i.relevance_score),w=u&&m,k=0===l;return n(()=>{const e=h.current;if(!e)return;const t=()=>{d||b(e.scrollHeight>e.clientHeight)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[y,d]),e("div",{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:{...x.clauseCard,display:"flex",flexDirection:"column",gap:6,textAlign:"left",backgroundColor:c?"#f8fafc":"#fff",borderColor:c?"#cbd5e1":"#dde5f0",transition:"all 0.2s ease"},children:[e("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"8px"},children:[e("div",{onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:{position:"relative",flex:1,minWidth:0},children:[t("p",{style:{...x.clauseFilename,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",cursor:"default"},children:m}),w&&t("div",{style:{position:"absolute",top:k?"100%":"auto",bottom:k?"auto":"100%",marginTop:k?"6px":"0px",marginBottom:k?"0px":"6px",left:0,backgroundColor:"#1E293B",color:"#fff",padding:"6px 10px",borderRadius:"6px",fontSize:"12px",fontWeight:400,zIndex:50,boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",whiteSpace:"normal",wordBreak:"break-word",width:"max-content",maxWidth:"220px",pointerEvents:"none",lineHeight:1.4},children:m})]}),void 0!==i.relevance_score&&e("div",{style:{fontSize:11,fontWeight:600,padding:"2px 8px",borderRadius:12,border:`1px solid ${v.border}`,backgroundColor:v.bg,color:v.text,whiteSpace:"nowrap",flexShrink:0},children:[i.relevance_score,"% Match"]})]}),e("div",{ref:h,onClick:e=>e.stopPropagation(),style:{...x.clauseExcerpt,margin:0,display:d?"block":"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:d?"unset":3,overflowY:d?"auto":"hidden",overflowX:"hidden",maxHeight:d?"100px":"none",paddingRight:d?"4px":"0px",cursor:"auto"},children:['"',y,'"']}),e("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",marginTop:"4px"},children:[t("div",{children:(g||d)&&t("span",{onClick:e=>{e.stopPropagation(),d&&h.current&&(h.current.scrollTop=0),s(!d)},style:{fontSize:12,color:"#2563EB",fontWeight:500,cursor:"pointer"},children:d?"View Less":"...View More"})}),t("button",{onClick:()=>null==a?void 0:a({type:"history",value:i}),style:{backgroundColor:"#F8FAFC",color:"#0F172A",border:"1px solid #CBD5E1",borderRadius:"6px",padding:"4px 12px",fontSize:"12px",fontWeight:500,cursor:"pointer",transition:"all 0.2s ease",boxShadow:"0 1px 2px rgba(0,0,0,0.05)"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#F1F5F9",e.currentTarget.style.borderColor="#94A3B8"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#F8FAFC",e.currentTarget.style.borderColor="#CBD5E1"},children:"Proceed"})]})]})};return e("div",{style:x.card,children:[e("div",{style:x.header,children:[t("button",{onClick:l,style:x.backBtn,"aria-label":"Go back",children:"‹"}),t("span",{style:x.headerTitle,children:c})]}),t("div",{style:{...x.body,paddingTop:12,paddingBottom:16},children:e("div",s?{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",color:"#64748B",fontSize:13},children:[t("style",{children:"\n @keyframes iterateSpinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "}),t("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{animation:"iterateSpinner 1s linear infinite"},children:t("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),"Fetching recommendations..."]}:{style:{display:"flex",flexDirection:"column",gap:10,maxHeight:"40vh",overflowY:"auto",paddingRight:"4px"},children:[null==d?void 0:d.map((e,o)=>t(u,{clause:e,index:o},e.id)),(!d||0===d.length)&&t("p",{style:{fontSize:12,color:"#aaa",textAlign:"center",padding:"12px 0"},children:"No clauses found"})]})})]})}export{l as default};
2
- //# sourceMappingURL=HistoryMenu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HistoryMenu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsxs as e,jsx as n}from"react/jsx-runtime";import{X as r}from"lucide-react";function o({title:o,children:t,onRefresh:i,onCancel:d}){return e("div",{style:{width:360,background:"#fff",borderRadius:12,border:"1px solid #e5e7eb",boxShadow:"0 10px 30px rgba(0, 0, 0, 0.12)",padding:12,fontFamily:"Inter"},children:[d&&e("div",{style:{display:"flex",justifyContent:o?"space-between":"flex-end",alignItems:"center"},children:[o&&n("span",{style:{fontSize:14,color:"#374151"},children:o}),n("button",{onClick:d,style:{border:"none",background:"transparent",cursor:"pointer",fontSize:15,color:"#6b7280"},children:n(r,{})})]}),n("div",{style:{fontSize:14,color:"#374151",lineHeight:1.6,marginBottom:5},children:t}),n("div",{style:{display:"flex",justifyContent:"flex-end",gap:10},children:i&&n("button",{onClick:i,style:{padding:"8px",borderRadius:8,border:"none",background:"#2563eb",color:"#fff",cursor:"pointer",fontSize:16},children:"Refresh"})})]})}export{o as default};
2
- //# sourceMappingURL=RedlineToast.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedlineToast.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{SocketManager as t}from"./SocketManager.js";class e{static initialize(i){if("string"!=typeof i.applicationId||!i.applicationId.trim()||"string"!=typeof i.authToken||!i.authToken.trim()||"string"!=typeof i.baseUrl||!i.baseUrl.trim())return;const n=t.getInstance();n.getInitStatus()||(n.initialize(i),n.setListener(e.dispatch))}static dispatch(t){const i=e.handlers.get(t.type);i&&i.forEach(e=>{e(t.payload)})}static on(t,i){if("string"!=typeof t||!t.trim()||"function"!=typeof i)throw Error("invalid event or handler type");return e.handlers.has(t)||e.handlers.set(t,new Set),e.handlers.get(t).add(i),()=>e.off(t,i)}static off(t,i){if("string"!=typeof t||!t.trim()||"function"!=typeof i)throw Error("invalid event or handler type");const n=e.handlers.get(t);n&&(n.delete(i),0===n.size&&e.handlers.delete(t))}static emit(e,i){if("string"!=typeof e||!e.trim())throw Error("invalid event type");t.getInstance().publish(e,i)}static isInitialized(){return t.getInstance().getInitStatus()}static destroy(){e.handlers.clear(),t.getInstance().destroy()}}e.handlers=new Map;export{e as default};
2
- //# sourceMappingURL=CwsEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CwsEvent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as r,Fragment as t}from"react/jsx-runtime";import{useEffect as e}from"react";import i from"./CwsEvent.js";function a({baseUrl:a,applicationId:o,children:n,authToken:l}){return e(()=>(i.initialize({baseUrl:a,applicationId:o,authToken:l}),()=>{i.destroy()}),[l,o,a]),r(t,{children:n})}export{a as default};
2
- //# sourceMappingURL=CwsEventProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CwsEventProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import t from"axios";import{io as i}from"socket.io-client";class s{constructor(){this.isInitialized=!1}static getInstance(){return s.instance||(s.instance=new s),s.instance}async initialize(t){this.isInitialized||(this.applicationId=t.applicationId,this.authToken=t.authToken,this.isInitialized=!0,this.socket=i(t.baseUrl,{path:"/cwsEvent/socket-cwsEvent",autoConnect:!0,reconnection:!0,transports:["websocket"],auth:{token:this.authToken}}),this.socket.on("connect",()=>{console.log("Connected:",this.socket.id),this.socket.emit("subscribe",{applicationId:this.applicationId})}),this.socket.on("message",t=>{var i;null===(i=this.listener)||void 0===i||i.call(this,t)}))}async wakeupServer(i){try{await t.get(i),console.log("Server wakeup successful")}catch(t){console.error("Server wakeup failed",t)}}setListener(t){this.listener=t}publish(t,i){this.socket.emit("publish",{applicationId:this.applicationId,type:t,payload:i})}disconnect(){this.socket.disconnect()}getInitStatus(){return this.isInitialized}destroy(){this.socket&&(this.socket.removeAllListeners(),this.socket.disconnect(),this.listener=void 0,this.socket=void 0,this.applicationId="",this.authToken="",this.isInitialized=!1,s.instance=void 0)}}export{s as SocketManager};
2
- //# sourceMappingURL=SocketManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocketManager.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{useEffect as o}from"react";import t from"./CwsEvent.js";function r(r,e){o(()=>t.on(r,e),[r,e])}export{r as default};
2
- //# sourceMappingURL=useCwsEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCwsEvent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Loader2 as i}from"lucide-react";import{useState as t,useEffect as a}from"react";import{mapToHighlightAreas as o,citationViewerStyles as r}from"./pdfCitationUtils.js";import{useRequirementAI as n}from"../RequirementAIWrapper/RequirementAIWrapper.js";import l from"./pdfCitation.module.css.js";import d from"./CitationPdfViewer.js";function s({citation:s,isCitationLoading:c=!1,renderMode:u,pdfViewHeaderAction:g,citationId:f}){var h,m,p,v,C;const{queryClient:U,useGetSignedUrlQuery:w,useGetSignedUrlMutation:P}=n().apiCachingConfig,[V,_]=t(!1),x=null==s?void 0:s.customMetadata,y=null!==(h=null==x?void 0:x.value)&&void 0!==h?h:[],A=null!==(m=null==x?void 0:x.artifact_url)&&void 0!==m?m:"",j=null!==(p=null==x?void 0:x.artifact_title)&&void 0!==p?p:"",I=null!==(v=null==x?void 0:x.artifact_format)&&void 0!==v?v:"pdf",M=y.flatMap(e=>e.highlighted_text.map(e=>e.text)),N="docx"===I,S=["getSignedUrl",A],{data:D}=w(A,S),{mutate:H,isPending:q}=P(A),G=null!=D?D:"",R=!!A&&q&&!G;A||console.warn("Artifact preview details not found in header message or message data",A);return a(()=>{if(!A)return void _(!0);const e=U.getQueryData(S);e||q||H({gsUtilPath:A}),e&&_(!1)},[A,U,S,q,H]),a(()=>{G&&_(!1)},[G]),null!==(C=(()=>{try{const t=o(y),a=t.length>0;if(R||c)return e("div",{className:l.loaderContainer,children:e(i,{className:l.loaderIcon,size:28})});const n=y.some(e=>!!e.gs_url),s=y.some(e=>null!==e.page_no&&void 0!==e.page_no),h=y.some(e=>Array.isArray(e.highlighted_coordinates)&&e.highlighted_coordinates.length>0),m=t.length>0;return!(n||s||h||m)&&console.warn("No valid coordinates or gs_url found for this citation.",{hasValidGsUrl:n,hasValidPageNo:s,hasHighlightedCoords:h,hasCoordinatesPages:m,pages:y,artifactUrl:A}),(a||!s||V)&&(V||!a)?(console.warn("Error in loading PDF or no valid highlight coordinates found. Rendering fallback viewer without highlights.",{artifactUrl:A,hasValidCoordinates:a,coordinatesPages:t,pages:y}),e(d,{artifactUrl:A,pdfUrl:"",pdfName:j,pages:y,coordinatesPages:[],pdfViewHeaderAction:g,renderMode:null!=u?u:"fallback",isDocx:N,hasValidCoordinates:!1,customStyles:r,highlightText:M,citationId:f})):e(d,{artifactUrl:A,pdfUrl:G,pdfName:j,pages:y,coordinatesPages:t,pdfViewHeaderAction:g,renderMode:null!=u?u:"default",isDocx:N,hasValidCoordinates:a,jumpToPageValue:1,customStyles:r,highlightText:M,citationId:f})}catch(e){return console.warn("Error rendering citation",e),null}})())&&void 0!==C?C:null}export{s as default};
2
- //# sourceMappingURL=CitationPdfRendererWrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationPdfRendererWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Loader2 as i}from"lucide-react";import{PdfViewer as t}from"@e-llm-studio/citation";import{stringToNumber as o}from"./pdfCitationUtils.js";const a={pdfViewer:{height:"50%",maxHeight:"50%",display:"flex",flexDirection:"column",backgroundColor:"#FAFAFA",border:"1px solid #e5e7eb",borderRadius:"8px",overflow:"hidden"},pdfContainer:{flex:1,overflowY:"auto",padding:"8px"},header:{borderBottom:"1px solid #e5e7eb"}},l={pdfViewerWrapper:"shadow-sm"},r=()=>e("div",{className:"h-full flex items-center justify-center",children:e(i,{className:"animate-spin text-purple-500",size:28})}),n=({artifactUrl:i,pdfUrl:n,pdfName:s,pages:d,coordinatesPages:c,activeCitationIndex:f,onActiveCitationChange:h,pdfViewHeaderAction:p,isLoading:u,hasValidCoordinates:g,renderMode:m="default",useCoordinates:C=!0,jumpToPageValue:x,customStyles:b,customClasses:k,isDocx:v=!1,highlightText:A,citationId:w})=>{if(u)return e(r,{});const P=v||"fallback"===m?"":n,V="fallback"===m||!1===g?[]:c,j="fallback"!==m&&C,I=o(w),N=p?{icon:p.icon,tooltip:p.tooltip,onClick:()=>{p.onClick({artifactUrl:i,artifactId:i,fileName:null!=s?s:"",pages:d,currentCitationIndex:null!=I?I:0})}}:void 0;return e(t,{pdfUrl:P,pdfName:s,fallbackPages:d,highlightCordinatePages:V,highlightText:null!=A?A:[],highlightPages:{},useCoordinates:j,activeCitationIndex:f,headerAction:N,onActiveCitationChange:h,highlightColor:"oklch(0.78 0.16 95 / 0.35)",activeHighlightColor:"oklch(0.75 0.17 95 / 0.45)",jumpToPageValue:x,customStyles:null!=b?b:a,customClasses:null!=k?k:l})};export{n as default};
2
- //# sourceMappingURL=CitationPdfViewer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationPdfViewer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={loaderContainer:"pdfCitation-module_loaderContainer__zqXic",loaderIcon:"pdfCitation-module_loaderIcon__3jTQ3",spin:"pdfCitation-module_spin__Ac7tQ"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".pdfCitation-module_loaderContainer__zqXic{align-items:center;display:flex;height:500px;justify-content:center}.pdfCitation-module_loaderIcon__3jTQ3{animation:pdfCitation-module_spin__Ac7tQ 1s linear infinite;color:#a855f7}@keyframes pdfCitation-module_spin__Ac7tQ{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
2
- //# sourceMappingURL=pdfCitation.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pdfCitation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=(e=[])=>Array.isArray(e)?null==e?void 0:e.flatMap(e=>{var i,r;const o=null==e?void 0:e.page_no;return!(null===(i=null==e?void 0:e.highlighted_coordinates)||void 0===i?void 0:i.length)&&o?[{pageNumber:o,pageIndex:o-1}]:o&&(null===(r=null==e?void 0:e.highlighted_coordinates)||void 0===r?void 0:r.length)?e.highlighted_coordinates.map(e=>({pageIndex:o-1,pageNumber:o,left:100*e.xmin,top:100*e.ymin,width:100*(e.xmax-e.xmin),height:100*(e.ymax-e.ymin)})):[]}):[],i={pdfViewer:{height:"550px",maxHeight:"550px",display:"flex",flexDirection:"column",backgroundColor:"#FAFAFA",border:"1px solid #e5e7eb",borderRadius:"8px",overflow:"hidden"},pdfContainer:{flex:1,overflowY:"auto",padding:"8px"},header:{borderBottom:"1px solid #e5e7eb"}};function r(e,i=0){if("number"==typeof e)return Number.isFinite(e)?e:i;if(!e||"string"!=typeof e||!e.trim())return i;let r="";try{r=e.trim().replace(/[^\d.-]/g,"").replace(/(?!^)-/g,"")}catch(e){return console.error("Regex processing failed",e),i}const o=Number(r);return Number.isFinite(o)?o:i}export{i as citationViewerStyles,e as mapToHighlightAreas,r as stringToNumber};
2
- //# sourceMappingURL=pdfCitationUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pdfCitationUtils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as l}from"react/jsx-runtime";import{useState as t,useEffect as o,useMemo as n}from"react";import i from"@mui/material/Dialog";import s from"@mui/material/DialogTitle";import a from"@mui/material/DialogContent";import c from"@mui/material/DialogActions";import m from"@mui/material/IconButton";import r from"@mui/material/Radio";import{X as d,Info as u}from"lucide-react";import p from"./deleteSegmentDialog.module.css.js";const y=[{key:"this-segment",label:"This segment"},{key:"all-occurrences",label:"All occurrences of this segment"}],h=({open:h,onHide:v,onDelete:f,customDeleteStyles:b,customDeleteIcons:N})=>{const[g,k]=t(null),[D,C]=t(!1),x=(null==N?void 0:N.closeIcon)||e(d,{size:20}),B=(null==N?void 0:N.infoIcon)||e(u,{className:p.infoIcon});o(()=>{h&&(k(null),C(!1))},[h]);const T=n(()=>y.map(e=>({...e,label:"all-occurrences"===e.key?`${e.label}`:e.label})),[]),$=!g||D;return l(i,{open:h,onClose:v,maxWidth:!1,PaperProps:{className:p.paper,style:null==b?void 0:b.paper},children:[l(s,{className:p.title,style:null==b?void 0:b.title,children:[e("span",{className:p.titleText,style:null==b?void 0:b.titleText,children:"Delete Segment"}),e(m,{"aria-label":"close",onClick:v,className:p.closeButton,style:null==b?void 0:b.closeButton,children:x})]}),l(a,{className:p.content,style:null==b?void 0:b.content,children:[e("p",{className:p.subtitle,style:null==b?void 0:b.subtitle,children:"Choose what you'd like to delete."}),e("div",{className:p.optionsContainer,style:null==b?void 0:b.optionsContainer,children:T.map(t=>{const o=g===t.key;return l("label",{htmlFor:`delete-segment-${t.key}`,className:`${p.optionLabel} ${o?p.optionSelected:""}`,style:{...null==b?void 0:b.optionLabel,...o?null==b?void 0:b.optionSelected:{}},children:[e(r,{inputProps:{id:`delete-segment-${t.key}`},name:"delete-segment-scope",value:t.key,checked:o,onChange:()=>k(t.key),className:p.radio}),e("span",{className:p.optionText,style:null==b?void 0:b.optionText,children:t.label})]},t.key)})}),l("div",{className:p.infoRow,style:null==b?void 0:b.infoRow,children:[B,e("span",{className:p.infoText,style:null==b?void 0:b.infoText,children:"This action permanently deletes the selected segment(s) and cannot be undone."})]})]}),l(c,{className:p.actions,style:null==b?void 0:b.actions,children:[e("button",{onClick:v,disabled:D,className:p.cancelButton,style:null==b?void 0:b.cancelButton,children:"Cancel"}),l("button",{onClick:async()=>{if(g){C(!0);try{await f(g),v()}finally{C(!1)}}},disabled:$,className:`${p.deleteButton} ${$?p.deleteButtonDisabled:""}`,style:{...null==b?void 0:b.deleteButton,...$?null==b?void 0:b.deleteButtonDisabled:{}},children:[D&&e("span",{className:p.spinner}),"Delete segment"]})]})]})};export{h as default};
2
- //# sourceMappingURL=DeleteSegmentsDialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeleteSegmentsDialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useState as l,useEffect as o}from"react";import n from"@mui/material/Dialog";import i from"@mui/material/DialogTitle";import s from"@mui/material/DialogContent";import a from"@mui/material/DialogActions";import r from"@mui/material/IconButton";import{X as m}from"lucide-react";import c from"./deleteSegmentDialog.module.css.js";import u from"./segment.module.css.js";const d=({open:d,onHide:p,onConfirm:h,customStyles:y,customIcons:g})=>{const[f,v]=l(!1),N=(null==g?void 0:g.closeIcon)||e(m,{size:20});o(()=>{d&&v(!1)},[d]);return t(n,{open:d,onClose:p,maxWidth:!1,PaperProps:{className:c.paper,style:null==y?void 0:y.paper},children:[t(i,{className:c.title,style:null==y?void 0:y.title,children:[e("span",{className:c.titleText,style:null==y?void 0:y.titleText,children:"Rename this segment everywhere?"}),e(r,{"aria-label":"close",onClick:p,className:c.closeButton,style:null==y?void 0:y.closeButton,children:N})]}),e(s,{className:c.content,style:null==y?void 0:y.content,children:t("p",{className:c.subtitle,style:{marginBottom:"24px",color:"#475569",...null==y?void 0:y.subtitle},children:["Renaming this segment will update its name across all ",e("strong",{children:"occurrences"})," where it is used. Do you want to continue?"]})}),t(a,{className:c.actions,style:null==y?void 0:y.actions,children:[e("button",{onClick:p,disabled:f,className:c.cancelButton,style:null==y?void 0:y.cancelButton,children:"Cancel"}),t("button",{onClick:async()=>{v(!0);try{await h(),p()}catch(e){console.error("Failed to rename segment:",e)}finally{v(!1)}},disabled:f,className:u.renameButton,style:{...null==y?void 0:y.renameButton},children:[f&&e("span",{className:c.spinner}),"Rename segment"]})]})]})};export{d as default};
2
- //# sourceMappingURL=EditSegmentDialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditSegmentDialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={paper:"deleteSegmentDialog-module_paper__lRyck",title:"deleteSegmentDialog-module_title__Lw6--",titleText:"deleteSegmentDialog-module_titleText__-96hW",closeButton:"deleteSegmentDialog-module_closeButton__KuSd9",content:"deleteSegmentDialog-module_content__f909m",subtitle:"deleteSegmentDialog-module_subtitle__mNRwe",optionsContainer:"deleteSegmentDialog-module_optionsContainer__WOG18",optionLabel:"deleteSegmentDialog-module_optionLabel__3NwkJ",optionSelected:"deleteSegmentDialog-module_optionSelected__XN5c-",radio:"deleteSegmentDialog-module_radio__a0BAt",optionText:"deleteSegmentDialog-module_optionText__j6JEW",infoIcon:"deleteSegmentDialog-module_infoIcon__tPanl",infoRow:"deleteSegmentDialog-module_infoRow__SWCp8",infoText:"deleteSegmentDialog-module_infoText__Yg-sI",actions:"deleteSegmentDialog-module_actions__M93kR",cancelButton:"deleteSegmentDialog-module_cancelButton__e79NB",deleteButton:"deleteSegmentDialog-module_deleteButton__ovuoP",deleteButtonDisabled:"deleteSegmentDialog-module_deleteButtonDisabled__OdVY5",headerDeleteButton:"deleteSegmentDialog-module_headerDeleteButton__0GqvY",spinner:"deleteSegmentDialog-module_spinner__8uhh0",spin:"deleteSegmentDialog-module_spin__tJyu0"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".deleteSegmentDialog-module_paper__lRyck{border-radius:12px;max-width:calc(100vw - 32px);width:845px}.deleteSegmentDialog-module_title__Lw6--{padding:24px 32px 16px;position:relative}.deleteSegmentDialog-module_titleText__-96hW{color:#101828;font-family:Inter,sans-serif;font-size:18px;font-weight:600;line-height:28px}.deleteSegmentDialog-module_title__Lw6-- .deleteSegmentDialog-module_closeButton__KuSd9{background:#0000!important;color:#64748b!important;padding:4px!important;position:absolute!important;right:20px!important;top:20px!important}.deleteSegmentDialog-module_content__f909m{padding:0 32px 8px}.deleteSegmentDialog-module_subtitle__mNRwe{color:#334155;font-family:Inter,sans-serif;font-size:16px;font-weight:500;line-height:130%;margin:0 0 24px;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_optionsContainer__WOG18{display:flex;flex-direction:column;gap:10px}.deleteSegmentDialog-module_optionLabel__3NwkJ{align-items:center;align-self:stretch;background:#0000;border-radius:8px;cursor:pointer;display:flex;gap:16px;padding:8px;transition:background .15s ease}.deleteSegmentDialog-module_optionSelected__XN5c-{background:#f4f3ff}.deleteSegmentDialog-module_radio__a0BAt{height:16px;width:16px}.deleteSegmentDialog-module_radio__a0BAt .MuiSvgIcon-root{font-size:16px}.deleteSegmentDialog-module_radio__a0BAt.Mui-checked{color:#5928ed!important}.deleteSegmentDialog-module_optionText__j6JEW{color:#334155;font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:130%;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_infoIcon__tPanl{color:#475569;flex-shrink:0;height:14px;width:14px}.deleteSegmentDialog-module_infoRow__SWCp8{align-items:center;display:flex;gap:8px;margin-top:24px}.deleteSegmentDialog-module_infoText__Yg-sI{color:#475569;font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:130%;overflow:hidden;text-overflow:ellipsis}.deleteSegmentDialog-module_actions__M93kR{border-top:1px solid #e5e7eb;display:flex;gap:16px;justify-content:flex-end;padding:20px 32px 18px}.deleteSegmentDialog-module_cancelButton__e79NB{background:#0000;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;min-width:96px}.deleteSegmentDialog-module_cancelButton__e79NB,.deleteSegmentDialog-module_deleteButton__ovuoP{align-items:center;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:15.75px;font-weight:500;gap:7px;height:40px;justify-content:center;padding:8.75px 12.25px}.deleteSegmentDialog-module_deleteButton__ovuoP{background:#ef4444;border:1px solid #ef4444;border-radius:6px;color:#fff;min-width:176px}.deleteSegmentDialog-module_deleteButtonDisabled__OdVY5{cursor:not-allowed;opacity:.7}.deleteSegmentDialog-module_headerDeleteButton__0GqvY{align-items:center;background:#0000;border:none;border-radius:6px;color:#ef4444;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:4px;height:32px;justify-content:center;padding:6px 10px;transition:opacity .2s ease}.deleteSegmentDialog-module_headerDeleteButton__0GqvY:hover{opacity:.7}.deleteSegmentDialog-module_spinner__8uhh0{animation:deleteSegmentDialog-module_spin__tJyu0 1s linear infinite;border:2px solid #fff;border-radius:9999px;border-top-color:#0000;display:inline-block;height:16px;margin-right:8px;width:16px}@keyframes deleteSegmentDialog-module_spin__tJyu0{to{transform:rotate(1turn)}}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
2
- //# sourceMappingURL=deleteSegmentDialog.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deleteSegmentDialog.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=RedlineApprovalCardTest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedlineApprovalCardTest.d.ts","sourceRoot":"","sources":["../../../src/RedlineApprovalCardTest.tsx"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- declare function RedlineEditorTest2(): import("react/jsx-runtime").JSX.Element;
2
- export default RedlineEditorTest2;
3
- //# sourceMappingURL=RedlineEditorTest2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedlineEditorTest2.d.ts","sourceRoot":"","sources":["../../../src/RedlineEditorTest2.tsx"],"names":[],"mappings":"AA6BA,iBAAS,kBAAkB,4CAi8D1B;AAED,eAAe,kBAAkB,CAAA"}