@viswa-test/test-citation 0.0.62 → 0.0.63
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/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),o=require("@mui/material"),t=require("lucide-react"),l=require("../hooks/memoizedMarkdown.js"),r=require("../CognitiveComparehelpers.js"),a=require("../CognitiveCompareConstants.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=d(i);exports.default=function(d){var u,c,v,p,f,g,h,x,m,_,y,b,w,I,A=d.section,S=d.idx,B=d.columnKey,F=d.colRef,R=d.mb,E=void 0===R?1:R,j=d.parentNodeId,C=void 0===j?"":j,k=d.isExpanded,D=d.onToggle,O=d.navigation,T=d.showOpenNodeRef,M=d.resolvedMarkdownStyles,N=d.maintainRelativeOrder,P=d.renderSubSections,V=d.treeData,W=d.proposedSections,q=void 0===W?[]:W,G=d.existingSections,z=void 0===G?[]:G,K=d.deviationNumberRegistry,L=void 0===K?{}:K,U=d.getBadgeRef,X=d.openSummaryPopup,Y=d.getSectionCompareStyle,H=d.connectedSections,$=d.openMoreFunctionsPopup,J=(null===(u=A.displayTitle)||void 0===u||u)&&r.hasValue(A.title),Q=(null===(c=A.displayContent)||void 0===c||c)&&r.hasValue(A.content),Z=!J&&!Q,ee={current:1},ne=A.title;J||(ne=Q?"No Title Found":"No Matching Section Found");var ie=A.evaluationResult;if(!ie&&"right"===B)if(N){var oe=null===(v=A.refIndexes)||void 0===v?void 0:v[0],te=q.find(function(e){return e.selfIndex===oe});ie=null==te?void 0:te.evaluationResult}else ie=null===(p=q[S])||void 0===p?void 0:p.evaluationResult;var le,re=null!==(h=null===(g=null===(f=null==ie?void 0:ie.evaluation_outputs)||void 0===f?void 0:f.metadata)||void 0===g?void 0:g.label_color)&&void 0!==h?h:a.DEFAULT_DEVIAION_COLOR,ae=r.generateColorPalette(re),de=ae.highlightBg,se=A.id,ue=null!==(m=null===(x=null==ie?void 0:ie.evaluation_outputs)||void 0===x?void 0:x.output_value)&&void 0!==m?m:null,ce=(null==ie?void 0:ie.deviations)||{},ve=null===(_=null==V?void 0:V.input_index_map)||void 0===_?void 0:_[0],pe=null===(y=null==V?void 0:V.input_index_map)||void 0===y?void 0:y[1],fe="left"===B?pe:ve,ge=N?!(null===(b=A.refIndexes)||void 0===b?void 0:b.length)||void 0!==A.selfIndex&&A.selfIndex<0:"left"===B?!z[S]:!q[S],he=N&&void 0!==A.selfIndex&&A.selfIndex>=0?A.selfIndex+1:S+1,xe=[],me=Object.entries(ce).map(function(n){var i,o,t,l=n[0],a=n[1],d="".concat(se).concat(r.DEVIATION_BADGE_SEPARATOR).concat(l),s=L[d];if(!s)return null;var u=a[C],c=r.isMissingStr(u);if(c)u="";else if(!u)return null;xe.push(u);var v=a[fe],p="left"===B?null===(i=q[S])||void 0===i?void 0:i.content:null===(o=z[S])||void 0===o?void 0:o.content,f=r.safeStringify(p),g=Object.keys(ce).map(function(e){return{key:e,text:ce[e][fe]}}).filter(function(e){return!r.isMissingStr(e.text)}).sort(function(e,n){return n.text.length-e.text.length}),h=new Set;g.forEach(function(e){var n=e.text.replace(/\\(['’])/g,"$1").replace(/\\n/g,"\n");if(n){var i=new RegExp(r.escapeRegExp(n));i.test(f)&&(h.add(e.key),f=f.replace(i,"__TOKEN_".concat(e.key,"__")))}});var x=!r.isMissingStr(v)&&!h.has(l),m=ge||r.isMissingStr(v)||x,_="".concat(he,".").concat(s),y="".concat(se).concat(r.DEVIATION_BADGE_SEPARATOR).concat(l).concat(r.DEVIATION_BADGE_SEPARATOR).concat(S).concat(r.DEVIATION_BADGE_SEPARATOR).concat(S),b=S;if("right"===B&&N){var w=null===(t=A.refIndexes)||void 0===t?void 0:t[0],I=q.findIndex(function(e){return e.selfIndex===w});-1!==I&&(b=I)}var F=Y?Y(b):null,R=!1;u&&(R=Object.values(ce).map(function(e){return e[C]}).filter(Boolean).some(function(e){return e.length>u.length&&e.includes(u)}));var E=F?e.__assign(e.__assign({},F),{badgeBg:ae.badgeBg,badgeBorder:ae.badgeBorder,badgeText:ae.badgeText}):e.__assign({},ae);R&&(E.badgeBg="#FFFBEB",E.badgeBorder="#FCD34D",E.badgeText="#B45309",E.highlightBg="#FDE68A");var j=(null==a?void 0:a.deviation_summary)?{deviation_summary:a.deviation_summary,deviation_title:null==ie?void 0:ie.deviation_title,evaluation_outputs:null==ie?void 0:ie.evaluation_outputs}:null;return{id:d,actionId:y,label:_,highlight:u,side:B,style:E,score:ue,isConnected:null==H?void 0:H.has(y),isOrphan:m,isMissingClause:c,badgeRef:U(B,d),onClick:function(e){var n;e.stopPropagation();var i=z[S]||{title:"",content:""};if(N&&"left"===B){var o=null===(n=A.refIndexes)||void 0===n?void 0:n[0],t=z.findIndex(function(e){return e.selfIndex===o});-1!==t&&(i=z[t])}$&&$(e,A,m,i,y,E)},onSummaryClick:function(e){e.stopPropagation(),X(e,y,m,j)}}}).filter(Boolean),_e=A.id&&B===(null==O?void 0:O.columnKey)?O:null;return i.useEffect(function(){var e;return k&&T.current===A.id&&(null==_e?void 0:_e.showBelow)&&(e=setTimeout(function(){var e,n;T.current===A.id&&(T.current="",null===(n=null===(e=null==_e?void 0:_e.showBelowRef)||void 0===e?void 0:e.current)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"center"}))},600)),function(){e&&clearTimeout(e)}},[k,A.id,_e,T]),n.jsxs(o.Box,e.__assign({ref:F,sx:{mb:E,width:"100%",display:"flex",flexDirection:"column",position:"relative",minWidth:0}},{children:[k&&(null==_e?void 0:_e.showAbove)&&n.jsx("div",e.__assign({style:{position:"sticky",top:0,height:"0px",cursor:"pointer"},onClick:function(){var e,n;return null===(n=null===(e=null==_e?void 0:_e.showAboveRef)||void 0===e?void 0:e.current)||void 0===n?void 0:n.scrollIntoView({behavior:"smooth",block:"center"})}},{children:n.jsx("div",e.__assign({style:e.__assign({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===B?"+":"-"," 130px))"),position:"absolute",paddingTop:"20px"},"left"===B?{right:"0px"}:{left:"0px"})},{children:n.jsx(t.ChevronUp,{color:window.getComputedStyle(null===(w=null==_e?void 0:_e.showAboveRef)||void 0===w?void 0:w.current).color})}))})),n.jsxs(o.Accordion,e.__assign({disableGutters:!0,expanded:!Z&&k,onChange:function(){Z||(D(),T.current=A.id)},sx:{boxShadow:"none",border:Z?"1px dashed #E2E8F0":"1px solid #E2E8F0",bgcolor:Z?"#FAFAFA":"#FFFFFF",borderRadius:"6px",flexGrow:1,width:"100%",display:"flex",flexDirection:"column",minWidth:0,"&:before":{display:"none"},"& .MuiAccordion-heading":{position:"sticky",top:-12,zIndex:10,background:"#fff"}}},{children:[n.jsx(o.AccordionSummary,e.__assign({expandIcon:Z?null:n.jsx(t.ChevronDown,{size:16}),sx:{minHeight:"36px",flexShrink:0,cursor:Z?"default":"pointer","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"},"& .MuiAccordionSummary-expandIconWrapper":{transition:"transform 0.2s ease"},"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"}}},{children:J&&n.jsx(o.Tooltip,e.__assign({title:ne,placement:"top"},{children:n.jsx(o.Typography,e.__assign({component:"div",sx:{fontSize:"12px",color:Z?"#94A3B8":"#19213D",fontWeight:Z?400:700,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:(le=ne,le?r.safeStringify(le).replace(/\\n/g,"\n").split(/(\*\*.*?\*\*)/g).map(function(e,i){return e.startsWith("**")&&e.endsWith("**")?n.jsx("strong",{children:e.slice(2,-2)},i):n.jsx(s.default.Fragment,{children:e},i)}):null)}))}))})),!Z&&n.jsxs(o.AccordionDetails,e.__assign({sx:{pt:0,pb:1.25,bgcolor:"#FFFFFF",flex:1,display:"flex",flexDirection:"column",minWidth:0}},{children:[Q&&n.jsx(l.MemoizedMarkdown,{content:A.content,sxStyles:M,highlights:xe,maintainRelativeOrder:N,highlightBg:de,deviationBadges:me}),(A.subsections||[]).map(function(e,n){return P({section:e,keyPath:"".concat(S,"-").concat(n),depth:0,columnKey:B,parentNodeId:C,devCounter:ee})})]}))]})),k&&(null==_e?void 0:_e.showBelow)&&n.jsx("div",e.__assign({style:{position:"sticky",bottom:0,height:"0px",cursor:"pointer"},onClick:function(){var e,n;return null===(n=null===(e=null==_e?void 0:_e.showBelowRef)||void 0===e?void 0:e.current)||void 0===n?void 0:n.scrollIntoView({behavior:"smooth",block:"center"})}},{children:n.jsx("div",e.__assign({style:e.__assign({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===B?"+":"-"," 130px))"),position:"absolute",paddingBottom:"20px"},"left"===B?{right:"0px"}:{left:"0px"})},{children:n.jsx(t.ChevronDown,{color:window.getComputedStyle(null===(I=null==_e?void 0:_e.showBelowRef)||void 0===I?void 0:I.current).color})}))}))]}),"".concat(B,"-sec-").concat(S))};
|
|
2
2
|
//# sourceMappingURL=SectionAccordion.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("@mui/material"),o=require("lucide-react"),s=require("../hooks/memoizedMarkdown.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("@mui/material"),o=require("lucide-react"),s=require("../hooks/memoizedMarkdown.js"),a=require("../CognitiveComparehelpers.js"),l=require("../CognitiveCompareConstants.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=d(n).default.memo(function(n){var d,u,c,v,g,h,_,p,f,x,m,b,S,y,B,I,A=n.section,j=n.keyPath,R=n.depth,E=void 0===R?0:R,O=n.columnKey,C=void 0===O?"left":O,F=n.parentNodeId,w=void 0===F?"":F,D=n.expandedSubSections,T=n.setExpandedSubSections,P=n.maintainRelativeOrder,M=n.proposedSections,k=n.existingSections,N=n.treeData,q=n.deviationNumberRegistry,V=n.connectedSections,W=n.activeSideBySideSection,z=n.resolvedMarkdownStyles,G=n.getSubSectionRef,L=n.getSubSectionCompareStyle,U=n.getBadgeRef,H=n.openMoreFunctionsPopup,K=n.openSummaryPopup,J=n.resetSideBySide,Q=n.setConnectedSections,X=n.setConnectedLines,Y=n.cachedConnectedPositions,Z=(null===(d=A.displayTitle)||void 0===d||d)&&a.hasValue(A.title),$=(null===(u=A.displayContent)||void 0===u||u)&&a.hasValue(A.content),ee=!Z&&!$,ie=Z?A.title:$?"No Title Found":"No Matching Section Found",ne=!!D[j],te=G(C,j),oe=j.split("-").map(Number),se=oe[0],ae=M[se],le=k[se],de=j,re=j;if(P)if("left"===C){var ue=null===(c=null==ae?void 0:ae.refIndexes)||void 0===c?void 0:c[0],ce=k.findIndex(function(e){return e.selfIndex===ue});-1!==ce&&(le=k[ce],re=e.__spreadArray([ce],oe.slice(1),!0).join("-"))}else{var ve=null===(v=null==le?void 0:le.refIndexes)||void 0===v?void 0:v[0],ge=M.findIndex(function(e){return e.selfIndex===ve});-1!==ge&&(ae=M[ge],de=e.__spreadArray([ge],oe.slice(1),!0).join("-"))}var he="left"===C?ae:le;I=P&&void 0!==(null==he?void 0:he.selfIndex)&&he.selfIndex>=0?he.selfIndex+1:se+1;for(var _e=ae,pe=le,fe=1;fe<oe.length;fe++)(null==_e?void 0:_e.subsections)&&(_e=_e.subsections[oe[fe]]),(null==pe?void 0:pe.subsections)&&(pe=pe.subsections[oe[fe]]);var xe=L(de)||L(j),me=null===(g=null==N?void 0:N.input_index_map)||void 0===g?void 0:g[0],be=null===(h=null==N?void 0:N.input_index_map)||void 0===h?void 0:h[1],Se="left"===C?be:me,ye=P?!(null===(_=A.refIndexes)||void 0===_?void 0:_.length)||void 0!==A.selfIndex&&A.selfIndex<0:"left"===C?!pe:!_e,Be=null!==(x=null===(f=null===(p=A.evaluationResult)||void 0===p?void 0:p.evaluation_outputs)||void 0===f?void 0:f.output_value)&&void 0!==x?x:null,Ie=A.id,Ae=null!==(y=null===(S=null===(b=null===(m=A.evaluationResult)||void 0===m?void 0:m.evaluation_outputs)||void 0===b?void 0:b.metadata)||void 0===S?void 0:S.label_color)&&void 0!==y?y:l.DEFAULT_DEVIAION_COLOR,je=a.generateColorPalette(Ae),Re=je.highlightBg,Ee=(null===(B=A.evaluationResult)||void 0===B?void 0:B.deviations)||{},Oe=[],Ce=Object.entries(Ee).map(function(i){var n,t,o,s=i[0],l=i[1],d="".concat(Ie).concat(a.DEVIATION_BADGE_SEPARATOR).concat(s),r=q[d];if(!r)return null;var u=l[w],c=a.isMissingStr(u);if(c)u="";else if(!u)return null;Oe.push(u);var v=l[Se],g=!1;v&&(g=Object.values(Ee).map(function(e){return e[Se]}).filter(Boolean).some(function(e){return e.length>v.length&&e.includes(v)}));var h=ye||a.isMissingStr(v)||g,_="".concat(I,".").concat(r),p="".concat(Ie).concat(a.DEVIATION_BADGE_SEPARATOR).concat(s).concat(a.DEVIATION_BADGE_SEPARATOR).concat(de).concat(a.DEVIATION_BADGE_SEPARATOR).concat(re),f=xe?e.__assign(e.__assign({},xe),{badgeBg:je.badgeBg,badgeBorder:je.badgeBorder,badgeText:je.badgeText}):e.__assign({},je),x=!1;u&&(x=Object.values(Ee).map(function(e){return e[w]}).filter(Boolean).some(function(e){return e.length>u.length&&e.includes(u)}));x&&(f.badgeBg="#FFFBEB",f.badgeBorder="#FCD34D",f.badgeText="#B45309",f.highlightBg="#FDE68A");var m=(null==l?void 0:l.deviation_summary)?{deviation_summary:l.deviation_summary||(null===(n=A.evaluationResult)||void 0===n?void 0:n.deviation_summary),deviation_title:null===(t=A.evaluationResult)||void 0===t?void 0:t.deviation_title,evaluation_outputs:null===(o=A.evaluationResult)||void 0===o?void 0:o.evaluation_outputs}:null;return{id:d,actionId:p,label:_,highlight:u,side:C,style:f,score:Be,isConnected:V.has(p),isOrphan:h,isMissingClause:c,badgeRef:U(C,d),onClick:function(i){i.stopPropagation();var n=e.__assign(e.__assign({},_e),{title:(null==ae?void 0:ae.title)||(null==_e?void 0:_e.title)||""}),t=e.__assign(e.__assign({},pe),{title:(null==le?void 0:le.title)||(null==pe?void 0:pe.title)||""});H(i,n,h,t,p,f)},onSummaryClick:function(e){e.stopPropagation(),K(e,p,h,m)}}}).filter(Boolean),Fe=Ce.some(function(e){return V.has(e.actionId)});if(!(Z||$||A.subsections&&0!==A.subsections.length))return null;var we=!P&&Z&&$,De=Fe&&xe?{borderRadius:"4px",outline:"2px solid ".concat(xe.badgeBorder),outlineOffset:"1px"}:{};return Z?i.jsx(t.Box,e.__assign({ref:te,sx:{mt:1,width:"100%",minWidth:0,position:"relative"}},{children:i.jsx(t.Box,e.__assign({sx:e.__assign({width:"100%"},De)},{children:i.jsxs(t.Accordion,e.__assign({disableGutters:!0,expanded:!ee&&ne,onChange:function(){if(!ee){if(ne){var i=String(W||""),n=i.includes(de)||i.includes(re);n||V.forEach(function(e){(String(e).includes(de)||String(e).includes(re))&&(n=!0)}),n&&(J(),Q(new Set),X([]),Y.current=[])}T(function(i){var n;return e.__assign(e.__assign({},i),((n={})[j]=!i[j],n))})}},sx:{mt:0,boxShadow:"none",border:ee?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}}},{children:[i.jsx(t.AccordionSummary,e.__assign({expandIcon:ee?null:i.jsx(o.ChevronDown,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}}},{children:i.jsx(t.Typography,e.__assign({component:"div",sx:{fontSize:"11px",fontWeight:600,color:ee?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:ie||"Untitled Subsection"}))})),!ee&&i.jsxs(t.AccordionDetails,e.__assign({sx:{pt:0,pb:1,minWidth:0}},{children:[$&&i.jsx(s.MemoizedMarkdown,{content:A.content,sxStyles:z,deviationBadges:we?[]:Ce,maintainRelativeOrder:P,highlightBg:Re,highlights:Oe}),(A.subsections||[]).map(function(t,o){return i.jsx(r,e.__assign({},n,{section:t,keyPath:"".concat(j,"-").concat(o),depth:E+1}),"".concat(j,"-").concat(o))})]}))]}))}))})):i.jsx(t.Box,e.__assign({ref:te,sx:{mt:0===E?1:.75,width:"100%",minWidth:0,position:"relative"}},{children:!ee&&i.jsxs(t.Box,e.__assign({sx:e.__assign({width:"100%"},De)},{children:[$&&i.jsx(s.MemoizedMarkdown,{content:A.content,sxStyles:z,deviationBadges:Ce,maintainRelativeOrder:P,highlightBg:Re,highlights:Oe}),(A.subsections||[]).map(function(t,o){return i.jsx(r,e.__assign({},n,{section:t,keyPath:"".concat(j,"-").concat(o),depth:E+1}),"".concat(j,"-").concat(o))})]}))}))});exports.default=r;
|
|
2
2
|
//# sourceMappingURL=SubSectionAccordion.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as o,jsx as n}from"react/jsx-runtime";import t,{useEffect as i}from"react";import{Box as l,Accordion as r,AccordionSummary as d,Tooltip as a,Typography as c,AccordionDetails as u}from"@mui/material";import{ChevronUp as s,ChevronDown as v}from"lucide-react";import{MemoizedMarkdown as p}from"../hooks/memoizedMarkdown.js";import{hasValue as f,generateColorPalette as h,isMissingStr as m,safeStringify as g,escapeRegExp as x,DEVIATION_BADGE_SEPARATOR as b}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as y}from"../CognitiveCompareConstants.js";var w=function(w){var F,I,B,S,k,_,C,R,A,E,M,T,W,O,D=w.section,j=w.idx,N=w.columnKey,P=w.colRef,z=w.mb,K=void 0===z?1:z,V=w.parentNodeId,G=void 0===V?"":V,X=w.isExpanded,Y=w.onToggle,H=w.navigation,$=w.showOpenNodeRef,q=w.resolvedMarkdownStyles,J=w.maintainRelativeOrder,L=w.renderSubSections,Q=w.treeData,U=w.proposedSections,Z=void 0===U?[]:U,ee=w.existingSections,oe=void 0===ee?[]:ee,ne=w.deviationNumberRegistry,te=void 0===ne?{}:ne,ie=w.getBadgeRef,le=w.openSummaryPopup,re=w.getSectionCompareStyle,de=w.connectedSections,ae=w.openMoreFunctionsPopup,ce=(null===(F=D.displayTitle)||void 0===F||F)&&f(D.title),ue=(null===(I=D.displayContent)||void 0===I||I)&&f(D.content),se=!ce&&!ue,ve={current:1},pe=D.title;ce||(pe=ue?"No Title Found":"No Matching Section Found");var fe=D.evaluationResult;if(!fe&&"right"===N)if(J){var he=null===(B=D.refIndexes)||void 0===B?void 0:B[0],me=Z.find(function(e){return e.selfIndex===he});fe=null==me?void 0:me.evaluationResult}else fe=null===(S=Z[j])||void 0===S?void 0:S.evaluationResult;var ge,xe=null!==(C=null===(_=null===(k=null==fe?void 0:fe.evaluation_outputs)||void 0===k?void 0:k.metadata)||void 0===_?void 0:_.label_color)&&void 0!==C?C:y,be=h(xe),ye=be.highlightBg,we=D.id,Fe=null!==(A=null===(R=null==fe?void 0:fe.evaluation_outputs)||void 0===R?void 0:R.output_value)&&void 0!==A?A:null,Ie=(null==fe?void 0:fe.deviations)||{},Be=null===(E=null==Q?void 0:Q.input_index_map)||void 0===E?void 0:E[0],Se=null===(M=null==Q?void 0:Q.input_index_map)||void 0===M?void 0:M[1],ke="left"===N?Se:Be,_e=J?!(null===(T=D.refIndexes)||void 0===T?void 0:T.length)||void 0!==D.selfIndex&&D.selfIndex<0:"left"===N?!oe[j]:!Z[j],Ce=J&&void 0!==D.selfIndex&&D.selfIndex>=0?D.selfIndex+1:j+1,Re=[],Ae=Object.entries(Ie).map(function(o){var n,t,i,l=o[0],r=o[1],d="".concat(we).concat(b).concat(l),a=te[d];if(!a)return null;var c=r[G],u=m(c);if(u)c="";else if(!c)return null;Re.push(c);var s=r[ke],v="left"===N?null===(n=Z[j])||void 0===n?void 0:n.content:null===(t=oe[j])||void 0===t?void 0:t.content,p=g(v),f=Object.keys(Ie).map(function(e){return{key:e,text:Ie[e][ke]}}).filter(function(e){return!m(e.text)}).sort(function(e,o){return o.text.length-e.text.length}),h=new Set;f.forEach(function(e){var o=e.text.replace(/\\(['’])/g,"$1").replace(/\\n/g,"\n");if(o){var n=new RegExp(x(o));n.test(p)&&(h.add(e.key),p=p.replace(n,"__TOKEN_".concat(e.key,"__")))}});var y=!m(s)&&!h.has(l),w=_e||m(s)||y,F="".concat(Ce,".").concat(a),I="".concat(we).concat(b).concat(l).concat(b).concat(j).concat(b).concat(j),B=j;if("right"===N&&J){var S=null===(i=D.refIndexes)||void 0===i?void 0:i[0],k=Z.findIndex(function(e){return e.selfIndex===S});-1!==k&&(B=k)}var _=re?re(B):null,C=!1;c&&(C=Object.values(Ie).map(function(e){return e[G]}).filter(Boolean).some(function(e){return e.length>c.length&&e.includes(c)}));var R=_?e(e({},_),{badgeBg:be.badgeBg,badgeBorder:be.badgeBorder,badgeText:be.badgeText}):e({},be);C&&(R.badgeBg="#FFFBEB",R.badgeBorder="#FCD34D",R.badgeText="#B45309",R.highlightBg="#FDE68A");var A=(null==r?void 0:r.deviation_summary)?{deviation_summary:r.deviation_summary,deviation_title:null==fe?void 0:fe.deviation_title,evaluation_outputs:null==fe?void 0:fe.evaluation_outputs}:null;return{id:d,actionId:I,label:F,highlight:c,side:N,style:R,score:Fe,isConnected:null==de?void 0:de.has(I),isOrphan:w,isMissingClause:u,badgeRef:ie(N,d),onClick:function(e){var o;e.stopPropagation();var n=oe[j]||{title:"",content:""};if(J&&"left"===N){var t=null===(o=D.refIndexes)||void 0===o?void 0:o[0],i=oe.findIndex(function(e){return e.selfIndex===t});-1!==i&&(n=oe[i])}ae&&ae(e,D,w,n,I,R)},onSummaryClick:function(e){e.stopPropagation(),le(e,I,w,A)}}}).filter(Boolean),Ee=D.id&&N===(null==H?void 0:H.columnKey)?H:null;return i(function(){var e;return X&&$.current===D.id&&(null==Ee?void 0:Ee.showBelow)&&(e=setTimeout(function(){var e,o;$.current===D.id&&($.current="",null===(o=null===(e=null==Ee?void 0:Ee.showBelowRef)||void 0===e?void 0:e.current)||void 0===o||o.scrollIntoView({behavior:"smooth",block:"center"}))},600)),function(){e&&clearTimeout(e)}},[X,D.id,Ee,$]),o(l,e({ref:P,sx:{mb:K,width:"100%",display:"flex",flexDirection:"column",position:"relative",minWidth:0}},{children:[X&&(null==Ee?void 0:Ee.showAbove)&&n("div",e({style:{position:"sticky",top:0,height:"0px",cursor:"pointer"},onClick:function(){var e,o;return null===(o=null===(e=null==Ee?void 0:Ee.showAboveRef)||void 0===e?void 0:e.current)||void 0===o?void 0:o.scrollIntoView({behavior:"smooth",block:"center"})}},{children:n("div",e({style:e({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===N?"+":"-"," 130px))"),position:"absolute",paddingTop:"20px"},"left"===N?{right:"0px"}:{left:"0px"})},{children:n(s,{color:window.getComputedStyle(null===(W=null==Ee?void 0:Ee.showAboveRef)||void 0===W?void 0:W.current).color})}))})),o(r,e({disableGutters:!0,expanded:!se&&X,onChange:function(){se||(Y(),$.current=D.id)},sx:{boxShadow:"none",border:se?"1px dashed #E2E8F0":"1px solid #E2E8F0",bgcolor:se?"#FAFAFA":"#FFFFFF",borderRadius:"6px",flexGrow:1,width:"100%",display:"flex",flexDirection:"column",minWidth:0,"&:before":{display:"none"},"& .MuiAccordion-heading":{position:"sticky",top:-12,zIndex:10,background:"#fff"}}},{children:[n(d,e({expandIcon:se?null:n(v,{size:16}),sx:{minHeight:"36px",flexShrink:0,cursor:se?"default":"pointer","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"},"& .MuiAccordionSummary-expandIconWrapper":{transition:"transform 0.2s ease"},"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"}}},{children:ce&&n(a,e({title:pe,placement:"top"},{children:n(c,e({component:"div",sx:{fontSize:"12px",color:se?"#94A3B8":"#19213D",fontWeight:se?400:700,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:(ge=pe,ge?g(ge).replace(/\\n/g,"\n").split(/(\*\*.*?\*\*)/g).map(function(e,o){return e.startsWith("**")&&e.endsWith("**")?n("strong",{children:e.slice(2,-2)},o):n(t.Fragment,{children:e},o)}):null)}))}))})),!se&&o(u,e({sx:{pt:0,pb:1.25,bgcolor:"#FFFFFF",flex:1,display:"flex",flexDirection:"column",minWidth:0}},{children:[ue&&n(p,{content:D.content,sxStyles:q,highlights:Re,maintainRelativeOrder:J,highlightBg:ye,deviationBadges:Ae}),(D.subsections||[]).map(function(e,o){return L({section:e,keyPath:"".concat(j,"-").concat(o),depth:0,columnKey:N,parentNodeId:G,devCounter:ve})})]}))]})),X&&(null==Ee?void 0:Ee.showBelow)&&n("div",e({style:{position:"sticky",bottom:0,height:"0px",cursor:"pointer"},onClick:function(){var e,o;return null===(o=null===(e=null==Ee?void 0:Ee.showBelowRef)||void 0===e?void 0:e.current)||void 0===o?void 0:o.scrollIntoView({behavior:"smooth",block:"center"})}},{children:n("div",e({style:e({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===N?"+":"-"," 130px))"),position:"absolute",paddingBottom:"20px"},"left"===N?{right:"0px"}:{left:"0px"})},{children:n(v,{color:window.getComputedStyle(null===(O=null==Ee?void 0:Ee.showBelowRef)||void 0===O?void 0:O.current).color})}))}))]}),"".concat(N,"-sec-").concat(j))};export{w as default};
|
|
2
2
|
//# sourceMappingURL=SectionAccordion.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as i}from"tslib";import{jsx as
|
|
1
|
+
import{__spreadArray as e,__assign as i}from"tslib";import{jsx as t,jsxs as n}from"react/jsx-runtime";import o from"react";import{Box as l,Accordion as d,AccordionSummary as a,Typography as r,AccordionDetails as s}from"@mui/material";import{ChevronDown as u}from"lucide-react";import{MemoizedMarkdown as c}from"../hooks/memoizedMarkdown.js";import{hasValue as v,generateColorPalette as m,isMissingStr as p,DEVIATION_BADGE_SEPARATOR as h}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as f}from"../CognitiveCompareConstants.js";var g=o.memo(function(o){var x,b,S,y,B,F,I,C,_,R,w,j,O,k,E,P,W=o.section,M=o.keyPath,D=o.depth,N=void 0===D?0:D,T=o.columnKey,z=void 0===T?"left":T,A=o.parentNodeId,G=void 0===A?"":A,H=o.expandedSubSections,K=o.setExpandedSubSections,L=o.maintainRelativeOrder,U=o.proposedSections,q=o.existingSections,J=o.treeData,Q=o.deviationNumberRegistry,V=o.connectedSections,X=o.activeSideBySideSection,Y=o.resolvedMarkdownStyles,Z=o.getSubSectionRef,$=o.getSubSectionCompareStyle,ee=o.getBadgeRef,ie=o.openMoreFunctionsPopup,te=o.openSummaryPopup,ne=o.resetSideBySide,oe=o.setConnectedSections,le=o.setConnectedLines,de=o.cachedConnectedPositions,ae=(null===(x=W.displayTitle)||void 0===x||x)&&v(W.title),re=(null===(b=W.displayContent)||void 0===b||b)&&v(W.content),se=!ae&&!re,ue=ae?W.title:re?"No Title Found":"No Matching Section Found",ce=!!H[M],ve=Z(z,M),me=M.split("-").map(Number),pe=me[0],he=U[pe],fe=q[pe],ge=M,xe=M;if(L)if("left"===z){var be=null===(S=null==he?void 0:he.refIndexes)||void 0===S?void 0:S[0],Se=q.findIndex(function(e){return e.selfIndex===be});-1!==Se&&(fe=q[Se],xe=e([Se],me.slice(1),!0).join("-"))}else{var ye=null===(y=null==fe?void 0:fe.refIndexes)||void 0===y?void 0:y[0],Be=U.findIndex(function(e){return e.selfIndex===ye});-1!==Be&&(he=U[Be],ge=e([Be],me.slice(1),!0).join("-"))}var Fe="left"===z?he:fe;P=L&&void 0!==(null==Fe?void 0:Fe.selfIndex)&&Fe.selfIndex>=0?Fe.selfIndex+1:pe+1;for(var Ie=he,Ce=fe,_e=1;_e<me.length;_e++)(null==Ie?void 0:Ie.subsections)&&(Ie=Ie.subsections[me[_e]]),(null==Ce?void 0:Ce.subsections)&&(Ce=Ce.subsections[me[_e]]);var Re=$(ge)||$(M),we=null===(B=null==J?void 0:J.input_index_map)||void 0===B?void 0:B[0],je=null===(F=null==J?void 0:J.input_index_map)||void 0===F?void 0:F[1],Oe="left"===z?je:we,ke=L?!(null===(I=W.refIndexes)||void 0===I?void 0:I.length)||void 0!==W.selfIndex&&W.selfIndex<0:"left"===z?!Ce:!Ie,Ee=null!==(R=null===(_=null===(C=W.evaluationResult)||void 0===C?void 0:C.evaluation_outputs)||void 0===_?void 0:_.output_value)&&void 0!==R?R:null,Pe=W.id,We=null!==(k=null===(O=null===(j=null===(w=W.evaluationResult)||void 0===w?void 0:w.evaluation_outputs)||void 0===j?void 0:j.metadata)||void 0===O?void 0:O.label_color)&&void 0!==k?k:f,Me=m(We),De=Me.highlightBg,Ne=(null===(E=W.evaluationResult)||void 0===E?void 0:E.deviations)||{},Te=[],ze=Object.entries(Ne).map(function(e){var t,n,o,l=e[0],d=e[1],a="".concat(Pe).concat(h).concat(l),r=Q[a];if(!r)return null;var s=d[G],u=p(s);if(u)s="";else if(!s)return null;Te.push(s);var c=d[Oe],v=!1;c&&(v=Object.values(Ne).map(function(e){return e[Oe]}).filter(Boolean).some(function(e){return e.length>c.length&&e.includes(c)}));var m=ke||p(c)||v,f="".concat(P,".").concat(r),g="".concat(Pe).concat(h).concat(l).concat(h).concat(ge).concat(h).concat(xe),x=Re?i(i({},Re),{badgeBg:Me.badgeBg,badgeBorder:Me.badgeBorder,badgeText:Me.badgeText}):i({},Me),b=!1;s&&(b=Object.values(Ne).map(function(e){return e[G]}).filter(Boolean).some(function(e){return e.length>s.length&&e.includes(s)}));b&&(x.badgeBg="#FFFBEB",x.badgeBorder="#FCD34D",x.badgeText="#B45309",x.highlightBg="#FDE68A");var S=(null==d?void 0:d.deviation_summary)?{deviation_summary:d.deviation_summary||(null===(t=W.evaluationResult)||void 0===t?void 0:t.deviation_summary),deviation_title:null===(n=W.evaluationResult)||void 0===n?void 0:n.deviation_title,evaluation_outputs:null===(o=W.evaluationResult)||void 0===o?void 0:o.evaluation_outputs}:null;return{id:a,actionId:g,label:f,highlight:s,side:z,style:x,score:Ee,isConnected:V.has(g),isOrphan:m,isMissingClause:u,badgeRef:ee(z,a),onClick:function(e){e.stopPropagation();var t=i(i({},Ie),{title:(null==he?void 0:he.title)||(null==Ie?void 0:Ie.title)||""}),n=i(i({},Ce),{title:(null==fe?void 0:fe.title)||(null==Ce?void 0:Ce.title)||""});ie(e,t,m,n,g,x)},onSummaryClick:function(e){e.stopPropagation(),te(e,g,m,S)}}}).filter(Boolean),Ae=ze.some(function(e){return V.has(e.actionId)});if(!(ae||re||W.subsections&&0!==W.subsections.length))return null;var Ge=!L&&ae&&re,He=Ae&&Re?{borderRadius:"4px",outline:"2px solid ".concat(Re.badgeBorder),outlineOffset:"1px"}:{};return t(l,ae?i({ref:ve,sx:{mt:1,width:"100%",minWidth:0,position:"relative"}},{children:t(l,i({sx:i({width:"100%"},He)},{children:n(d,i({disableGutters:!0,expanded:!se&&ce,onChange:function(){if(!se){if(ce){var e=String(X||""),t=e.includes(ge)||e.includes(xe);t||V.forEach(function(e){(String(e).includes(ge)||String(e).includes(xe))&&(t=!0)}),t&&(ne(),oe(new Set),le([]),de.current=[])}K(function(e){var t;return i(i({},e),((t={})[M]=!e[M],t))})}},sx:{mt:0,boxShadow:"none",border:se?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}}},{children:[t(a,i({expandIcon:se?null:t(u,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}}},{children:t(r,i({component:"div",sx:{fontSize:"11px",fontWeight:600,color:se?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:ue||"Untitled Subsection"}))})),!se&&n(s,i({sx:{pt:0,pb:1,minWidth:0}},{children:[re&&t(c,{content:W.content,sxStyles:Y,deviationBadges:Ge?[]:ze,maintainRelativeOrder:L,highlightBg:De,highlights:Te}),(W.subsections||[]).map(function(e,n){return t(g,i({},o,{section:e,keyPath:"".concat(M,"-").concat(n),depth:N+1}),"".concat(M,"-").concat(n))})]}))]}))}))}):i({ref:ve,sx:{mt:0===N?1:.75,width:"100%",minWidth:0,position:"relative"}},{children:!se&&n(l,i({sx:i({width:"100%"},He)},{children:[re&&t(c,{content:W.content,sxStyles:Y,deviationBadges:ze,maintainRelativeOrder:L,highlightBg:De,highlights:Te}),(W.subsections||[]).map(function(e,n){return t(g,i({},o,{section:e,keyPath:"".concat(M,"-").concat(n),depth:N+1}),"".concat(M,"-").concat(n))})]}))}))});export{g as default};
|
|
2
2
|
//# sourceMappingURL=SubSectionAccordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAoBzC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAe3E,KAAK,qB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,EAAE,MAAM,GAAG,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IACtG,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,CAAC;IAC9C,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACzC,sBAAsB,CAAC,EAAE,CACvB,CAAC,EAAE,KAAK,CAAC,UAAU,EACnB,OAAO,EAAE,GAAG,EACZ,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,GAAG,KACP,IAAI,CAAC;CACX,CAAC;AAEF,QAAA,MAAM,gBAAgB,yVAuBnB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAoBzC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAe3E,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;IAC5C,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5D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CAAC;CACX,CAAC;AAEF,QAAA,MAAM,gBAAgB,yVAuBnB,qBAAqB,4CAqWvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubSectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAqBvC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,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,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7C,sBAAsB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACtF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,gBAAgB,EAAE,GAAG,EAAE,CAAC;IACxB,gBAAgB,EAAE,GAAG,EAAE,CAAC;IACxB,QAAQ,EAAE,GAAG,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACxC,uBAAuB,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAChD,sBAAsB,EAAE,GAAG,CAAC;IAC5B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5F,yBAAyB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,YAAY,GAAG,IAAI,CAAC;IACjE,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,EAAE,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACrF,sBAAsB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7I,gBAAgB,EAAE,CAChB,CAAC,EAAE,KAAK,CAAC,UAAU,EACnB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,kBAAkB,GAAG,IAAI,KAC/B,IAAI,CAAC;IACV,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IACjF,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC/D,wBAAwB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;CACzD;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"SubSectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAqBvC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE1F,UAAU,w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