@viswa-test/test-citation 0.0.132 → 0.0.133
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/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js +2 -0
- package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +2 -0
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +2 -0
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +2 -0
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
- package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +2 -0
- package/dist/cjs/features/IngestionStatus/ingestion.module.css.js.map +1 -0
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +2 -0
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -0
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
- package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
- package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js +2 -0
- package/dist/features/CognitiveCompare/CompareContext.js.map +1 -0
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js +2 -0
- package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
- package/dist/features/CognitiveCompare/hooks/useStyles.js +2 -0
- package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js +2 -0
- package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
- package/dist/features/IngestionStatus/ingestion.module.css.js +2 -0
- package/dist/features/IngestionStatus/ingestion.module.css.js.map +1 -0
- package/dist/features/IngestionStatus/useIngestionStatus.js +2 -0
- package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -0
- package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
- package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
- package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -0
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +64 -0
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +2 -30
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +1 -24
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +2 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +27 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +1 -2
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +14 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +16 -0
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +2 -0
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +1 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +26 -0
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +7 -0
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +1 -0
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +2 -0
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +1 -1
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +5 -0
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +1 -0
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +13 -0
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +5 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +50 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStyles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__spreadArray as e,__assign as n}from"tslib";import{jsxs as i,jsx as t,Fragment as l}from"react/jsx-runtime";import{useMemo as r,useState as o,useRef as a,useEffect as c}from"react";import{ExternalLink as s,ChevronUp as d,ChevronDown as u}from"lucide-react";import h from"./CognitiveNonWebSearchReasoning.module.css.js";var m=function(e){return e.split(/(\*\*.*?\*\*|__.*?__)/g).map(function(e,i){return e.startsWith("**")&&e.endsWith("**")||e.startsWith("__")&&e.endsWith("__")?t("strong",n({className:h.boldText},{children:e.slice(2,-2)}),i):e})},p=function(p){var g=p.item,v=p.headerTitle;p.index;var f=p.iconsConfig,b=p.DocumentTitle,x=p.previewCallback,N=p.bodyHeight,C=p.disableMaximize,I=void 0!==C&&C,y=p.splitterCustomStyle,k=void 0!==y&&y,H=g.dataSource,w=g.confidence_score,T=g.trainingDataTitle,L=null==f?void 0:f.ChevronDownIcon,z=null==f?void 0:f.ChevronUpIcon,S=null==f?void 0:f.MaximizeIcon,_=null==f?void 0:f.CloseIcon,B=r(function(){var n=(H?H.replace(/\\n/g,"\n").replace(/\n+/g,"\n"):"").split(/(<highlight>[\s\S]*?<\/highlight>)/g),i=0,t=n.map(function(e){var n=e.startsWith("<highlight>"),t={text:n?e.replace(/<\/?highlight>/g,""):e,isHighlight:n,highlightIndex:n?i:-1};return n&&i++,t}),l=t.filter(function(e){return e.isHighlight}).length,r=[],o=[];return t.forEach(function(n){var i=n.text,t=n.isHighlight,l=n.highlightIndex;i.split("\n").forEach(function(n,i){i>0&&((o.length>0||r.length>0)&&r.push(e([],o,!0)),o=[]),n&&o.push({text:n,isHighlight:t,highlightIndex:l})})}),o.length>0&&r.push(e([],o,!0)),{processedLines:r.map(function(e){var n=e.map(function(e){return e.text}).join(""),i=n.match(/^(\s*)(-|\*|\d+\.)\s+(.*)$/);return{segments:e,isListItem:!!i,isHeader:!!n.match(/^(Title|Description|Training-basis):\s*(.*)$/i),indent:(null==i?void 0:i[1])||"",content:(null==i?void 0:i[3])||n}}),totalHighlights:l}},[H]),D=B.processedLines,R=B.totalHighlights,W=o(0),j=W[0],A=W[1],F=a(null),M=a(null),V=a(null),E=a([]),$=a([]);c(function(){E.current=E.current.slice(0,R),$.current=$.current.slice(0,R)},[R]),c(function(){if(R>0){A(0);var e=setTimeout(function(){var e;null===(e=E.current[0])||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"})},50);return function(){return clearTimeout(e)}}},[R]);var U=function(e,n){setTimeout(function(){var i=n?$.current[e]:E.current[e];null==i||i.scrollIntoView({behavior:"smooth",block:"center"})},50)},Y=function(e){if(void 0===e&&(e=!1),R){var n=j>0?j-1:R-1;A(n),U(n,e)}},q=function(e){if(void 0===e&&(e=!1),R){var n=j<R-1?j+1:0;A(n),U(n,e)}},G=function(e){var l=e?$:E,r=0;return D.map(function(e,o){e.isHeader&&(r=0),e.isListItem&&(r+=1);var a=function(){return e.segments.map(function(i,r){var o=i.isHighlight&&i.highlightIndex===j,a=i.text;return e.isListItem&&0===r&&(a=i.text.replace(/^(\s*)(-|\*|\d+\.)\s+/,"")),i.isHighlight?t("span",n({ref:function(e){e&&(l.current[i.highlightIndex]=e)},className:"".concat(h.highlight).concat(o?" ".concat(h.highlightActive):"")},{children:m(a)}),r):t("span",{children:m(a)},r)})};return e.isHeader?t("span",n({className:h.headerLine},{children:a()}),o):e.isListItem?i("span",n({className:h.listItemLine,style:{paddingLeft:e.indent?"1rem":"0"}},{children:[i("span",n({className:h.listCounter},{children:[r,"."]})),t("span",{children:a()})]}),o):t("span",n({className:h.blockLine},{children:a()}),o)})},J=function(e){return R>1?i("div",n({className:e?h.modalNavContainer:h.navigationContainer},{children:[z&&t("button",n({onClick:function(){return Y(e)},className:e?h.modalNavButton:h.navButton},{children:t(z,{className:h.navIcon})})),i("span",n({className:h.navCounter},{children:[j+1,"/",R]})),L&&t("button",n({onClick:function(){return q(e)},className:e?h.modalNavButton:h.navButton},{children:t(L,{className:h.navIcon})}))]})):null},K=null!=w?i("span",n({className:h.confidenceBadge},{children:[t("span",n({className:h.confidenceStar},{children:"✦"})),i("span",n({className:h.confidenceScore},{children:[w,"%"]}))]})):null,O=k?{backgroundColor:"white",padding:"1rem 1.5rem"}:void 0,P=i(l,{children:[T&&t("div",n({className:h.footer,style:O},{children:t("span",n({className:h.trainingTitle},{children:T}))})),b&&t("div",n({className:h.modalFooterSource,style:O},{children:i("button",n({type:"button",onClick:function(){return null==x?void 0:x()},className:h.trainingTitleLink},{children:[b,t(s,{size:16,color:"#2563eb"})]}))}))]});return i(l,{children:[i("div",n({className:h.expandedContainer,style:n(n({},N?{height:"".concat(N),display:"flex",flexDirection:"column"}:void 0),k?{border:"none",borderRadius:0,marginLeft:"0px",marginTop:"0px"}:void 0)},{children:[i("div",n({className:h.expandedHeader,style:k?{backgroundColor:"white",padding:"0.5rem 1.5rem"}:void 0},{children:[t("span",n({className:h.headerTitle},{children:v})),i("div",n({className:h.headerActions},{children:[k?R>1&&i(l,{children:[i("span",n({style:{fontSize:"12px",color:"#888"}},{children:[j+1," / ",R]})),t("button",n({onClick:function(){return Y(!0)},disabled:j<=0,style:{padding:"2px 4px",cursor:j<=0?"not-allowed":"pointer",opacity:j<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(d,{size:14,color:"#64748b"})})),t("button",n({onClick:function(){return q(!0)},disabled:j>=R-1,style:{padding:"2px 4px",cursor:j>=R-1?"not-allowed":"pointer",opacity:j>=R-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(u,{size:14,color:"#64748b"})}))]}):J(!0),K,!I&&S&&t("button",n({onClick:function(){var e;return null===(e=V.current)||void 0===e?void 0:e.showModal()},className:h.maximizeButton,title:"View fullscreen"},{children:t(S,{className:h.maximizeIcon})}))]}))]})),t("div",n({ref:F,className:h.contentArea,style:n(n({},N?{flex:1,maxHeight:"none",overflowY:"auto",minHeight:0}:void 0),k?{padding:"1rem 1.5rem"}:void 0)},{children:t("div",n({className:h.contentInner},{children:G(!1)}))})),P]})),!I&&t("dialog",n({ref:V,className:h.modalDialog,onClick:function(e){var n;e.target===V.current&&(null===(n=V.current)||void 0===n||n.close())}},{children:i("div",n({className:h.modalContainer},{children:[i("div",n({className:h.modalHeader},{children:[t("span",n({className:h.modalHeaderTitle},{children:v})),i("div",n({className:h.modalHeaderActions},{children:[k?R>1&&i(l,{children:[i("span",n({style:{fontSize:"12px",color:"#888"}},{children:[j+1," / ",R]})),"just chill",t("button",n({onClick:function(){return Y(!0)},disabled:j<=0,style:{padding:"2px 4px",cursor:j<=0?"not-allowed":"pointer",opacity:j<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(d,{size:14,color:"#64748b"})})),t("button",n({onClick:function(){return q(!0)},disabled:j>=R-1,style:{padding:"2px 4px",cursor:j>=R-1?"not-allowed":"pointer",opacity:j>=R-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(u,{size:14,color:"#64748b"})}))]}):J(!0),K,_&&t("button",n({onClick:function(){var e;return null===(e=V.current)||void 0===e?void 0:e.close()},className:h.closeButton,title:"Close"},{children:t(_,{className:h.closeIcon})}))]}))]})),t("div",n({ref:M,className:h.modalContent},{children:t("div",n({className:h.modalContentInner},{children:G(!0)}))})),T&&t("div",n({className:h.modalFooter},{children:t("span",n({className:h.trainingTitle},{children:T}))})),b&&t("div",n({className:h.modalFooterSource},{children:i("button",n({type:"button",onClick:function(){var e;null==x||x(),null===(e=V.current)||void 0===e||e.close()},className:h.trainingTitleLink},{children:[b,t(s,{size:16,color:"#2563eb"})]}))}))]}))}))]})};export{p as default};
|
|
2
|
+
//# sourceMappingURL=CognitiveInternalgptCoreComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CognitiveInternalgptCoreComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as n,jsx as a}from"react/jsx-runtime";import{useState as r}from"react";import t from"./CognitiveNonWebSearchReasoning.module.css.js";import o from"./CognitiveInternalgptCoreComponent.js";var i=function(i){var c=i.item,l=i.index,s=i.iconsConfig,m=i.headerTitle,p=void 0===m?"GPT - Gemini 2.5 Flash":m,d=i.previewCallback,h=i.DocumentTitle,u=null==s?void 0:s.ChevronDownIcon,v=r(!1),f=v[0],C=v[1];return n("div",e({className:t.container},{children:[n("div",e({className:t.itemRow},{children:["number"==typeof l&&n("span",e({className:t.indexNumber},{children:[l+1,"."]})),n("div",e({className:t.textContent},{children:[a("span",{children:null==c?void 0:c.text}),(null==c?void 0:c.paraphrase)&&n("button",e({type:"button",onClick:function(){return C(!f)},className:t.paraphraseButton},{children:[n("span",e({className:t.paraphraseText},{children:[a("span",e({className:t.paraphraseStar},{children:"✦"})),c.paraphrase]})),u&&a(u,{className:"".concat(t.chevronIcon).concat(f?" ".concat(t.chevronIconRotated):"")})]}))]}))]})),f&&a(o,{item:c,headerTitle:p,iconsConfig:s,DocumentTitle:h,previewCallback:d})]}))};export{i as default};
|
|
2
2
|
//# sourceMappingURL=CognitiveInternalgptReasoningComponent.js.map
|
package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={container:"CognitiveNonWebSearchReasoning-module_container__koQEN",itemRow:"CognitiveNonWebSearchReasoning-module_itemRow__lRmgs",indexNumber:"CognitiveNonWebSearchReasoning-module_indexNumber__wP5hg",textContent:"CognitiveNonWebSearchReasoning-module_textContent__327fx",paraphraseButton:"CognitiveNonWebSearchReasoning-module_paraphraseButton__VS6Qe",paraphraseText:"CognitiveNonWebSearchReasoning-module_paraphraseText__n5dty",paraphraseStar:"CognitiveNonWebSearchReasoning-module_paraphraseStar__YUnqR",chevronIcon:"CognitiveNonWebSearchReasoning-module_chevronIcon__ZeXjw",chevronIconRotated:"CognitiveNonWebSearchReasoning-module_chevronIconRotated__WkRiP",expandedContainer:"CognitiveNonWebSearchReasoning-module_expandedContainer__2UPr9",expandedHeader:"CognitiveNonWebSearchReasoning-module_expandedHeader__QjKjb",headerTitle:"CognitiveNonWebSearchReasoning-module_headerTitle__VvMwI",headerActions:"CognitiveNonWebSearchReasoning-module_headerActions__j1P4u",navigationContainer:"CognitiveNonWebSearchReasoning-module_navigationContainer__G0VtG",navButton:"CognitiveNonWebSearchReasoning-module_navButton__aOaMv",navIcon:"CognitiveNonWebSearchReasoning-module_navIcon__uLme4",navCounter:"CognitiveNonWebSearchReasoning-module_navCounter__nj1Xc",confidenceBadge:"CognitiveNonWebSearchReasoning-module_confidenceBadge__-ElB3",confidenceStar:"CognitiveNonWebSearchReasoning-module_confidenceStar__4Rq0S",confidenceScore:"CognitiveNonWebSearchReasoning-module_confidenceScore__uLcnK",maximizeButton:"CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-",maximizeIcon:"CognitiveNonWebSearchReasoning-module_maximizeIcon__eFZez",contentArea:"CognitiveNonWebSearchReasoning-module_contentArea__hVoLL",contentInner:"CognitiveNonWebSearchReasoning-module_contentInner__df-34",footer:"CognitiveNonWebSearchReasoning-module_footer__CNE8q",trainingTitle:"CognitiveNonWebSearchReasoning-module_trainingTitle__CHFlh",trainingTitleLink:"CognitiveNonWebSearchReasoning-module_trainingTitleLink__0lu-U",modalDialog:"CognitiveNonWebSearchReasoning-module_modalDialog__eGApe",modalContainer:"CognitiveNonWebSearchReasoning-module_modalContainer__-dZ01",modalHeader:"CognitiveNonWebSearchReasoning-module_modalHeader__qglof",modalHeaderTitle:"CognitiveNonWebSearchReasoning-module_modalHeaderTitle__hDo1X",modalHeaderActions:"CognitiveNonWebSearchReasoning-module_modalHeaderActions__NGmip",modalNavContainer:"CognitiveNonWebSearchReasoning-module_modalNavContainer__Q-OrP",modalNavButton:"CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24",closeButton:"CognitiveNonWebSearchReasoning-module_closeButton__S23zi",closeIcon:"CognitiveNonWebSearchReasoning-module_closeIcon__f7kaG",modalContent:"CognitiveNonWebSearchReasoning-module_modalContent__4U2Jv",modalContentInner:"CognitiveNonWebSearchReasoning-module_modalContentInner__63tzo",modalFooter:"CognitiveNonWebSearchReasoning-module_modalFooter__hXBqn",modalFooterSource:"CognitiveNonWebSearchReasoning-module_modalFooterSource__MOlgt",blockLine:"CognitiveNonWebSearchReasoning-module_blockLine__FwGYE",headerLine:"CognitiveNonWebSearchReasoning-module_headerLine__0j5p4",listItemLine:"CognitiveNonWebSearchReasoning-module_listItemLine__yKx2O",listCounter:"CognitiveNonWebSearchReasoning-module_listCounter__esNpx",boldText:"CognitiveNonWebSearchReasoning-module_boldText__suAp2",highlight:"CognitiveNonWebSearchReasoning-module_highlight__EMAz5",highlightActive:"CognitiveNonWebSearchReasoning-module_highlightActive__FFvuU"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CognitiveNonWebSearchReasoning-module_container__koQEN{display:flex;flex-direction:column;gap:.5rem}.CognitiveNonWebSearchReasoning-module_itemRow__lRmgs{align-items:flex-start;display:flex;font-size:.875rem;gap:.5rem}.CognitiveNonWebSearchReasoning-module_indexNumber__wP5hg{color:#475467;font-weight:500}.CognitiveNonWebSearchReasoning-module_textContent__327fx{color:#475467;flex:1;max-width:none}.CognitiveNonWebSearchReasoning-module_paraphraseButton__VS6Qe{align-items:center;background:#0000;border:none;border-radius:.375rem;cursor:pointer;display:inline-flex;gap:.25rem;justify-content:flex-start;padding:.125rem .375rem}.CognitiveNonWebSearchReasoning-module_paraphraseText__n5dty{color:#2563eb;font-weight:500;text-align:start}.CognitiveNonWebSearchReasoning-module_paraphraseStar__YUnqR{color:#2563eb;padding-right:.25rem}.CognitiveNonWebSearchReasoning-module_chevronIcon__ZeXjw{color:#2563eb;height:1rem;transition:transform .2s;width:1rem}.CognitiveNonWebSearchReasoning-module_chevronIconRotated__WkRiP{transform:rotate(180deg)}.CognitiveNonWebSearchReasoning-module_expandedContainer__2UPr9{border:solid #e5e7eb;border-radius:.5rem;border-width:1px 1px 2px;margin-left:1.5rem;margin-top:.5rem;overflow:hidden}.CognitiveNonWebSearchReasoning-module_expandedHeader__QjKjb{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.25rem .75rem}.CognitiveNonWebSearchReasoning-module_headerTitle__VvMwI{font-size:.875rem;font-weight:400}.CognitiveNonWebSearchReasoning-module_headerActions__j1P4u{align-items:center;display:flex;gap:.5rem}.CognitiveNonWebSearchReasoning-module_navigationContainer__G0VtG{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.CognitiveNonWebSearchReasoning-module_navButton__aOaMv{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_navButton__aOaMv:hover{background-color:#f3f4f6}.CognitiveNonWebSearchReasoning-module_navIcon__uLme4{color:#6b7280;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_navCounter__nj1Xc{color:#4b5563;font-size:.875rem;min-width:2.25rem;text-align:center}.CognitiveNonWebSearchReasoning-module_confidenceBadge__-ElB3{align-items:center;background-color:#f0fdf4;border:2px solid #3ac894;border-radius:9999px;display:inline-flex;gap:.25rem;padding:.25rem .5rem}.CognitiveNonWebSearchReasoning-module_confidenceStar__4Rq0S{color:#059669;font-size:.75rem}.CognitiveNonWebSearchReasoning-module_confidenceScore__uLcnK{color:#059669;font-size:.875rem;font-weight:600}.CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_maximizeIcon__eFZez{color:#6b7280;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_contentArea__hVoLL{font-size:.875rem;max-height:11rem;overflow-y:auto;padding:.5rem .75rem;scroll-behavior:smooth}.CognitiveNonWebSearchReasoning-module_contentInner__df-34{line-height:1.5rem}.CognitiveNonWebSearchReasoning-module_footer__CNE8q{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.CognitiveNonWebSearchReasoning-module_trainingTitle__CHFlh{font-size:.875rem;font-style:italic;font-weight:300}.CognitiveNonWebSearchReasoning-module_trainingTitleLink__0lu-U{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:.25rem}.CognitiveNonWebSearchReasoning-module_modalDialog__eGApe{background:#0000;border:none;left:50%;margin:0;max-height:none;max-width:none;overflow:visible;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%)}.CognitiveNonWebSearchReasoning-module_modalDialog__eGApe::backdrop{background-color:#0006}.CognitiveNonWebSearchReasoning-module_modalContainer__-dZ01{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:80vh;max-width:900px;overflow:hidden;width:80vw}.CognitiveNonWebSearchReasoning-module_modalHeader__qglof{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.75rem .5rem .75rem 1rem;width:100%}.CognitiveNonWebSearchReasoning-module_modalHeaderTitle__hDo1X{font-size:1rem;font-weight:500}.CognitiveNonWebSearchReasoning-module_modalHeaderActions__NGmip{align-items:center;display:flex;gap:.5rem}.CognitiveNonWebSearchReasoning-module_modalNavContainer__Q-OrP{align-items:center;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_closeButton__S23zi{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_closeButton__S23zi:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_closeIcon__f7kaG{color:#4b5563;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_modalContent__4U2Jv{flex:1;font-size:.875rem;overflow-y:auto;padding:.75rem 1rem;scroll-behavior:smooth}.CognitiveNonWebSearchReasoning-module_modalContentInner__63tzo{line-height:1.75rem}.CognitiveNonWebSearchReasoning-module_modalFooter__hXBqn{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:flex-end;padding:.5rem 1rem}.CognitiveNonWebSearchReasoning-module_modalFooterSource__MOlgt{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:flex-start;padding:1rem}.CognitiveNonWebSearchReasoning-module_blockLine__FwGYE{display:block}.CognitiveNonWebSearchReasoning-module_headerLine__0j5p4{display:block;font-weight:400}.CognitiveNonWebSearchReasoning-module_listItemLine__yKx2O{display:block}.CognitiveNonWebSearchReasoning-module_listCounter__esNpx{display:inline-block;font-weight:500;text-align:left;width:1.5rem}.CognitiveNonWebSearchReasoning-module_boldText__suAp2{font-weight:600}.CognitiveNonWebSearchReasoning-module_highlight__EMAz5{background-color:#fef08a;border-radius:.25rem;padding:0 .125rem;transition:all .2s}.CognitiveNonWebSearchReasoning-module_highlightActive__FFvuU{background-color:#fde047;border:1px solid #eab308;box-shadow:0 1px 2px 0 #0000000d}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
|
|
1
|
+
var e={container:"CognitiveNonWebSearchReasoning-module_container__koQEN",itemRow:"CognitiveNonWebSearchReasoning-module_itemRow__lRmgs",indexNumber:"CognitiveNonWebSearchReasoning-module_indexNumber__wP5hg",textContent:"CognitiveNonWebSearchReasoning-module_textContent__327fx",paraphraseButton:"CognitiveNonWebSearchReasoning-module_paraphraseButton__VS6Qe",paraphraseText:"CognitiveNonWebSearchReasoning-module_paraphraseText__n5dty",paraphraseStar:"CognitiveNonWebSearchReasoning-module_paraphraseStar__YUnqR",chevronIcon:"CognitiveNonWebSearchReasoning-module_chevronIcon__ZeXjw",chevronIconRotated:"CognitiveNonWebSearchReasoning-module_chevronIconRotated__WkRiP",expandedContainer:"CognitiveNonWebSearchReasoning-module_expandedContainer__2UPr9",expandedHeader:"CognitiveNonWebSearchReasoning-module_expandedHeader__QjKjb",headerTitle:"CognitiveNonWebSearchReasoning-module_headerTitle__VvMwI",headerActions:"CognitiveNonWebSearchReasoning-module_headerActions__j1P4u",navigationContainer:"CognitiveNonWebSearchReasoning-module_navigationContainer__G0VtG",navButton:"CognitiveNonWebSearchReasoning-module_navButton__aOaMv",navIcon:"CognitiveNonWebSearchReasoning-module_navIcon__uLme4",navCounter:"CognitiveNonWebSearchReasoning-module_navCounter__nj1Xc",confidenceBadge:"CognitiveNonWebSearchReasoning-module_confidenceBadge__-ElB3",confidenceStar:"CognitiveNonWebSearchReasoning-module_confidenceStar__4Rq0S",confidenceScore:"CognitiveNonWebSearchReasoning-module_confidenceScore__uLcnK",maximizeButton:"CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-",maximizeIcon:"CognitiveNonWebSearchReasoning-module_maximizeIcon__eFZez",contentArea:"CognitiveNonWebSearchReasoning-module_contentArea__hVoLL",contentInner:"CognitiveNonWebSearchReasoning-module_contentInner__df-34",footer:"CognitiveNonWebSearchReasoning-module_footer__CNE8q",trainingTitle:"CognitiveNonWebSearchReasoning-module_trainingTitle__CHFlh",trainingTitleLink:"CognitiveNonWebSearchReasoning-module_trainingTitleLink__0lu-U",modalDialog:"CognitiveNonWebSearchReasoning-module_modalDialog__eGApe",modalContainer:"CognitiveNonWebSearchReasoning-module_modalContainer__-dZ01",modalHeader:"CognitiveNonWebSearchReasoning-module_modalHeader__qglof",modalHeaderTitle:"CognitiveNonWebSearchReasoning-module_modalHeaderTitle__hDo1X",modalHeaderActions:"CognitiveNonWebSearchReasoning-module_modalHeaderActions__NGmip",modalNavContainer:"CognitiveNonWebSearchReasoning-module_modalNavContainer__Q-OrP",modalNavButton:"CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24",closeButton:"CognitiveNonWebSearchReasoning-module_closeButton__S23zi",closeIcon:"CognitiveNonWebSearchReasoning-module_closeIcon__f7kaG",modalContent:"CognitiveNonWebSearchReasoning-module_modalContent__4U2Jv",modalContentInner:"CognitiveNonWebSearchReasoning-module_modalContentInner__63tzo",modalFooter:"CognitiveNonWebSearchReasoning-module_modalFooter__hXBqn",modalFooterSource:"CognitiveNonWebSearchReasoning-module_modalFooterSource__MOlgt",blockLine:"CognitiveNonWebSearchReasoning-module_blockLine__FwGYE",headerLine:"CognitiveNonWebSearchReasoning-module_headerLine__0j5p4",listItemLine:"CognitiveNonWebSearchReasoning-module_listItemLine__yKx2O",listCounter:"CognitiveNonWebSearchReasoning-module_listCounter__esNpx",boldText:"CognitiveNonWebSearchReasoning-module_boldText__suAp2",highlight:"CognitiveNonWebSearchReasoning-module_highlight__EMAz5",highlightActive:"CognitiveNonWebSearchReasoning-module_highlightActive__FFvuU",highlightActiveVariant:"CognitiveNonWebSearchReasoning-module_highlightActiveVariant__-gqMp",highlightVariant:"CognitiveNonWebSearchReasoning-module_highlightVariant__PYgtJ",highlightButton:"CognitiveNonWebSearchReasoning-module_highlightButton__XvkBb"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CognitiveNonWebSearchReasoning-module_container__koQEN{display:flex;flex-direction:column;gap:.5rem}.CognitiveNonWebSearchReasoning-module_itemRow__lRmgs{align-items:flex-start;display:flex;font-size:.875rem;gap:.5rem}.CognitiveNonWebSearchReasoning-module_indexNumber__wP5hg{color:#475467;font-weight:500}.CognitiveNonWebSearchReasoning-module_textContent__327fx{color:#475467;flex:1;max-width:none}.CognitiveNonWebSearchReasoning-module_paraphraseButton__VS6Qe{align-items:center;background:#0000;border:none;border-radius:.375rem;cursor:pointer;display:inline-flex;gap:.25rem;justify-content:flex-start;padding:.125rem .375rem}.CognitiveNonWebSearchReasoning-module_paraphraseText__n5dty{color:#2563eb;font-weight:500;text-align:start}.CognitiveNonWebSearchReasoning-module_paraphraseStar__YUnqR{color:#2563eb;padding-right:.25rem}.CognitiveNonWebSearchReasoning-module_chevronIcon__ZeXjw{color:#2563eb;height:1rem;transition:transform .2s;width:1rem}.CognitiveNonWebSearchReasoning-module_chevronIconRotated__WkRiP{transform:rotate(180deg)}.CognitiveNonWebSearchReasoning-module_expandedContainer__2UPr9{border:solid #e5e7eb;border-radius:.5rem;border-width:1px 1px 2px;margin-left:1.5rem;margin-top:.5rem;overflow:hidden}.CognitiveNonWebSearchReasoning-module_expandedHeader__QjKjb{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.25rem .75rem}.CognitiveNonWebSearchReasoning-module_headerTitle__VvMwI{font-size:.875rem;font-weight:400}.CognitiveNonWebSearchReasoning-module_headerActions__j1P4u{align-items:center;display:flex;gap:.5rem}.CognitiveNonWebSearchReasoning-module_navigationContainer__G0VtG{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.CognitiveNonWebSearchReasoning-module_navButton__aOaMv{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_navButton__aOaMv:hover{background-color:#f3f4f6}.CognitiveNonWebSearchReasoning-module_navIcon__uLme4{color:#6b7280;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_navCounter__nj1Xc{color:#4b5563;font-size:.875rem;min-width:2.25rem;text-align:center}.CognitiveNonWebSearchReasoning-module_confidenceBadge__-ElB3{align-items:center;background-color:#f0fdf4;border:2px solid #3ac894;border-radius:9999px;display:inline-flex;gap:.25rem;padding:.25rem .5rem}.CognitiveNonWebSearchReasoning-module_confidenceStar__4Rq0S{color:#059669;font-size:.75rem}.CognitiveNonWebSearchReasoning-module_confidenceScore__uLcnK{color:#059669;font-size:.875rem;font-weight:600}.CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_maximizeButton__Xwwu-:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_maximizeIcon__eFZez{color:#6b7280;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_contentArea__hVoLL{font-size:.875rem;max-height:11rem;overflow-y:auto;padding:.5rem .75rem;scroll-behavior:smooth}.CognitiveNonWebSearchReasoning-module_contentInner__df-34{line-height:1.5rem}.CognitiveNonWebSearchReasoning-module_footer__CNE8q{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.CognitiveNonWebSearchReasoning-module_trainingTitle__CHFlh{font-size:.875rem;font-style:italic;font-weight:300}.CognitiveNonWebSearchReasoning-module_trainingTitleLink__0lu-U{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:.25rem}.CognitiveNonWebSearchReasoning-module_modalDialog__eGApe{background:#0000;border:none;left:50%;margin:0;max-height:none;max-width:none;overflow:visible;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%)}.CognitiveNonWebSearchReasoning-module_modalDialog__eGApe::backdrop{background-color:#0006}.CognitiveNonWebSearchReasoning-module_modalContainer__-dZ01{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:80vh;max-width:900px;overflow:hidden;width:80vw}.CognitiveNonWebSearchReasoning-module_modalHeader__qglof{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.75rem .5rem .75rem 1rem;width:100%}.CognitiveNonWebSearchReasoning-module_modalHeaderTitle__hDo1X{font-size:1rem;font-weight:500}.CognitiveNonWebSearchReasoning-module_modalHeaderActions__NGmip{align-items:center;display:flex;gap:.5rem}.CognitiveNonWebSearchReasoning-module_modalNavContainer__Q-OrP{align-items:center;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_modalNavButton__6cQ24:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_closeButton__S23zi{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.CognitiveNonWebSearchReasoning-module_closeButton__S23zi:hover{background-color:#e5e7eb}.CognitiveNonWebSearchReasoning-module_closeIcon__f7kaG{color:#4b5563;height:1.25rem;width:1.25rem}.CognitiveNonWebSearchReasoning-module_modalContent__4U2Jv{flex:1;font-size:.875rem;overflow-y:auto;padding:.75rem 1rem;scroll-behavior:smooth}.CognitiveNonWebSearchReasoning-module_modalContentInner__63tzo{line-height:1.75rem}.CognitiveNonWebSearchReasoning-module_modalFooter__hXBqn{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:flex-end;padding:.5rem 1rem}.CognitiveNonWebSearchReasoning-module_modalFooterSource__MOlgt{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:flex-start;padding:1rem}.CognitiveNonWebSearchReasoning-module_blockLine__FwGYE{display:block}.CognitiveNonWebSearchReasoning-module_headerLine__0j5p4{display:block;font-weight:400}.CognitiveNonWebSearchReasoning-module_listItemLine__yKx2O{display:block}.CognitiveNonWebSearchReasoning-module_listCounter__esNpx{display:inline-block;font-weight:500;text-align:left;width:1.5rem}.CognitiveNonWebSearchReasoning-module_boldText__suAp2{font-weight:600}.CognitiveNonWebSearchReasoning-module_highlight__EMAz5{background-color:#fef08a;border-radius:.25rem;padding:0 .125rem;transition:all .2s}.CognitiveNonWebSearchReasoning-module_highlightActive__FFvuU{background-color:#fde047;border:1px solid #eab308;box-shadow:0 1px 2px 0 #0000000d}.CognitiveNonWebSearchReasoning-module_highlightActiveVariant__-gqMp{background-color:#e0e7ff;border:1px solid #5c75f4;box-shadow:0 1px 2px 0 #0000000d;color:#6366f1;font-weight:500}.CognitiveNonWebSearchReasoning-module_highlightVariant__PYgtJ{background-color:#eef2ff;border-radius:.25rem;color:#6366f1;font-weight:500;padding:0 .125rem;transition:all .2s}.CognitiveNonWebSearchReasoning-module_highlightButton__XvkBb{border:none;cursor:pointer;display:inline;font:inherit}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
|
|
2
2
|
//# sourceMappingURL=CognitiveNonWebSearchReasoning.module.css.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as n,jsxs as s,Fragment as r}from"react/jsx-runtime";import t from"./ingestion.module.css.js";import{useIngestionWebSocket as o}from"./useIngestionStatus.js";var a={ingested:{label:"Ingested",className:t.ingested},failed:{label:"Ingestion Failed",className:t.failed},in_progress:{label:"Ingesting...",className:t.inProgress},pending:{label:"Pending",className:t.pending}};var i=function(o){var i=o.status,l=o.label,u=o.percentage,c=o.customConfig;if(c)return n("span",e({className:t.chip,style:{border:"1px solid ".concat(c.borderColor),background:c.background,color:c.color}},{children:null!=l?l:c.label}));if("custom"===i)return null;var d=a[i];if(!d)return null;var g="in_progress"===i&&void 0!==u;return n("span",e({className:"".concat(t.chip," ").concat(d.className)},{children:g?s(r,{children:[null!=l?l:"Ingesting",n("span",{className:t.dot}),"".concat(u,"%")]}):null!=l?l:d.label}))},l=new Set(["DONE","COMPLETED","FAILED"]),u=function(e){var s,r,t,a,u=e.ingestionId,c=e.status,d=e.wsBaseUrl,g=e.showPercentage,p=void 0===g||g,m=e.statusMap,v=e.customStatusConfigs,f=!!c&&l.has(c.toUpperCase()),b=o(!f&&u?u:null,d).data,N=f?c:null!==(r=null!==(s=null==b?void 0:b.ingestionStatus)&&void 0!==s?s:c)&&void 0!==r?r:"",C=N?function(e,n){if(!e)return"custom";if(n){if(void 0!==n[e])return n[e];var s=e.toUpperCase();if(void 0!==n[s])return n[s]}return"custom"}(N,m):"pending",h=v?null!==(a=null!==(t=v[C])&&void 0!==t?t:v[N])&&void 0!==a?a:v[N.toUpperCase()]:void 0,I=!f&&void 0!==(null==b?void 0:b.currentProgress)&&p?b.currentProgress:void 0;return n(i,{status:C,percentage:I,customConfig:h})};export{i as IngestionStatusChip,u as IngestionStatusComponent};
|
|
2
|
+
//# sourceMappingURL=IngestionStatusComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IngestionStatusComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={chip:"ingestion-module_chip__LgrR-",dot:"ingestion-module_dot__Euc3-",ingested:"ingestion-module_ingested__1eMKY",failed:"ingestion-module_failed__NUIrq",inProgress:"ingestion-module_inProgress__EBGaw",pulse:"ingestion-module_pulse__vyf36",pending:"ingestion-module_pending__3SnDm"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".ingestion-module_chip__LgrR-{align-items:center;border-radius:var(--tag-rounded-border-radius,12px);display:inline-flex;font-size:12px;font-weight:500;gap:6px;line-height:20px;padding:2px 10px;white-space:nowrap;width:fit-content}.ingestion-module_dot__Euc3-{border-radius:50%;flex-shrink:0;height:6px;width:6px}.ingestion-module_ingested__1eMKY{background:var(--green-50,#f0fdf4);border:1px solid var(--green-200,#bbf7d0);color:#15803d}.ingestion-module_ingested__1eMKY .ingestion-module_dot__Euc3-{background-color:#16a34a}.ingestion-module_failed__NUIrq{background:var(--red-50,#fef2f2);border:1px solid var(--red-200,#fecaca);color:#b91c1c}.ingestion-module_failed__NUIrq .ingestion-module_dot__Euc3-{background-color:#b91c1c}.ingestion-module_inProgress__EBGaw{background:var(--blue-50,#eff6ff);border:1px solid var(--blue-200,#bfdbfe);color:#1d4ed8}.ingestion-module_inProgress__EBGaw .ingestion-module_dot__Euc3-{animation:ingestion-module_pulse__vyf36 1.4s ease-in-out infinite;background-color:#3b82f6}.ingestion-module_pending__3SnDm{background:var(--gray-50,#f9fafb);border:1px solid var(--gray-200,#e5e7eb);color:#374151}.ingestion-module_pending__3SnDm .ingestion-module_dot__Euc3-{background-color:#9ca3af}@keyframes ingestion-module_pulse__vyf36{0%,to{opacity:1}50%{opacity:.3}}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
|
|
2
|
+
//# sourceMappingURL=ingestion.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ingestion.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useState as e,useRef as n,useCallback as t,useEffect as r}from"react";var o=new Set(["DONE","COMPLETED","FAILED"]),c=new Map;function a(a,l){var u=e(null),i=u[0],s=u[1],v=e(!1),d=v[0],f=v[1],S=e(null),p=S[0],g=S[1],E=n(null),O=t(function(){var e;null===(e=E.current)||void 0===e||e.close(),E.current=null,f(!1)},[]);return r(function(){if(a){g(null),s(null);var e=c.get(a);e&&e.readyState!==WebSocket.CLOSED&&e.close();var n=new WebSocket("".concat(l,"/").concat(a));c.set(a,n),E.current=n,n.onopen=function(){return f(!0)};var t=setInterval(function(){n.readyState===WebSocket.OPEN&&n.send(JSON.stringify({type:"ping"}))},5e3);return n.onmessage=function(e){var r;try{var l=JSON.parse(e.data);s(l),o.has(null===(r=l.ingestionStatus)||void 0===r?void 0:r.toUpperCase())&&(clearInterval(t),n.close(),c.delete(a))}catch(e){g("Failed to parse WebSocket message")}},n.onerror=function(){return g("WebSocket connection error")},n.onclose=function(){return f(!1)},function(){clearInterval(t),n.close(),c.delete(a)}}},[a,l]),{data:i,connected:d,error:p,disconnect:O}}export{a as useIngestionWebSocket};
|
|
2
|
+
//# sourceMappingURL=useIngestionStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIngestionStatus.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={container:"Splitter-module_container__RzL6s",containerHorizontal:"Splitter-module_containerHorizontal__2p-d4",containerVertical:"Splitter-module_containerVertical__9n65N",header:"Splitter-module_header__TfhkL",headerLeft:"Splitter-module_headerLeft__85ugE",headerTitle:"Splitter-module_headerTitle__TB5BN",headerTitleText:"Splitter-module_headerTitleText__L4F7s",headerIcon:"Splitter-module_headerIcon__OHxry",confidenceScore:"Splitter-module_confidenceScore__0k845",confidenceScoreHigh:"Splitter-module_confidenceScoreHigh__H8j5I",confidenceScoreMedium:"Splitter-module_confidenceScoreMedium__qiIsl",confidenceScoreLow:"Splitter-module_confidenceScoreLow__-lIle",
|
|
1
|
+
var e={container:"Splitter-module_container__RzL6s",containerHorizontal:"Splitter-module_containerHorizontal__2p-d4",containerVertical:"Splitter-module_containerVertical__9n65N",header:"Splitter-module_header__TfhkL",headerLeft:"Splitter-module_headerLeft__85ugE",headerTitle:"Splitter-module_headerTitle__TB5BN",headerTitleText:"Splitter-module_headerTitleText__L4F7s",headerIcon:"Splitter-module_headerIcon__OHxry",confidenceScore:"Splitter-module_confidenceScore__0k845",confidenceScoreHigh:"Splitter-module_confidenceScoreHigh__H8j5I",confidenceScoreMedium:"Splitter-module_confidenceScoreMedium__qiIsl",confidenceScoreLow:"Splitter-module_confidenceScoreLow__-lIle",contentArea:"Splitter-module_contentArea__ajG2D",contentAreaHorizontal:"Splitter-module_contentAreaHorizontal__xu6oA",contentAreaVertical:"Splitter-module_contentAreaVertical__DPFG7",panel:"Splitter-module_panel__y11eZ",panelVertical:"Splitter-module_panelVertical__qrsgc",expandButton:"Splitter-module_expandButton__w3AI-",expandButtonHorizontal:"Splitter-module_expandButtonHorizontal__soV3P",expandButtonVertical:"Splitter-module_expandButtonVertical__-2hdL",expandButtonRightHorizontal:"Splitter-module_expandButtonRightHorizontal__kN8SH",expandButtonBottomVertical:"Splitter-module_expandButtonBottomVertical__QUw-u",divider:"Splitter-module_divider__iY680",dividerHorizontal:"Splitter-module_dividerHorizontal__r6rzG",dividerVertical:"Splitter-module_dividerVertical__J-KxS",dividerDragging:"Splitter-module_dividerDragging__P3fsp",dividerIdle:"Splitter-module_dividerIdle__OML9v",dividerHitArea:"Splitter-module_dividerHitArea__OkbGH",dividerHitAreaHorizontal:"Splitter-module_dividerHitAreaHorizontal__JP5DH",dividerHitAreaVertical:"Splitter-module_dividerHitAreaVertical__S7npZ",collapseButton:"Splitter-module_collapseButton__2kemB",collapseButtonRight:"Splitter-module_collapseButtonRight__vmbg5",dragOverlay:"Splitter-module_dragOverlay__iUloH",dragOverlayHorizontal:"Splitter-module_dragOverlayHorizontal__m9g3w",dragOverlayVertical:"Splitter-module_dragOverlayVertical__9Nt5f",headerActions:"Splitter-module_headerActions__x-Rv8",fullscreenButton:"Splitter-module_fullscreenButton__RmzBi",dialogOverlay:"Splitter-module_dialogOverlay__mZjqy",dialogContent:"Splitter-module_dialogContent__pmquD",dialogContentArea:"Splitter-module_dialogContentArea__7xPgA"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".Splitter-module_container__RzL6s{border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;margin:8px;position:relative}.Splitter-module_containerHorizontal__2p-d4{overflow:hidden}.Splitter-module_containerVertical__9n65N{overflow:visible}.Splitter-module_header__TfhkL{align-items:center;background-color:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:12px 16px}.Splitter-module_headerLeft__85ugE{align-items:center;display:flex;gap:8px}.Splitter-module_headerTitle__TB5BN{display:flex;flex-direction:column;gap:2px}.Splitter-module_headerTitleText__L4F7s{font-size:14px;font-weight:600}.Splitter-module_headerIcon__OHxry{height:16px;width:16px}.Splitter-module_confidenceScore__0k845{align-items:center;border:2px solid #dff6e6;border-radius:16px;display:flex;font-size:13px;gap:4px;padding:4px 8px}.Splitter-module_confidenceScoreHigh__H8j5I{background-color:#f0fdf4;color:#087443}.Splitter-module_confidenceScoreMedium__qiIsl{background-color:#fef3c7;color:#92400e}.Splitter-module_confidenceScoreLow__-lIle{background-color:#fee2e2;color:#991b1b}.Splitter-module_contentArea__ajG2D{display:flex;gap:4px;position:relative}.Splitter-module_contentAreaHorizontal__xu6oA{flex:1;flex-direction:row;overflow:hidden}.Splitter-module_contentAreaVertical__DPFG7{flex:none;flex-direction:column;overflow:visible}.Splitter-module_panel__y11eZ{height:100%;min-width:0;overflow:auto;position:relative}.Splitter-module_panelVertical__qrsgc{min-height:0}.Splitter-module_expandButton__w3AI-{align-items:center;background-color:#f9fafb;border:none;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;transition:background-color .2s}.Splitter-module_expandButton__w3AI-:hover{background-color:#f3f4f6}.Splitter-module_expandButtonHorizontal__soV3P{border-right:1px solid #e5e7eb;width:28px}.Splitter-module_expandButtonVertical__-2hdL{border-bottom:1px solid #e5e7eb;height:28px;width:100%}.Splitter-module_expandButtonRightHorizontal__kN8SH{border-left:1px solid #e5e7eb;width:28px}.Splitter-module_expandButtonBottomVertical__QUw-u{border-top:1px solid #e5e7eb;height:28px;width:100%}.Splitter-module_divider__iY680{flex-shrink:0;overflow:visible;position:relative;transition:background-color .2s;z-index:10}.Splitter-module_dividerHorizontal__r6rzG{cursor:col-resize;width:4px}.Splitter-module_dividerVertical__J-KxS{cursor:row-resize;height:4px;width:100%}.Splitter-module_dividerDragging__P3fsp{background-color:#06c;transition:none}.Splitter-module_dividerIdle__OML9v{background-color:#e0e0e0}.Splitter-module_dividerHitArea__OkbGH{position:absolute}.Splitter-module_dividerHitAreaHorizontal__JP5DH{cursor:col-resize;height:100%;left:-4px;width:12px}.Splitter-module_dividerHitAreaVertical__S7npZ{cursor:row-resize;height:12px;top:-4px;width:100%}.Splitter-module_collapseButton__2kemB{top:50%}.Splitter-module_collapseButtonRight__vmbg5,.Splitter-module_collapseButton__2kemB{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:4px;box-shadow:0 1px 3px #0000001a;cursor:pointer;display:flex;height:22px;justify-content:center;left:-9px;padding:0;position:absolute;transform:translateY(-50%);width:22px;z-index:100}.Splitter-module_collapseButtonRight__vmbg5{top:calc(50% + 30px)}.Splitter-module_dragOverlay__iUloH{bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999}.Splitter-module_dragOverlayHorizontal__m9g3w{cursor:col-resize}.Splitter-module_dragOverlayVertical__9Nt5f{cursor:row-resize}.Splitter-module_headerActions__x-Rv8{align-items:center;display:flex;gap:8px}.Splitter-module_fullscreenButton__RmzBi{align-items:center;background:#fff;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;flex-shrink:0;height:28px;justify-content:center;transition:background-color .15s,color .15s;width:28px}.Splitter-module_fullscreenButton__RmzBi:hover{background-color:#f3f4f6;color:#111827}.Splitter-module_dialogOverlay__mZjqy{background:#0000;border:none;border-radius:10px;box-shadow:0 20px 60px #0003;height:90vh;left:50%;margin:0;max-height:100vh;max-width:100vw;overflow:hidden;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%);width:95vw}.Splitter-module_dialogOverlay__mZjqy::backdrop{background-color:#00000073}.Splitter-module_dialogContent__pmquD{background:#fff;border:1px solid #e5e7eb;border-radius:10px;display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.Splitter-module_dialogContentArea__7xPgA{flex:1;min-height:0;overflow:hidden}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
|
|
2
2
|
//# sourceMappingURL=Splitter.module.css.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useState as o,useRef as i,useEffect as c}from"react";import{FileText as a,ChevronDown as r,ChevronUp as l}from"lucide-react";import d from"./Splitter.module.css.js";var s=function(){return t("svg",e({width:"21",height:"54",viewBox:"0 0 20 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[n("path",{d:"M0.260742 1.57324L15.4268 10.8262C17.9563 12.3695 19.4999 15.1188 19.5 18.082V37.0273C19.4999 40.16 17.7767 43.0386 15.0156 44.5186L0.236328 52.4404L-0.5 52.835V1.10938L0.260742 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),n("path",{d:"M7.5 32L12.5 27L7.5 22",stroke:"#111827",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]}))},u=function(){return t("svg",e({width:"21",height:"54",viewBox:"0 0 21 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[n("path",{d:"M1.26074 1.57324L16.4268 10.8262C18.9563 12.3695 20.4999 15.1188 20.5 18.082V37.0273C20.4999 40.16 18.7767 43.0386 16.0156 44.5186L1.23633 52.4404L0.5 52.835V1.10938L1.26074 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),n("path",{d:"M13.5 32L8.5 27L13.5 22",stroke:"black",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]}))},h=function(h){var f=h.left,p=h.right,m=h.defaultLeftWidth,v=void 0===m?50:m,g=h.minLeftWidth,x=void 0===g?250:g,L=h.minRightWidth,w=void 0===L?250:L,N=h.className,C=void 0===N?"":N,k=h.height,B=void 0===k?"400px":k,E=h.width,V=void 0===E?"100%":E,b=h.header,H=h.onLeftWidthChange,M=o(v),z=M[0],A=M[1],S=o(v),y=S[0],F=S[1],R=o(!1),D=R[0],W=R[1],T=o(!1),j=T[0],O=T[1],P=o(!1),I=P[0],Z=P[1],q=o(0),X=q[0],Y=q[1],G=i(null),J=i(null);c(function(){var e=G.current;if(e){var t,n=new ResizeObserver(function(e){var n=e[0];t=requestAnimationFrame(function(){Y(n.contentRect.width)})});return n.observe(e),Y(e.getBoundingClientRect().width),function(){cancelAnimationFrame(t),n.disconnect()}}},[]);var K=X>0&&X<500;c(function(){var e=function(e){if(D)if(K&&J.current){var t=J.current.getBoundingClientRect(),n=t.height,o=e.clientY-t.top;if(o>=x&&n-o-4>=w)F(o/n*100)}else if(!K&&G.current){var i=G.current.getBoundingClientRect(),c=i.width,a=e.clientX-i.left;if(a>=x&&c-a-4>=w)A(a/c*100),null==H||H(a)}},t=function(){W(!1)};return D&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",t)),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[D,K,x,w,H]);var Q,U=function(){j?(A(50),F(50),O(!1)):O(!0)},$=function(){I?(A(50),F(50),Z(!1)):Z(!0)},_=z/100*X,ee=X-_-4;Q=K?I?{flex:1}:{height:"".concat(y,"%")}:I?{flex:1}:{width:"".concat(z,"%")};var te,ne=!K&&!j&&_<=Math.max(x+10,250),oe=!K&&!I&&ee<=Math.max(w+10,250),ie="number"==typeof B?"".concat(B,"px"):B,ce="number"==typeof V?"".concat(V,"px"):V;return t("div",e({ref:G,className:"".concat(d.container," ").concat(K?d.containerVertical:d.containerHorizontal," ").concat(C),style:{height:K?"auto":ie,width:ce}},{children:[b&&t("div",e({className:d.header},{children:[t("div",e({className:d.headerLeft},{children:[b.showDocIcon&&n(a,{className:d.headerIcon}),n("div",e({className:d.headerTitle},{children:b.title&&n("span",e({className:d.headerTitleText},{children:b.title}))}))]})),void 0!==b.confidenceScore&&t("div",e({className:"".concat(d.confidenceScore," ").concat((te=b.confidenceScore,te>=80?d.confidenceScoreHigh:te>=60?d.confidenceScoreMedium:d.confidenceScoreLow))},{children:[t("span",e({className:d.confidenceScoreTitle},{children:[b.confidenceScoreTitle," :"]})),t("div",{children:[Math.round(b.confidenceScore),"%"]})]}))]})),t("div",e({ref:J,className:"".concat(d.contentArea," ").concat(K?d.contentAreaVertical:d.contentAreaHorizontal)},{children:[!j&&n("div",e({className:"".concat(d.panel," ").concat(K?d.panelVertical:""),style:e(e({},Q),K?{height:ie}:{})},{children:f})),j&&n("button",e({onClick:U,className:"".concat(d.expandButton," ").concat(K?d.expandButtonVertical:d.expandButtonHorizontal),title:K?"Expand top panel (50/50)":"Expand left panel (50/50)"},{children:K?n(r,{size:14}):n(s,{})})),!j&&!I&&t("div",e({onMouseDown:function(e){e.preventDefault(),W(!0)},className:"".concat(d.divider," ").concat(K?d.dividerVertical:d.dividerHorizontal," ").concat(D?d.dividerDragging:d.dividerIdle)},{children:[n("div",{className:"".concat(d.dividerHitArea," ").concat(K?d.dividerHitAreaVertical:d.dividerHitAreaHorizontal)}),ne&&n("button",e({onClick:function(e){e.stopPropagation(),U()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse left panel"},{children:n(u,{})})),oe&&n("button",e({onClick:function(e){e.stopPropagation(),$()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse right panel"},{children:n(s,{})}))]})),!I&&n("div",e({className:"".concat(d.panel," ").concat(K?d.panelVertical:""),style:e({flex:1},K?{height:ie}:{})},{children:p})),I&&n("button",e({onClick:$,className:"".concat(d.expandButton," ").concat(K?d.expandButtonBottomVertical:d.expandButtonRightHorizontal),title:K?"Expand bottom panel (50/50)":"Expand right panel (50/50)"},{children:K?n(l,{size:14}):n(u,{})})),D&&n("div",{className:"".concat(d.dragOverlay," ").concat(K?d.dragOverlayVertical:d.dragOverlayHorizontal)})]}))]}))};export{h as default};
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as n,Fragment as t,jsx as o}from"react/jsx-runtime";import{useState as i,useRef as c,useEffect as a}from"react";import{FileText as r,X as l}from"lucide-react";import d from"./Splitter.module.css.js";var s=function(){return n("svg",e({width:"21",height:"54",viewBox:"0 0 20 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[o("path",{d:"M0.260742 1.57324L15.4268 10.8262C17.9563 12.3695 19.4999 15.1188 19.5 18.082V37.0273C19.4999 40.16 17.7767 43.0386 15.0156 44.5186L0.236328 52.4404L-0.5 52.835V1.10938L0.260742 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),o("path",{d:"M7.5 32L12.5 27L7.5 22",stroke:"#111827",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]}))},u=function(){return n("svg",e({width:"21",height:"54",viewBox:"0 0 21 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[o("path",{d:"M1.26074 1.57324L16.4268 10.8262C18.9563 12.3695 20.4999 15.1188 20.5 18.082V37.0273C20.4999 40.16 18.7767 43.0386 16.0156 44.5186L1.23633 52.4404L0.5 52.835V1.10938L1.26074 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),o("path",{d:"M13.5 32L8.5 27L13.5 22",stroke:"black",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]}))},h=function(){return n("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 12 12",fill:"none"},{children:[o("path",{d:"M7.58186 3.15354C7.51731 2.83771 7.06604 2.83771 7.00148 3.15354C6.60544 5.09119 5.09119 6.60544 3.15355 7.00148C2.83771 7.06603 2.83771 7.5173 3.15355 7.58185C5.09119 7.97789 6.60544 9.49215 7.00148 11.4298C7.06604 11.7456 7.51731 11.7456 7.58186 11.4298C7.9779 9.49215 9.49215 7.97789 11.4298 7.58185C11.7456 7.5173 11.7456 7.06603 11.4298 7.00148C9.49215 6.60544 7.9779 5.09119 7.58186 3.15354Z",fill:"#087443"}),o("path",{d:"M2.20669 0.0156637C2.20243 -0.00522128 2.17258 -0.0052212 2.16832 0.0156638C1.94676 1.09964 1.09964 1.94676 0.0156679 2.16831C-0.0052166 2.17258 -0.0052166 2.20242 0.0156679 2.20669C1.09964 2.42825 1.94676 3.27536 2.16832 4.35934C2.17258 4.38022 2.20243 4.38022 2.20669 4.35934C2.42825 3.27536 3.27537 2.42824 4.35934 2.20669C4.38023 2.20242 4.38023 2.17258 4.35934 2.16831C3.27537 1.94676 2.42825 1.09964 2.20669 0.0156637Z",fill:"#087443"})]}))},v=function(){return o("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 16",fill:"none"},{children:o("path",{d:"M3.125 2.75C3.02554 2.75 2.93016 2.78951 2.85983 2.85983C2.78951 2.93016 2.75 3.02554 2.75 3.125V6.125C2.75 6.22446 2.71049 6.31984 2.64017 6.39016C2.56984 6.46049 2.47446 6.5 2.375 6.5C2.27554 6.5 2.18016 6.46049 2.10983 6.39016C2.03951 6.31984 2 6.22446 2 6.125V3.125C2 2.82663 2.11853 2.54048 2.3295 2.3295C2.54048 2.11853 2.82663 2 3.125 2H6.125C6.22446 2 6.31984 2.03951 6.39016 2.10983C6.46049 2.18016 6.5 2.27554 6.5 2.375C6.5 2.47446 6.46049 2.56984 6.39016 2.64017C6.31984 2.71049 6.22446 2.75 6.125 2.75H3.125ZM9.5 2.375C9.5 2.27554 9.53951 2.18016 9.60983 2.10983C9.68016 2.03951 9.77554 2 9.875 2H12.875C13.1734 2 13.4595 2.11853 13.6705 2.3295C13.8815 2.54048 14 2.82663 14 3.125V6.125C14 6.22446 13.9605 6.31984 13.8902 6.39016C13.8198 6.46049 13.7245 6.5 13.625 6.5C13.5255 6.5 13.4302 6.46049 13.3598 6.39016C13.2895 6.31984 13.25 6.22446 13.25 6.125V3.125C13.25 3.02554 13.2105 2.93016 13.1402 2.85983C13.0698 2.78951 12.9745 2.75 12.875 2.75H9.875C9.77554 2.75 9.68016 2.71049 9.60983 2.64017C9.53951 2.56984 9.5 2.47446 9.5 2.375ZM2.375 9.5C2.47446 9.5 2.56984 9.53951 2.64017 9.60983C2.71049 9.68016 2.75 9.77554 2.75 9.875V12.875C2.75 12.9745 2.78951 13.0698 2.85983 13.1402C2.93016 13.2105 3.02554 13.25 3.125 13.25H6.125C6.22446 13.25 6.31984 13.2895 6.39016 13.3598C6.46049 13.4302 6.5 13.5255 6.5 13.625C6.5 13.7245 6.46049 13.8198 6.39016 13.8902C6.31984 13.9605 6.22446 14 6.125 14H3.125C2.82663 14 2.54048 13.8815 2.3295 13.6705C2.11853 13.4595 2 13.1734 2 12.875V9.875C2 9.77554 2.03951 9.68016 2.10983 9.60983C2.18016 9.53951 2.27554 9.5 2.375 9.5ZM13.625 9.5C13.7245 9.5 13.8198 9.53951 13.8902 9.60983C13.9605 9.68016 14 9.77554 14 9.875V12.875C14 13.1734 13.8815 13.4595 13.6705 13.6705C13.4595 13.8815 13.1734 14 12.875 14H9.875C9.77554 14 9.68016 13.9605 9.60983 13.8902C9.53951 13.8198 9.5 13.7245 9.5 13.625C9.5 13.5255 9.53951 13.4302 9.60983 13.3598C9.68016 13.2895 9.77554 13.25 9.875 13.25H12.875C12.9745 13.25 13.0698 13.2105 13.1402 13.1402C13.2105 13.0698 13.25 12.9745 13.25 12.875V9.875C13.25 9.77554 13.2895 9.68016 13.3598 9.60983C13.4302 9.53951 13.5255 9.5 13.625 9.5Z",fill:"#7A5AF8",stroke:"#7A5AF8","stroke-width":"0.5"})}))},C=function(C){var f=C.left,m=C.right,p=C.defaultLeftWidth,g=void 0===p?50:p,w=C.minLeftWidth,N=void 0===w?250:w,x=C.minRightWidth,H=void 0===x?250:x,L=C.className,k=void 0===L?"":L,A=C.height,M=void 0===A?"400px":A,B=C.width,b=void 0===B?"100%":B,z=C.header,F=C.onLeftWidthChange,y=C.openInFullscreen,E=void 0!==y&&y,S=C.onFullscreenClose,V=i(g),D=V[0],R=V[1],O=i(!1),P=O[0],Z=O[1],I=i(!1),T=I[0],W=I[1],j=i(!1),q=j[0],X=j[1],G=i(0),J=G[0],K=G[1],Q=i(0),U=Q[0],Y=Q[1],$=i(E),_=$[0],ee=$[1],ne=c(null),te=c(null),oe=c(null);a(function(){var e=ne.current;e&&(_?(e.showModal(),requestAnimationFrame(function(){if(oe.current){var e=oe.current.getBoundingClientRect().width;Y(e),R(g),W(!1),X(!1)}})):(e.close(),R(g),W(!1),X(!1),null==S||S()))},[_]),a(function(){var e=oe.current;if(e&&_){var n,t=new ResizeObserver(function(e){var t=e[0];n=requestAnimationFrame(function(){Y(t.contentRect.width)})});return t.observe(e),function(){cancelAnimationFrame(n),t.disconnect()}}},[_]),a(function(){var e=te.current;if(e){var n,t=new ResizeObserver(function(e){var t=e[0];n=requestAnimationFrame(function(){K(t.contentRect.width)})});return t.observe(e),K(e.getBoundingClientRect().width),function(){cancelAnimationFrame(n),t.disconnect()}}},[]);var ie=function(e){e.preventDefault(),Z(!0)};a(function(){var e=function(e){if(P){var n=_?oe.current:te.current;if(n){var t=n.getBoundingClientRect(),o=t.width,i=e.clientX-t.left;if(i>=N&&o-i-4>=H)R(i/o*100),null==F||F(i)}}},n=function(){Z(!1)};return P&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",n)}},[P,_,N,H,F]);var ce=function(){T?(R(50),W(!1)):W(!0)},ae=function(){q?(R(50),X(!1)):X(!0)},re=_?U:J,le=D/100*re,de=re-le-4,se=_?500:250,ue=q?{flex:1}:{width:"".concat(D,"%")},he=!T&&le<=Math.max(N+10,se),ve=!q&&de<=Math.max(H+10,se),Ce=function(e){return e>=80?d.confidenceScoreHigh:e>=60?d.confidenceScoreMedium:d.confidenceScoreLow},fe="number"==typeof M?"".concat(M,"px"):M,me="number"==typeof b?"".concat(b,"px"):b;return n(t,{children:[n("div",e({ref:te,className:"".concat(d.container," ").concat(d.containerHorizontal," ").concat(k),style:{height:fe,width:me}},{children:[z&&n("div",e({className:d.header},{children:[n("div",e({className:d.headerLeft},{children:[z.showDocIcon&&o(r,{className:d.headerIcon}),o("div",e({className:d.headerTitle},{children:z.title&&o("span",e({className:d.headerTitleText},{children:z.title}))}))]})),n("div",e({className:d.headerActions},{children:[void 0!==z.confidenceScore&&n("div",e({className:"".concat(d.confidenceScore," ").concat(Ce(z.confidenceScore))},{children:[o("div",e({style:{width:"16px",height:"16px"}},{children:o(h,{})})),n("div",{children:[Math.round(z.confidenceScore),"%"]})]})),o("button",e({className:d.fullscreenButton,onClick:function(){return ee(!0)},title:"Open fullscreen"},{children:o(v,{})}))]}))]})),n("div",e({className:"".concat(d.contentArea," ").concat(d.contentAreaHorizontal)},{children:[!T&&o("div",e({className:d.panel,style:ue},{children:f})),T&&o("button",e({onClick:ce,className:"".concat(d.expandButton," ").concat(d.expandButtonHorizontal),title:"Expand left panel (50/50)"},{children:o(s,{})})),!T&&!q&&n("div",e({onMouseDown:ie,className:"".concat(d.divider," ").concat(d.dividerHorizontal," ").concat(P?d.dividerDragging:d.dividerIdle)},{children:[o("div",{className:"".concat(d.dividerHitArea," ").concat(d.dividerHitAreaHorizontal)}),he&&o("button",e({onClick:function(e){e.stopPropagation(),ce()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse left panel"},{children:o(u,{})})),ve&&o("button",e({onClick:function(e){e.stopPropagation(),ae()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse right panel"},{children:o(s,{})}))]})),!q&&o("div",e({className:d.panel,style:{flex:1}},{children:m})),q&&o("button",e({onClick:ae,className:"".concat(d.expandButton," ").concat(d.expandButtonRightHorizontal),title:"Expand right panel (50/50)"},{children:o(u,{})})),P&&o("div",{className:"".concat(d.dragOverlay," ").concat(d.dragOverlayHorizontal)})]}))]})),o("dialog",e({ref:ne,className:d.dialogOverlay,onClose:function(){return ee(!1)}},{children:n("div",e({ref:oe,className:d.dialogContent},{children:[z&&n("div",e({className:d.header},{children:[n("div",e({className:d.headerLeft},{children:[z.showDocIcon&&o(r,{className:d.headerIcon}),o("div",e({className:d.headerTitle},{children:z.title&&o(t,{children:o("span",e({className:d.headerTitleText},{children:z.title}))})}))]})),n("div",e({className:d.headerActions},{children:[void 0!==z.confidenceScore&&n("div",e({className:"".concat(d.confidenceScore," ").concat(Ce(z.confidenceScore))},{children:[o("div",e({style:{width:"16px",height:"16px"}},{children:o(h,{})})),n("div",{children:[Math.round(z.confidenceScore),"%"]})]})),o("button",e({className:d.fullscreenButton,onClick:function(){return ee(!1)},title:"Close fullscreen"},{children:o(l,{size:20,color:"#5928ed"})}))]}))]})),n("div",e({className:"".concat(d.contentArea," ").concat(d.contentAreaHorizontal," ").concat(d.dialogContentArea)},{children:[!T&&o("div",e({className:d.panel,style:ue},{children:f})),T&&o("button",e({onClick:ce,className:"".concat(d.expandButton," ").concat(d.expandButtonHorizontal),title:"Expand left panel (50/50)"},{children:o(s,{})})),!T&&!q&&n("div",e({onMouseDown:ie,className:"".concat(d.divider," ").concat(d.dividerHorizontal," ").concat(P?d.dividerDragging:d.dividerIdle)},{children:[o("div",{className:"".concat(d.dividerHitArea," ").concat(d.dividerHitAreaHorizontal)}),he&&o("button",e({onClick:function(e){e.stopPropagation(),ce()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse left panel"},{children:o(u,{})})),ve&&o("button",e({onClick:function(e){e.stopPropagation(),ae()},onMouseDown:function(e){return e.stopPropagation()},className:d.collapseButton,title:"Collapse right panel"},{children:o(s,{})}))]})),!q&&o("div",e({className:d.panel,style:{flex:1}},{children:m})),q&&o("button",e({onClick:ae,className:"".concat(d.expandButton," ").concat(d.expandButtonRightHorizontal),title:"Expand right panel (50/50)"},{children:o(u,{})})),P&&o("div",{className:"".concat(d.dragOverlay," ").concat(d.dragOverlayHorizontal)})]}))]}))}))]})};export{C as default};
|
|
2
2
|
//# sourceMappingURL=SplitterCitationsComponent.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as n,jsx as t,Fragment as i}from"react/jsx-runtime";import{useState as r,useRef as o,useEffect as a}from"react";import{ChevronUp as l,ChevronDown as s,Maximize2 as d,X as c}from"lucide-react";import h from"./TextualGuidelines.module.css.js";import u from"../CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js";var g=function(e){return e.toLowerCase().replace(/[^a-z0-9]/g,"")},f=function(e,n){var t=e.map(g).filter(Boolean),i=n.map(g).filter(Boolean);if(0===t.length||0===i.length)return 0;var r=new Set(t),o=new Set(i),a=0;return r.forEach(function(e){o.has(e)&&a++}),2*a/(r.size+o.size)},p=function(n){var i=0;return n.split(/(\*\*.*?\*\*|__.*?__)/g).map(function(n){var r="bold-".concat(i);return i+=n.length,n.startsWith("**")&&n.endsWith("**")||n.startsWith("__")&&n.endsWith("__")?t("strong",e({className:h.boldText},{children:n.slice(2,-2)}),r):n})},x=function(g){g.index;var x=g.TextualGuideLines,m=g.HighlightedWords,v=g.InternalGptReasoningData,I=g.headerTitle,b=void 0===I?"Textual Guidelines":I,y=g.useVariantHighlight,w=void 0!==y&&y,C=g.fuzzyThreshold,k=void 0===C?.8:C,T=r(0),N=T[0],z=T[1],_=r(new Set),L=_[0],S=_[1],G=o([]),V=[];m.forEach(function(e){(function(e,n,t){void 0===t&&(t=.8);var i=n.trim().split(/\s+/).filter(Boolean);if(0===i.length)return[];for(var r,o=[],a=/\S+/g;null!==(r=a.exec(e));)o.push({word:r[0],start:r.index,end:r.index+r[0].length});for(var l=i.length,s=[],d=Math.max(1,l-1);d<=l+2;d++)for(var c=0;c<=o.length-d;c++){var h=o.slice(c,c+d),u=f(i,h.map(function(e){return e.word}));u>=t&&s.push({startIndex:h[0].start,endIndex:h[h.length-1].end,score:u})}if(0===s.length)return[];s.sort(function(e,n){return n.score-e.score});for(var g=[],p=function(e){g.some(function(n){return e.startIndex<n.endIndex&&e.endIndex>n.startIndex})||g.push(e)},x=0,m=s;x<m.length;x++)p(m[x]);return g})(x,e,k).forEach(function(e){return V.push(e)})}),V.sort(function(e,n){return e.startIndex-n.startIndex});for(var D=[],E=0,H=V;E<H.length;E++){var M=H[E],R=D.at(-1);(!R||M.startIndex>=R.endIndex)&&D.push(M)}var W=D.map(function(e,n){return{text:x.substring(e.startIndex,e.endIndex),startIndex:e.startIndex,endIndex:e.endIndex,highlightIndex:n}}),A=W.length;a(function(){A>0&&(z(0),setTimeout(function(){var e;null===(e=G.current[0])||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"})},50))},[A]);var B,j,F,K,P=function(e){S(function(n){var t=new Set(n);return t.has(e)?t.delete(e):t.add(e),t})};return n("div",e({className:h.expandedContainer,style:{marginLeft:"1rem",display:"flex",flexDirection:"column",height:"100%",border:"none"}},{children:[n("div",e({className:h.expandedHeader,style:{backgroundColor:"white",border:"none"}},{children:[t("span",e({className:h.headerTitle,style:{backgroundColor:"white"}},{children:b})),t("div",e({className:h.headerActions},{children:A>=1&&n(i,{children:[n("span",e({style:{fontSize:"12px",color:"#888"}},{children:[N+1," / ",A]})),t("button",e({onClick:function(){if(0!==A){var e=N>0?N-1:A-1;z(e),setTimeout(function(){var n;null===(n=G.current[e])||void 0===n||n.scrollIntoView({behavior:"smooth",block:"center"})},50)}},disabled:N<=0,style:{padding:"2px 4px",cursor:N<=0?"not-allowed":"pointer",opacity:N<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(l,{size:14,color:"#64748b"})})),t("button",e({onClick:function(){if(0!==A){var e=N<A-1?N+1:0;z(e),setTimeout(function(){var n;null===(n=G.current[e])||void 0===n||n.scrollIntoView({behavior:"smooth",block:"center"})},50)}},disabled:N>=A-1,style:{padding:"2px 4px",cursor:N>=A-1?"not-allowed":"pointer",opacity:N>=A-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:t(s,{size:14,color:"#64748b"})}))]})}))]})),t("div",e({className:h.contentArea,style:{flex:1,maxHeight:"none",height:"auto",overflowY:"auto",border:"1px solid #eee",borderRadius:"4px",padding:"1rem"}},{children:t("div",e({className:h.contentInner},{children:(B=x.split("\n"),j=0,F=0,K=[],B.forEach(function(i){var r=j,o=j+i.length;j+=i.length+1;var a=/^(\s*)(-|\*|\d+\.)\s+/.exec(i),g=/^(Title|Description|Training-basis):\s*/i.exec(i);g&&(F=0),a&&(F+=1);var f=!!a,m=!!g,I=a?a[0].length:0,b=r+I,y=W.filter(function(e){return e.startIndex<o&&e.endIndex>b}),C="line-".concat(r),k=function(i,r,o){m?K.push(t("span",e({className:h.headerLine},{children:i}),r)):f?K.push(n("span",e({className:h.listItemLine,style:{paddingLeft:a[1]?"1rem":"0"}},{children:[o&&n("span",e({className:h.listCounter},{children:[F,"."]})),t("span",{children:i})]}),r)):K.push(t("span",e({className:h.blockLine},{children:i}),r))};if(0===y.length)k(p(i.substring(I)),C,!0);else{for(var T=b,z=[],_=!0,S=function(i){var r=Math.max(i.startIndex,b),a=Math.min(i.endIndex,o);if(r>=a)return"continue";if(r>T){var g=x.substring(T,r);z.push(t("span",{children:p(g)},"t-".concat(T)))}var f=i.highlightIndex===N,m=w?f?"".concat(h.highlight," ").concat(h.highlightActiveVariant):h.highlightVariant:f?"".concat(h.highlight," ").concat(h.highlightActive):h.highlight,I=L.has(i.highlightIndex);if(z.push(n("span",e({ref:function(e){G.current[i.highlightIndex]=e},className:m,role:"button",tabIndex:0,onClick:function(){return P(i.highlightIndex)},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||P(i.highlightIndex)},style:{display:"inline-flex",alignItems:"center",gap:"2px",cursor:"pointer"}},{children:[x.substring(r,a),t(I?l:s,{size:12,style:{flexShrink:0}})]}),"h-".concat(i.highlightIndex))),T=a,I&&v[i.highlightIndex]){var y=_?C:"".concat(C,"-chunk-").concat(r);k(z,y,_),_=!1,z=[],K.push(t("div",e({style:{marginTop:"0.5rem",marginBottom:"0.5rem"}},{children:t(u,{item:e(e({},v[i.highlightIndex]),{confidence_score:void 0}),headerTitle:"GPT - Gemini 3.1 Flash Lite",iconsConfig:{ChevronDownIcon:s,ChevronUpIcon:l,MaximizeIcon:d,CloseIcon:c},bodyHeight:"100%",disableMaximize:!0,index:i.highlightIndex})}),"expanded-".concat(i.highlightIndex)))}},V=0,D=y;V<D.length;V++)S(D[V]);if(T<o&&z.push(t("span",{children:p(x.substring(T,o))},"t-end-".concat(o))),z.length>0||_){var E=_?C:"".concat(C,"-tail");k(z,E,_)}}}),K)}))}))]}))};export{x as default};
|
|
2
|
+
//# sourceMappingURL=TextualGuideLinesComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextualGuideLinesComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={container:"TextualGuidelines-module_container__RJDOE",itemRow:"TextualGuidelines-module_itemRow__kQWzv",indexNumber:"TextualGuidelines-module_indexNumber__tprYt",textContent:"TextualGuidelines-module_textContent__3JD9T",paraphraseButton:"TextualGuidelines-module_paraphraseButton__FuN0v",paraphraseText:"TextualGuidelines-module_paraphraseText__o5VEv",paraphraseStar:"TextualGuidelines-module_paraphraseStar__omUYz",chevronIcon:"TextualGuidelines-module_chevronIcon__jxUNm",chevronIconRotated:"TextualGuidelines-module_chevronIconRotated__oyLRq",expandedContainer:"TextualGuidelines-module_expandedContainer__ku2Qy",expandedHeader:"TextualGuidelines-module_expandedHeader__5OOd1",headerTitle:"TextualGuidelines-module_headerTitle__6vpFm",headerActions:"TextualGuidelines-module_headerActions__tAYsZ",navigationContainer:"TextualGuidelines-module_navigationContainer__DAz7T",navButton:"TextualGuidelines-module_navButton__wpCGR",navIcon:"TextualGuidelines-module_navIcon__Aa93S",navCounter:"TextualGuidelines-module_navCounter__MbQnG",confidenceBadge:"TextualGuidelines-module_confidenceBadge__ue2t4",confidenceStar:"TextualGuidelines-module_confidenceStar__vucHk",confidenceScore:"TextualGuidelines-module_confidenceScore__rK7mq",maximizeButton:"TextualGuidelines-module_maximizeButton__Lg43k",maximizeIcon:"TextualGuidelines-module_maximizeIcon__RETCs",contentArea:"TextualGuidelines-module_contentArea__2k4vh",contentInner:"TextualGuidelines-module_contentInner__2uMSz",footer:"TextualGuidelines-module_footer__AQG-E",trainingTitle:"TextualGuidelines-module_trainingTitle__HH--J",trainingTitleLink:"TextualGuidelines-module_trainingTitleLink__s7Oqw",modalDialog:"TextualGuidelines-module_modalDialog__OtQxY",modalContainer:"TextualGuidelines-module_modalContainer__sEVUZ",modalHeader:"TextualGuidelines-module_modalHeader__BN8z5",modalHeaderTitle:"TextualGuidelines-module_modalHeaderTitle__gJp9R",modalHeaderActions:"TextualGuidelines-module_modalHeaderActions__oupri",modalNavContainer:"TextualGuidelines-module_modalNavContainer__UTxad",modalNavButton:"TextualGuidelines-module_modalNavButton__DLNmC",closeButton:"TextualGuidelines-module_closeButton__hkkeO",closeIcon:"TextualGuidelines-module_closeIcon__qhupP",modalContent:"TextualGuidelines-module_modalContent__wzOBu",modalContentInner:"TextualGuidelines-module_modalContentInner__Txziz",modalFooter:"TextualGuidelines-module_modalFooter__jkbjh",modalFooterSource:"TextualGuidelines-module_modalFooterSource__9PLRg",blockLine:"TextualGuidelines-module_blockLine__f-gTN",headerLine:"TextualGuidelines-module_headerLine__Ic1ja",listItemLine:"TextualGuidelines-module_listItemLine__2E-57",listCounter:"TextualGuidelines-module_listCounter__Ws3UU",boldText:"TextualGuidelines-module_boldText__vZBdP",highlight:"TextualGuidelines-module_highlight__CGXvE",highlightActive:"TextualGuidelines-module_highlightActive__--Ns5",highlightActiveVariant:"TextualGuidelines-module_highlightActiveVariant__6gPK9",highlightVariant:"TextualGuidelines-module_highlightVariant__7YZ7W",highlightButton:"TextualGuidelines-module_highlightButton__zjZxQ"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".TextualGuidelines-module_container__RJDOE{display:flex;flex-direction:column;gap:.5rem}.TextualGuidelines-module_itemRow__kQWzv{align-items:flex-start;display:flex;font-size:.875rem;gap:.5rem}.TextualGuidelines-module_indexNumber__tprYt{color:#475467;font-weight:500}.TextualGuidelines-module_textContent__3JD9T{color:#475467;flex:1;max-width:none}.TextualGuidelines-module_paraphraseButton__FuN0v{align-items:center;background:#0000;border:none;border-radius:.375rem;cursor:pointer;display:inline-flex;gap:.25rem;justify-content:flex-start;padding:.125rem .375rem}.TextualGuidelines-module_paraphraseText__o5VEv{color:#2563eb;font-weight:500;text-align:start}.TextualGuidelines-module_paraphraseStar__omUYz{color:#2563eb;padding-right:.25rem}.TextualGuidelines-module_chevronIcon__jxUNm{color:#2563eb;height:1rem;transition:transform .2s;width:1rem}.TextualGuidelines-module_chevronIconRotated__oyLRq{transform:rotate(180deg)}.TextualGuidelines-module_expandedContainer__ku2Qy{border:solid #e5e7eb;border-radius:.5rem;border-width:1px 1px 2px;margin-left:1.5rem;margin-top:.5rem;overflow:hidden}.TextualGuidelines-module_expandedHeader__5OOd1{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.25rem .75rem}.TextualGuidelines-module_headerTitle__6vpFm{font-size:.875rem;font-weight:400}.TextualGuidelines-module_headerActions__tAYsZ{align-items:center;display:flex;gap:.5rem}.TextualGuidelines-module_navigationContainer__DAz7T{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.TextualGuidelines-module_navButton__wpCGR{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.TextualGuidelines-module_navButton__wpCGR:hover{background-color:#f3f4f6}.TextualGuidelines-module_navIcon__Aa93S{color:#6b7280;height:1.25rem;width:1.25rem}.TextualGuidelines-module_navCounter__MbQnG{color:#4b5563;font-size:.875rem;min-width:2.25rem;text-align:center}.TextualGuidelines-module_confidenceBadge__ue2t4{align-items:center;background-color:#f0fdf4;border:2px solid #3ac894;border-radius:9999px;display:inline-flex;gap:.25rem;padding:.25rem .5rem}.TextualGuidelines-module_confidenceStar__vucHk{color:#059669;font-size:.75rem}.TextualGuidelines-module_confidenceScore__rK7mq{color:#059669;font-size:.875rem;font-weight:600}.TextualGuidelines-module_maximizeButton__Lg43k{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.TextualGuidelines-module_maximizeButton__Lg43k:hover{background-color:#e5e7eb}.TextualGuidelines-module_maximizeIcon__RETCs{color:#6b7280;height:1.25rem;width:1.25rem}.TextualGuidelines-module_contentArea__2k4vh{font-size:.875rem;max-height:11rem;overflow-y:auto;padding:.5rem .75rem;scroll-behavior:smooth}.TextualGuidelines-module_contentInner__2uMSz{line-height:1.5rem}.TextualGuidelines-module_footer__AQG-E{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.TextualGuidelines-module_trainingTitle__HH--J{font-size:.875rem;font-style:italic;font-weight:300}.TextualGuidelines-module_trainingTitleLink__s7Oqw{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:.25rem}.TextualGuidelines-module_modalDialog__OtQxY{background:#0000;border:none;left:50%;margin:0;max-height:none;max-width:none;overflow:visible;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%)}.TextualGuidelines-module_modalDialog__OtQxY::backdrop{background-color:#0006}.TextualGuidelines-module_modalContainer__sEVUZ{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:80vh;max-width:900px;overflow:hidden;width:80vw}.TextualGuidelines-module_modalHeader__BN8z5{align-items:center;background-color:#f2f4f7;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.75rem .5rem .75rem 1rem;width:100%}.TextualGuidelines-module_modalHeaderTitle__gJp9R{font-size:1rem;font-weight:500}.TextualGuidelines-module_modalHeaderActions__oupri{align-items:center;display:flex;gap:.5rem}.TextualGuidelines-module_modalNavContainer__UTxad{align-items:center;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;padding:.25rem}.TextualGuidelines-module_modalNavButton__DLNmC{align-items:center;background:#0000;border:none;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:0;transition:background-color .2s}.TextualGuidelines-module_modalNavButton__DLNmC:hover{background-color:#e5e7eb}.TextualGuidelines-module_closeButton__hkkeO{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.TextualGuidelines-module_closeButton__hkkeO:hover{background-color:#e5e7eb}.TextualGuidelines-module_closeIcon__qhupP{color:#4b5563;height:1.25rem;width:1.25rem}.TextualGuidelines-module_modalContent__wzOBu{flex:1;font-size:.875rem;overflow-y:auto;padding:.75rem 1rem;scroll-behavior:smooth}.TextualGuidelines-module_modalContentInner__Txziz{line-height:1.75rem}.TextualGuidelines-module_modalFooter__jkbjh{justify-content:flex-end;padding:.5rem 1rem}.TextualGuidelines-module_modalFooterSource__9PLRg,.TextualGuidelines-module_modalFooter__jkbjh{align-items:center;background-color:#f2f4f7;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0}.TextualGuidelines-module_modalFooterSource__9PLRg{justify-content:flex-start;padding:1rem}.TextualGuidelines-module_blockLine__f-gTN{display:block}.TextualGuidelines-module_headerLine__Ic1ja{display:block;font-weight:400}.TextualGuidelines-module_listItemLine__2E-57{display:block}.TextualGuidelines-module_listCounter__Ws3UU{display:inline-block;font-weight:500;text-align:left;width:1.5rem}.TextualGuidelines-module_boldText__vZBdP{font-weight:600}.TextualGuidelines-module_highlight__CGXvE{background-color:#fef08a;border-radius:.25rem;padding:0 .125rem;transition:all .2s}.TextualGuidelines-module_highlightActive__--Ns5{background-color:#fde047;border:1px solid #eab308;box-shadow:0 1px 2px 0 #0000000d}.TextualGuidelines-module_highlightActiveVariant__6gPK9{background-color:#e0e7ff;border:1px solid #5c75f4;box-shadow:0 1px 2px 0 #0000000d;color:#6366f1;font-weight:500}.TextualGuidelines-module_highlightVariant__7YZ7W{background-color:#eef2ff;border-radius:.25rem;color:#6366f1;font-weight:500;padding:0 .125rem;transition:all .2s}.TextualGuidelines-module_highlightButton__zjZxQ{border:none;cursor:pointer;display:inline;font:inherit}"));const i=document.head||document.getElementsByTagName("head")[0]||document.documentElement;i&&i.appendChild(e)}();export{e as default};
|
|
2
|
+
//# sourceMappingURL=TextualGuidelines.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextualGuidelines.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{default as MarkdownRenderer}from"./features/CitationRenderer/MarkdownRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";export{default as PaginatedTable}from"./features/PaginatedTable/PaginatedTable.js";export{default as NonWebReasoningComponent}from"./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js";export{default as ChatCitation}from"./features/ChatCitation/ChatCitationRenderer.js";export{default as CognitiveDecisioningCard}from"./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js";export{default as PdfViewer}from"./features/PdfViewer/PdfViewer.js";export{default as FaqCitation}from"./features/CognitiveDecisioning/FaqCitation/FaqCitation.js";export{default as ImageCitationContent}from"./features/RequirementAiCitations/ImageCitation/ImageCitationContent.js";export{default as VideoCitationContent}from"./features/RequirementAiCitations/VideoCitation/VideoCitationContent.js";export{default as FileCitationContent}from"./features/RequirementAiCitations/FileCitation/FileCitationContent.js";export{default as WebCitationWithImageContent}from"./features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js";export{default as MarkdownWithImageCitation}from"./features/MarkdownWithImageCitation/MarkdownWithImageCitation.js";export{default as AiReasoningCitation}from"./features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js";export{default as TableCitationContent}from"./features/TableCitation/TableCitationContent.js";export{default as CitationsViewer}from"./features/CitationViewer/CitationsViewer.js";export{default as ExcelCitation}from"./features/ExcelCitation/ExcelCitations.js";export{default as ScannedDocCitation}from"./features/ScannedDocCitation/ScannedDocCitation.js";export{default as ChatDrawer}from"./features/ChatDrawer/ChatDrawer.js";export{FILE_INGESTION_STATUS,SUMMARY_EXPAND_HEIGHT_NUDGE,TRUNCATE_THRESHOLD}from"./features/ChatDrawer/constants/ChatDrawer.js";export{default as SplitterCitationsComponent}from"./features/SplitterCitations/SplitterCitationsComponent.js";export{default as CognitiveCompare}from"./features/CognitiveCompare/CognitiveCompare.js";
|
|
1
|
+
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{default as MarkdownRenderer}from"./features/CitationRenderer/MarkdownRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";export{default as PaginatedTable}from"./features/PaginatedTable/PaginatedTable.js";export{default as InternalgptReasoningComponent,default as NonWebReasoningComponent}from"./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js";export{default as ChatCitation}from"./features/ChatCitation/ChatCitationRenderer.js";export{default as CognitiveDecisioningCard}from"./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js";export{default as PdfViewer}from"./features/PdfViewer/PdfViewer.js";export{default as FaqCitation}from"./features/CognitiveDecisioning/FaqCitation/FaqCitation.js";export{default as ImageCitationContent}from"./features/RequirementAiCitations/ImageCitation/ImageCitationContent.js";export{default as VideoCitationContent}from"./features/RequirementAiCitations/VideoCitation/VideoCitationContent.js";export{default as FileCitationContent}from"./features/RequirementAiCitations/FileCitation/FileCitationContent.js";export{default as WebCitationWithImageContent}from"./features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js";export{default as MarkdownWithImageCitation}from"./features/MarkdownWithImageCitation/MarkdownWithImageCitation.js";export{default as AiReasoningCitation}from"./features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js";export{default as TableCitationContent}from"./features/TableCitation/TableCitationContent.js";export{default as CitationsViewer}from"./features/CitationViewer/CitationsViewer.js";export{default as ExcelCitation}from"./features/ExcelCitation/ExcelCitations.js";export{default as ScannedDocCitation}from"./features/ScannedDocCitation/ScannedDocCitation.js";export{default as ChatDrawer}from"./features/ChatDrawer/ChatDrawer.js";export{FILE_INGESTION_STATUS,SUMMARY_EXPAND_HEIGHT_NUDGE,TRUNCATE_THRESHOLD}from"./features/ChatDrawer/constants/ChatDrawer.js";export{default as SplitterCitationsComponent}from"./features/SplitterCitations/SplitterCitationsComponent.js";export{default as CognitiveCompare}from"./features/CognitiveCompare/CognitiveCompare.js";export{default as CognitiveInternalgptCoreComponent}from"./features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js";export{default as TextualGuideLinesComponent}from"./features/TextualGuidelines/TextualGuideLinesComponent.js";export{IngestionStatusChip,IngestionStatusComponent}from"./features/IngestionStatus/IngestionStatusComponent.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompare.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompare.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAEL,qBAAqB,EAMtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"CognitiveCompare.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompare.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAEL,qBAAqB,EAMtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AA0BlC,QAAA,MAAM,gBAAgB,6QAuBnB,qBAAqB,4CAygEvB,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,eAAe,gBAAgB,CAAC"}
|
|
@@ -274,4 +274,5 @@ export type HighlightMatch = {
|
|
|
274
274
|
color: string;
|
|
275
275
|
usedLooseMatch?: boolean;
|
|
276
276
|
};
|
|
277
|
+
export type DivRefMap<Key extends string | number = string | number> = Record<Key, React.RefObject<HTMLDivElement>>;
|
|
277
278
|
//# sourceMappingURL=CognitiveCompareTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompareTypes.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareTypes.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,uBAAuB;IACtC,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AAG,CAAC,GAAG,IAAI,CAAC;IAC7C,iBAAiB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAA;IAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAA;AAGD,MAAM,MAAM,cAAc,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"CognitiveCompareTypes.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareTypes.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE;QACX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+
leftNums: Map<string, number>;
|
|
5
|
+
rightNums: Map<string, string>;
|
|
6
|
+
};
|
|
7
|
+
export type CompareContextValue = {
|
|
8
|
+
maintainRelativeOrder: boolean;
|
|
9
|
+
showDeviationBadges: boolean;
|
|
10
|
+
isProposingFix?: boolean;
|
|
11
|
+
proposingFixNodeId?: string;
|
|
12
|
+
isRedlineFlow?: boolean;
|
|
13
|
+
isSideBySide: boolean;
|
|
14
|
+
activeSideBySideSection: number | string | null;
|
|
15
|
+
connectedSections: Set<number | string>;
|
|
16
|
+
proposedSections: SectionBlock[];
|
|
17
|
+
existingSections: SectionBlock[];
|
|
18
|
+
deviationNumberRegistry: Record<string, number>;
|
|
19
|
+
treeData: Record<string, any> | null | undefined;
|
|
20
|
+
displayConfig: IDisplayConfig;
|
|
21
|
+
resolvedMarkdownStyles: Record<string, any>;
|
|
22
|
+
unifiedNumbering: UnifiedNumbering;
|
|
23
|
+
expandedSections: Record<string, boolean>;
|
|
24
|
+
expandedSubSections: Record<string, boolean>;
|
|
25
|
+
setExpandedSubSections: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
|
|
26
|
+
getSectionCompareStyle: (idx: number, side?: "left" | "right") => StyleVariant | null;
|
|
27
|
+
getSubSectionCompareStyle: (path: string) => StyleVariant | null;
|
|
28
|
+
getBadgeRef: (side: "left" | "right", id: string) => React.RefObject<HTMLDivElement>;
|
|
29
|
+
getSectionRowRef: (idx: string | number) => React.RefObject<HTMLDivElement>;
|
|
30
|
+
getSubSectionRef: (side: "left" | "right", path: string) => React.RefObject<HTMLDivElement>;
|
|
31
|
+
sectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
32
|
+
sectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
33
|
+
sectionRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
34
|
+
sectionRightRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
35
|
+
subSectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
36
|
+
subSectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
37
|
+
lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
38
|
+
rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;
|
|
39
|
+
openMoreFunctionsPopup: (e: React.MouseEvent, baseSec: SectionBlock, isOrphan: boolean, refSec: SectionBlock, id: string | number, style?: StyleVariant | null) => void;
|
|
40
|
+
handleOpenSummaryPopup: (e: React.MouseEvent, actionId: string, isOrphan: boolean, summary: any, displayImpact?: boolean) => void;
|
|
41
|
+
openSummaryPopup: (e: React.MouseEvent, actionId: string, isOrphan: boolean, summary: any) => void;
|
|
42
|
+
handleCloseSummaryPopup: () => void;
|
|
43
|
+
toggleSection: (idx: number, columnKey: "left" | "right") => void;
|
|
44
|
+
handleSubSectionToggle: (keyPath: string) => void;
|
|
45
|
+
renderSubSectionAccordion: (args: {
|
|
46
|
+
section: SectionBlock;
|
|
47
|
+
keyPath: string;
|
|
48
|
+
depth: number;
|
|
49
|
+
columnKey: "left" | "right";
|
|
50
|
+
parentNodeId: string;
|
|
51
|
+
sectionOffset?: number;
|
|
52
|
+
}) => React.ReactNode;
|
|
53
|
+
resetSideBySide: () => void;
|
|
54
|
+
setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;
|
|
55
|
+
setConnectedLines: React.Dispatch<React.SetStateAction<any[]>>;
|
|
56
|
+
cachedConnectedPositions: React.MutableRefObject<any[]>;
|
|
57
|
+
showDeviationNavigation: Record<string, any>;
|
|
58
|
+
showOpenNodeRef: React.MutableRefObject<string | undefined>;
|
|
59
|
+
deviationNodeIdToView?: string | undefined;
|
|
60
|
+
deviationTargetParentId?: string | null;
|
|
61
|
+
};
|
|
62
|
+
export declare const CompareContextProvider: React.Provider<CompareContextValue | null>;
|
|
63
|
+
export declare const useCompareContext: () => CompareContextValue;
|
|
64
|
+
//# sourceMappingURL=CompareContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompareContext.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CompareContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,uBAAuB,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAChD,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACxC,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,cAAc,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5C,gBAAgB,EAAE,gBAAgB,CAAC;IAC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owProps = {
|
|
4
|
+
section: SectionBlock;
|
|
5
|
+
idx: number;
|
|
6
|
+
};
|
|
7
|
+
declare const LHSSectionRow: React.MemoExoticComponent<({ section, idx, }: LHSSectionRowProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
8
|
+
export default LHSSectionRow;
|
|
9
|
+
//# sourceMappingURL=LHSSectionRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LHSSectionRow.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/LHSSectionRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAQtE,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,QAAA,MAAM,aAAa,gDAId,kBAAkB,oDAsLtB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SectionBlock } from "../CognitiveCompareTypes";
|
|
3
|
+
type RHSSectionRowProps = {
|
|
4
|
+
section: SectionBlock;
|
|
5
|
+
idx: number;
|
|
6
|
+
};
|
|
7
|
+
declare const RHSSectionRow: React.MemoExoticComponent<({ section, idx, }: RHSSectionRowProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export default RHSSectionRow;
|
|
9
|
+
//# sourceMappingURL=RHSSectionRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RHSSectionRow.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/RHSSectionRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAQtE,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,QAAA,MAAM,aAAa,gDAId,kBAAkB,6CAqNtB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { SectionBlock } from "../CognitiveCompareTypes";
|
|
3
3
|
import { DeviationNavigationEntry } from "../hooks/useDeviationNavigation";
|
|
4
4
|
type SectionAccordionProps = {
|
|
5
5
|
section: SectionBlock;
|
|
@@ -11,35 +11,7 @@ type SectionAccordionProps = {
|
|
|
11
11
|
isExpanded: boolean;
|
|
12
12
|
onToggle: () => void;
|
|
13
13
|
navigation: DeviationNavigationEntry | null;
|
|
14
|
-
showOpenNodeRef: React.MutableRefObject<string | undefined>;
|
|
15
|
-
resolvedMarkdownStyles: Record<string, any>;
|
|
16
|
-
maintainRelativeOrder: boolean | undefined;
|
|
17
|
-
showDeviationBadges?: boolean;
|
|
18
|
-
deviationNodeIdToView?: string | undefined;
|
|
19
|
-
deviationTargetParentId?: string | null;
|
|
20
|
-
isProposingFix?: boolean;
|
|
21
|
-
proposingFixNodeId?: string;
|
|
22
|
-
isRedlineFlow?: boolean;
|
|
23
|
-
collisionKey?: string | number;
|
|
24
|
-
openSummaryPopup: (e: React.MouseEvent, actionId: string, isOrphan: boolean, summary: DeviationDataEntry | null) => void;
|
|
25
|
-
renderSubSections: (args: {
|
|
26
|
-
section: SectionBlock;
|
|
27
|
-
keyPath: string;
|
|
28
|
-
depth: number;
|
|
29
|
-
columnKey: "left" | "right";
|
|
30
|
-
parentNodeId: string;
|
|
31
|
-
devCounter?: React.MutableRefObject<Map<string, number>>;
|
|
32
|
-
sectionOffset?: number;
|
|
33
|
-
}) => React.ReactNode;
|
|
34
|
-
treeData?: any;
|
|
35
|
-
proposedSections?: any[];
|
|
36
|
-
existingSections?: any[];
|
|
37
|
-
deviationNumberRegistry?: Record<string, number>;
|
|
38
|
-
getBadgeRef: (columnKey: "left" | "right", badgeId: string) => React.RefObject<HTMLDivElement> | null;
|
|
39
|
-
getSectionCompareStyle?: (idx: number) => any;
|
|
40
|
-
connectedSections?: Set<string | number>;
|
|
41
|
-
openMoreFunctionsPopup?: (e: React.MouseEvent, baseSec: any, isOrphan: boolean, refSec: any, actionId: string, style: any) => void;
|
|
42
14
|
};
|
|
43
|
-
declare const SectionAccordion: ({ section, idx, columnKey, colRef, mb,
|
|
15
|
+
declare const SectionAccordion: ({ section, idx, columnKey, colRef, mb, isExpanded, onToggle, navigation, parentNodeId, }: SectionAccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
16
|
export default SectionAccordion;
|
|
45
17
|
//# sourceMappingURL=SectionAccordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAuBjD,OAAO,EAAsB,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AA0C3E,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,wBAAwB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,gBAAgB,6FAUnB,qBAAqB,4CAspBvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,34 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { SectionBlock } from "../CognitiveCompareTypes";
|
|
3
3
|
interface SubSectionAccordionProps {
|
|
4
4
|
section: SectionBlock;
|
|
5
5
|
keyPath: string;
|
|
6
6
|
depth?: number;
|
|
7
7
|
columnKey?: "left" | "right";
|
|
8
8
|
parentNodeId?: string;
|
|
9
|
-
expandedSubSections: Record<string, boolean>;
|
|
10
|
-
setExpandedSubSections: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
|
|
11
|
-
maintainRelativeOrder: boolean;
|
|
12
|
-
showDeviationBadges?: boolean;
|
|
13
|
-
proposedSections: any[];
|
|
14
|
-
existingSections: any[];
|
|
15
|
-
treeData: any;
|
|
16
|
-
deviationNumberRegistry: Record<string, number>;
|
|
17
|
-
connectedSections: Set<number | string>;
|
|
18
|
-
activeSideBySideSection: string | number | null;
|
|
19
|
-
resolvedMarkdownStyles: any;
|
|
20
|
-
getSubSectionRef: (side: "left" | "right", path: string) => React.RefObject<HTMLDivElement>;
|
|
21
|
-
getSubSectionCompareStyle: (path: string) => StyleVariant | null;
|
|
22
|
-
getBadgeRef: (side: "left" | "right", id: string) => React.RefObject<HTMLDivElement>;
|
|
23
|
-
openMoreFunctionsPopup: (e: React.MouseEvent, baseSec: any, isOrphan: boolean, refSec: any, id: string, style?: StyleVariant | null) => void;
|
|
24
|
-
openSummaryPopup: (e: React.MouseEvent, actionId: string, isOrphan: boolean, summary: DeviationDataEntry | null) => void;
|
|
25
|
-
resetSideBySide: () => void;
|
|
26
|
-
setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;
|
|
27
|
-
setConnectedLines: React.Dispatch<React.SetStateAction<any[]>>;
|
|
28
|
-
cachedConnectedPositions: React.MutableRefObject<any[]>;
|
|
29
|
-
isProposingFix?: boolean;
|
|
30
|
-
proposingFixNodeId?: string;
|
|
31
|
-
isRedlineFlow?: boolean;
|
|
32
9
|
sectionOffset?: number;
|
|
33
10
|
}
|
|
34
11
|
declare const SubSectionAccordion: React.FC<SubSectionAccordionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubSectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SubSectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAwB1D,OAAO,EAAsB,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAE1F,UAAU,wBAAwB;IAChC,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAye1D,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|