1import{c as P,b as ee}from"./backgroundFlash-lOy0RRc3.js";import{m as v,ax as te,n as re,o as y,ay as oe,S as ae,az as I,A as se,aA as R,a as ne,b as ie,x as le,aB as ce,p as de}from"./main-BnedsbLg.js";import{l as t,W as f,r as u,b as L,c as V,H as c,aB as pe,C as ue,aC as xe,p as me,f as he,e as ge,ac as D,aD as be,aE as Ce,G as ye}from"./vendor-BhaOqTDO.js";import{R as fe}from"./Region-B6H8O3Xw.js";import{c as Te}from"./createSuspenseOnStale-BvcY6pUl.js";import{b as T,d as je,o as _,e as ve,C as w,f as we,g as M,h as Fe,i as U,s as $e,j as ke,k as Se,l as Ie,m as Re,n as De,p as Ee,q as Ne,r as Be}from"./tableTrades-DiBs1fTw.js";import{D as Oe,a as Ae,F as Pe}from"./FilterIcon-DXJvZciO.js";import{T as Le}from"./TextInput-2g9Z6zh-.js";import{T as Ve}from"./TearOutComponent-lGZWu7Vo.js";import{T as _e}from"./TabBar-PQeAnd73.js";const Me=({width:e=16,height:r=16})=>t.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:[t.jsx("path",{d:"M11.9991 21.2501C11.8091 21.2501 11.6191 21.1801 11.4691 21.0301L5.39914 14.9601C5.10914 14.6701 5.10914 14.1901 5.39914 13.9001C5.68914 13.6101 6.16914 13.6101 6.45914 13.9001L11.9991 19.4401L17.5391 13.9001C17.8291 13.6101 18.3091 13.6101 18.5991 13.9001C18.8891 14.1901 18.8891 14.6701 18.5991 14.9601L12.5291 21.0301C12.3791 21.1801 12.1891 21.2501 11.9991 21.2501Z"}),t.jsx("path",{d:"M12 21.08C11.59 21.08 11.25 20.74 11.25 20.33V3.5C11.25 3.09 11.59 2.75 12 2.75C12.41 2.75 12.75 3.09 12.75 3.5V20.33C12.75 20.74 12.41 21.08 12 21.08Z"})]}),Ue=({width:e=16,height:r=16})=>t.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:[t.jsx("path",{d:"M18.0691 10.3199C17.8791 10.3199 17.6891 10.2499 17.5391 10.0999L11.9991 4.55994L6.45914 10.0999C6.16914 10.3899 5.68914 10.3899 5.39914 10.0999C5.10914 9.80994 5.10914 9.32994 5.39914 9.03994L11.4691 2.96994C11.7591 2.67994 12.2391 2.67994 12.5291 2.96994L18.5991 9.03994C18.8891 9.32994 18.8891 9.80994 18.5991 10.0999C18.4591 10.2499 18.2591 10.3199 18.0691 10.3199Z"}),t.jsx("path",{d:"M12 21.2499C11.59 21.2499 11.25 20.9099 11.25 20.4999V3.66992C11.25 3.25992 11.59 2.91992 12 2.91992C12.41 2.91992 12.75 3.25992 12.75 3.66992V20.4999C12.75 20.9099 12.41 21.2499 12 21.2499Z"})]}),j="dd-MMM-yyyy",ze=te(6),z=e=>v(e).replaceAll(re,""),He={tradeId:{headerName:"Trade ID",filterType:"number",width:100,align:"left"},status:{headerName:"Status",filterType:"set",valueFormatter:P,width:110},tradeDate:{headerName:"Trade Date",filterType:"date",valueFormatter:e=>f(e,j),width:130},direction:{headerName:"Direction",filterType:"set",width:110},symbol:{headerName:"CCYCCY",filterType:"set",width:110},dealtCurrency:{headerName:"Deal CCY",filterType:"set",width:90},notional:{headerName:"Notional",filterType:"number",valueFormatter:e=>v(e),excelValueFormatter:z,width:120},spotRate:{headerName:"Rate",filterType:"number",valueFormatter:e=>ze(e),width:100},valueDate:{headerName:"Value Date",filterType:"date",valueFormatter:e=>f(e,j),width:120},traderName:{headerName:"Trader",filterType:"set",width:110}},Qe={tradeId:{headerName:"Trade ID",filterType:"number",width:100,align:"left"},status:{headerName:"Status",filterType:"set",valueFormatter:P,width:110},tradeDate:{headerName:"Trade Date",filterType:"date",valueFormatter:e=>f(e,j),width:130},direction:{headerName:"Direction",filterType:"set",width:110},counterParty:{headerName:"Counterparty",filterType:"set",width:110},cusip:{headerName:"CUSIP",filterType:"set",width:110},security:{headerName:"Security",filterType:"set",width:110},quantity:{headerName:"Quantity",filterType:"number",valueFormatter:e=>v(e),excelValueFormatter:z,width:110},orderType:{headerName:"Order Type",filterType:"set",width:110},unitPrice:{headerName:"Unit Price",filterType:"number",valueFormatter:e=>`$${e}`,excelValueFormatter:e=>`${e}`,width:110}},Ut=Object.keys(He),zt=Object.keys(Qe),F=(e,r)=>{const a=u.useContext(e);if(!a)throw Error(r);return a},H=u.createContext(void 0),C=()=>F(H,"No trades stream provided"),Q=u.createContext(void 0),h=()=>F(Q,"No Column definition provided"),W=u.createContext(void 0),$=()=>F(W,"No Column fields provided"),q=u.createContext(null),We=()=>u.useContext(q),qe=c.div` 2 ${({theme:e})=>e.textStyles["Text sm/Regular"]} 3 display: flex; 4 color: ${({theme:e})=>e.color["Colors/Text/text-disabled"]}; 5 padding: ${({theme:e})=>e.spacing.lg}; 6 padding-top: ${({theme:e})=>e.spacing.sm}; 7 display: flex; 8 align-items: center; 9`,[Ge]=L(e=>e.pipe(V(r=>r.length)),0),Ze=()=>{const e=C(),r=h(),a=T(e,r),o=Ge(e),s=a.length;return t.jsx(qe,{children:t.jsxs(y,{color:"Colors/Text/text-disabled",children:["Displaying rows ",s," of ",o]})})},Ye=c.div` 10 display: flex; 11 align-items: normal; 12 background-color: ${({theme:e})=>
12e.color["Colors/Background/bg-tertiary"]}; 13 14 border-radius: ${({theme:e})=>e.radius.xs}; 15 padding: 0 ${({theme:e})=>e.spacing.sm}; 16 cursor: pointer; 17 align-items: center; 18 19 &:hover { 20 background-color: ${({theme:e})=>e.color["Colors/Background/bg-quaternary"]}; 21 } 22`,Je=()=>{const e=C(),r=h(),a=je(e,r);return t.jsx(t.Fragment,{children:a.map(o=>t.jsxs(Ye,{onClick:()=>_(o),"data-testid":"clear-filter-button",children:[t.jsx(y,{variant:"Text sm/Regular",paddingRight:"md",children:r[o].headerName}),t.jsx(oe,{height:8})]},o))})},Xe=(e,r,a)=>{var d;let o="";a.forEach(n=>{o+=r[n].headerName+","}),o+=` 23`,e.map(n=>{a.map(l=>{var i,p,m,b;const x=((p=(i=r[l]).excelValueFormatter)==null?void 0:p.call(i,n[l]))??((b=(m=r[l]).valueFormatter)==null?void 0:b.call(m,n[l]))??n[l];o+=x+", "}),o+=` 24`});const s=document.createElement("a");s.href="data:text/csv;charset=utf-8,"+encodeURI(o),s.target="_blank",s.download="RT-Blotter.csv",s.click(),(d=s.parentElement)==null||d.removeChild(s)},Ke=()=>{const e=C(),r=h(),a=$(),o=T(e,r);return t.jsx("div",{onClick:()=>Xe(o,r,a),"aria-label":"Export to CSV",children:t.jsx(Oe,{})})},et=c("div")` 25 width: 10rem; 26 display: flex; 27 align-items: center; 28 height: 1.25rem; 29 position: relative; 30`,tt=c("input")` 31 color: ${({theme:e})=>e.color["Colors/Text/text-primary (900)"]}; 32 width: 100%; 33 height: 1.25rem; 34 padding: 0 ${({theme:e})=>e.spacing.sm}; 35 outline: none; 36 user-select: text; 37 border-bottom: 1px solid 38 ${({theme:e})=>e.color["Colors/Text/text-brand-primary (900)"]}; 39 opacity: 0.5; 40 41 &:hover { 42 opacity: 1; 43 } 44 45 &:focus { 46 opacity: 1; 47 } 48 49 //Removes default clear icon 50 ::-webkit-search-cancel-button { 51 -webkit-appearance: none; 52 } 53`,rt=c("i")` 54 width: 0.6875rem; 55 position: absolute; 56 right: 0; 57 58 i { 59 opacity: 0.59; 60 cursor: pointer; 61 color: ${({theme:e})=>e.color["Colors/Text/text-primary (900)"]}; 62 } 63`,ot=()=>{const e=u.useRef(null),[r,a]=u.useState("");return u.useEffect(()=>{ve(r.toLowerCase())},[r]),t.jsxs(et,{role:"search","aria-label":"Search by text across all trade fields",children:[t.jsx("div",{onClick:()=>{var o;return(o=e.current)==null?void 0:o.focus()},children:t.jsx(Ae,{})}),t.jsx(tt,{ref:e,type:"search",placeholder:"Filter",value:r,onChange:o=>a(o.target.value),role:"textbox"}),t.jsx(rt,{onClick:()=>a(""),children:r.length?t.jsx(pe,{}):null})]})},at=({section:e,title:r="Trades",showTools:a})=>{const o=[r],s=[{name:"excel",inner:t.jsx(Ke,{})},{name:"filter",inner:t.jsxs(ae,{gap:"md",children:[t.jsx(Je,{}),t.jsx(ot,{})]}),size:"lg"}];return e&&s.push({name:"tearOut",inner:t.jsx(Ve,{section:e})}),t.jsx(_e,{items:o,activeItem:r,actions:a?s:void 0})},st=c.div` 64 ${({theme:e})=>e.textStyles["Text sm/Regular"]} 65 height: 100%; 66 width: 100%; 67 margin: 0; 68 padding-left: ${({theme:e})=>e.spacing.md}; 69 .visually-hidden { 70 display: none; 71 } 72`,nt=c.div` 73 position: sticky; 74 top: 0; 75 display: flex; 76 color: ${({theme:e})=>e.color["Colors/Text/text-quaternary (500)"]}; 77 background-color: ${({theme:e})=>e.color["Colors/Background/bg-primary_alt"]}; 78 z-index: 1; 79 80 padding: ${({theme:e})=>e.spacing.sm}; 81`,it=ue` 82 animation: ${ee} 1s ease-in-out 3; 83`,G=c.div` 84 display: flex; 85 width: 100%; 86 background-color: ${({theme:e})=>e.color["Colors/Background/bg-primary"]}; 87 border-bottom: 1px solid 88 ${({theme:e})=>e.color["Colors/Background/bg-tertiary"]}; 89 90 &:hover { 91 background-color: ${({theme:e})=>e.color["Colors/Background/bg-secondary"]}; 92 } 93 ${({highlight:e})=>e&&it} 94`,Z=c.div` 95 display: flex; 96 align-items: center; 97 justify-content: ${({align:e})=>e==="right"?"flex-end":"flex-start"}; 98 width: ${({width:e})=>e}%; 99 padding-right: ${({align:e})=>e?"1.5rem;":null}; 100`,lt=c.div` 101 content: " "; 102 display: ${({isRejected:e})=>e?"block":"none"}; 103 position: absolute; 104 top: 50%; 105 left: 0; 106 border-bottom: 1px solid 107 ${({theme:e})=>e.color["Component colors/Utility/Red/utility-red-400"]}; // TODO talk to UX about getting better error reds 108 width: 100%; 109`,ct=c.div` 110 width: 21px; 111 border-left: 4px solid 112 ${({status:e,theme:r})=>e===I.Done||e===se||e===R.Success?r.color["Component colors/Utility/Success/utility-success-500"]:e===I.Rejected||e===ne||e===ie||e===R.Failure?r.color["Component colors/Utility/Red/utility-red-400"]:"inherit"}; 113`,E=c.div` 114 width: ${({theme:e})=>e.spacing.lg}; 115`,dt=c.div` 116 display: block; 117 position: relative; 118 width: 10rem; 119 background-color: ${({theme:e})=>
119e.color["Colors/Background/bg-secondary"]}; 120 color: ${({theme:e})=>e.color["Colors/Text/text-primary (900)"]}; 121 outline: none; 122 padding: 8px 15px 5px 10px; 123 cursor: pointer; 124 transition: all 200ms ease; 125 text-transform: none; 126 text-align: left; 127 border-bottom: 1px solid 128 ${({theme:e})=>e.color["Colors/Border/border-brand"]}; 129 130 &:hover { 131 background-color: ${({theme:e})=>e.color["Colors/Background/bg-secondary_hover"]}; 132 } 133`,pt=c.select` 134 ${({theme:e})=>` 135color: ${e.color["Colors/Text/text-primary (900)"]}; 136&:focus { 137 outline: none; 138} 139&:hover { 140 cursor: pointer; 141} 142display: inline-block; 143padding: 0.2em 0; 144width: 105%; 145 146/* caret */ 147background-image: 148 linear-gradient(45deg, transparent 50%, ${e.color["Colors/Text/text-primary (900)"]} 50%), 149 linear-gradient(135deg, ${e.color["Colors/Text/text-primary (900)"]} 50%, transparent 50%); 150background-position: 151 calc(100% - 5px) center, 152 calc(100%) center; 153background-size: 154 5px 5px, 155 5px 5px; 156 157option { 158 background-color: ${e.color["Colors/Background/bg-secondary"]}; 159} 160 161`} 162`,Y=({selected:e,onSelection:r})=>t.jsx(dt,{children:t.jsx(pt,{onChange:a=>{r(a.target.value)},value:e.comparator,children:Object.values(w).map(a=>t.jsx("option",{children:a},a))})}),ut=c.span` 163 position: relative; 164 cursor: pointer; 165 display: inline-block; 166 167 @media (max-width: 400px) { 168 display: none; 169 } 170`,xt=c.div` 171 position: absolute; 172 max-height: 150px; 173 top: 20px; 174 right: -20px; 175 overflow-y: auto; 176 177 float: ${({leftAlignFilter:e})=>e?"right":void 0}; 178 background-color: ${({theme:e})=>e.color["Colors/Background/bg-primary"]}; 179 padding: ${({theme:e})=>e.spacing.sm}; 180 box-shadow: ${({theme:e})=>e.color["Colors/Effects/Focus rings/focus-ring"]} 181 0px 0px 2px 0px; 182`,k=({parentRef:e,ariaLabel:r,children:a,leftAlignFilter:o=!1})=>t.jsx(ut,{children:t.jsx(xt,{leftAlignFilter:o,role:"search","aria-label":r,ref:e,className:"popup",children:a})}),mt=c.input` 183 ${({theme:e})=>e.textStyles["Text sm/Regular"]} 184 padding: 8px 8px 5px 8px; 185 color: ${({theme:e})=>e.color["Colors/Text/text-primary (900)"]}; 186 ::-webkit-calendar-picker-indicator { 187 filter: ${({theme:e})=>e.name==="dark"?"invert(1)":"none"}; 188 } 189`,N=({fieldValueName:e,field:r,selected:a,dataTestId:o})=>t.jsx(mt,{defaultValue:a[e]?f(a[e],"yyyy-MM-dd"):void 0,onClick:s=>s.stopPropagation(),onChange:({target:{value:s}})=>{M(r,{...a,[e]:s?xe(s):null})},type:"date","data-testid":o}),ht=({field:e,parentRef:r})=>{const a=h(),o=we(e,a);return t.jsxs(k,{parentRef:r,ariaLabel:`Filter trades by ${e} field value`,children:[t.jsx(Y,{selected:o,onSelection:s=>{M(e,{...o,comparator:s})}}),t.jsx(N,{dataTestId:"date-filter-input",selected:o,field:e,fieldValueName:"value1"}),o.comparator===w.InRange&&t.jsx(N,{selected:o,field:e,fieldValueName:"value2"})]})},gt=c.input` 190 grid-area: Input; 191 background: none; 192 outline: none; 193 border: none; 194 font-size: 0.75rem; 195 width: 100%; 196 padding: 2px 10px; 197 color: ${({theme:e})=>e.color["Colors/Text/text-primary (900)"]}; 198 border-bottom: 1.5px solid 199 ${({theme:e})=>e.color["Colors/Border/border-primary"]}; 200 caret-color: ${({theme:e})=>e.color["Colors/Border/border-brand"]}; 201 &:focus { 202 outline: none !important; 203 border-color: ${({theme:e})=>e.color["Colors/Border/border-brand"]}; 204 } 205`,B=({field:e,selected:r,fieldValueName:a})=>t.jsx(gt,{placeholder:"Filter...",role:"textbox",defaultValue:r[a]??void 0,"aria-label":a==="value1"?"Primary filter value":"Secondary filter value",onClick:o=>o.stopPropagation(),onChange:({target:{value:o}})=>{U(e,{...r,[a]:o?parseFloat(o):null})}}),bt=({field:e,parentRef:r})=>{const a=h(),o=Fe(e,a);return t.jsxs(k,{parentRef:r,ariaLabel:`Filter trades by ${a[e].headerName} field value`,leftAlignFilter:e!=="tradeId",children:[t.jsx(Y,{selected:o,onSelection:s=>{U(e,{...o,comparator:s})}}),t.jsx("br",{}),t.jsx(B,{field:e,selected:o,fieldValueName:"value1"}),o.comparator===w.InRange&&t.jsx(B,{field:e,selected:o,fieldValueName:"value2"})]})},O=c.div` 206 padding: ${({theme:e})=>e.spacing.md}; 207 display: flex; 208 align-items: center; 209 justify-content: space-between; 210 background-color: ${({selected:e,theme:r})=>
210e?r.color["Colors/Background/bg-brand-primary"]:"inherit"}; 211 border-radius: 2px; 212 margin-bottom: 5px; 213 214 &:hover { 215 background-color: ${({theme:e})=>e.color["Colors/Background/bg-brand-primary_alt"]}; 216 } 217`,A=c.span` 218 margin-left: 0.675rem; 219 min-width: 0.675rem; 220`,[Ct,yt]=L(e=>$e.pipe(he(({field:r})=>e===r),V(({value:r})=>r),ge(""))),ft=({field:e,parentRef:r})=>{const a=h(),o=C(),s=ke(e,o,a),d=Se(e,o,a),n=Ct(e),{valueFormatter:l}=a[e],x=s.size===0?"Text sm/Bold":"Text sm/Regular";return t.jsxs(k,{parentRef:r,ariaLabel:`Filter trades by ${e} field value`,children:[t.jsx(le,{paddingBottom:"sm",children:t.jsx(Le,{value:n,placeholder:"Search",onChange:i=>Ie(e,i.target.value)})}),t.jsxs(O,{onClick:()=>{s.size>0&&_(e)},selected:s.size===0,children:[t.jsx(y,{variant:x,color:"Colors/Text/text-primary (900)",children:"Select All"}),t.jsx(A,{children:s.size===0&&t.jsx(D,{})})]},"select-all-filter"),[...d].map(i=>{const p=s.has(i),m=p?"Text sm/Bold":"Text sm/Regular";return t.jsxs(O,{"data-testid":`select-option-${i}`,onClick:()=>Re(e,i),selected:p,children:[t.jsx(y,{variant:m,color:"Colors/Text/text-primary (900)",children:(l==null?void 0:l(i))??i}),t.jsx(A,{children:p&&t.jsx(D,{})})]},`${i}-filter`)})]})},Tt=({field:e,parentRef:r})=>t.jsx(me,{source$:yt(e),children:t.jsx(ft,{field:e,parentRef:r})}),J=(e,r)=>r/(e.reduce((a,o)=>a+o)/100),jt=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),vt=c.div` 221 width: ${({width:e})=>e}%; 222 cursor: pointer; 223 display: flex; 224 flex-direction: ${({headerFirst:e})=>e?"row":"row-reverse"}; 225 align-items: center; 226 text-wrap: nowrap; 227 padding-right: ${({numeric:e})=>e?"1.3rem;":null}; 228 229 svg { 230 width: 0.675rem; 231 vertical-align: text-bottom; 232 } 233 234 span.spacer { 235 min-width: 0.675rem; 236 display: inline-block; 237 } 238 239 span.spacer-2 { 240 min-width: 1rem; 241 display: inline-block; 242 } 243 244 .popup { 245 float: ${({isLast:e})=>e?"right":void 0}; 246 margin-right: 0.4rem; 247 } 248`,wt=({field:e,isLast:r})=>{const[a,o]=u.useState(!1),s=u.useRef(null),{displayMenu:d,setDisplayMenu:n}=ce(s),l=De(),x=h(),{headerName:i,filterType:p,width:m}=x[e],b=J(Object.values(x).map(g=>g.width),m);return t.jsxs(vt,{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),width:b,isLast:r,numeric:p==="number"&&e!=="tradeId",headerFirst:p!=="number"||e==="tradeId",onClick:g=>{g.target===g.currentTarget&&Ee(e)},ref:s,children:[i,l.field===e&&l.direction!==void 0?t.jsx("div",{role:"sort","aria-label":`Update trades blotter sort on ${i} field`,children:l.direction==="ASC"?t.jsx(Ue,{}):t.jsx(Me,{})}):t.jsx("span",{className:"spacer","aria-hidden":!0}),a?t.jsx("div",{"aria-label":`Open ${i} field filter pop up`,role:"button",onClick:()=>{n(g=>!g)},children:t.jsx(Pe,{})}):t.jsx("span",{className:"spacer","aria-hidden":!0}),d&&(p==="number"?t.jsx(bt,{field:e,parentRef:s}):p==="set"?t.jsx(Tt,{field:e,parentRef:s}):t.jsx(ht,{field:e,parentRef:s}))]})},X=u.createContext("Caption not loaded"),Ft=u.forwardRef(function({children:r,style:a},o){const s=C(),d=$(),n=h(),l=T(s,n),x=u.useContext(X);return t.jsxs(t.Fragment,{children:[t.jsx("p",{id:"trades-table-heading",className:"visually-hidden",children:x}),t.jsxs("div",{role:"grid",ref:o,style:{...a,minWidth:`${d.length*6}rem`},children:[t.jsxs(nt,{children:[t.jsx(E,{"aria-label":"Trade Status"}),d.map((i,p)=>t.jsx(wt,{field:i,isLast:p===d.length-1},i))]}),l.length?r:t.jsxs(G,{style:{height:"2rem"},children:[t.jsx(E,{"aria-hidden":!0}),t.jsx(Z,{width:100,children:"No trades to show"})]})]})]})}),$t=u.forwardRef(function({children:r,style:a,...o},s){return t.jsx("div",{ref:s,...o,style:{...a,overflowX:"auto"},children:r})}),kt=({index:e,style:r,data:a})=>{const o=C(),s=h(),d=$(),n=Ne(o,s,e-1),l=We(),{onRowClick:x,isRejected:i}=a;return t.jsxs(G,{index:e,highlight:n.tradeId===l,onClick:()=>x==null?void 0:x(n),"data-testid":`trades-grid-row-${n.tradeId}`,style:{...r,minWidth:`${d.length*6}rem`},children:[t.jsx(ct,{status:n.status,"aria-label":n.status}),d.map(p=>{var S;const m=s[p],b=n[p],g=J(Object.values(s).map(K=>K.width),m.width);return t.jsx(Z,{width:g,align:m.align??(m.filterType==="number"?"right":"left"),children:((S=m.valueFormatter)==null?void 0:S.call(m,b))??b},p)}),t.jsx(lt,{isRejected:i==null?void 0:i(n)})]})},St=({data:e,index:r,style:a})=>{const{ItemRenderer:o,...s}=e;return r===0?null:t.jsx(o,{index:r,style:a,data:s})},It=({children:e,itemData:r,...a})=>t.jsx(Ce,{itemData:{...r,ItemRenderer:e},...a,children:St}),Rt=({onRowClick:e,isRejected:r,caption:a})=>{const o=C(),s=h(),d=T(o,s);return t.jsx(X.Provider,{value:a,children:t.jsx(st,{children:t.jsx(be,{children:({height:n,width:l})=>t.jsx(It,{itemCount:d.length+1,itemSize:jt(2),height:n||100,width:l||100,innerElementType:Ft,outerElementType:$t,itemData:{onRowClick:e,isRejected:r},children:kt})})})})},Dt=Te(Be),Ht=({columnFields:e,columnDefinitions:r,trades$:a,caption:o,highlightedRow:s,isRejected:d,onRowClick:n,section:l,showHeaderTools:x,title:i})=>(u.useEffect(()=>{window.fdc3&&ye("green")},[]),t.jsx(W.Provider,{value:e,children:t.jsx(Q.Provider,{value:r,children:t.jsx(H.Provider,{value:a,children:t.jsx(q.Provider,{value:s,children:t.jsx(fe,{"aria-labelledby":"trades-table-heading",fallback:t.jsx(de,{ariaLabel:"Loading trades blotter"}),Header:t.jsx(at,{section:l,showTools:x,title:i}),Body:t.jsxs(t.Fragment,{children:[t.jsx(Rt,{isRejected:d,onRowClick:n,caption:o}),t.jsx(Ze,{})]}),children:t.jsx(Dt,{})})})})})}));export{Ht as G,Qe as a,He as b,zt as c,Ut as f}; 249//# sourceMappingURL=GridRegion-l3p9cmu7.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.