@e-llm-studio/citation 0.0.183 → 0.0.184
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.
- package/package.json +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js +0 -2
- package/dist/assests/svg/ButtonCognitiveIcon.js.map +0 -1
- package/dist/assests/svg/PdfViewerIcons.js +0 -2
- package/dist/assests/svg/PdfViewerIcons.js.map +0 -1
- package/dist/assests/svg/chevronDownArrow.svg.js +0 -2
- package/dist/assests/svg/chevronDownArrow.svg.js.map +0 -1
- package/dist/assests/svg/chevronUp.svg.js +0 -2
- package/dist/assests/svg/chevronUp.svg.js.map +0 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +0 -2
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +0 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js +0 -2
- package/dist/cjs/assests/svg/PdfViewerIcons.js.map +0 -1
- package/dist/cjs/assests/svg/chevronDownArrow.svg.js +0 -2
- package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +0 -1
- package/dist/cjs/assests/svg/chevronUp.svg.js +0 -2
- package/dist/cjs/assests/svg/chevronUp.svg.js.map +0 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js +0 -2
- package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +0 -1
- package/dist/cjs/features/BookCitation/BookCitation.js +0 -2
- package/dist/cjs/features/BookCitation/BookCitation.js.map +0 -1
- package/dist/cjs/features/BookCitation/BookCitation.module.css.js +0 -2
- package/dist/cjs/features/BookCitation/BookCitation.module.css.js.map +0 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js +0 -2
- package/dist/cjs/features/BookCitation/text-cleaner.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +0 -2
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +0 -2
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +0 -2
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +0 -2
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +0 -2
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +0 -2
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +0 -1
- package/dist/cjs/features/Bookemon/Bookemon.js +0 -2
- package/dist/cjs/features/Bookemon/Bookemon.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +0 -2
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +0 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js +0 -2
- package/dist/cjs/features/Bookemon/BookemonContent.js.map +0 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js +0 -2
- package/dist/cjs/features/Bookemon/utils/highlight.js.map +0 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js +0 -2
- package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +0 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +0 -2
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +0 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +0 -2
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +0 -1
- package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js +0 -2
- package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +0 -1
- package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js +0 -2
- package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +0 -2
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js +0 -2
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js +0 -2
- package/dist/cjs/features/ChatCitation/components/Chip.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js +0 -2
- package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js +0 -2
- package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +0 -2
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +0 -2
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js +0 -2
- package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js +0 -2
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js +0 -2
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +0 -2
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +0 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +0 -2
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +0 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js +0 -2
- package/dist/cjs/features/ChatCitation/constants/renderer.js.map +0 -1
- package/dist/cjs/features/ChatCitation/utils/helpers.js +0 -2
- package/dist/cjs/features/ChatCitation/utils/helpers.js.map +0 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js +0 -2
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +0 -1
- package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js +0 -2
- package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +0 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +0 -2
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +0 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +0 -2
- package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js.map +0 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +0 -2
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +0 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +0 -2
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js.map +0 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js +0 -2
- package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +0 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +0 -2
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +0 -1
- package/dist/cjs/features/CitationViewer/components/Header.js +0 -2
- package/dist/cjs/features/CitationViewer/components/Header.js.map +0 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +0 -2
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +0 -1
- package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +0 -2
- package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +0 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js +0 -2
- package/dist/cjs/features/CitationViewer/components/Transcript.js.map +0 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js +0 -2
- package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +0 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +0 -2
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +0 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +0 -2
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +0 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js +0 -2
- package/dist/cjs/features/CodeCitation/CodeCitation.js.map +0 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +0 -2
- package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +0 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +0 -2
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +0 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +0 -2
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +0 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +0 -2
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +0 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +0 -2
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +0 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +0 -2
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +0 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +0 -2
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +0 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +0 -2
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +0 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +0 -2
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +0 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +0 -2
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +0 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js +0 -2
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +0 -1
- package/dist/cjs/features/ExcelCitation/utils/helper.js +0 -2
- package/dist/cjs/features/ExcelCitation/utils/helper.js.map +0 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +0 -2
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +0 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +0 -2
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +0 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js +0 -2
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +0 -1
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +0 -2
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js.map +0 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +0 -2
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +0 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +0 -2
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +0 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js +0 -2
- package/dist/cjs/features/PdfViewer/PdfContainer.js.map +0 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js +0 -2
- package/dist/cjs/features/PdfViewer/PdfStyle.js.map +0 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +0 -2
- package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +0 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js +0 -2
- package/dist/cjs/features/PdfViewer/PdfViewer.js.map +0 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js +0 -2
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +0 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +0 -2
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +0 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +0 -2
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js.map +0 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +0 -2
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +0 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +0 -2
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +0 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +0 -2
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +0 -1
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +0 -2
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js.map +0 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +0 -2
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +0 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js +0 -2
- package/dist/cjs/features/TableCitation/TableCitationContent.js.map +0 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +0 -2
- package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js.map +0 -1
- package/dist/cjs/index.js +0 -2
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/utils/codeCitations.utils.js +0 -2
- package/dist/cjs/utils/codeCitations.utils.js.map +0 -1
- package/dist/cjs/utils/sanitizeHtml.js +0 -2
- package/dist/cjs/utils/sanitizeHtml.js.map +0 -1
- package/dist/cjs/utils/themeManager.js +0 -2
- package/dist/cjs/utils/themeManager.js.map +0 -1
- package/dist/constants/diagnosticStylesBySeverity.js +0 -2
- package/dist/constants/diagnosticStylesBySeverity.js.map +0 -1
- package/dist/features/BookCitation/BookCitation.js +0 -2
- package/dist/features/BookCitation/BookCitation.js.map +0 -1
- package/dist/features/BookCitation/BookCitation.module.css.js +0 -2
- package/dist/features/BookCitation/BookCitation.module.css.js.map +0 -1
- package/dist/features/BookCitation/text-cleaner.js +0 -2
- package/dist/features/BookCitation/text-cleaner.js.map +0 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +0 -2
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +0 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +0 -2
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +0 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +0 -2
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +0 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +0 -2
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +0 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +0 -2
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +0 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.js +0 -2
- package/dist/features/Bookemon/BookPreview/BookPreview.js.map +0 -1
- package/dist/features/Bookemon/Bookemon.js +0 -2
- package/dist/features/Bookemon/Bookemon.js.map +0 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js +0 -2
- package/dist/features/Bookemon/BookemonCitationLayer.js.map +0 -1
- package/dist/features/Bookemon/BookemonContent.js +0 -2
- package/dist/features/Bookemon/BookemonContent.js.map +0 -1
- package/dist/features/Bookemon/utils/highlight.js +0 -2
- package/dist/features/Bookemon/utils/highlight.js.map +0 -1
- package/dist/features/ChatCitation/BigQueryTable.js +0 -2
- package/dist/features/ChatCitation/BigQueryTable.js.map +0 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js +0 -2
- package/dist/features/ChatCitation/ChatCitationRenderer.js.map +0 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js +0 -2
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +0 -1
- package/dist/features/ChatCitation/assets/cw_chat.svg.js +0 -2
- package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +0 -1
- package/dist/features/ChatCitation/assets/message-chat-square.svg.js +0 -2
- package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +0 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js +0 -2
- package/dist/features/ChatCitation/components/AssistantChatItem.js.map +0 -1
- package/dist/features/ChatCitation/components/ChatCitation.js +0 -2
- package/dist/features/ChatCitation/components/ChatCitation.js.map +0 -1
- package/dist/features/ChatCitation/components/Chip.js +0 -2
- package/dist/features/ChatCitation/components/Chip.js.map +0 -1
- package/dist/features/ChatCitation/components/DetailedView.js +0 -2
- package/dist/features/ChatCitation/components/DetailedView.js.map +0 -1
- package/dist/features/ChatCitation/components/IconContainer.js +0 -2
- package/dist/features/ChatCitation/components/IconContainer.js.map +0 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js +0 -2
- package/dist/features/ChatCitation/components/InViewNavigation.js.map +0 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js +0 -2
- package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +0 -1
- package/dist/features/ChatCitation/components/RuleBook.js +0 -2
- package/dist/features/ChatCitation/components/RuleBook.js.map +0 -1
- package/dist/features/ChatCitation/components/SummarizedView.js +0 -2
- package/dist/features/ChatCitation/components/SummarizedView.js.map +0 -1
- package/dist/features/ChatCitation/components/UserChatItem.js +0 -2
- package/dist/features/ChatCitation/components/UserChatItem.js.map +0 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +0 -2
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +0 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js +0 -2
- package/dist/features/ChatCitation/components/wrappers/Modal.js.map +0 -1
- package/dist/features/ChatCitation/constants/renderer.js +0 -2
- package/dist/features/ChatCitation/constants/renderer.js.map +0 -1
- package/dist/features/ChatCitation/utils/helpers.js +0 -2
- package/dist/features/ChatCitation/utils/helpers.js.map +0 -1
- package/dist/features/ChatDrawer/ChatDrawer.js +0 -2
- package/dist/features/ChatDrawer/ChatDrawer.js.map +0 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js +0 -2
- package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +0 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +0 -2
- package/dist/features/CitationRenderer/CitationRenderer.js.map +0 -1
- package/dist/features/CitationRenderer/CitationRenderer.module.css.js +0 -2
- package/dist/features/CitationRenderer/CitationRenderer.module.css.js.map +0 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js +0 -2
- package/dist/features/CitationRenderer/MarkdownRenderer.js.map +0 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +0 -2
- package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js.map +0 -1
- package/dist/features/CitationViewer/CitationsViewer.js +0 -2
- package/dist/features/CitationViewer/CitationsViewer.js.map +0 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js +0 -2
- package/dist/features/CitationViewer/components/AudioWaveform.js.map +0 -1
- package/dist/features/CitationViewer/components/Header.js +0 -2
- package/dist/features/CitationViewer/components/Header.js.map +0 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js +0 -2
- package/dist/features/CitationViewer/components/KeyTakeaways.js.map +0 -1
- package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +0 -2
- package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +0 -1
- package/dist/features/CitationViewer/components/Transcript.js +0 -2
- package/dist/features/CitationViewer/components/Transcript.js.map +0 -1
- package/dist/features/CitationViewer/config/apiConfig.js +0 -2
- package/dist/features/CitationViewer/config/apiConfig.js.map +0 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js +0 -2
- package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +0 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +0 -2
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +0 -1
- package/dist/features/CodeCitation/CodeCitation.js +0 -2
- package/dist/features/CodeCitation/CodeCitation.js.map +0 -1
- package/dist/features/CodeCitation/CodeCitation.module.css.js +0 -2
- package/dist/features/CodeCitation/CodeCitation.module.css.js.map +0 -1
- package/dist/features/CodeCitation/_components/Accordian.js +0 -2
- package/dist/features/CodeCitation/_components/Accordian.js.map +0 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js +0 -2
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +0 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js +0 -2
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +0 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js +0 -2
- package/dist/features/CodeCitation/_components/CodeEditor.js.map +0 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +0 -2
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +0 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +0 -2
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +0 -1
- package/dist/features/CodeCitation/_components/Spinner.js +0 -2
- package/dist/features/CodeCitation/_components/Spinner.js.map +0 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +0 -2
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +0 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +0 -2
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +0 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +0 -2
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +0 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js +0 -2
- package/dist/features/CodeCitation/_components/ThemeToggle.js.map +0 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js +0 -2
- package/dist/features/CodeCitation/_components/TooltipComponent.js.map +0 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +0 -2
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +0 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +0 -2
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +0 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +0 -2
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +0 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +0 -2
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +0 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +0 -2
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +0 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +0 -2
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +0 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +0 -2
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +0 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +0 -2
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +0 -1
- package/dist/features/ExcelCitation/ExcelCitations.js +0 -2
- package/dist/features/ExcelCitation/ExcelCitations.js.map +0 -1
- package/dist/features/ExcelCitation/utils/helper.js +0 -2
- package/dist/features/ExcelCitation/utils/helper.js.map +0 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +0 -2
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +0 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +0 -2
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +0 -1
- package/dist/features/PaginatedTable/PaginatedTable.js +0 -2
- package/dist/features/PaginatedTable/PaginatedTable.js.map +0 -1
- package/dist/features/PaginatedTable/paginatedTable.module.css.js +0 -2
- package/dist/features/PaginatedTable/paginatedTable.module.css.js.map +0 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js +0 -2
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +0 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +0 -2
- package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +0 -1
- package/dist/features/PdfViewer/PdfContainer.js +0 -2
- package/dist/features/PdfViewer/PdfContainer.js.map +0 -1
- package/dist/features/PdfViewer/PdfStyle.js +0 -2
- package/dist/features/PdfViewer/PdfStyle.js.map +0 -1
- package/dist/features/PdfViewer/PdfToolbar.js +0 -2
- package/dist/features/PdfViewer/PdfToolbar.js.map +0 -1
- package/dist/features/PdfViewer/PdfViewer.js +0 -2
- package/dist/features/PdfViewer/PdfViewer.js.map +0 -1
- package/dist/features/PdfViewer/usePdfHighlight.js +0 -2
- package/dist/features/PdfViewer/usePdfHighlight.js.map +0 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.js +0 -2
- package/dist/features/ProjectAccordion/ProjectAccordion.js.map +0 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +0 -2
- package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js.map +0 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js +0 -2
- package/dist/features/ProjectAccordion/_components/Markdown.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +0 -2
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +0 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +0 -2
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +0 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +0 -2
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +0 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +0 -2
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +0 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +0 -2
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +0 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +0 -2
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +0 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +0 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +0 -2
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +0 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +0 -2
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +0 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +0 -2
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +0 -1
- package/dist/features/SplitterCitations/Splitter.module.css.js +0 -2
- package/dist/features/SplitterCitations/Splitter.module.css.js.map +0 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js +0 -2
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +0 -1
- package/dist/features/TableCitation/TableCitationContent.js +0 -2
- package/dist/features/TableCitation/TableCitationContent.js.map +0 -1
- package/dist/features/TableCitation/TableCitationContent.module.css.js +0 -2
- package/dist/features/TableCitation/TableCitationContent.module.css.js.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
- package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts +0 -23
- package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts.map +0 -1
- package/dist/types/src/AccordianHeadTest.d.ts +0 -2
- package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
- package/dist/types/src/App.d.ts +0 -3
- package/dist/types/src/App.d.ts.map +0 -1
- package/dist/types/src/BookCitationTest.d.ts +0 -3
- package/dist/types/src/BookCitationTest.d.ts.map +0 -1
- package/dist/types/src/BookemonTest.d.ts +0 -83
- package/dist/types/src/BookemonTest.d.ts.map +0 -1
- package/dist/types/src/ChatCitationTest.d.ts +0 -7
- package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
- package/dist/types/src/ChatDrawerTest.d.ts +0 -2
- package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
- package/dist/types/src/CodeCitationTest.d.ts +0 -3
- package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
- package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
- package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
- package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
- package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
- package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
- package/dist/types/src/CustomStylesProvider.d.ts +0 -6
- package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
- package/dist/types/src/CustomThemeProvider.d.ts +0 -7
- package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
- package/dist/types/src/DatagestMonTest.d.ts +0 -3
- package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
- package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
- package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/EmailCitationTest.d.ts +0 -3
- package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
- package/dist/types/src/ExcelCitationTest.d.ts +0 -2
- package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
- package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
- package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
- package/dist/types/src/PdfViewerTest.d.ts +0 -5
- package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
- package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
- package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
- package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
- package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
- package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
- package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
- package/dist/types/src/TableCitationTest.d.ts +0 -3
- package/dist/types/src/TableCitationTest.d.ts.map +0 -1
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -5
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
- package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
- package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
- package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
- package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -15
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -111
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -48
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
- package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -49
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -31
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -16
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -25
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
- package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -13
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -23
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -61
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
- package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -24
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
- package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/main.d.ts +0 -10
- package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
- package/dist/types/src/hooks/useDebounce.d.ts +0 -2
- package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
- package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
- package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
- package/dist/types/src/index.d.ts +0 -29
- package/dist/types/src/index.d.ts.map +0 -1
- package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
- package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
- package/dist/types/src/methodsToExpose.d.ts +0 -13
- package/dist/types/src/methodsToExpose.d.ts.map +0 -1
- package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
- package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/routes/Routes.d.ts +0 -2
- package/dist/types/src/routes/Routes.d.ts.map +0 -1
- package/dist/types/src/service/API.d.ts +0 -6
- package/dist/types/src/service/API.d.ts.map +0 -1
- package/dist/types/src/service/DataService.d.ts +0 -73
- package/dist/types/src/service/DataService.d.ts.map +0 -1
- package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
- package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
- package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
- package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
- package/dist/types/src/service/ModelService.d.ts +0 -68
- package/dist/types/src/service/ModelService.d.ts.map +0 -1
- package/dist/types/src/service/ProjectService.d.ts +0 -16
- package/dist/types/src/service/ProjectService.d.ts.map +0 -1
- package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
- package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
- package/dist/types/src/service/constants.d.ts +0 -3
- package/dist/types/src/service/constants.d.ts.map +0 -1
- package/dist/types/src/service/envHelperService.d.ts +0 -5
- package/dist/types/src/service/envHelperService.d.ts.map +0 -1
- package/dist/types/src/service/variableHelperService.d.ts +0 -6
- package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
- package/dist/types/src/theme.d.ts +0 -4
- package/dist/types/src/theme.d.ts.map +0 -1
- package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
- package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
- package/dist/types/src/types/epubItems.d.ts +0 -23
- package/dist/types/src/types/epubItems.d.ts.map +0 -1
- package/dist/types/src/userProvidedConfig.d.ts +0 -8
- package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
- package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
- package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
- package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
- package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
- package/dist/types/src/utils/api.d.ts +0 -2
- package/dist/types/src/utils/api.d.ts.map +0 -1
- package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
- package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
- package/dist/types/src/utils/colors.d.ts +0 -5
- package/dist/types/src/utils/colors.d.ts.map +0 -1
- package/dist/types/src/utils/date.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts.map +0 -1
- package/dist/types/src/utils/helperFunctions.d.ts +0 -6
- package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
- package/dist/types/src/utils/regexHelperService.d.ts +0 -9
- package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
- package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
- package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
- package/dist/types/src/utils/themeManager.d.ts +0 -13
- package/dist/types/src/utils/themeManager.d.ts.map +0 -1
- package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
- package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
- package/dist/types/src/utils/variableHelperService.d.ts +0 -7
- package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
- package/dist/utils/codeCitations.utils.js +0 -2
- package/dist/utils/codeCitations.utils.js.map +0 -1
- package/dist/utils/sanitizeHtml.js +0 -2
- package/dist/utils/sanitizeHtml.js.map +0 -1
- package/dist/utils/themeManager.js +0 -2
- package/dist/utils/themeManager.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as n}from"tslib";import{jsx as e,Fragment as t,jsxs as a}from"react/jsx-runtime";import{useState as o,useEffect as i}from"react";import r from"./BookCitation.module.css.js";import{cleanScannedText as c}from"./text-cleaner.js";var l=function(l){var s,d=l.title,u=l.author,v=l.paragraphs,h=l.chevronUpComponent,p=l.chevronDownComponent,m=l.externalLinkComponent,f=l.textToHighlight,g=l.pageNumber,N=l.totalPageNumber,b=void 0===N?null:N,x=l.citationTitle,y=l.customStyle,C=void 0===y?{}:y,k=l.handleExternalLinkClick,E=l.bookCoverImage,A=l.partialMatch,L=void 0!==A&&A,T=l.citationNumber,w=void 0===T?1:T,B=l.defaultState,q=void 0!==B&&B,I=l.isNonHighlightedBlur,W=void 0!==I&&I,H=l.toggleBlur,j=void 0===H?W:H,M=l.fixedWidth,O=void 0===M||M,S=l.isBookemon,R=void 0!==S&&S,$=l.useDropdown,D=void 0===$||$,_=o(q),F=_[0],V=_[1],z=null===(s=null==C?void 0:C.showGradientOverlay)||void 0===s||s,G=["address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","li","main","nav","noscript","ol","p","pre","section","table","tfoot","ul","video"];i(function(){if(F||!D){var n,e="quotes-citations-".concat(null!=w?w:""),t=!1;return requestAnimationFrame(function(){requestAnimationFrame(function(){n=function(){var n=document.getElementById(e);if(n&&!t){n.scrollIntoView({behavior:"smooth",block:"center"});var a=setTimeout(function(){if(!t){var e=n.getBoundingClientRect(),a=window.innerHeight/2;Math.abs(e.top-a)>40&&n.scrollIntoView({behavior:"auto",block:"center"})}},400);return function(){return clearTimeout(a)}}}()||void 0})}),function(){t=!0,n&&n()}}},[F,D,f,w]);var P=function(n){void 0===n&&(n="");var e=document.createElement("div");e.innerHTML=n;var t=e.textContent||e.innerText||"";return(t=(t=t.replace(/<\/?[^>]+(>|$)/g,"")).replace(/\s+/g," ")).trim()};function U(n){var e=document.createElement("div");e.innerHTML=n;var t=r.highlighted,a=function(n,e){var o,i;if(void 0===e&&(e=!1),n.nodeType===Node.TEXT_NODE){if(!e&&(null===(o=n.textContent)||void 0===o?void 0:o.trim())){var c=document.createElement("span");c.classList.add(r.blurred),c.textContent=n.textContent,null===(i=n.parentNode)||void 0===i||i.replaceChild(c,n)}}else if(n.nodeType===Node.ELEMENT_NODE){var l=n,s=l.classList.contains(t);Array.from(l.childNodes).forEach(function(n){return a(n,e||s)})}};return Array.from(e.childNodes).forEach(function(n){return a(n)}),e.innerHTML}function X(n,e,t,a,o,i){void 0===o&&(o=[]),void 0===i&&(i=!1);var c,l=r.highlighted,s=r.highlightedInline,d=r.highlightedBlock,u="".concat(l," ").concat(s),v="".concat(l," ").concat(d),h=e,p=(c=document.createElement("textarea"),function(n){return c.innerHTML=n,c.value});if(o.length>0){if(i){return o.forEach(function(n){n&&(h=function(n,e,t){for(var a='<span id="'.concat(t,'" class="').concat(u,'">'),o="</span>",i=n,r=0,c=new RegExp("(<(?:".concat(G.join("|"),")[^>]*>.*?)(?=<(?:").concat(G.join("|"),")|$)"),"gi"),l=(e.match(c)||[e]).map(function(n){var e=n.match(/^<([a-zA-Z0-9]+)([^>]*)>/);if(e&&G.includes(e[1].toLowerCase())){var t=e[0].length;return e[0]+a+n.slice(t)+o}return a+n+o}).join("");;){var s=i.indexOf(e,r);if(-1===s)break;i=i.slice(0,s)+l+i.slice(s+e.length),r=s+l.length}var v=d;return i.replace(/<span([^>]*)>([\s\S]*?)<\/span>/gi,function(n,e,t){if(G.some(function(n){return new RegExp("<".concat(n,"\\b[^>]*>"),"i").test(t)})){var a=e.match(/\sclass\s*=\s*(['"])(.*?)\1/);if(a){var o=a[2],i=o.split(/\s+/).includes(v)?o:"".concat(o," ").concat(v);e=e.replace(a[0],' class="'.concat(i,'"'))}else e+=' class="'.concat(v,'"')}return"<span".concat(e,">").concat(t,"</span>")})}(h,n,"Annotation"===t?"quotes-annotations-".concat(null!=a?a:""):"quotes-citations-".concat(null!=a?a:"")))}),W&&j?U(h):h}return o.forEach(function(n){var o=p(n).trim();if(o&&p(e).trim().toLowerCase()===o.toLowerCase()){var i="Annotation"===t?"quotes-annotations-".concat(null!=a?a:""):"quotes-citations-".concat(null!=a?a:"");h='<span id="'.concat(i,'" class="').concat(v,'">').concat(e,"</span>")}}),W&&j?U(h):h}var m=v;if(!n||!e)return"Annotation"===t?e:'<span id="quotes-citations" class="'.concat(m,'">').concat(e,"</span>");var f=Array.from(n.matchAll(/`([^`]+)`/g));if(0===f.length)return"Annotation"===t?e:'<span id="quotes-citations" class="'.concat(m,'">').concat(e,"</span>");h=e;var g=!1;return f.forEach(function(n){var e=p(n[1]).trim();if(e){var a=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=new RegExp("(".concat(a,")"),"gi");h.match(o)&&(g=!0,h=h.replace(o,'<span id="'.concat("Annotation"===t?"quotes-annotations":"quotes-citations",'" class="').concat(m,'">$1</span>')))}}),g?h:"Annotation"===t?e:'<span id="quotes-citations" class="'.concat(m,'">').concat(e,"</span>")}return e(t,{children:a("span",n({className:"".concat(r.relativeWrapper," ").concat(R?r.height95percent+" "+r.displayFlex:r.height100percent),style:null==C?void 0:C.relativeWrapper},{children:[!q&&D&&e("div",n({className:r.citationButtonWrapper,style:null==C?void 0:C.citationButtonWrapper},{children:a("div",n({onClick:function(){return V(function(n){return!n})},className:r.citationButton,style:null==C?void 0:C.citationButton},{children:[e("span",n({className:r.citationText},{children:x})),e("span",n({style:null==C?void 0:C.arrow},{children:F?h:p}))]}))})),(F&&D||!D)&&e("div",n({className:r.expandedWrapper,style:null==C?void 0:C.expandedWrapper},{children:e("div",n({className:"".concat(r.expandableContainer," ").concat(O?r.expandableContainerWidth:""),style:null==C?void 0:C.expandableContainer},{children:e("div",n({className:r.expandableContent,style:null==C?void 0:C.expandableContent},{children:a("div",n({className:r.bookBodyContent,style:null==C?void 0:C.bookBodyContent},{children:[!q&&e("div",n({className:r.header,style:null==C?void 0:C.bookHeader},{children:a("div",n({className:r.bookInfo},{children:[E&&e("div",n({className:r.bookImageWrapper},{children:e("img",{src:E,alt:d||"Book cover",className:r.bookImage})})),a("div",n({className:r.bookTextInfo},{children:[e("h1",n({className:r.bookTitle},{children:d})),u||Array.isArray(u)&&a("p",n({className:r.bookAuthor},{children:["by"," ",Array.isArray(u)?u.join(", "):u||""]}))]})),e("div",n({onClick:k,className:r.externalLink},{children:m}))]}))})),e("div",n({className:r.relativeContainer,style:null==C?void 0:C.relative},{children:e("div",n({className:r.container},{children:a("div",n({className:"".concat(r.contentWrapper," ").concat(r.customScrollbarClass," ").concat(R?"":r.maxheight38rem),style:null==C?void 0:C.customScrollbarClass},{children:[z&&a(t,{children:[e("div",{className:r.gradientOverlayLeft}),e("div",{className:r.gradientOverlayRight})]}),a("div",n({className:r.contentWrapper},{children:[v.map(function(n,t){c(n);var a=(L?n.includes(f[0]):f.some(function(e){return P(n).toLowerCase()===P(e).toLowerCase()}))?X(v.join("\n"),n,"Citation",w,f,L):n;return e("div",{className:"".concat(r.paragraph," ").concat(0!==t?r.textIndent:""),dangerouslySetInnerHTML:{__html:a}},t)}),g&&e("div",n({className:r.pageIndex},{children:a("div",n({className:r.pageLabel,style:null==C?void 0:C.pageColor},{children:[g," ",b&&"of ".concat(b)]}))}))]}))]}))}))}))]}))}))}))}))]}))})};export{l as default};
|
|
2
|
-
//# sourceMappingURL=BookCitation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var o={relativeWrapper:"BookCitation-module_relativeWrapper__jFpTh",displayFlex:"BookCitation-module_displayFlex__iMb2e",height95percent:"BookCitation-module_height95percent__kWGUx",height100percent:"BookCitation-module_height100percent__zQeLG",relativeContainer:"BookCitation-module_relativeContainer__HLngm",citationButtonWrapper:"BookCitation-module_citationButtonWrapper__einPL",citationButton:"BookCitation-module_citationButton__8U9MO",citationText:"BookCitation-module_citationText__aH2j-",pageText:"BookCitation-module_pageText__nEM69",expandedWrapper:"BookCitation-module_expandedWrapper__roHmf",expandableContainer:"BookCitation-module_expandableContainer__yNmEx",expandableContainerWidth:"BookCitation-module_expandableContainerWidth__O7mEU",expandableContent:"BookCitation-module_expandableContent__AvgFX",bookBodyContent:"BookCitation-module_bookBodyContent__a20pD",header:"BookCitation-module_header__kMSfc",bookInfo:"BookCitation-module_bookInfo__AzKFV",bookImageWrapper:"BookCitation-module_bookImageWrapper__JNna7",bookImage:"BookCitation-module_bookImage__CXga1",bookTextInfo:"BookCitation-module_bookTextInfo__zVuts",bookTitle:"BookCitation-module_bookTitle__lHfz0",bookAuthor:"BookCitation-module_bookAuthor__Chqif",externalLink:"BookCitation-module_externalLink__cQ3aM",audioHover:"BookCitation-module_audioHover__XquBK",audioIcon:"BookCitation-module_audioIcon__hoXWS",container:"BookCitation-module_container__msLn5",gradientOverlayLeft:"BookCitation-module_gradientOverlayLeft__vKN9H",gradientOverlayRight:"BookCitation-module_gradientOverlayRight__lElq0",contentWrapper:"BookCitation-module_contentWrapper__2y1ae",paragraph:"BookCitation-module_paragraph__9gQDG",textIndent:"BookCitation-module_textIndent__ejJaC",pageIndex:"BookCitation-module_pageIndex__wUixS",pageLabel:"BookCitation-module_pageLabel__NZ6CE",highlighted:"BookCitation-module_highlighted__n9p6V",highlightedInline:"BookCitation-module_highlightedInline__Vaoms",highlightedBlock:"BookCitation-module_highlightedBlock__c-R3J",blurred:"BookCitation-module_blurred__E0v59",customScrollbarClass:"BookCitation-module_customScrollbarClass__mwGyt",maxheight38rem:"BookCitation-module_maxheight38rem__8icW1"};!function(){if("undefined"==typeof document)return;if(document.getElementById("bookCitationStyles"))return;const o=document.createElement("style");o.id="bookCitationStyles",o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(".BookCitation-module_relativeWrapper__jFpTh{position:relative;width:100%}.BookCitation-module_displayFlex__iMb2e{align-items:center;display:flex;justify-content:center}.BookCitation-module_height95percent__kWGUx{height:90%}.BookCitation-module_height100percent__zQeLG{height:100%}.BookCitation-module_relativeContainer__HLngm{height:100%;min-height:0;position:relative}.BookCitation-module_citationButtonWrapper__einPL{color:#be87ff;cursor:pointer;display:inline-block;height:100%;margin-right:.25rem}.BookCitation-module_citationButton__8U9MO{align-items:center;background-color:initial;border:none;border-radius:9999px;color:#d63384;cursor:pointer;display:inline-flex;font-family:Plus Jakarta Sans,sans-serif;font-size:16px;font-weight:700;margin:0;padding:0;text-decoration:none;white-space:normal;width:fit-content;word-break:break-word}.BookCitation-module_citationText__aH2j-{align-items:center;display:flex;justify-content:center;text-align:center}.BookCitation-module_pageText__nEM69{margin-left:6px}.BookCitation-module_expandedWrapper__roHmf{align-items:center;display:flex;height:100%;justify-content:start;min-height:0}.BookCitation-module_expandableContainer__yNmEx{height:100%;left:0;margin-top:.5rem;min-height:0;top:100%;width:100%;z-index:49}.BookCitation-module_expandableContainerWidth__O7mEU{width:32rem}.BookCitation-module_expandableContent__AvgFX{background-color:#fff;border:1px solid #60a3f8;border-radius:8px;box-shadow:0 1.694px 6.775px 0 #0000000d,0 37.262px 40.65px -10.162px #00000026,0 0 20.325px 3.387px #0000000d;color:#fff;height:fit-content;height:100%;margin-bottom:1.5rem;min-height:0;padding:.75rem}.BookCitation-module_bookBodyContent__a20pD{height:100%;margin:0 auto;min-height:0}.BookCitation-module_header__kMSfc{display:flex;justify-content:space-between;margin-bottom:1rem}.BookCitation-module_bookInfo__AzKFV{align-items:center;display:flex;gap:1rem;justify-content:center;width:100%}.BookCitation-module_bookImageWrapper__JNna7{flex-shrink:0}.BookCitation-module_bookImage__CXga1{height:70px;object-fit:cover;width:70px}.BookCitation-module_bookTextInfo__zVuts{display:flex;flex-direction:column;gap:.1rem}.BookCitation-module_bookTitle__lHfz0{font-family:Inter,sans-serif;font-size:1rem;font-weight:700;line-height:1;margin:0}.BookCitation-module_bookAuthor__Chqif{font-family:Inter,sans-serif;font-size:.8rem;font-weight:500;line-height:1;margin:0}.BookCitation-module_externalLink__cQ3aM{margin-left:auto}.BookCitation-module_audioHover__XquBK{border-radius:.5rem;transition:background-color .2s}.BookCitation-module_audioHover__XquBK:hover{background-color:#fff3}.BookCitation-module_audioIcon__hoXWS{width:5rem}.BookCitation-module_container__msLn5{background-color:#fff;border-radius:.75rem;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;height:100%;margin-left:auto;margin-right:auto;max-width:100%;position:relative;width:100%}.BookCitation-module_gradientOverlayLeft__vKN9H{background:linear-gradient(270deg,#000 0,#000000b3 40%,#0006 70%,#0000);bottom:0;box-shadow:-4px 0 8px #0000001a;opacity:.5;pointer-events:none;position:absolute;right:20px;top:0;width:16px;z-index:0}.BookCitation-module_gradientOverlayRight__lElq0{background:linear-gradient(90deg,#000 0,#0009 40%,#0003 70%,#0000);bottom:0;box-shadow:4px 0 8px #0000001a;opacity:.5;pointer-events:none;position:absolute;right:5px;top:0;width:16px;z-index:0}.BookCitation-module_contentWrapper__2y1ae{display:flex;flex-direction:column;height:100%;overflow-y:auto;padding-right:.94rem;position:relative;word-break:break-word;z-index:0}.BookCitation-module_paragraph__9gQDG{height:100%;margin-bottom:1rem;text-align:justify}.BookCitation-module_textIndent__ejJaC{text-indent:1rem}.BookCitation-module_pageIndex__wUixS{margin-top:auto;padding:.5rem 0;text-align:right}.BookCitation-module_pageLabel__NZ6CE{border-radius:9999px;color:#4b5563;display:inline-block;font-size:1rem;font-weight:500;padding:.25rem .75rem}.BookCitation-module_highlighted__n9p6V{background-color:#eaea79;font-weight:700}.BookCitation-module_highlightedInline__Vaoms{display:inline}.BookCitation-module_highlightedBlock__c-R3J{display:block}.BookCitation-module_blurred__E0v59{filter:blur(2px);pointer-events:none;user-select:none}.BookCitation-module_customScrollbarClass__mwGyt{background-color:#f5f4f4;border:1px solid #cbd5e1;border-radius:.5rem;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;font-weight:400;letter-spacing:0;line-height:100%;overflow:auto;padding:40px 50px 0 20px}.BookCitation-module_maxheight38rem__8icW1{max-height:38rem}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar{height:0;width:0}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-track{background:#0000}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-thumb{background-color:#a3a4ae;border-radius:10px}.BookCitation-module_customScrollbarClass__mwGyt::-webkit-scrollbar-button{display:none}"));const e=document.head||document.getElementsByTagName("head")[0]||document.documentElement;e&&e.appendChild(o)}();export{o as default};
|
|
2
|
-
//# sourceMappingURL=BookCitation.module.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookCitation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=[{name:"Spaced-out title",match:function(t){return(t.match(/\b[a-z]\b/gi)||[]).length>5}},{name:"Standalone page number",match:function(t){return/^\/?\s*\d{1,4}\s*$/.test(t.trim())}},{name:"PDF footer",check:function(t){return/\b\d{1,4}_.*\.pdf\b/i.test(t)},match:function(t){return/\b\d{1,4}_.*\.pdf\b/i.test(t)&&/\b\d{4}\b.*\d{1,2}:\d{2}:\d{2}/.test(t)&&/\b\d{1,4}$/.test(t)}},{name:"Factiva metadata (Page x of y)",match:function(t){return/^Page \d+ of \d+/i.test(t.trim())}},{name:"Factiva copyright line",match:function(t){return/© \d{4} Factiva, Inc\./i.test(t)}},{name:"Factiva document ID or search summary line",match:function(t){return/(Cartoons Document|Search Summary Text rst=|Results Found Timestamp)/i.test(t)}},{name:"High symbol/noise content",match:function(t){var e=t.replace(/\s/g,""),n=e.replace(/[a-z0-9]/gi,"").length/e.length;return e.length>10&&n>.5}},{name:"Page reference (book/page metadata)",match:function(t){return/\d+\s*\/\s*THE\sESSENTIAL\sDRUCKER/i.test(t)}}];function e(e){var n=t.filter(function(t){return!t.check||t.check(e)});return e.split("\n").filter(function(t){return!n.some(function(e){return e.match(t)})}).map(function(t){return t.replace(/-\s*\n/g,"").replace(/\u00AD/g,"").replace(/\s+/g," ")}).join(" ").replace(/\s+/g," ").trim()}export{e as cleanScannedText};
|
|
2
|
-
//# sourceMappingURL=text-cleaner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-cleaner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as t,jsx as l}from"react/jsx-runtime";import{useRef as n,useEffect as e}from"react";import{highlightTermsFunc as o}from"../utils/highlight.js";import{sanitizeHtml as r}from"../../../utils/sanitizeHtml.js";var s={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},textBlock:{fontSize:"14px",fontWeight:400,color:"#64748B",marginBottom:"24px"}},d=function(d){var h,a,g,u,c,p,v,m,y=d.data,f=d.highlightTerms,S=d.onHighlightMatch,x=d.highlightEnabled,T=y.copyright,_=y.salesRights,j=n(null);return e(function(){var i,t,l,n,e,o,r;if(f&&0!==f.length&&x){var s=[String(null!==(t=null===(i=y.copyright)||void 0===i?void 0:i.year)&&void 0!==t?t:""),null!==(n=null===(l=y.copyright)||void 0===l?void 0:l.owner)&&void 0!==n?n:"",null!==(o=null===(e=y.salesRights)||void 0===e?void 0:e.description)&&void 0!==o?o:"",null===(r=y.salesRights)||void 0===r?void 0:r.territory.join(", ")].some(function(i){return!!i&&f.some(function(t){return i.toLowerCase().includes(t.toLowerCase())})});null==S||S(s)}},[f,y]),t("div",i({ref:j},{children:[l("p",i({style:s.sectionTitle},{children:"Copyrights"})),t("div",i({style:s.textBlock},{children:[t("p",{children:["Copyright Year:"," ",f&&f.length>0&&x?l("span",{dangerouslySetInnerHTML:{__html:r(o(String(null!==(h=T.year)&&void 0!==h?h:"NA"),f))}}):null!==(a=T.year)&&void 0!==a?a:"NA"]}),t("p",{children:["Copyright Owner:"," ",f&&f.length>0&&x?l("span",{dangerouslySetInnerHTML:{__html:r(o(null!==(g=T.owner)&&void 0!==g?g:"NA",f))}}):null!==(u=T.owner)&&void 0!==u?u:"NA"]})]})),l("p",i({style:s.sectionTitle},{children:"Sales Rights"})),t("div",i({style:s.textBlock},{children:[l("p",{children:f&&f.length>0&&x?l("span",{dangerouslySetInnerHTML:{__html:r(o(null!==(c=_.description)&&void 0!==c?c:"",f))}}):null!==(p=_.description)&&void 0!==p?p:""}),t("p",{children:["Sales Territory:"," ",f&&f.length>0&&x?l("span",{dangerouslySetInnerHTML:{__html:r(o(null!==(v=_.territory.join(", "))&&void 0!==v?v:"NA",f))}}):null!==(m=_.territory.join(", "))&&void 0!==m?m:"NA"]})]}))]}))};export{d as default};
|
|
2
|
-
//# sourceMappingURL=BookCopyrightsCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookCopyrightsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useState as i,useRef as o,useMemo as r,useEffect as l}from"react";import{highlightTermsFunc as s}from"../utils/highlight.js";import{sanitizeHtml as a}from"../../../utils/sanitizeHtml.js";var d={container:{width:"100%"},sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},detailsContainer:{marginBottom:"24px",fontSize:"14px",fontWeight:400,color:"#64748B",display:"flex",flexDirection:"column",gap:"4px",paddingLeft:"12px"},detailsContainerItem:{margin:"4px 0"},boldText:{fontWeight:"bold"},categoriesContainer:{marginBottom:"24px"},categoriesList:{display:"flex",flexWrap:"wrap",gap:"12px",marginBottom:"8px",paddingLeft:"12px"},category:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:400,fontSize:"12px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},reviewsList:{paddingLeft:"12px"},reviewCard:{border:"1px solid #CBD5E1",borderRadius:"6px",padding:"16px",marginBottom:"12px",backgroundColor:"#F8FAFC"},reviewText:{fontSize:"14px",fontStyle:"italic",fontWeight:400,color:"#475569",marginBottom:"8px"},reviewSource:{fontSize:"10px",color:"#475569",fontWeight:600}},c=function(c){var u,g,p,h,m,b,f,v,x,y,C,T,w,N=c.data,k=c.highlightTerms,S=c.onHighlightMatch,L=c.highlightEnabled;c.citationType;var I,_=c.citationSubTitle,M=i(!1),A=M[0],B=M[1],D=i(!1),j=D[0],H=D[1],W=o(null),z=null!==(u=null==k?void 0:k.map(function(e){return e.split(",")}).flat())&&void 0!==u?u:[],E=r(function(){return A?N.subjectCategories||[]:(N.subjectCategories||[]).slice(0,10)},[A,N.subjectCategories]);return l(function(){var e,t;if((null==k?void 0:k.length)&&L){var n="genre_details"==_?z.map(function(e){return e.toLowerCase()}):k.map(function(e){return e.toLowerCase()}),i=function(e){return e&&n.some(function(t){return e.toLowerCase().includes(t)})},o=[N.isbn,N.isbn10,N.imprint,N.publisher,N.publishingDate,N.age].some(i),r=(null!==(e=N.subjectCategories)&&void 0!==e?e:[]).some(i);console.log("categoriesMatch",r);var l=(null!==(t=N.reviews)&&void 0!==t?t:[]).some(function(e){return i(e.replace(/<[^>]+>/g,""))}),s=o||r||l;null==S||S(s),s&&(r&&!A&&B(!0),l&&!j&&H(!0))}},[k,N]),t("div",e({ref:W,style:d.container,className:"book-details-container"},{children:[n("p",e({style:d.sectionTitle,className:"book-details-section-title"},{children:"Product Details"})),t("div",e({style:d.detailsContainer,className:"book-details-details-container"},{children:[t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"ISBN:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(g=N.isbn)&&void 0!==g?g:"NA",k))}}):null!==(p=N.isbn)&&void 0!==p?p:"NA"]})),t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"ISBN 10:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(h=N.isbn10)&&void 0!==h?h:"NA",k))}}):null!==(m=N.isbn10)&&void 0!==m?m:"NA"]})),t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"Imprint:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(b=N.imprint)&&void 0!==b?b:"NA",k))}}):null!==(f=N.imprint)&&void 0!==f?f:"NA"]})),t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"Publisher:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(v=N.publisher)&&void 0!==v?v:"NA",k))}}):null!==(x=N.publisher)&&void 0!==x?x:"NA"]})),t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"Publishing Date:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(y=N.publishingDate)&&void 0!==y?y:"NA",k))}}):null!==(C=N.publishingDate)&&void 0!==C?C:"NA"]})),t("p",e({style:d.detailsContainerItem},{children:[n("span",e({style:d.boldText},{children:"Age:"}))," ",k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(null!==(T=N.age)&&void 0!==T?T:"NA",k))}}):null!==(w=N.age)&&void 0!==w?w:"NA"]}))]})),t("div",e({style:d.categoriesContainer},{children:[n("p",e({style:d.sectionTitle,className:"book-details-section-title"},{children:"Subject Categories"})),t("div",e({style:d.categoriesList,className:"book-details-categories-list"},{children:[E.map(function(t,i){return n("span",e({style:d.category,className:"book-details-category"},{children:k&&k.length>0&&L?n("span",{dangerouslySetInnerHTML:{__html:a(s(t,z))}}):t}),i)}),N.subjectCategories&&N.subjectCategories.length>10&&n("button",e({style:d.button,onClick:function(){return B(!A)},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:A?"View less":"View more"}))]}))]})),t("div",e({style:d.reviewsContainer},{children:[n("p",e({style:d.sectionTitle,className:"book-details-section-title"},{children:"Book Marketing Collateral"})),t("div",e({style:d.reviewsList,className:"book-details-reviews-list"},{children:[N.reviews&&N.reviews.length>0?(I=N.reviews.filter(function(e){return e.replace(/<[^>]+>/g,"").trim().replace(/&[#A-Za-z0-9]+;/g,"").trim().length>0}),(j?I:I.slice(0,3)).map(function(t,i){return n("div",e({style:d.reviewCard,className:"book-details-review-card"},{children:n("div",{style:d.reviewText,dangerouslySetInnerHTML:{__html:k&&k.length>0&&L?a(s(t,k)):t}})}),i)})):n("p",e({style:d.reviewText},{children:"No Book Marketing Collateral available for this book."})),N.reviews&&N.reviews.length>3&&n("button",e({style:d.button,onClick:function(){return H(function(e){return!e})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:j?"View less":"View more"}))]}))]}))]}))};export{c as default};
|
|
2
|
-
//# sourceMappingURL=BookDetailsCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookDetailsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__awaiter as t,__generator as n,__rest as o}from"tslib";import{jsxs as a,jsx as r,Fragment as i}from"react/jsx-runtime";import l from"@mui/material/Pagination";import s from"@mui/material/Skeleton";import{useRef as c,useEffect as d,useState as u}from"react";import p from"react-markdown";import h from"rehype-raw";import g from"remark-breaks";import{highlightTermsFunc as x}from"../utils/highlight.js";import{sanitizeHtml as f}from"../../../utils/sanitizeHtml.js";var m={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},quotesPadding:{paddingLeft:"12px"},quoteCard:{border:"1px solid #CBD5E1",borderRadius:"8px",padding:"16px",backgroundColor:"#F8FAFC",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",marginBottom:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},quoteText:{fontStyle:"italic",color:"#475569",fontSize:"14px",fontWeight:400,marginBottom:"12px"},quoteMeta:{color:"#475569",fontSize:"12px",fontWeight:400},quoteAuthor:{fontSize:"10px",fontWeight:600,color:"#475569",marginTop:"8px",marginBottom:"18px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},geoLocationsContainer:{marginTop:"24px",marginBottom:"24px"},geoText:{fontSize:"14px",fontWeight:500,cursor:"pointer",color:"#532BED"},geoDivider:{margin:"0 8px",color:"#475abb",backgroundColor:"#475abb",width:"1px",height:"18px",display:"inline-block"},geoLocationFlex:{display:"inline-flex",alignItems:"center",gap:"8px",marginBottom:"8px"},charactersContainer:{marginTop:"16px"},charactersGrid:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px",marginBottom:"16px",paddingLeft:"12px"},characterCard:{border:"1px solid #E5E7EB",borderRadius:"8px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",display:"flex",alignItems:"flex-start",gap:"12px",padding:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},avatar:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",fontSize:"14px",fontWeight:600,flexShrink:0},charName:{fontStyle:"normal",fontWeight:600,color:"#101827",fontSize:"16px"},charDesc:{fontStyle:"normal",fontWeight:400,fontSize:"14px",color:"#6B7280"},retryButton:{backgroundColor:"#5928EC",color:"#fff",padding:"6px 10px",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"500"}},y=function(y){var v,b,k;y.data;var C=y.updateQuotesToHighLight,T=y.handleFetchManuscriptElements,w=y.BookIsbn,S=y.title,L=y.highlightTerms,q=y.onHighlightMatch,N=y.defaultPages;y.citationType;var B=y.citationSubTitle,D=y.highlightEnabled,M=c(!0);d(function(){return function(){M.current=!1}},[]);var E=u([]),_=E[0],P=E[1],F=u(null!==(v=null==N?void 0:N.quotes)&&void 0!==v?v:1),H=F[0],I=F[1],W=u(!1),z=W[0],R=W[1],j=u(!0),G=j[0],K=j[1],Y=u(0),A=Y[0],Q=Y[1],O=u([]),J=O[0],U=O[1],V=u(null!==(b=null==N?void 0:N.characters)&&void 0!==b?b:1),X=V[0],Z=V[1],$=u(!1),ee=$[0],te=$[1],ne=u(!0),oe=ne[0],ae=ne[1],re=u(0),ie=re[0],le=re[1],se=u([]),ce=se[0],de=se[1],ue=u(null!==(k=null==N?void 0:N.locations)&&void 0!==k?k:1),pe=ue[0],he=ue[1],ge=u(!1),xe=ge[0],fe=ge[1],me=u(!0),ye=me[0],ve=me[1],be=u(0),ke=be[0],Ce=be[1],Te=u({list:"",index:-1,page:1}),we=Te[0],Se=Te[1],Le=c(!1),qe=c(null);d(function(){if((null==L?void 0:L.length)&&D){var e=L.map(function(e){return e.toLowerCase()}),t=function(t){return t&&e.some(function(e){return t.toLowerCase().includes(e)})},n=!1;"notable_quotes"==B&&_.forEach(function(e,o){!n&&t(e.text)&&(null==q||q(!0),n=!0)}),"location_details"==B&&ce.forEach(function(e,o){!n&&t(e.name)&&(null==q||q(!0),n=!0)}),"notable_characters"==B&&J.forEach(function(t,o){var a;!n&&((a=t.name)&&e[0]===a.toLowerCase())&&(null==q||q(!0),n=!0)})}},[L,_,ce,J,H,pe,X]),d(function(){N&&(N.quotes&&I(N.quotes),N.locations&&he(N.locations),N.characters&&Z(N.characters))},[N]),d(function(){Le.current=!1},[L]);var Ne=function(e){var o=e.endpoint,a=e.page,r=e.isbn,i=e.setData,l=e.setLoading,s=e.setHasMore,c=e.setTotalPage,d=e.title;return t(void 0,void 0,void 0,function(){var e,t,u,p;return n(this,function(n){switch(n.label){case 0:l(!0),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,T({endpoint:o,page:a,pageSize:10,isbn:r,title:d})];case 2:return e=n.sent(),M.current?(i((null==e?void 0:e.data)||[]),c((null===(t=null==e?void 0:e.pagination)||void 0===t?void 0:t.totalPages)||0),s(!(null===(u=null==e?void 0:e.pagination)||void 0===u?void 0:u.hasNext)&&!(null===(p=null==e?void 0:e.pagination)||void 0===p?void 0:p.hasPrevious)),[3,4]):[2];case 3:return M.current&&l(!1),[7];case 4:return[2]}})})};return d(function(){Ne({endpoint:"notable-quotes",page:H,isbn:w,setData:P,setLoading:R,setHasMore:K,setTotalPage:Q,title:S})},[H]),d(function(){Ne({endpoint:"notable-characters",page:X,isbn:w,setData:U,setLoading:te,setHasMore:ae,setTotalPage:le,title:S})},[X]),d(function(){Ne({endpoint:"geo-locations",page:pe,isbn:w,setData:de,setLoading:fe,setHasMore:ve,setTotalPage:Ce,title:S})},[pe]),a("div",e({ref:qe,className:"book-elements-container"},{children:[a("div",e({style:{marginBottom:"24px"}},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Notable Quotes"})),a("div",e({style:m.quotesPadding},{children:[z?r("div",e({style:{display:"flex",flexDirection:"column",rowGap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(t){return a("div",e({className:"book-elements-quote-card",style:m.quoteCard},{children:[r(s,{variant:"text",width:"60%",height:28}),r(s,{variant:"text",width:"40%",height:20}),r(s,{variant:"text",width:"25%",height:20}),r(s,{variant:"text",width:"30%",height:20})]}),t)})})):0===_.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic"}},{children:["No notable quotes found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"notable-quotes",page:H,isbn:w,setData:P,setLoading:R,setHasMore:K,setTotalPage:Q,title:S})}},{children:"Retry"}))]})):r(i,{children:_.map(function(o,i){var l="notable"===we.list&&we.page===H&&we.index===i;return a("div",e({className:"book-elements-quote-card",style:e(e({},m.quoteCard),{borderColor:l?"rgb(83, 43, 237)":"#CBD5E1"}),onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),Se({list:"notable",page:H,index:i}),(null===(t=null==o?void 0:o.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(o.text,"Notable Quotes",o.chunkIds,0)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[3,4];case 3:return e=n.sent(),console.error("Failed to highlight quote:",e),[3,4];case 4:return[2]}})})},"data-selected":"notable"===we.list&&we.page===H&&we.index===i?"true":void 0},{children:[L&&L.length>0&&"notable_quotes"==B&&D?r("p",{style:m.quoteText,className:"book-elements-quote-text",dangerouslySetInnerHTML:{__html:f(x(null==o?void 0:o.text,L))}}):r("p",e({style:m.quoteText,className:"book-elements-quote-text"},{children:null==o?void 0:o.text})),a("p",e({style:m.quoteMeta,className:"book-elements-quote-meta"},{children:[o.chapter,r("br",{}),o.page]})),a("p",e({style:m.quoteAuthor},{children:["— ",null==o?void 0:o.author]}))]}),i)})}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!G&&r(l,{disabled:z,count:A,page:H,onChange:function(e,t){return I(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),a("div",e({style:m.geoLocationsContainer},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Key Geo Locations"})),a("div",e({className:"book-elements-geo-wrapper",style:e(e({},m.quotesPadding),{marginBottom:"8px"})},{children:[xe?r("div",e({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(e){return r(s,{variant:"rectangular",width:100,height:20,style:{borderRadius:"8px"}},e)})})):0===ce.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key geo locations found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"geo-locations",page:pe,isbn:w,setData:de,setLoading:fe,setHasMore:ve,setTotalPage:Ce,title:S})}},{children:"Retry"}))]})):r(i,{children:ce.map(function(o,i){var l="geo_location"===we.list&&we.page===pe&&we.index===i;return a("span",e({"data-selected":"geo_location"===we.list&&we.page===pe&&we.index===i?"true":void 0,style:m.geoLocationFlex},{children:[r("span",e({className:"book-elements-geo-text",style:e(e({},m.geoText),{fontWeight:l?"700":"",textDecoration:l?"underline":""}),onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),Se({list:"geo_location",page:pe,index:i}),(null===(t=null==o?void 0:o.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(o.name,"Key Geo Locations",o.chunkIds,0)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[3,4];case 3:return e=n.sent(),console.error("Failed to highlight location:",e),[3,4];case 4:return[2]}})})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:L&&L.length>0&&"location_details"==B&&D?r("span",{dangerouslySetInnerHTML:{__html:f(x(null==o?void 0:o.name,L))}}):null==o?void 0:o.name})),i<ce.length-1&&r("span",{style:m.geoDivider})]}),i)})}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!ye&&r(l,{disabled:xe,count:ke,page:pe,onChange:function(e,t){return he(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),a("div",e({style:m.charactersContainer},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Key Characters"})),ee?r("div",e({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(t){return a("div",e({style:e(e({},m.characterCard),{flexBasis:"40%"})},{children:[r(s,{variant:"circular",style:e(e({},m.avatar),{flexShrink:0})}),a("div",e({style:{display:"flex",flexDirection:"column",flex:1}},{children:[r(s,{variant:"text",style:{flex:"1",flexShrink:0}}),r(s,{variant:"text",style:{flex:"1"}}),r(s,{variant:"text",style:{flex:"1"}}),r(s,{variant:"text",style:{flex:"1"}})]}))]}),t)})})):0===J.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key characters found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"notable-characters",page:X,isbn:w,setData:U,setLoading:te,setHasMore:ae,setTotalPage:le,title:S})}},{children:"Retry"}))]})):r(i,{children:r("div",e({className:"book-elements-characters-grid",style:m.charactersGrid},{children:J.map(function(i,l){var s=e(e({},m.avatar),{backgroundColor:i.bg,color:i.color}),c="key_character"===we.list&&we.page===X&&we.index===l;return a("div",e({onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},className:"book-elements-character-card",style:e(e({},m.characterCard),{borderColor:c?"rgb(83, 43, 237)":"#E5E7EB"}),onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:Se({list:"key_character",page:X,index:l}),n.label=1;case 1:return n.trys.push([1,4,,5]),(null===(t=null==i?void 0:i.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(i.name,"Key Characters",i.chunkIds,0)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[3,5];case 4:return e=n.sent(),console.error("Failed to highlight character:",e),[3,5];case 5:return[2]}})})},"data-selected":"key_character"===we.list&&we.page===X&&we.index===l?"true":void 0},{children:[r("div",e({style:s},{children:i.initials})),a("div",e({style:{display:"flex",flexDirection:"column"}},{children:[r("p",e({className:"book-elements-char-name",style:e(e({},m.charName),{margin:0})},{children:L&&L.length>0&&"notable_characters"==B&&i.name.toLowerCase()===L[0].toLowerCase()&&D?r("span",{dangerouslySetInnerHTML:{__html:f(x(i.name,L))}}):i.name})),r("p",e({className:"book-elements-char-desc",style:e(e({},m.charDesc),{margin:0,marginTop:"4px"})},{children:r(p,e({remarkPlugins:[g],rehypePlugins:[h],components:{p:function(t){t.node;var n=o(t,["node"]);return r("p",e({style:{marginTop:0}},n))}}},{children:null==i?void 0:i.description}))}))]}))]}),l)})}))}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!oe&&r(l,{count:ie,disabled:ee,page:X,onChange:function(e,t){return Z(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]}))};export{y as default};
|
|
2
|
-
//# sourceMappingURL=BookElementsCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookElementsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__rest as t}from"tslib";import{jsxs as n,jsx as l,Fragment as o}from"react/jsx-runtime";import{useState as i,useRef as r,useLayoutEffect as a,useEffect as d}from"react";import c from"react-markdown";import u from"remark-breaks";import s from"rehype-raw";import{highlightTermsFunc as p,processTextWithHighlight as m}from"../utils/highlight.js";import{sanitizeHtml as h}from"../../../utils/sanitizeHtml.js";var g={card:{border:"2px solid #E5E7EB",backgroundColor:"#FFFFFF",borderRadius:"12px",padding:"24px"},title:{fontSize:"16px",fontWeight:"bold",marginBottom:"24px"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(110px, 1fr))",gap:"24px",marginBottom:"24px"},gridItem:{backgroundColor:"#F8FAFC",border:"1px solid #DFE5EC",borderRadius:"8px",padding:"12px 8px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"12px"},gridItemHeight:{height:"50px"},label:{fontSize:"14px",fontWeight:400,color:"#64748B",margin:0},value:{fontWeight:"bold",fontSize:"14px",color:"#434C55",margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"120px"},section:{marginBottom:"12px",padding:"8px 12px",borderRadius:"8px",border:"1px solid #DEE4EB"},sectionLabel:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"8px",whiteSpace:"pre-line"},summaryText:{marginTop:"0px"},sectionText:{fontSize:"16px",fontWeight:400,lineHeight:"1.625",color:"#64748B",marginBottom:"8px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none"},lineClamp:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},container:{fontFamily:"Inter, sans-serif",color:"#434C54",marginBottom:"8px"},partContainer:{marginBottom:"8px"},partTitle:{fontSize:"16px",fontWeight:"600",marginBottom:"10px"},chapterList:{listStyle:"none",paddingLeft:"20px",margin:0},chapterItem:{marginBottom:"6px"},chapterLink:{textDecoration:"none",color:"#63748A",fontSize:"16px",lineHeight:"1.5"},chapterLinkHover:{textDecoration:"underline"},singleChapter:{marginBottom:"4px",fontSize:"16px"},chapterNumber:{color:"#63748A"}},v=function(v){var f,b,y,x,k,T,C,S,N,L,B,w,I,D,M,_=v.data,H=v.highlightTerms,O=v.onHighlightMatch,A=v.highlightEnabled,z=i(!1),F=z[0],E=z[1],W=i(!1),P=W[0],V=W[1],j=i(!1),R=j[0],q=j[1],G=i(!1),J=G[0],K=G[1],Q=r(null),U=r(null),X=(null==_?void 0:_.tableOfContent)&&_.tableOfContent.every(function(e){return!e.title||""===e.title.trim()}),Y=null===(x=null===(y=null===(b=null===(f=null==_?void 0:_.bookDescription)||void 0===f?void 0:f.replace(/display:\s*-webkit-box;?/g,""))||void 0===b?void 0:b.replace(/-webkit-line-clamp:\s*\d+;?/g,""))||void 0===y?void 0:y.replace(/-webkit-box-orient:\s*vertical;?/g,""))||void 0===x?void 0:x.replace(/overflow:\s*hidden;?/g,""),Z=function(e){return null!=e?String(e):""};return a(function(){if(Q.current){var e=Q.current.scrollHeight>Q.current.clientHeight;K(e)}},[null==_?void 0:_.bookDescription,P]),d(function(){var e;if((null==H?void 0:H.length)&&A){var t=H.map(function(e){return e.toLowerCase()}),n=function(e){return e&&t.some(function(t){return e.toLowerCase().includes(t)})},l=n(_.title),o=n(_.author),i=n(_.bookDescription),r=n(_.summary),a=n(Z(null==_?void 0:_.totalSectionCount)),d=n(Z(null==_?void 0:_.totalPages)),c=n(_.readingTime),u=null===(e=null==_?void 0:_.tableOfContent)||void 0===e?void 0:e.some(function(e){var t;return n(null==e?void 0:e.title)||(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.some(function(e){return n(null==e?void 0:e.title)}))}),s=l||o||i||r||a||d||c||u;null==O||O(s),s&&(i&&V(!0),r&&E(!0),u&&q(!0))}},[H,_]),n("div",e({ref:U,style:g.card,className:"book-card-container"},{children:[n("div",e({style:g.grid,className:"book-card-grid"},{children:[n("div",e({style:g.gridItem},{children:[l("p",e({style:g.label},{children:"Book Title"})),H&&H.length>0&&A?l("p",{style:g.value,className:"book-card-value",title:null==_?void 0:_.title,dangerouslySetInnerHTML:{__html:h(p(null!==(k=null==_?void 0:_.title)&&void 0!==k?k:"NA",H))}}):l("p",e({style:g.value,className:"book-card-value",title:null==_?void 0:_.title},{children:null!==(T=null==_?void 0:_.title)&&void 0!==T?T:"NA"}))]})),n("div",e({style:g.gridItem},{children:[l("p",e({style:g.label},{children:"Book Author"})),H&&H.length>0&&A?l("p",{style:g.value,className:"book-card-value",title:null==_?void 0:_.author,dangerouslySetInnerHTML:{__html:h(p(null!==(C=null==_?void 0:_.author)&&void 0!==C?C:"NA",H))}}):l("p",e({style:g.value,className:"book-card-value",title:null==_?void 0:_.author},{children:null!==(S=null==_?void 0:_.author)&&void 0!==S?S:"NA"}))]})),n("div",e({style:g.gridItem},{children:[l("p",e({style:g.label},{children:"Total Sections"})),H&&H.length>0&&A?l("p",{style:g.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:h(p(null!==(N=String(null==_?void 0:_.totalSectionCount))&&void 0!==N?N:"NA",H))}}):l("p",e({style:g.value,className:"book-card-value"},{children:null!==(L=null==_?void 0:_.totalSectionCount)&&void 0!==L?L:"NA"}))]})),n("div",e({style:g.gridItem},{children:[l("p",e({style:g.label},{children:"Total Pages"})),H&&H.length>0&&A?l("p",{style:g.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:h(p(String(null!==(B=null==_?void 0:_.totalPages)&&void 0!==B?B:"NA"),H))}}):l("p",e({style:g.value,className:"book-card-value"},{children:null!==(w=null==_?void 0:_.totalPages)&&void 0!==w?w:"NA"}))]})),n("div",e({style:g.gridItem},{children:[l("p",e({style:g.label},{children:"Reading Time"})),H&&H.length>0&&A?l("p",{style:g.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:h(p(String(null!==(I=null==_?void 0:_.readingTime)&&void 0!==I?I:"NA"),H))}}):l("p",e({style:g.value,className:"book-card-value"},{children:null!==(D=null==_?void 0:_.readingTime)&&void 0!==D?D:"NA"}))]}))]})),(null==_?void 0:_.bookDescription)&&(null==_?void 0:_.bookDescription.length)>0&&n("div",e({style:g.section,className:"book-card-section"},{children:[l("p",e({style:g.sectionLabel},{children:"Book Description"})),l("div",e({ref:Q,className:"book-card-section-text",style:e(e(e({},g.sectionText),g.summaryText),P?{}:g.lineClamp)},{children:l("div",{dangerouslySetInnerHTML:{__html:H&&H.length>0&&A?h(p(Y||"",H)):Y}})})),(J||P)&&l("button",e({style:e(e({},g.button),{marginBottom:"10px"}),onClick:function(){return V(function(e){return!e})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:P?"View Less":"View More"}))]})),n("div",e({style:g.section,className:"book-card-section"},{children:[l("p",e({style:g.sectionLabel},{children:"AI Book Summary"})),l("p",e({className:"book-card-section-text",style:e(e({},g.sectionText),F?{}:g.lineClamp)},{children:l(c,e({remarkPlugins:[u],rehypePlugins:[s],components:{p:function(n){n.node;var o=t(n,["node"]);return l("p",e({style:{marginTop:"0"}},o))}}},{children:m(null==_?void 0:_.summary,H)}))})),(null==_?void 0:_.summary)&&(null==_?void 0:_.summary.length)>0&&l("button",e({style:e(e({},g.button),{marginBottom:"10px"}),onClick:function(){return E(function(e){return!e})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:F?"View Less":"View More"}))]})),n("div",e({style:e(e({},g.section),{marginTop:"10px"})},{children:[l("p",e({style:e(e({},g.sectionLabel),{marginBottom:"18px"})},{children:"Table Of Content"})),l("div",e({style:e(e({},g.container),R?{}:g.lineClamp)},{children:(null==_?void 0:_.tableOfContent)&&!X?null===(M=null==_?void 0:_.tableOfContent)||void 0===M?void 0:M.map(function(t,i){return l("div",e({style:g.partContainer},{children:t.children?n(o,{children:[l("p",{style:g.partTitle,className:"book-card-part-title",dangerouslySetInnerHTML:{__html:H&&H.length>0&&A?h(p(t.title,H)):t.title}}),l("ul",e({style:g.chapterList},{children:t.children.map(function(t,n){return l("li",e({style:g.chapterItem},{children:l("span",{style:g.chapterLink,className:"book-card-chapter-link",dangerouslySetInnerHTML:{__html:H&&H.length>0&&A?h(p(t.title,H)):t.title}})}),n)})}))]}):l("div",e({style:g.singleChapter},{children:l("span",{style:g.chapterLink,className:"book-card-chapter-link",dangerouslySetInnerHTML:{__html:H&&H.length>0&&A?h(p(t.title,H)):t.title}})}))}),i)}):l("p",e({style:{fontStyle:"italic",fontSize:"16px",color:"#6B7280",margin:"8px 0"}},{children:"Table of Contents not found for this book."}))})),(null==_?void 0:_.tableOfContent)&&!X&&(null==_?void 0:_.tableOfContent.length)>0&&l("button",e({style:e(e({},g.button),{marginBottom:"10px"}),onClick:function(){return q(function(e){return!e})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:R?"View Less":"View More"}))]}))]}))};export{v as default};
|
|
2
|
-
//# sourceMappingURL=BookOverviewCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookOverviewCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as l}from"tslib";import{jsxs as n,jsx as o,Fragment as t}from"react/jsx-runtime";import{useRef as i,useEffect as r}from"react";import{highlightTermsFunc as a}from"../utils/highlight.js";import{sanitizeHtml as d}from"../../../utils/sanitizeHtml.js";var p={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},card:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:500,fontSize:"14px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word",marginBottom:"24px",width:"fit-content"},tag:{padding:"4px 12px",fontSize:"14px",fontWeight:500,color:"#3B82F6",backgroundColor:"#F3F8FF",borderRadius:"6px"},avatar:{display:"flex",alignItems:"center",justifyContent:"center",height:"35px",width:"35px",borderRadius:"50%",backgroundColor:"#E5E7EB",color:"#4B5563",fontWeight:600,flexShrink:0,fontSize:"12px"},contributorName:{fontWeight:600,color:"#111827",marginTop:"8px",fontSize:"14px"},contributorRole:{fontSize:"12px",color:"#6B7280"},grid:{display:"grid",gridTemplateColumns:"repeat(4, minmax(0, 1fr))",gap:"24px",marginBottom:"24px",padding:"0 12px"},awardMeta:{fontSize:"14px",color:"#4B5563"},awardDesc:{fontSize:"14px",color:"#4B5563"},awardContainer:{display:"flex",gap:"8px"},awardInfo:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:600,fontSize:"12px",borderRadius:"4px",color:"#434C54",maxWidth:"100%",wordBreak:"break-word",width:"fit-content"},listContainerWrapper:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",marginBottom:"24px"},awardContainerWrapper:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"16px"}},s=function(s){var c,u,m,h=s.data,v=s.highlightTerms,g=s.onHighlightMatch,f=s.highlightEnabled,x=h.publisher,y=h.contributors,b=h.awards,w=void 0===b?[]:b,k=i(null),C=function(e){var l=e.trim().split(/\s+/).map(function(e){var l;return null===(l=e[0])||void 0===l?void 0:l.toUpperCase()}).join("");return l.length>3?"".concat(l.slice(0,3)):l};return r(function(){var l,n,o,t,i,r,a,d,p,s,c,u;if(v&&0!==v.length&&f){var m=e(e(e(e([null!==(n=null===(l=h.publisher)||void 0===l?void 0:l.name)&&void 0!==n?n:""],null!==(t=null===(o=h.publisher)||void 0===o?void 0:o.tags)&&void 0!==t?t:[],!0),null!==(a=null===(r=null===(i=h.contributors)||void 0===i?void 0:i.primary)||void 0===r?void 0:r.flatMap(function(l){var n;return e([l.name,l.role],null!==(n=l.tags)&&void 0!==n?n:[],!0)}))&&void 0!==a?a:[],!0),null!==(s=null===(p=null===(d=h.contributors)||void 0===d?void 0:d.additional)||void 0===p?void 0:p.flatMap(function(l){var n;return e([l.name,l.role],null!==(n=l.tags)&&void 0!==n?n:[],!0)}))&&void 0!==s?s:[],!0),null!==(u=null===(c=h.awards)||void 0===c?void 0:c.flatMap(function(e){return[e.title,e.org,String(e.year),e.country]}))&&void 0!==u?u:[],!0).some(function(e){return!!e&&v.some(function(l){return e.toLowerCase().includes(l.toLowerCase())})});null==g||g(m)}},[v,h]),n("div",l({ref:k,className:"book-people-container"},{children:[o("p",l({style:p.sectionTitle,className:"book-people-section-title"},{children:"Publishers"})),n("div",l({style:p.card,className:"book-people-card"},{children:[o("span",l({style:{color:"rgb(67, 76, 85)"}},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(x.name,v))}}):x.name})),(null==x?void 0:x.tags)&&(null==x?void 0:x.tags.length)>0&&o("div",l({style:{display:"flex",gap:"8px",marginTop:"18px"}},{children:null===(c=null==x?void 0:x.tags)||void 0===c?void 0:c.map(function(e,n){return o("span",l({style:p.tag},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(e,v))}}):e}),n)})}))]})),o("p",l({style:p.sectionTitle,className:"book-people-section-title"},{children:"Contributors"})),o("div",l({style:p.listContainerWrapper,className:"book-people-list-wrapper"},{children:null===(u=null==y?void 0:y.primary)||void 0===u?void 0:u.map(function(e,t){var i;return n("div",l({style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},{children:[o("div",l({style:p.avatar,className:"book-people-avatar"},{children:C(null==e?void 0:e.name)})),o("span",l({style:p.contributorName,className:"book-people-name"},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(null==e?void 0:e.name,v))}}):null==e?void 0:e.name})),o("span",l({style:p.contributorRole,className:"book-people-role"},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(null==e?void 0:e.role,v))}}):null==e?void 0:e.role})),o("div",l({style:{display:"flex",gap:"8px",marginTop:"8px"}},{children:null===(i=null==e?void 0:e.tags)||void 0===i?void 0:i.map(function(e,n){return o("span",l({style:p.tag},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(e,v))}}):e}),n)})}))]}),t)})})),y.additional&&y.additional.length>0&&n(t,{children:[o("p",l({style:p.sectionTitle,className:"book-people-section-title"},{children:"Additional Contributors"})),o("div",l({style:p.listContainerWrapper,className:"book-people-list-wrapper"},{children:null===(m=null==y?void 0:y.additional)||void 0===m?void 0:m.map(function(e,t){return n("div",l({style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},{children:[o("div",l({style:p.avatar,className:"book-people-avatar"},{children:C(null==e?void 0:e.name)})),o("span",l({style:p.contributorName,className:"book-people-name"},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(null==e?void 0:e.name,v))}}):null==e?void 0:e.name})),o("span",l({style:p.contributorRole,className:"book-people-role"},{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(null==e?void 0:e.role,v))}}):null==e?void 0:e.role}))]}),t)})}))]}),w.length>0&&n(t,{children:[o("p",l({style:p.sectionTitle,className:"book-people-section-title"},{children:"Awards"})),o("div",l({style:p.awardContainerWrapper,className:"book-people-award-wrapper"},{children:null==w?void 0:w.map(function(e,n){return o("div",l({style:p.awardInfo},{children:o("span",{children:v&&v.length>0&&f?o("span",{dangerouslySetInnerHTML:{__html:d(a(null==e?void 0:e.title,v))}}):null==e?void 0:e.title})}),n)})}))]})]}))};export{s as default};
|
|
2
|
-
//# sourceMappingURL=BookPeopleAwardsCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookPeopleAwardsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useState as i,useEffect as n}from"react";import r from"@mui/icons-material/Close";import l from"@mui/icons-material/ArrowBack";import a from"../../BookCitation/BookCitation.js";import{comingSoonStyles as d,defaultIcon as c}from"../Bookemon.js";import s from"@mui/material/Switch";import p from"@mui/material/Tooltip";var g=function(g){var h=g.bookOverView,u=g.bookCoverImage,f=g.onClose,m=g.customStyle,x=g.quotesToHighLightData,v=g.updateQuotesToHighLight,y=g.citationLoad,b=g.clickableElementCategory,k=void 0===b?"":b,C=g.comingSoonData,w=g.isNonHighlightedBlur,B=void 0!==w&&w,S=g.isBlurToggleVisible,I=void 0!==S&&S,T=g.noHtmlContent,W=void 0!==T&&T,j=g.isBookemon,L=void 0===j||j,P=i(!1),H=P[0],F=P[1],z=i(!0),D=z[0],O=z[1],R=!!x.content,A={header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"16px"},headerLeft:{display:"flex",alignItems:"center",gap:"8px"},closeButton:{padding:"4px",borderRadius:"4px",cursor:"pointer",backgroundColor:"transparent"},flexCenter:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},coverContainer:{width:"100%",maxWidth:"300px",borderRadius:"12px",padding:"4px",background:"linear-gradient(135deg, #34D399, #3B82F6, #10B981)",position:"relative",overflow:"hidden",boxShadow:"0 10px 25px rgba(0,0,0,0.3)",marginBottom:"24px"},bookCoverStyle:{width:"100%",height:"auto",objectFit:"contain",borderRadius:"12px",boxShadow:"0 4px 12px rgba(0,0,0,0.1)"},loadingStyle:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},rightPanel:{height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},clickableElementCategory:{fontSize:"20px",fontWeight:600},previewWrapper:{flex:1,width:"80%",margin:"0 auto",display:"flex",flexDirection:"column",overflow:"hidden",justifyContent:"flex-start",alignItems:"center"},coverImagePreview:{display:"flex",justifyContent:"center",alignItems:"center",aspectRatio:"7 / 10",background:"",padding:0},toggleBlurContainer:{display:"flex",alignItems:"center",gap:"20px"},bookCoverPlaceholder:{width:"100%",height:"calc(100% - 8px)",background:"linear-gradient(to bottom, #22c55e, #14532d)",borderRadius:"4px",padding:"4px",color:"white",fontSize:"10px",display:"flex",justifyContent:"center",alignItems:"center"},bookCoverInner:{border:"1px solid white",padding:"4px",width:"calc(100% - 26px)",height:"calc(100% - 26px)",display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",justifyContent:"space-around"},bookTitle:{fontWeight:800,fontSize:"1.5rem",textTransform:"uppercase",letterSpacing:"0.5px",lineHeight:1.2,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",padding:"0 8px"},bookAuthor:{fontSize:"1rem",fontWeight:500,opacity:.9,marginTop:"8px",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}};return n(function(){O(!0),console.log(y,"citationLoad")},[y]),t("div",e({style:e(e({},A.rightPanel),(null==m?void 0:m.rightPanel)||{})},{children:[t("div",e({style:A.header},{children:[t("div",e({style:A.headerLeft},{children:[(R||W)&&o("button",e({style:A.closeButton,onClick:function(){return v("","Book Preview")},onMouseOver:function(e){return e.currentTarget.style.backgroundColor="#F3F4F6"},onMouseOut:function(e){return e.currentTarget.style.backgroundColor="transparent"}},{children:o(l,{})})),o("h2",e({style:A.clickableElementCategory},{children:k}))]})),t("div",e({style:A.toggleBlurContainer},{children:[R&&I&&t("div",e({style:{display:"flex",alignItems:"center",gap:"2px"}},{children:[o(s,{checked:D,onChange:function(e){O(e.target.checked),console.log(e.target.checked,"event.target.checked")},color:"primary",size:"small"}),t("span",e({style:{fontSize:"0.75rem",display:"flex",alignItems:"center",gap:"4px"}},{children:["Blur",o(p,e({title:"Blur Text is enabled by default. Non-highlighted parts of the text will appear blurred to help you focus on the highlighted content. You can turn this off if you want to see all text clearly."},{children:o("span",e({style:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:"14px",height:"14px",borderRadius:"50%",backgroundColor:"#485468",color:"#fff",fontSize:"10px",fontWeight:"bold",cursor:"pointer",lineHeight:"14px",userSelect:"none"}},{children:"i"}))}))]}))]})),o("button",e({style:A.closeButton,onClick:function(){f(),v("","Book Preview")},onMouseOver:function(e){return e.currentTarget.style.backgroundColor="#F3F4F6"},onMouseOut:function(e){return e.currentTarget.style.backgroundColor="transparent"}},{children:o(r,{})}))]}))]})),o("div",e({style:e(e({},A.previewWrapper),null==m?void 0:m.previewWrapper)},{children:R?o(a,{citationNumber:1,defaultState:!0,partialMatch:!0,fixedWidth:!1,citationTitle:"Sample Citation",title:"Sample Title",paragraphs:[null==x?void 0:x.content],textToHighlight:[null==x?void 0:x.textToHighLight],externalLinkComponent:"",bookCoverImage:u,customStyle:null==m?void 0:m.citationCustomStyle,isNonHighlightedBlur:B,isBookemon:L,toggleBlur:D}):y||W?t("div",e({style:A.loadingStyle},{children:[o("div",e({style:d.iconWrapper},{children:(null==C?void 0:C.icon)||c})),t("p",e({style:d.text},W?{children:["No data found matching the selected ",k.toLowerCase()]}:{children:["fetching ",k.toLowerCase(),"...."]}))]})):o("div",e({style:A.flexCenter},{children:o("div",e({style:e(e({},A.coverContainer),H||!u?e(e({},A.coverImagePreview),null==m?void 0:m.coverImagePreview):{})},{children:u&&!H?o("img",{onError:function(){return F(!0)},style:A.bookCoverStyle,src:u,alt:"Book Cover Image"}):o("div",e({style:A.bookCoverPlaceholder},{children:t("div",e({style:A.bookCoverInner},{children:[o("div",e({style:A.bookTitle},{children:(null==h?void 0:h.title)||"Unknown Title"})),o("div",e({style:A.bookAuthor},{children:(null==h?void 0:h.author)||"Unknown Author"}))]}))}))}))}))}))]}))};export{g as default};
|
|
2
|
-
//# sourceMappingURL=BookPreview.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookPreview.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import o from"@mui/material/Dialog";import t from"@mui/material/DialogContent";import{BookemonContent as n}from"./BookemonContent.js";var l={maxWidth:"none",fontFamily:"Inter, sans-serif"},r={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},a=i("svg",e({style:r.icon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},{children:i("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})),s=function(r){var s=r.open,g=r.onClose,h=r.isDialog,d=void 0===h||h,m=r.isBookPreview,c=void 0===m||m,u=r.isNonHighlightedBlur,p=r.isBookemon,f=r.getHighlightContent,x=r.handleFetchManuscriptElements,B=r.data,C=r.showComingSoon,v=void 0!==C&&C,y=r.comingSoonData,S=void 0===y?{header:"Bookemon Coming Soon!!",subheader:"We're working on something amazing. Stay tuned for updates!",icon:a}:y,k=r.customStyle,w=void 0===k?{}:k,F=r.isBlurToggleVisible,b=void 0!==F&&F,T=r.highlightTerms,D=r.defaultElementPages,E=r.citationType,P=r.citationSubTitle,H=null!=g?g:function(){};return d?i(o,e({open:null!=s&&s,fullWidth:!0,PaperProps:{style:e(e({},l),null==w?void 0:w.dialogDimension)}},{children:i(t,e({style:{padding:0}},{children:i(n,{data:B,customStyle:w,comingSoonData:S,showComingSoon:v,isNonHighlightedBlur:u,isBlurToggleVisible:b,isBookemon:p,highlightTerms:T,getHighlightContent:f,handleFetchManuscriptElements:x,isBookPreview:c,isDialog:d,onClose:H,defaultElementPages:D})}))})):i("div",e({style:{width:"100%",height:"100%"}},{children:i(n,{data:B,customStyle:w,comingSoonData:S,showComingSoon:v,isNonHighlightedBlur:u,isBlurToggleVisible:b,isBookemon:p,highlightTerms:T,getHighlightContent:f,handleFetchManuscriptElements:x,isBookPreview:c,isDialog:d,onClose:H,defaultElementPages:D,citationType:E,citationSubTitle:P})}))};export{r as comingSoonStyles,s as default,a as defaultIcon};
|
|
2
|
-
//# sourceMappingURL=Bookemon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bookemon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as o,Fragment as e,jsx as n}from"react/jsx-runtime";import{useState as t}from"react";import r from"./Bookemon.js";import l from"../RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js";var a=function(a){var s,m=a.title,g=a.bookemonPayload,c=t(!1),h=c[0],u=c[1];return o(e,{children:[o("div",i({style:{margin:"0px",padding:"0px",color:"#526eff",cursor:"pointer",fontSize:"12px",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},onClick:function(){u(function(i){return!i})}},{children:[m,n(l,{})]})),h&&n("div",i({style:i({maxHeight:"500px",overflowY:"auto"},null===(s=g.customStyle)||void 0===s?void 0:s.inlineContainer)},{children:n(r,{isDialog:!1,isBookPreview:!1,highlightTerms:g.highlightTerms,onClose:function(){u(!1)},isBookemon:!0,isNonHighlightedBlur:g.isNonHighlightedBlur,handleFetchManuscriptElements:g.handleFetchManuscriptElements,getHighlightContent:g.getHighlightContent,data:g.data,showComingSoon:g.showComingSoon,isBlurToggleVisible:g.isBlurToggleVisible,comingSoonData:g.comingSoonData,customStyle:g.customStyle})}))]})};export{a as default};
|
|
2
|
-
//# sourceMappingURL=BookemonCitationLayer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookemonCitationLayer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__awaiter as t,__generator as o}from"tslib";import{jsxs as i,jsx as r}from"react/jsx-runtime";import{useState as n,useRef as l,useEffect as a}from"react";import{PanelGroup as d,Panel as c,PanelResizeHandle as s}from"react-resizable-panels";import h from"@mui/material/Accordion";import u from"@mui/material/AccordionSummary";import g from"@mui/material/Typography";import p from"@mui/material/AccordionDetails";import m from"@mui/material/IconButton";import f from"./BookDetailsCard/BookDetailsCard.js";import v from"./BookOverviewCard/BookOverviewCard.js";import b from"./BookElementsCard/BookElementsCard.js";import y from"./BookCopyrightsCard/BookCopyrightsCard.js";import x from"./BookPeopleAwardsCard/BookPeopleAwardsCard.js";import k from"./BookPreview/BookPreview.js";import C from"@mui/icons-material/ExpandMore";import w from"@mui/icons-material/Close";var B={dialogPaper:{maxWidth:"none",fontFamily:"Inter, sans-serif"},dialogHeight:{overflow:"hidden",height:"90vh",position:"relative"},dialogContent:{padding:0,backgroundColor:"#FFFFFF"},container:{display:"flex",height:"100%",width:"100%",alignItems:"flex-start"},leftPanel:{height:"100%",padding:"24px",overflowY:"auto",backgroundColor:"#F3F4F6",borderRadius:"12px",boxSizing:"border-box"},rightPanel:{width:"40%",backgroundColor:"#FFFFFF",height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-start",overflow:"auto",flex:1,boxSizing:"border-box",overflowY:"auto"},accordion:{borderRadius:"12px",boxShadow:"none",marginBottom:"24px"},accordionSummary:{paddingLeft:"16px",paddingRight:"16px"},accordionDetails:{paddingLeft:"16px",paddingRight:"16px",paddingBottom:"16px"},heading:{fontWeight:"bold",color:"#000000",fontSize:"16px"},blurOverlay:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",backgroundColor:"rgba(255, 255, 255, 0.5)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:10,borderRadius:"12px"},closeButton:{position:"absolute",top:"8px",right:"8px",color:"#111827"},resizeHandle:{width:"10px",backgroundColor:"#e5e7eb",cursor:"col-resize",display:"flex",alignItems:"center",justifyContent:"center"},iconContainer:{display:"flex",flexDirection:"column",gap:"4px"},dot:{width:"4px",height:"4px",backgroundColor:"#6b7280",borderRadius:"50%"},resizeHandleBar:{width:"2px",height:"24px",backgroundColor:"#666",borderRadius:"2px"}},S={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},D=function(t){var o=t.header,n=t.subheader,l=t.icon;return r("div",e({style:S.wrapper},{children:i("div",e({style:S.inner},{children:[r("div",e({style:{marginBottom:"32px"}},{children:r("div",e({style:S.iconWrapper},{children:l}))})),i("div",{children:[r("h1",e({style:S.heading},{children:o})),r("p",e({style:S.text},{children:n}))]})]}))}))},F=function(S){var F=S.showComingSoon,E=S.onClose,P=S.highlightTerms,T=S.data,I=S.customStyle,H=S.comingSoonData,z=S.isNonHighlightedBlur,j=S.isBlurToggleVisible,M=S.isBookemon,A=S.getHighlightContent,L=S.handleFetchManuscriptElements,O=S.isBookPreview,V=S.isDialog,R=S.defaultElementPages,q=S.citationType,N=S.citationSubTitle,W=n({textToHighLight:"",content:""}),_=W[0],Q=W[1],Y=n(1),G=Y[0],J=Y[1],K=n(!1),U=K[0],X=K[1],Z=n("Book Preview"),$=Z[0],ee=Z[1],te=n(70),oe=te[0],ie=te[1],re=l(null),ne=n(!1),le=ne[0],ae=ne[1],de=l(null),ce=l(null),se=l(null),he=l(null),ue=l(null),ge=function(e,i,r,n){return void 0===n&&(n=0),t(void 0,void 0,void 0,function(){var t,l,a,d,c,s,h,u,g,p,m,f,v,b,y,x;return o(this,function(o){switch(o.label){case 0:Q({textToHighLight:"",content:""}),ae(!1),X(!0),ee(i),o.label=1;case 1:return o.trys.push([1,5,6,7]),r&&0!==r.length?[4,null==A?void 0:A([r[n]])]:(X(!1),ie(70),null===(y=re.current)||void 0===y||y.resize(70),[2]);case 2:if(t=o.sent(),l=(null==t?void 0:t.data)||t||[],!Array.isArray(l)||0===l.length)return ae(!0),X(!1),[2];for(d=(a=function(e){return e?e.replace(/<[^>]*>/g," ").replace(/ /g," ").replace(/[\u200B-\u200D\uFEFF]/g,"").replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[.,!?;:'"(){}\[\]—–…\/\\@#&*_|\^~%=+<>`]/g,"").replace(/\s+/g," ").trim().toLowerCase():""})(e),c=null,s=0,h=l;s<h.length;s++)if(f=h[s],a(f.normalizedContent||f.htmlContent).includes(d)){c=f;break}if(!c)for(u=d.split(" ").filter(Boolean);u.length>0;){for(g=u.join(" "),p=0,m=l;p<m.length;p++)if(f=m[p],a(f.normalizedContent||f.htmlContent).includes(g)){c=f;break}if(c)break;u.pop()}return v=l.map(function(e){return e.htmlContent}).join("\n"),Q({textToHighLight:c?c.htmlContent:"",content:v}),ie(50),null===(x=re.current)||void 0===x||x.resize(50),!c&&n+1<r.length?[4,ge(e,i,r,n+1)]:[3,4];case 3:return[2,o.sent()];case 4:return[2];case 5:return b=o.sent(),console.error("Highlight error:",b),ae(!0),[3,7];case 6:return X(!1),[7];case 7:return[2]}})})},pe=n(!1),me=pe[0],fe=pe[1],ve=n(!1),be=ve[0],ye=ve[1],xe=n(!1),ke=xe[0],Ce=xe[1],we=n(!1),Be=we[0],Se=we[1],De=n(!1),Fe=De[0],Ee=De[1],Pe=n(!1),Te=Pe[0],Ie=Pe[1],He=n(!1),ze=He[0],je=He[1],Me=n(!1),Ae=Me[0],Le=Me[1],Oe=n(!1),Ve=Oe[0],Re=Oe[1],qe=n(!1),Ne=qe[0],We=qe[1];a(function(){me&&Ie(!0),be&&je(!0),ke&&Le(!0),Be&&Re(!0),Fe&&We(!0)},[me,be,ke,Be,Fe]);var _e=T.bookAwards,Qe=T.bookCopyRight,Ye=T.bookDetails,Ge=T.bookElements,Je=T.bookOverView,Ke=T.bookCoverImage,Ue=null==Ye?void 0:Ye.isbn,Xe=null!=E?E:function(){},Ze=void 0!==N&&!!N.length&&["notable_quotes","location_details","notable_characters"].includes(N);return i("div",e({style:e(e({},B.dialogContent),V?B.dialogHeight:{})},{children:[!F&&r("div",e({style:B.container},{children:i(d,e({direction:"horizontal"},{children:[r(c,e({order:1,ref:re,defaultSize:oe||70},{children:i("div",e({style:e(e({},null==B?void 0:B.leftPanel),null==I?void 0:I.leftPanel)},{children:[r("div",e({ref:de,style:{marginBottom:"24px"},onMouseDown:function(e){return e.preventDefault()}},{children:i(h,e({expanded:Te,onChange:function(e,t){return Ie(t)},slotProps:{transition:{onEntered:function(){var e=de.current,t=null==e?void 0:e.querySelector('[data-highlight="true"]');t&&e&&!e.dataset.scrolled&&(t.scrollIntoView({behavior:"smooth",block:"center"}),e.dataset.scrolled="true")}}},elevation:0,style:B.accordion},{children:[r(u,e({expandIcon:r(C,{}),style:B.accordionSummary},{children:r(g,e({style:B.heading},{children:"Book Overview"}))})),r(p,e({style:B.accordionDetails},{children:Je&&Object.keys(Je).length>0?r(v,{data:Je,highlightTerms:P,onHighlightMatch:fe,highlightEnabled:!Ze}):r("div",e({style:B.errorState},{children:"No overview data available."}))}))]}))})),r("div",e({ref:ce,style:{marginBottom:"24px"},onMouseDown:function(e){return e.preventDefault()}},{children:i(h,e({elevation:0,style:B.accordion,expanded:ze,onChange:function(e,t){return je(t)},slotProps:{transition:{onEntered:function(){var e=ce.current;if(e){var t=e.querySelector('[data-highlight="true"]');if(t){t.scrollIntoView({behavior:"smooth",block:"center"});var o=!1,i=new MutationObserver(function(t){if(!o&&t.some(function(e){return"childList"===e.type&&e.addedNodes.length>0})){var r=e.querySelector('[data-highlight="true"]');r&&(o=!0,r.scrollIntoView({behavior:"auto",block:"center"}),i.disconnect())}});i.observe(e,{childList:!0,subtree:!0}),setTimeout(function(){return i.disconnect()},2e3)}}}}}},{children:[r(u,e({expandIcon:r(C,{}),style:B.accordionSummary},{children:r(g,e({style:B.heading},{children:"Book Manuscript Elements"}))})),r(p,e({style:B.accordionDetails},{children:r(b,{data:Ge,title:(null==Je?void 0:Je.title)||"",handleFetchManuscriptElements:L,BookIsbn:Ue,updateQuotesToHighLight:ge,highlightTerms:P,onHighlightMatch:ye,defaultPages:R,citationType:q,citationSubTitle:N,highlightEnabled:Ze})}))]}))})),r("div",e({ref:se,style:{marginBottom:"24px"},onMouseDown:function(e){return e.preventDefault()}},{children:i(h,e({expanded:Ae,onChange:function(e,t){return Le(t)},elevation:0,style:B.accordion,slotProps:{transition:{onEntered:function(){var e=se.current,t=null==e?void 0:e.querySelector('[data-highlight="true"]');t&&e&&!e.dataset.scrolled&&(t.scrollIntoView({behavior:"smooth",block:"center"}),e.dataset.scrolled="true")}}}},{children:[r(u,e({expandIcon:r(C,{}),style:B.accordionSummary},{children:r(g,e({style:B.heading},{children:"Book Metadata Details"}))})),r(p,e({style:B.accordionDetails},{children:Ye&&Object.keys(Ye).length>0?r(f,{data:Ye,highlightTerms:P,onHighlightMatch:Ce,highlightEnabled:!Ze,citationType:q,citationSubTitle:N}):r("div",e({style:B.errorState},{children:"No Book Metadata data available."}))}))]}))})),r("div",e({ref:he,style:{marginBottom:"24px"},onMouseDown:function(e){return e.preventDefault()}},{children:i(h,e({elevation:0,style:B.accordion,expanded:Ve,onChange:function(e,t){return Re(t)},slotProps:{transition:{onEntered:function(){var e=he.current,t=null==e?void 0:e.querySelector('[data-highlight="true"]');t&&e&&!e.dataset.scrolled&&(t.scrollIntoView({behavior:"smooth",block:"center"}),e.dataset.scrolled="true")}}}},{children:[r(u,e({expandIcon:r(C,{}),style:B.accordionSummary},{children:r(g,e({style:B.heading},{children:"Copyrights & Marketing"}))})),r(p,e({style:B.accordionDetails},{children:Qe&&Object.keys(Qe).length>0?r(y,{data:Qe,highlightTerms:P,onHighlightMatch:Se,highlightEnabled:!Ze}):r("div",e({style:B.errorState},{children:"No Copyrights & Marketing data available."}))}))]}))})),r("div",e({ref:ue},{children:i(h,e({elevation:0,style:B.accordion,expanded:Ne,onChange:function(e,t){return We(t)},slotProps:{transition:{onEntered:function(){var e=ue.current,t=null==e?void 0:e.querySelector('[data-highlight="true"]');t&&e&&!e.dataset.scrolled&&(t.scrollIntoView({behavior:"smooth",block:"center"}),e.dataset.scrolled="true")}}}},{children:[r(u,e({expandIcon:r(C,{}),style:B.accordionSummary},{children:r(g,e({style:B.heading},{children:"People & Awards"}))})),r(p,e({style:B.accordionDetails},{children:_e&&Object.keys(_e).length>0?r(x,{data:_e,highlightTerms:P,onHighlightMatch:Ee,highlightEnabled:!Ze}):r("div",e({style:B.errorState},{children:"No People & Awards data available."}))}))]}))}))]}))})),O&&r(s,{style:{width:"3px",background:"#D1D5DC",cursor:"col-resize"}}),O&&r(c,e({order:2,minSize:30,maxSize:50,style:{overflow:"visible",position:"relative",transition:"all 300ms ease-in-out",WebkitTransition:"all 300ms ease-in-out"}},{children:r(k,{bookOverView:Je,bookCoverImage:Ke,onClose:Xe,clickableElementCategory:$,quotesToHighLightData:_,updateQuotesToHighLight:ge,citationLoad:U,previewPage:G,setPreviewPage:J,customStyle:I,comingSoonData:H,isNonHighlightedBlur:z,isBlurToggleVisible:j,isBookemon:M,noHtmlContent:le})}))]}))})),F&&i("div",e({style:B.blurOverlay},{children:[r(m,e({style:B.closeButton,onClick:E,size:"large"},{children:r(w,{})})),r(D,{header:null==H?void 0:H.header,subheader:null==H?void 0:H.subheader,icon:null==H?void 0:H.icon})]}))]}))};export{F as BookemonContent};
|
|
2
|
-
//# sourceMappingURL=BookemonContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookemonContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__spreadArray as r}from"tslib";var t=function(t,n){if(!t)return"";if(!n||0===n.length)return t;for(var e=t,o=0,a=r([],n,!0).map(function(r){return r.trim()}).filter(Boolean).sort(function(r,t){return t.length-r.length});o<a.length;o++){var i=a[o].replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=new RegExp("(".concat(i,")"),"giu");e=e.replace(u,'<span data-highlight="true" style="background-color:#ffffb8;border-radius:2px;">$1</span>')}return e},n=function(r,n){return r?n&&0!==n.length?t(r,n):r:""};export{t as highlightTermsFunc,n as processTextWithHighlight};
|
|
2
|
-
//# sourceMappingURL=highlight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__spreadArray as t,__assign as e}from"tslib";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{useRef as o,useState as i,useMemo as l,useEffect as a}from"react";import{ChevronLeft as d,ChevronRight as c}from"lucide-react";var u=function(t){return null==t?"-":"object"==typeof t?JSON.stringify(t):String(t)},s={container:{width:"100%",height:"100%",display:"flex",flexDirection:"column",backgroundColor:"white"},header:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px",borderBottom:"1px solid #f3f4f6",backgroundColor:"white"},tableTitle:{fontSize:"12px",fontWeight:600,color:"#374151"},navContainer:{display:"flex",alignItems:"center",gap:"6px"},navButton:{width:"24px",height:"24px",borderRadius:"50%",border:"1px solid #d1d5db",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s",cursor:"pointer",backgroundColor:"white",color:"#6b7280"},navButtonDisabled:{borderColor:"#e5e7eb",color:"#d1d5db",cursor:"not-allowed"},navButtonHover:{backgroundColor:"#f9fafb"},navCounter:{fontSize:"12px",fontWeight:500,color:"#6b7280",padding:"0 2px",fontVariantNumeric:"tabular-nums"},scrollContainer:{flex:1,overflow:"auto",position:"relative"},table:{minWidth:"100%",fontSize:"12px",textAlign:"left",borderCollapse:"collapse"},thead:{backgroundColor:"#f9fafb",position:"sticky",top:0,zIndex:10},th:{padding:"12px 16px",fontWeight:600,color:"#374151",borderRight:"1px solid #e5e7eb",whiteSpace:"nowrap"},thHighlighted:{backgroundColor:"#fef3c7"},tbody:{borderTop:"1px solid #f3f4f6"},tr:{borderBottom:"1px solid #f3f4f6"},trHover:{backgroundColor:"rgba(249, 250, 251, 0.5)"},td:{padding:"12px 16px",whiteSpace:"normal",wordBreak:"break-word",color:"#4b5563",borderRight:"1px solid #e5e7eb",verticalAlign:"top"},tdHighlighted:{backgroundColor:"#fffbeb"},footer:{padding:"8px",borderTop:"1px solid #f3f4f6",fontSize:"12px",color:"#9ca3af",fontWeight:500,textAlign:"right"},emptyState:{padding:"16px",textAlign:"center",color:"#6b7280",fontSize:"12px",fontStyle:"italic"}},f=function(f){var h=f.rows,p=f.columns,b=void 0===p?[]:p,g=o(null),y=i(0),v=y[0],x=y[1],m=i(null),C=m[0],w=m[1],k=h&&Object.keys(h).length>0,S=k?Object.keys(h):[],B=k?Math.max.apply(Math,t(t([],Object.values(h).map(function(t){return Array.isArray(t)?t.length:1}),!1),[0],!1)):0,j=l(function(){return S.map(function(t,e){return b.includes(t)?e:-1}).filter(function(t){return-1!==t})},[S,b]),M=j.length>1,A=0===v,T=v===j.length-1;return a(function(){if(k&&j.length>0&&g.current){var t=g.current,e=j[v],n=t.querySelectorAll("thead th")[e];if(n){var r=n.offsetLeft,o=n.offsetWidth,i=r-t.clientWidth/2+o/2;t.scrollTo({left:Math.max(0,i),behavior:"smooth"})}}},[v,k,j]),k?r("div",e({style:s.container},{children:[r("div",e({style:s.header},{children:[n("div",e({style:s.tableTitle},{children:"Table: invoice_inquiry_data"})),M&&r("div",e({style:s.navContainer},{children:[n("button",e({onClick:function(){return x(function(t){return Math.max(0,t-1)})},disabled:A,style:e(e({},s.navButton),A?s.navButtonDisabled:{}),onMouseEnter:function(t){return!A&&Object.assign(t.currentTarget.style,s.navButtonHover)},onMouseLeave:function(t){return Object.assign(t.currentTarget.style,{backgroundColor:"white"})}},{children:n(d,{style:{width:"14px",height:"14px"}})})),r("div",e({style:s.navCounter},{children:[v+1,"/",j.length]})),n("button",e({onClick:function(){return x(function(t){return Math.min(j.length-1,t+1)})},disabled:T,style:e(e({},s.navButton),T?s.navButtonDisabled:{}),onMouseEnter:function(t){return!T&&Object.assign(t.currentTarget.style,s.navButtonHover)},onMouseLeave:function(t){return Object.assign(t.currentTarget.style,{backgroundColor:"white"})}},{children:n(c,{style:{width:"14px",height:"14px"}})}))]}))]})),n("div",e({ref:g,style:s.scrollContainer},{children:r("table",e({style:s.table},{children:[n("thead",e({style:s.thead},{children:n("tr",{children:S.map(function(t){var r=b.includes(t);return n("th",e({style:e(e({},s.th),r?s.thHighlighted:{})},{children:t}),t)})})})),n("tbody",e({style:s.tbody},{children:Array.from({length:B}).map(function(t,r){return n("tr",e({style:e(e({},s.tr),C===r?s.trHover:{}),onMouseEnter:function(){return w(r)},onMouseLeave:function(){return w(null)}},{children:S.map(function(t){var o=Array.isArray(h[t])?h[t][r]:0===r?h[t]:"",i=b.includes(t);return n("td",e({style:e(e({},s.td),i?s.tdHighlighted:{})},{children:u(o)}),"".concat(t,"-").concat(r))})}),r)})}))]}))})),r("div",e({style:s.footer},{children:["Showing ",B," rows"]}))]})):n("div",e({style:s.emptyState},{children:"No data available."}))};export{f as BigQueryTable};
|
|
2
|
-
//# sourceMappingURL=BigQueryTable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BigQueryTable.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as o,__spreadArray as n}from"tslib";import{jsxs as t,Fragment as i,jsx as e}from"react/jsx-runtime";import{useState as r,useMemo as a}from"react";import l from"./InternalChatCitationRenderer.js";import{Modal as d}from"./components/wrappers/Modal.js";import s from"./components/IconContainer.js";import{Maximize2 as c,X as u}from"lucide-react";import C from"@mui/icons-material/SwapHoriz";function v(v){var h,p,m,y,f,b,k,w=r(!1),x=w[0],B=w[1],S=r(),g=S[0],E=S[1];function A(o){B(!0),E(o)}function R(){B(!1),E(void 0)}function z(o){E(o)}var D=a(function(){var o;return!!(null===(o=v.ruleBookContainer)||void 0===o?void 0:o.data)},[null===(h=v.ruleBookContainer)||void 0===h?void 0:h.data]),j=a(function(){var o;return!!((null===(o=v.tableComponent)||void 0===o?void 0:o.rows)&&Object.keys(v.tableComponent.rows).length>0)},[v.tableComponent]);return console.log("tableComponent data:",v.tableComponent),console.log("isTableDataPresent:",j),console.log("rootContainer",v.rootContainer),console.log("chatCitation",v.chatContainer),t(i,{children:[e(l,o({},v,{showRootContainer:v.showRootContainer,tableComponent:v.tableComponent,additionalData:o(o({},v.additionalData),{isExpanded:!1}),isRenderedCustomComponent:v.isRenderedCustomComponent||!1,closePreview:v.closePreview},v.chatContainer&&{chatContainer:o(o({},v.chatContainer),{show:!0,secondaryActions:function(t){var i,r,a,l,d;return n(n(n([],t,!0),null!==(r=null===(i=v.chatContainer)||void 0===i?void 0:i.additionalSecondaryActions)&&void 0!==r?r:[],!0),[(null===(d=null===(l=null===(a=v.chatContainer)||void 0===a?void 0:a.detailedTab)||void 0===l?void 0:l.chip)||void 0===d?void 0:d.isActive)&&e("span",{style:{width:"1px",height:"100%",border:"1px solid #E2E8F0"}}),e(s,o({onClick:function(){return A("chat")},style:{cursor:"pointer"}},{children:e(c,{size:16,color:"#64748B"})}))],!1)}})},{ruleBookContainer:D?o(o({},v.ruleBookContainer),{show:!0,secondaryActions:function(t){var i,r;return n(n(n([],t,!0),null!==(r=null===(i=v.ruleBookContainer)||void 0===i?void 0:i.additionalSecondaryActions)&&void 0!==r?r:[],!0),[e("span",{style:{width:"1px",border:"1px solid #E2E8F0"}}),e(s,o({onClick:function(){return A("rulebook")},style:{cursor:"pointer"}},{children:e(c,{size:16,color:"#64748B"})}))],!1)}}):void 0})),e(d,o({isOpen:x,onClose:R,containerStyle:v.modalContainerStyle},{children:e(l,o({},v,{showRootContainer:v.showRootContainer,tableComponent:v.tableComponent,additionalData:o(o({},v.additionalData),{isExpanded:!0}),rootContainer:o(o({},v.rootContainer),{secondaryActions:function(t){return n(n([],t,!0),[e(s,o({onClick:R,style:{cursor:"pointer"}},{children:e(u,{size:20,color:"#64748B"})}))],!1)}})},v.chatContainer&&{chatContainer:o(o({},v.chatContainer),{show:void 0===g?void 0:"chat"===g,secondaryActions:function(t){var i,r,a;return n(n([],t,!0),[(null===(a=null===(r=null===(i=v.chatContainer)||void 0===i?void 0:i.detailedTab)||void 0===r?void 0:r.chip)||void 0===a?void 0:a.isActive)&&(D||j)&&e("span",{style:{width:"1px",height:"100%",border:"1px solid #E2E8F0"}}),(D||j)&&e(s,o({style:{cursor:"pointer"},onClick:function(){return z("rulebook")}},{children:e(C,{style:{color:"gray",fontSize:22}})})),!v.showRootContainer&&e(s,o({onClick:R,style:{cursor:"pointer"}},{children:e(u,{size:20,color:"#64748B"})}))],!1)},slotStyles:o(o({},null===(p=v.chatContainer)||void 0===p?void 0:p.slotStyles),{chatDataContainer:o(o({},null===(y=null===(m=v.chatContainer)||void 0===m?void 0:m.slotStyles)||void 0===y?void 0:y.chatDataContainer),{maxHeight:void 0})})})},{ruleBookContainer:D?o(o({},v.ruleBookContainer),{show:void 0===g?void 0:"rulebook"===g,secondaryActions:function(t){return n(n([],t,!0),[e("span",{style:{width:"1px",border:"1px solid #E2E8F0"}}),e(s,o({style:{cursor:"pointer"},onClick:function(){return z("chat")}},{children:e(C,{style:{color:"gray",fontSize:22}})})),!v.showRootContainer&&e(s,o({onClick:R,style:{cursor:"pointer"}},{children:e(u,{size:20,color:"#64748B"})}))],!1)},slotStyles:o(o({},null===(f=v.ruleBookContainer)||void 0===f?void 0:f.slotStyles),{dataContainer:o(o({},null===(k=null===(b=v.ruleBookContainer)||void 0===b?void 0:b.slotStyles)||void 0===k?void 0:k.dataContainer),{maxHeight:void 0})})}):void 0}))}))]})}export{v as default};
|
|
2
|
-
//# sourceMappingURL=ChatCitationRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatCitationRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as o}from"tslib";import{jsxs as l,jsx as i}from"react/jsx-runtime";import e from"./components/ChatCitation.js";import{getColorCode as n}from"./utils/helpers.js";import t from"./components/Chip.js";import r from"./assets/message-chat-square.svg.js";import"@mui/icons-material/KeyboardArrowDown";import"@mui/icons-material/KeyboardArrowUp";import"@mui/icons-material/Clear";import d from"./components/InViewNavigation.js";import a from"./components/DetailedView.js";import u from"./components/SummarizedView.js";import v from"./components/RuleBook.js";import{useState as s,useRef as c,useMemo as h,useEffect as f,useCallback as m}from"react";import{defaultRenderer as p}from"./constants/renderer.js";import b from"./components/IconContainer.js";import{Table as g}from"lucide-react";import{BigQueryTable as y}from"./BigQueryTable.js";import x from"@mui/icons-material/CloseOutlined";function w(w){var C,k,S,A,D,T,I,R,V,F,j,z,P,B,E,H,q,N,W,Y,K,O,Q,U,G,J,L,M,X,Z,$,_,oo,lo,io,eo,no,to,ro,ao,uo,vo,so,co,ho,fo=w.rootContainer,mo=w.chatContainer,po=void 0===mo?{chatData:[]}:mo,bo=w.ruleBookContainer,go=w.renderer,yo=w.additionalData,xo=w.tableComponent,wo=w.closePreview,Co=w.isRenderedCustomComponent,ko=void 0!==Co&&Co,So=w.showRootContainer,Ao=void 0===So||So,Do=w.reversePanels,To=void 0!==Do&&Do,Io=s(0),Ro=Io[0],Vo=Io[1],Fo=s(0),jo=Fo[0],zo=Fo[1],Po=s(0),Bo=Po[0],Eo=Po[1],Ho=s(0),qo=Ho[0],No=Ho[1],Wo=c(null),Yo=c(null),Ko=h(function(){return o(o({},p),go)},[go]),Oo=h(function(){return!!((null==xo?void 0:xo.rows)&&Object.keys(xo.rows).length>0)},[xo]),Qo=h(function(){var o;return null!==(o=null==yo?void 0:yo.RuleBookDetailedViewVerticallyStacked)&&void 0!==o&&o},[null==yo?void 0:yo.RuleBookDetailedViewVerticallyStacked]);f(function(){var o,l;if((null==bo?void 0:bo.show)&&Wo.current){var i=null===(o=Wo.current)||void 0===o?void 0:o.querySelectorAll(".rule-book-highlight");if(Vo((null==i?void 0:i.length)||0),zo(0),i&&i.length>0)(e=i[0]).style.backgroundColor="#ffff5c",e.scrollIntoView({behavior:"smooth",block:"center"})}if((null==po?void 0:po.show)&&(null==Yo?void 0:Yo.current)){var e,n=null===(l=Yo.current)||void 0===l?void 0:l.querySelectorAll(".user-chat-highlight");if(Eo((null==n?void 0:n.length)||0),No(0),n&&n.length>0)(e=n[0]).style.backgroundColor="#ffff5c",e.scrollIntoView({behavior:"smooth",block:"center"})}},[null==po?void 0:po.show,null==bo?void 0:bo.show,null==bo?void 0:bo.data,null==po?void 0:po.chatData]);var Uo=m(function(){var o;if(jo+1<Ro){var l=null===(o=Wo.current)||void 0===o?void 0:o.querySelectorAll(".rule-book-highlight");if(!l)return;l[jo].style.backgroundColor="#ffffb8";var i=jo+1;zo(i);var e=l[i];e.style.backgroundColor="#ffff5c",null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}},[jo,Ro]),Go=m(function(){var o;if(!(jo-1<0)){var l=null===(o=Wo.current)||void 0===o?void 0:o.querySelectorAll(".rule-book-highlight");if(l){l[jo].style.backgroundColor="#ffffb8";var i=jo-1,e=l[i];e.style.backgroundColor="#ffff5c",zo(i),null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}}},[jo]),Jo=m(function(){var o;if(qo+1<Bo){var l=null===(o=Yo.current)||void 0===o?void 0:o.querySelectorAll(".user-chat-highlight");if(!l)return;l[qo].style.backgroundColor="#ffffb8";var i=qo+1,e=l[i];e.style.backgroundColor="#ffff5c",No(i),null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}},[qo,Bo]),Lo=m(function(){var o;if(!(qo-1<0)){var l=null===(o=Yo.current)||void 0===o?void 0:o.querySelectorAll(".user-chat-highlight");if(l){l[qo].style.backgroundColor="#ffffb8";var i=qo-1,e=l[i];e.style.backgroundColor="#ffff5c",No(i),null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}}},[qo]),Mo=n((null==fo?void 0:fo.relevanceScore)||0),Xo=h(function(){var e,n=l("span",o({style:o({display:"flex",border:"1px solid",alignItems:"center",gap:"4px",borderRadius:"6px",padding:"2px 8px",fontSize:"12px",borderColor:Mo.border,backgroundColor:Mo.background,color:Mo.text},null===(e=null==fo?void 0:fo.slotStyles)||void 0===e?void 0:e.relevanceScore)},{children:[(null==fo?void 0:fo.relevanceTitle)||"Decision Strength",":"," ",(null==fo?void 0:fo.relevanceScore)||0,"%"]}),"relevance-score"),t=i("span",o({style:{display:"flex",alignItems:"center",gap:"4px",borderRadius:"6px",padding:"2px 8px",fontSize:"12px",backgroundColor:"white",color:"black",cursor:"pointer"},onClick:wo},{children:i(x,{})}),"close-preview");return ko&&!(null==yo?void 0:yo.isExpanded)?[n,t]:[n]},[ko,Mo.background,Mo.border,Mo.text,null==fo?void 0:fo.relevanceScore,null===(C=null==fo?void 0:fo.slotStyles)||void 0===C?void 0:C.relevanceScore,null==fo?void 0:fo.relevanceTitle]),Zo=h(function(){return[Ro>0&&i(d,{currentItemNumber:jo+1,totalItems:Ro,disableNext:jo+1>=Ro,onNext:Uo,onPrevious:Go,disablePrevious:jo<=0},"rulebook-nav")]},[jo,Uo,Go,Ro]),$o=h(function(){return(null==yo?void 0:yo.RuleBookContainerHeight)?yo.RuleBookContainerHeight:!(!Qo||(null==yo?void 0:yo.isExpanded))&&"600px"},[null==yo?void 0:yo.RuleBookContainerHeight,Qo]),_o=h(function(){var o,l;return[(null===(l=null===(o=null==po?void 0:po.detailedTab)||void 0===o?void 0:o.chip)||void 0===l?void 0:l.isActive)&&Bo>0&&i(d,{currentItemNumber:qo+1,totalItems:Bo,onNext:Jo,onPrevious:Lo,disableNext:qo+1>=Bo,disablePrevious:qo<=0},"chat-nav")]},[null===(S=null===(k=null==po?void 0:po.detailedTab)||void 0===k?void 0:k.chip)||void 0===S?void 0:S.isActive,qo,Jo,Lo,Bo]),ol=l("div",o({style:o({display:"flex",flexDirection:To?Qo?"column-reverse":"row-reverse":Qo?"column":"row",gap:[(null==po?void 0:po.chatData)&&po.chatData.length>0&&(po.show||void 0===po.show),(null==bo?void 0:bo.data)&&(bo.show||void 0===bo.show),Oo].filter(Boolean).length>1?"12px":"0",height:$o||"100%",minHeight:0},null===(A=null==fo?void 0:fo.slotStyles)||void 0===A?void 0:A.container)},{children:[Oo&&i("span",o({style:o({flex:"1 1 0%",minWidth:0},null===(D=null==po?void 0:po.slotStyles)||void 0===D?void 0:D.outerContainer)},{children:i(e,o({title:"Invoice Data Preview",icon:i(b,{children:i(g,{size:16})}),slotStyles:{title:{color:"#475569",fontWeight:500}},secondaryActions:[]},{children:i("div",o({style:{height:"100%",maxHeight:(null==yo?void 0:yo.isExpanded)?"none":"275px",border:"2px solid #E2E8F0",borderRadius:"8px",display:"flex",flexDirection:"column",backgroundColor:"#FFFFFF",position:"relative",overflow:"hidden"}},{children:(null==xo?void 0:xo.rows)&&i(y,{rows:xo.rows,columns:xo.columns||[]})}))}))})),(null==bo?void 0:bo.data)&&(bo.show||void 0===bo.show)&&i("span",o({style:o({flex:"1 1 0%",minWidth:0},null===(T=null==bo?void 0:bo.slotStyles)||void 0===T?void 0:T.outerContainer)},{children:i(e,o({title:null!==(I=null==bo?void 0:bo.title)&&void 0!==I?I:"Rule book",icon:null==bo?void 0:bo.ruleBookIcon,slotStyles:{title:o({color:"#475569",fontWeight:500},null===(R=null==bo?void 0:bo.slotStyles)||void 0===R?void 0:R.title)},secondaryActions:(null==bo?void 0:bo.secondaryActions)?bo.secondaryActions(Zo):Zo},{children:i("div",o({style:o({height:"100%",maxHeight:"275px",minHeight:0,border:"2px solid #E2E8F0",borderRadius:"8px",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"#F8FAFC",position:"relative",overflowY:"auto"},null===(V=null==bo?void 0:bo.slotStyles)||void 0===V?void 0:V.dataContainer)},{children:i("div",o({style:{padding:"12px",height:"100%",overflowY:"auto"},ref:Wo},{children:i(v,{data:bo.data,renderers:null!==(F=null==bo?void 0:bo.renderer)&&void 0!==F?F:Ko})}))}))}))})),(null==po?void 0:po.chatData)&&po.chatData.length>0&&(po.show||void 0===po.show)&&i("span",o({style:o({flex:"1 1 0%",minWidth:0},null===(j=null==po?void 0:po.slotStyles)||void 0===j?void 0:j.outerContainer)},{children:i(e,o({title:null!==(z=null==po?void 0:po.title)&&void 0!==z?z:"Chat",icon:null==po?void 0:po.chatIcon,containerStyles:null===(P=null==po?void 0:po.slotStyles)||void 0===P?void 0:P.container,slotStyles:{title:o({color:"#475569",fontWeight:500},null===(B=null==po?void 0:po.slotStyles)||void 0===B?void 0:B.title)},primaryActions:[((null===(H=null===(E=null==po?void 0:po.summarizedTab)||void 0===E?void 0:E.chip)||void 0===H?void 0:H.show)||void 0===(null===(N=null===(q=null==po?void 0:po.summarizedTab)||void 0===q?void 0:q.chip)||void 0===N?void 0:N.show))&&i(t,o({label:"Summarized"},null===(W=null==po?void 0:po.summarizedTab)||void 0===W?void 0:W.chip)),i(t,o({label:"Detailed"},null===(Y=null==po?void 0:po.detailedTab)||void 0===Y?void 0:Y.chip))],secondaryActions:po.secondaryActions?null==po?void 0:po.secondaryActions(_o):_o},{children:l("div",o({style:o({height:"100%",maxHeight:"275px",border:"2px solid #E2E8F0",borderRadius:"8px",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"#F8FAFC",position:"relative",overflowY:"auto"},null===(K=null==po?void 0:po.slotStyles)||void 0===K?void 0:K.chatDataContainer)},{children:[(null===(Q=null===(O=null==po?void 0:po.detailedTab)||void 0===O?void 0:O.chip)||void 0===Q?void 0:Q.isActive)&&i("div",o({ref:Yo,style:{position:(null==yo?void 0:yo.isExpanded)?"absolute":"relative",inset:0,padding:"12px",overflowY:"auto"}},{children:i(a,{chatData:null!==(U=po.chatData)&&void 0!==U?U:[],assistantChatProps:o(o({},null===(J=null===(G=null==po?void 0:po.detailedTab)||void 0===G?void 0:G.view)||void 0===J?void 0:J.assistantChatProps),{renderers:null!==(X=null===(M=null===(L=null==po?void 0:po.detailedTab)||void 0===L?void 0:L.detailedViewRenderer)||void 0===M?void 0:M.assistantText)&&void 0!==X?X:Ko}),userChatItemProps:o(o({},null===($=null===(Z=null==po?void 0:po.detailedTab)||void 0===Z?void 0:Z.view)||void 0===$?void 0:$.userChatItemProps),{renderers:null!==(lo=null===(oo=null===(_=null==po?void 0:po.detailedTab)||void 0===_?void 0:_.detailedViewRenderer)||void 0===oo?void 0:oo.userText)&&void 0!==lo?lo:Ko})})})),(null===(eo=null===(io=null==po?void 0:po.summarizedTab)||void 0===io?void 0:io.chip)||void 0===eo?void 0:eo.show)&&(null===(to=null===(no=null==po?void 0:po.summarizedTab)||void 0===no?void 0:no.chip)||void 0===to?void 0:to.isActive)&&i(u,o({chatData:null!==(ro=po.chatData)&&void 0!==ro?ro:[]},null===(ao=null==po?void 0:po.summarizedTab)||void 0===ao?void 0:ao.view,{renderer:null!==(vo=null===(uo=null==po?void 0:po.summarizedTab)||void 0===uo?void 0:uo.summarizedViewRenderer)&&void 0!==vo?vo:Ko}))]}))}))}))]}));return Ao?i(e,o({title:null==fo?void 0:fo.title,slotStyles:{title:null===(so=null==fo?void 0:fo.slotStyles)||void 0===so?void 0:so.title},containerStyles:null===(co=null==fo?void 0:fo.slotStyles)||void 0===co?void 0:co.container,icon:null!==(ho=null==fo?void 0:fo.icon)&&void 0!==ho?ho:i(b,{children:i("img",{src:r,alt:"chat icon",style:{width:16,height:16}})}),secondaryActions:(null==fo?void 0:fo.secondaryActions)?fo.secondaryActions(Xo):Xo},{children:ol})):ol}export{w as default};
|
|
2
|
-
//# sourceMappingURL=InternalChatCitationRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InternalChatCitationRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"react";var t="data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2221%22%20viewBox%3D%220%200%2021%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6228%206.98031C12.526%206.50656%2011.849%206.50656%2011.7522%206.98031C11.1582%209.88678%208.88678%2012.1582%205.98031%2012.7522C5.50656%2012.849%205.50656%2013.526%205.98031%2013.6228C8.88678%2014.2168%2011.1582%2016.4882%2011.7522%2019.3947C11.849%2019.8684%2012.526%2019.8684%2012.6228%2019.3947C13.2168%2016.4882%2015.4882%2014.2168%2018.3947%2013.6228C18.8684%2013.526%2018.8684%2012.849%2018.3947%2012.7522C15.4882%2012.1582%2013.2168%209.88678%2012.6228%206.98031Z%22%20fill%3D%22url%28%23paint0_linear_22023_3754%29%22%2F%3E%3Cpath%20d%3D%22M4.56003%202.2735C4.55363%202.24217%204.50887%202.24217%204.50247%202.2735C4.17013%203.89946%202.89946%205.17013%201.27349%205.50247C1.24217%205.50887%201.24217%205.55363%201.27349%205.56003C2.89946%205.89237%204.17013%207.16304%204.50247%208.789C4.50887%208.82033%204.55363%208.82033%204.56003%208.789C4.89237%207.16304%206.16304%205.89237%207.789%205.56003C7.82033%205.55363%207.82033%205.50887%207.789%205.50247C6.16304%205.17013%204.89237%203.89946%204.56003%202.2735Z%22%20fill%3D%22url%28%23paint1_linear_22023_3754%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_22023_3754%22%20x1%3D%2210.013%22%20y1%3D%22-4.76184%22%20x2%3D%2226.194%22%20y2%3D%2210.9087%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2333D2FF%22%2F%3E%3Cstop%20offset%3D%220.537474%22%20stop-color%3D%22%233D68DE%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239845E8%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_22023_3754%22%20x1%3D%2210.013%22%20y1%3D%22-4.76184%22%20x2%3D%2226.194%22%20y2%3D%2210.9087%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2333D2FF%22%2F%3E%3Cstop%20offset%3D%220.537474%22%20stop-color%3D%22%233D68DE%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239845E8%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";export{t as default};
|
|
2
|
-
//# sourceMappingURL=cw_chat.svg.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cw_chat.svg.js","sources":["../../../../src/features/ChatCitation/assets/cw_chat.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2221%22%20viewBox%3D%220%200%2021%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6228%206.98031C12.526%206.50656%2011.849%206.50656%2011.7522%206.98031C11.1582%209.88678%208.88678%2012.1582%205.98031%2012.7522C5.50656%2012.849%205.50656%2013.526%205.98031%2013.6228C8.88678%2014.2168%2011.1582%2016.4882%2011.7522%2019.3947C11.849%2019.8684%2012.526%2019.8684%2012.6228%2019.3947C13.2168%2016.4882%2015.4882%2014.2168%2018.3947%2013.6228C18.8684%2013.526%2018.8684%2012.849%2018.3947%2012.7522C15.4882%2012.1582%2013.2168%209.88678%2012.6228%206.98031Z%22%20fill%3D%22url%28%23paint0_linear_22023_3754%29%22%2F%3E%3Cpath%20d%3D%22M4.56003%202.2735C4.55363%202.24217%204.50887%202.24217%204.50247%202.2735C4.17013%203.89946%202.89946%205.17013%201.27349%205.50247C1.24217%205.50887%201.24217%205.55363%201.27349%205.56003C2.89946%205.89237%204.17013%207.16304%204.50247%208.789C4.50887%208.82033%204.55363%208.82033%204.56003%208.789C4.89237%207.16304%206.16304%205.89237%207.789%205.56003C7.82033%205.55363%207.82033%205.50887%207.789%205.50247C6.16304%205.17013%204.89237%203.89946%204.56003%202.2735Z%22%20fill%3D%22url%28%23paint1_linear_22023_3754%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_22023_3754%22%20x1%3D%2210.013%22%20y1%3D%22-4.76184%22%20x2%3D%2226.194%22%20y2%3D%2210.9087%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2333D2FF%22%2F%3E%3Cstop%20offset%3D%220.537474%22%20stop-color%3D%22%233D68DE%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239845E8%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_22023_3754%22%20x1%3D%2210.013%22%20y1%3D%22-4.76184%22%20x2%3D%2226.194%22%20y2%3D%2210.9087%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2333D2FF%22%2F%3E%3Cstop%20offset%3D%220.537474%22%20stop-color%3D%22%233D68DE%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239845E8%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E\""],"names":["CWChatIcon"],"mappings":"cA6CA,IAAAA,EAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"react";var C="data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_22708_25%29%22%3E%3Cpath%20d%3D%22M6.66732%2010.0026L4.61715%2012.0784C4.33117%2012.3679%204.18819%2012.5127%204.06529%2012.5229C3.95866%2012.5318%203.85426%2012.4889%203.78462%2012.4077C3.70435%2012.3141%203.70435%2012.1106%203.70435%2011.7036V10.6637C3.70435%2010.2986%203.40537%2010.0344%203.04412%209.98149C2.16981%209.85342%201.48317%209.16678%201.3551%208.29247C1.33398%208.14831%201.33398%207.97628%201.33398%207.63223V4.53594C1.33398%203.41583%201.33398%202.85578%201.55197%202.42796C1.74372%202.05163%202.04968%201.74567%202.426%201.55392C2.85383%201.33594%203.41388%201.33594%204.53398%201.33594H9.46732C10.5874%201.33594%2011.1475%201.33594%2011.5753%201.55392C11.9516%201.74567%2012.2576%202.05163%2012.4493%202.42796C12.6673%202.85578%2012.6673%203.41583%2012.6673%204.53594V7.33594M12.6673%2014.6693L11.2164%2013.6605C11.0124%2013.5187%2010.9104%2013.4478%2010.7995%2013.3976C10.7009%2013.3529%2010.5974%2013.3205%2010.491%2013.3009C10.3712%2013.2788%2010.247%2013.2788%209.9986%2013.2788H8.80065C8.05391%2013.2788%207.68055%2013.2788%207.39533%2013.1335C7.14445%2013.0056%206.94047%2012.8017%206.81264%2012.5508C6.66732%2012.2656%206.66732%2011.8922%206.66732%2011.1455V9.46927C6.66732%208.72253%206.66732%208.34917%206.81264%208.06395C6.94047%207.81307%207.14445%207.60909%207.39533%207.48126C7.68055%207.33594%208.05391%207.33594%208.80065%207.33594H12.534C13.2807%207.33594%2013.6541%207.33594%2013.9393%207.48126C14.1902%207.60909%2014.3942%207.81307%2014.522%208.06395C14.6673%208.34917%2014.6673%208.72253%2014.6673%209.46927V11.2788C14.6673%2011.9001%2014.6673%2012.2107%2014.5658%2012.4557C14.4305%2012.7824%2014.1709%2013.042%2013.8442%2013.1773C13.5992%2013.2788%2013.2886%2013.2788%2012.6673%2013.2788V14.6693Z%22%20stroke%3D%22%235928ED%22%20stroke-width%3D%221.33333%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_22708_25%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";export{C as default};
|
|
2
|
-
//# sourceMappingURL=message-chat-square.svg.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message-chat-square.svg.js","sources":["../../../../src/features/ChatCitation/assets/message-chat-square.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_22708_25%29%22%3E%3Cpath%20d%3D%22M6.66732%2010.0026L4.61715%2012.0784C4.33117%2012.3679%204.18819%2012.5127%204.06529%2012.5229C3.95866%2012.5318%203.85426%2012.4889%203.78462%2012.4077C3.70435%2012.3141%203.70435%2012.1106%203.70435%2011.7036V10.6637C3.70435%2010.2986%203.40537%2010.0344%203.04412%209.98149C2.16981%209.85342%201.48317%209.16678%201.3551%208.29247C1.33398%208.14831%201.33398%207.97628%201.33398%207.63223V4.53594C1.33398%203.41583%201.33398%202.85578%201.55197%202.42796C1.74372%202.05163%202.04968%201.74567%202.426%201.55392C2.85383%201.33594%203.41388%201.33594%204.53398%201.33594H9.46732C10.5874%201.33594%2011.1475%201.33594%2011.5753%201.55392C11.9516%201.74567%2012.2576%202.05163%2012.4493%202.42796C12.6673%202.85578%2012.6673%203.41583%2012.6673%204.53594V7.33594M12.6673%2014.6693L11.2164%2013.6605C11.0124%2013.5187%2010.9104%2013.4478%2010.7995%2013.3976C10.7009%2013.3529%2010.5974%2013.3205%2010.491%2013.3009C10.3712%2013.2788%2010.247%2013.2788%209.9986%2013.2788H8.80065C8.05391%2013.2788%207.68055%2013.2788%207.39533%2013.1335C7.14445%2013.0056%206.94047%2012.8017%206.81264%2012.5508C6.66732%2012.2656%206.66732%2011.8922%206.66732%2011.1455V9.46927C6.66732%208.72253%206.66732%208.34917%206.81264%208.06395C6.94047%207.81307%207.14445%207.60909%207.39533%207.48126C7.68055%207.33594%208.05391%207.33594%208.80065%207.33594H12.534C13.2807%207.33594%2013.6541%207.33594%2013.9393%207.48126C14.1902%207.60909%2014.3942%207.81307%2014.522%208.06395C14.6673%208.34917%2014.6673%208.72253%2014.6673%209.46927V11.2788C14.6673%2011.9001%2014.6673%2012.2107%2014.5658%2012.4557C14.4305%2012.7824%2014.1709%2013.042%2013.8442%2013.1773C13.5992%2013.2788%2013.2886%2013.2788%2012.6673%2013.2788V14.6693Z%22%20stroke%3D%22%235928ED%22%20stroke-width%3D%221.33333%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_22708_25%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E\""],"names":["ChatIcon"],"mappings":"cAsBA,IAAAA,EAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as t,jsxs as r}from"react/jsx-runtime";import o from"../assets/cw_chat.svg.js";import"@mui/icons-material/KeyboardArrowDown";import"@mui/icons-material/KeyboardArrowUp";import"@mui/icons-material/Clear";import{highlightContent as i}from"../utils/helpers.js";import a from"./MarkdownRenderer.js";var l={rootRow:{display:"flex",gap:4},avatar:{width:24,height:24,flexShrink:0},contentColumn:{display:"flex",flexDirection:"column",gap:4},messageText:{fontSize:14,fontWeight:400},footerText:{fontSize:10,fontWeight:400,color:"#94A3B8"}};function s(s){var n=s.chatDetails,m=s.image,h=s.timestampFormat,d=void 0===h?"h:mm A | D MMM YYYY":h,c=s.maxWidthOfTextInPercent,f=void 0===c?60:c;s.slotClassname;var g=s.slotProps,p=s.slotStyles,u=s.renderers,x=Array.isArray(n.highlighted_text)?n.highlighted_text:[n.highlighted_text],v=i(n.message,x,"user-chat-highlight");return t("div",e({style:{maxWidth:"".concat(f,"%")}},{children:r("div",e({style:l.rootRow},{children:[null!=m?m:t("span",e({style:l.avatar},{children:t("img",{src:o,alt:"CW Chat"})})),r("div",e({style:l.contentColumn},{children:[t("p",e({style:e(e({},l.messageText),null==p?void 0:p.message)},null==g?void 0:g.message,{children:t(a,{content:v,renderers:u})})),r("p",e({style:e(e({},l.footerText),null==p?void 0:p.footerText)},null==g?void 0:g.footerText,{children:[n.userName," |"," ",n.timeStamp.format(d)]}))]}))]}))}))}export{s as default};
|
|
2
|
-
//# sourceMappingURL=AssistantChatItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantChatItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as i,jsx as t}from"react/jsx-runtime";var n={container:{border:"1px solid #E2E8F0",padding:12,paddingBottom:0,borderRadius:8,height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"},headerRow:{display:"flex",flexDirection:"row",gap:16,justifyContent:"space-between",alignItems:"center",height:18},leftRow:{display:"flex",flexDirection:"row",gap:12,alignItems:"center"},iconTitleRow:{display:"flex",flexDirection:"row",gap:4,alignItems:"center"},titleText:{fontSize:14,fontWeight:700,color:"#5928ED"},actionsRow:{display:"flex",flexDirection:"row",gap:6,alignItems:"center"},body:{paddingTop:12,paddingBottom:12,flex:1}};function o(o){var l=o.title,r=void 0===l?"User Chat":l,d=o.icon,a=o.slotStyles,c=o.primaryActions,s=o.secondaryActions,f=o.children,p=o.containerStyles;return i("div",e({style:e(e({},n.container),p)},{children:[i("div",e({style:e(e({},n.headerRow),{overflowX:"auto",minHeight:"2.18rem",overflowY:"hidden",scrollbarWidth:"thin"})},{children:[i("div",e({style:n.leftRow},{children:[i("div",e({style:n.iconTitleRow},{children:[t("span",{children:d}),t("span",e({style:e(e({},n.titleText),null==a?void 0:a.title)},{children:r}))]})),t("div",e({style:n.actionsRow},{children:null==c?void 0:c.filter(function(e){return void 0!==e}).map(function(e,i){return t("span",{children:e},i)})}))]})),t("div",e({style:e(e({},n.actionsRow),{gap:16,alignItems:"center"})},{children:null==s?void 0:s.filter(function(e){return void 0!==e}).map(function(e,i){return t("span",{children:e},i)})}))]})),t("div",e({style:n.body,id:"body"},{children:f}))]}))}export{o as default};
|
|
2
|
-
//# sourceMappingURL=ChatCitation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as e,__assign as o}from"tslib";import{jsx as r}from"react/jsx-runtime";var l={baseStyles:{backgroundColor:"#F8FAFC",borderColor:"#E2E8F0",borderWidth:1,borderStyle:"solid",color:"#64748B",padding:"4px 8px",borderRadius:9999,fontSize:12,fontWeight:500,display:"inline-block",lineHeight:1},activeStyles:{backgroundColor:"#F4F3FF",borderColor:"#D9D6FE",color:"#5928ED"}};function t(t){var i=t.label,s=t.isActive,a=void 0!==s&&s,d=t.styles,n=e(t,["label","isActive","styles"]),b=o(o(o({},l.baseStyles),a?l.activeStyles:{}),d);return r("span",o({},n,{style:b},{children:i}))}export{t as default};
|
|
2
|
-
//# sourceMappingURL=Chip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as t}from"tslib";import{createElement as r}from"react";import{jsx as e,Fragment as a}from"react/jsx-runtime";import i from"./UserChatItem.js";import s from"./AssistantChatItem.js";var o={width:"100%",display:"flex",flexDirection:"column",alignItems:"flex-end"};function m(m){var n=m.chatData,l=m.userChatItemProps,c=m.assistantChatProps;return e(a,{children:n.map(function(a,m){return"user"===a.role?e("div",t({style:o},{children:e(i,t({chatDetails:a},l))}),m):r(s,t({chatDetails:a},c,{key:m}))})})}export{m as default};
|
|
2
|
-
//# sourceMappingURL=DetailedView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailedView.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as e,__assign as t}from"tslib";import{jsx as r}from"react/jsx-runtime";function n(n){var i=n.children,l=n.style,s=e(n,["children","style"]);return r("span",t({},s,{style:t({display:"flex",justifyContent:"center",alignItems:"center"},l)},{children:i}))}export{n as default};
|
|
2
|
-
//# sourceMappingURL=IconContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"tslib";import{jsxs as e,jsx as o}from"react/jsx-runtime";import i from"@mui/icons-material/KeyboardArrowDown";import t from"@mui/icons-material/KeyboardArrowUp";import"@mui/icons-material/Clear";import n from"./IconContainer.js";var a={container:{display:"flex",flexDirection:"row",gap:4,alignItems:"center"},counterText:{fontSize:12,fontWeight:500},icon:function(r){return{cursor:"pointer",color:r?"gray":"inherit",fontSize:"18px"}}};function c(c){var l=c.currentItemNumber,m=c.onNext,s=c.onPrevious,u=c.totalItems,f=c.disableNext,p=c.disablePrevious;return e("span",r({style:a.container},{children:[e("span",r({style:a.counterText},{children:[l," of ",u]})),o(n,r({onClick:s},{children:o(t,{style:a.icon(!!p)})})),o(n,r({onClick:m},{children:o(i,{style:a.icon(!!f)})}))]}))}export{c as default};
|
|
2
|
-
//# sourceMappingURL=InViewNavigation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InViewNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import e from"react-markdown";import t from"rehype-raw";import{removeAgentNameLines as o,removeMetadataTags as m}from"../utils/helpers.js";var n=function(n){var i=n.content,s=n.renderers,p=o(i),a=m(p);return r(e,{children:null!=a?a:"No message received",rehypePlugins:[t],components:s,skipHtml:!0})};export{n as default};
|
|
2
|
-
//# sourceMappingURL=MarkdownRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"tslib";import{jsx as t}from"react/jsx-runtime";import{useMemo as e}from"react";import{highlightContent as i}from"../utils/helpers.js";import n from"./MarkdownRenderer.js";function o(o){var d=o.data,m=o.renderers,p=e(function(){return i(d.content,d.highlighted_texts,"rule-book-highlight")},[d]);return t("div",r({style:{paddingLeft:"16px",paddingRight:"16px"}},{children:t(n,{content:p,renderers:m})}))}export{o as default};
|
|
2
|
-
//# sourceMappingURL=RuleBook.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuleBook.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as t,__spreadArray as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import{useMemo as r}from"react";import l from"./MarkdownRenderer.js";import{highlightContent as n}from"../utils/helpers.js";function d(d){var o=d.chatData,a=d.slotStyles,s=d.slotProps,h=d.renderer,g=r(function(){for(var t=[],e=0;e<o.length;e+=2)t.push([o[e],o[e+1]]);return t},[o]);return i("div",t({style:{paddingLeft:"16px",paddingRight:"16px"}},{children:i("ol",t({style:null==a?void 0:a.ul},null==s?void 0:s.ul,{children:g.map(function(r,d){return i("li",t({style:t({display:"list-item",marginLeft:"16px",padding:"16px",paddingLeft:0},null==a?void 0:a.li)},null==s?void 0:s.li,{children:i("div",t({style:{display:"flex",flexDirection:"row",alignItems:"start",gap:"4px"}},{children:i("span",t({style:t({fontSize:"14px",fontWeight:"600"},null==a?void 0:a.text)},null==s?void 0:s.text,{children:i(l,{content:n("".concat(r[0].message,': "').concat(r[1].message,'"'),e(e([],Array.isArray(r[0].highlighted_text)?r[0].highlighted_text:[r[0].highlighted_text],!0),Array.isArray(r[1].highlighted_text)?r[1].highlighted_text:[r[1].highlighted_text],!0)),renderers:h})}))}))}),d)})}))}))}export{d as default};
|
|
2
|
-
//# sourceMappingURL=SummarizedView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SummarizedView.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as t}from"tslib";import{jsx as e,jsxs as i}from"react/jsx-runtime";import{highlightContent as r}from"../utils/helpers.js";import l from"./MarkdownRenderer.js";import o from"./UserInitialsAsAvatar.js";function n(n){var s=n.chatDetails,a=n.image,m=n.timestampFormat,h=void 0===m?"h:mm A | D MMM YYYY":m,d=n.maxWidthOfTextInPercent,f=void 0===d?60:d;n.slotClassname;var g=n.slotProps,p=n.slotStyles,x=n.renderers,c=Array.isArray(s.highlighted_text)?s.highlighted_text:[s.highlighted_text],u=r(s.message,c,"user-chat-highlight"),y=s.timeStamp&&"function"==typeof s.timeStamp.format?s.timeStamp.format(h):String(s.timeStamp);return e("div",t({style:{maxWidth:"".concat(f,"%")}},{children:i("div",t({style:{display:"flex",gap:"4px"}},{children:[i("div",t({style:{display:"flex",flexDirection:"column",gap:"4px"}},{children:[e("p",t({style:t({fontWeight:400,fontSize:14,textAlign:"right"},null==p?void 0:p.message)},null==g?void 0:g.message,{children:e(l,{content:u,renderers:x})})),i("p",t({style:t({fontWeight:400,fontSize:10,color:"#94A3B8",textAlign:"right"},null==p?void 0:p.footerText)},null==g?void 0:g.footerText,{children:[s.userName," |"," ",y]}))]})),null!=a?a:e(o,{username:s.userName,containerStyle:{flexShrink:0,width:28,height:28},textStyle:{fontSize:12}})]}))}))}export{n as default};
|
|
2
|
-
//# sourceMappingURL=UserChatItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserChatItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import{useMemo as r}from"react";var n={width:"48px",height:"48px",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"#a855f7"},a={fontWeight:"700",color:"#ffffff",fontSize:"16px",lineHeight:"1"};function i(i){var o=i.username,l=i.containerClassname,s=i.containerStyle,f=i.textClassName,c=i.textStyle,m=r(function(){var t;if(!o)return"";var e=o.trim().split(/\s+/);if(e.length<2)return(null===(t=e[0][0])||void 0===t?void 0:t.toUpperCase())||"";var r=e[0],n=e[e.length-1];return"".concat(r[0]).concat(n[0]).toUpperCase()},[o]);return e("div",t({className:l,style:t(t({},n),s)},{children:e("span",t({className:f,style:t(t({},a),c)},{children:m}))}))}export{i as default};
|
|
2
|
-
//# sourceMappingURL=UserInitialsAsAvatar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserInitialsAsAvatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as o}from"tslib";import{jsx as e}from"react/jsx-runtime";import{useEffect as t}from"react";import{createPortal as i}from"react-dom";var n=function(n){var r,l=n.isOpen,d=n.onClose,c=n.children,a=n.containerStyle;return t(function(){return document.body.style.overflow=l?"hidden":"unset",function(){document.body.style.overflow="unset"}},[l]),l?i(e("div",o({style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.6)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:2147483647,backdropFilter:"blur(2px)"},onClick:d},{children:e("div",o({style:o({width:"80%",height:"80%",maxWidth:"1200px",backgroundColor:"#fff",borderRadius:"12px",overflow:"hidden",display:"flex",flexDirection:"column",boxShadow:"0 25px 50px -12px rgba(0,0,0,0.5)",position:"relative"},a),onClick:function(o){return o.stopPropagation()}},{children:e("div",o({style:{flex:1,overflow:"auto",padding:null!==(r=null==a?void 0:a.padding)&&void 0!==r?r:"16px"}},{children:c}))}))})),document.body):null};export{n as Modal};
|
|
2
|
-
//# sourceMappingURL=Modal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as r,__assign as t}from"tslib";import{jsx as e}from"react/jsx-runtime";var i={highlight:function(i){var o=i.children;i.node;var n=r(i,["children","node"]);return e("span",t({},n,{"data-highlight":"true",style:t({backgroundColor:"#ffffb8",borderRadius:"2px"},n.styles)},{children:o}))}};export{i as defaultRenderer};
|
|
2
|
-
//# sourceMappingURL=renderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n=function(n){return n>80?{border:"#22c55e",background:"#f0fdf4",text:"#16a34a",combined:""}:n<=80&&n>=60?{border:"#eab308",background:"#fefce8",text:"#eab308",combined:""}:{border:"#ef4444",background:"#fef2f2",text:"#dc2626",combined:""}};function e(n){return n.split("\n").filter(function(n){return!n.includes("AgentName:")}).join("\n")}function t(n){if(!n)return"";return n.replace(/\[\[citations:.*?\]\]|\[\[filename:.*?\]\]|\[\[cat_id:.*?\]\]|\[\[rationale_index:.*?\]\]/g,"").replace(/\s*\]\s*$/,"").trim()}function r(n,e,t){if(void 0===t&&(t=void 0),!n||0===e.length)return n;var r=e.filter(function(n){return n.trim().length>0}).map(function(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).sort(function(n,e){return e.length-n.length});if(0===r.length)return n;var i=new RegExp("(".concat(r.join("|"),")"),"gi");return n.replace(i,function(n){return n.split("\n").map(function(n){return 0===n.trim().length?n:"<highlight ".concat(t?'class="'.concat(t,'"'):"",">").concat(n,"</highlight>")}).join("\n")})}export{n as getColorCode,r as highlightContent,e as removeAgentNameLines,t as removeMetadataTags};
|
|
2
|
-
//# sourceMappingURL=helpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useState as n,useRef as i,useEffect as r}from"react";import{ChevronDown as l}from"lucide-react";var d=function(d){var a,s,u=d.children,c=d.uploadListTopContent,p=d.defaultHeight,h=void 0===p?300:p,f=d.minHeight,x=void 0===f?150:f,m=d.maxHeight,g=d.isExpanded,v=void 0!==g&&g,y=d.onToggle,b=d.onHeightChange,w=d.styles,C=void 0===w?{}:w,H=n(!1),S=H[0],k=H[1],E=n(h),B=E[0],D=E[1],I=i(0),L=i(h),R=i(null),z=i(0),j="string"==typeof m?parseFloat(m)/100*window.innerHeight:null!=m?m:.4*window.innerHeight;r(function(){!v&&R.current&&(z.current=R.current.getBoundingClientRect().height)},[v]);return r(function(){if(S){var e=function(e){e.preventDefault();var t=e.clientY-I.current,o=Math.max(x,Math.min(j,L.current+t));D(o),null==b||b(o)},t=function(){k(!1),document.body.style.userSelect=""};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}}},[S]),t("div",e({ref:R,style:{position:"relative",width:"100%",minHeight:v?z.current:"auto"}},{children:[t("div",e({style:e({position:v?"absolute":"relative",zIndex:v?10:"auto",left:0,right:0,top:0,display:"flex",flexDirection:"column",backgroundColor:"#fff",borderRadius:20,border:"1px solid #BDB4FE",boxShadow:"0 4px 8px -2px rgba(16, 24, 40, 0.05), 0 2px 4px -2px rgba(16, 24, 40, 0.06)",height:v?"".concat(B,"px"):"auto",minHeight:v?"".concat(x,"px"):"auto",maxHeight:v?"".concat(B,"px"):"auto",overflow:"hidden",width:"100%"},C.container)},{children:[o("div",e({style:e({display:"flex",alignItems:"center",width:"100%",marginBottom:12,flexShrink:0,padding:"12px 20px 0 20px"},C.header)},{children:o("span",e({style:e({display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:16,fontWeight:500,lineHeight:"24px",color:"#101828",fontFamily:"Inter, sans-serif"},C.title)},{children:(null==c?void 0:c.trim())?c:"Data uploaded for your context"}))})),v&&o("div",e({style:e({flex:1,overflowY:"auto",overflowX:"hidden",minHeight:0,padding:"0 20px"},C.body)},{children:u})),v&&o("div",e({onMouseDown:function(e){e.preventDefault(),k(!0),I.current=e.clientY,L.current=B,document.body.style.userSelect="none"},style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"8px 20px",cursor:"ns-resize",userSelect:"none",flexShrink:0}},{children:o("div",{style:e({width:48,height:4,borderRadius:4,background:S?null!==(a=C.dragPillActiveColor)&&void 0!==a?a:"#a78bfa":"#d1d5db"},C.dragPill)})}))]})),o("div",e({style:{position:v?"absolute":"relative",top:v?"".concat(B,"px"):"auto",width:"100%",display:"flex",justifyContent:"center",height:18,zIndex:v?10:"auto"}},{children:o("button",e({onClick:y,"aria-label":v?"Collapse":"Expand",style:e({position:"absolute",width:"52px",height:"18px",borderBottomLeftRadius:"10px",borderBottomRightRadius:"10px",border:"1px solid rgb(189, 180, 254)",borderTop:"none",backgroundColor:"#fff",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",padding:0},C.notch)},{children:o(l,{size:14,color:null!==(s=C.notchArrowColor)&&void 0!==s?s:"#6d28d9",style:{transform:v?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease"}})}))}))]}))};export{d as default};
|
|
2
|
-
//# sourceMappingURL=ChatDrawer.js.map
|