PageSourceSearch

https://webtrader.cmsprime.com/web/assets/js/9014.chunk.70aad41f.js

js cmsprime.com collected 2026-09-24 13:11:00 UTC 20,734 bytes, 1 lines download raw bytes

1(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["9014"],{7556:function(e,t,n){e.exports=n(47293)(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})},95631:function(e,t,n){"use strict";var r=n(70030),o=n(47045),i=n(89190),a=n(49974),c=n(25787),s=n(68554),l=n(20408),u=n(51656),f=n(76178),d=n(96340),p=n(19781),h=n(62423).fastKey,v=n(29909),b=v.set,m=v.getterFor;e.exports={getConstructor:function(e,t,n,u){var f=e(function(e,o){c(e,d),b(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),p||(e.size=0),s(o)||l(o,e[u],{that:e,AS_ENTRIES:n})}),d=f.prototype,v=m(t),y=function(e,t,n){var r,o,i=v(e),a=g(e,t);return a?a.value=n:(i.last=a={index:o=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var n,r=v(e),o=h(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(d,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=v(this),n=g(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),p?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(d,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),p&&o(d,"size",{configurable:!0,get:function(){return v(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);u(e,t,function(e,t){b(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?f(n.key,!1):"values"==t?f(n.value,!1):f([n.key,n.value],!1):(e.target=void 0,f(void 0,!0))},n?"entries":"values",!n,!0),d(t)}}},77710:function(e,t,n){"use strict";var r=n(82109),o=n(17854),i=n(1702),a=n(54705),c=n(98052),s=n(62423),l=n(20408),u=n(25787),f=n(60614),d=n(68554),p=n(70111),h=n(47293),v=n(17072),b=n(58003),m=n(79587);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),x=y?"set":"add",C=o[e],j=C&&C.prototype,w=C,P={},S=function(e){var t=i(j[e]);c(j,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return(!g||!!p(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return g&&!p(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return(!g||!!p(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!f(C)||!(g||j.forEach&&!h(function(){new C().entries().next()}))))w=n.getConstructor(t,e,y,x),s.enable();else if(a(e,!0)){var O=new w,E=O[x](g?{}:-0,1)!=O,T=h(function(){O.has(1)}),k=v(function(e){new C(e)}),I=!g&&h(function(){for(var e=new C,t=5;t--;)e[x](t,t);return!e.has(-0)});k||((w=t(function(e,t){u(e,j);var n=m(new C,e,w);return d(t)||l(t,n[x],{that:n,AS_ENTRIES:y}),n})).prototype=j,j.constructor=w),(T||I)&&(S("delete"),S("has"),y&&S("get")),(I||E)&&S(x),g&&j.clear&&delete j.clear}return P[e]=w,r({global:!0,constructor:!0,forced:w!=C},P),b(w,e),g||n.setStrong(w,e,y),w}},76677:function(e,t,n){e.exports=!n(47293)(function(){return Object.isExtensible(Object.preventExtensions({}))})},62423:function(e,t,n){var r=n(82109),o=n(1702),i=n(3501),a=n(70111),c=n(92597),s=n(3070).f,l=n(8006),u=n(1156),f=n(52050),d=n(69711),p=n(76677),h=!1,v=d("meta"),b=0,m=function(e){s(e,v,{value:{objectID:"O"+b++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=l.f,t=o([].splice),n={};n[v]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===v){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,v)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[v].objectID},getWeakData:function(e,t){if(!c(e,v)){if(!f(e))return!0;
1if(!t)return!1;m(e)}return e[v].weakData},onFreeze:function(e){return p&&h&&f(e)&&!c(e,v)&&m(e),e}};i[v]=!0},52050:function(e,t,n){var r=n(47293),o=n(70111),i=n(84326),a=n(7556),c=Object.isExtensible;e.exports=r(function(){c(1)})||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!=i(e))&&(!c||c(e))}:c},57327:function(e,t,n){"use strict";var r=n(82109),o=n(42092).filter;r({target:"Array",proto:!0,forced:!n(81194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},37227:function(e,t,n){"use strict";n(77710)("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},n(95631))},70189:function(e,t,n){n(37227)},18521:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>eb});var r=n(74512),o=n(32735),i=n(10281),a=n(71225),c=n(29283),s=n(77253),l=n(81468),u=n(81051);n(92222);var f=n(81182),d=n(96838),p=n(82647),h=n(80199),v=n(18909),b=n(33007);n(21249),n(26699),n(32023),n(57327),n(41539);var m=n(74307),y=n(16573);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}}let C=function(){var e,t=(0,f.$G)().t,n=(0,b.VC)().theme.themeColors,i=(0,u.oL)().checkedTypes,a=(e=(0,o.useState)(i),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw r}}return i}}(e,2)||x(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],l=a[1];(0,o.useEffect)(function(){l(i)},[i]);var p=(0,o.useCallback)(function(){var e=y.Hy.map(function(e){return e.value});l(e),c.Y.updateFilteredTypes(e)},[]),h=(0,o.useCallback)(function(){l([]),c.Y.updateFilteredTypes([])},[]),v=(0,o.useCallback)(function(e){var t=s.includes(e)?s.filter(function(t){return t!==e}):((function(e){if(Array.isArray(e))return g(e)})(s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||x(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([e]);l(t),c.Y.updateFilteredTypes(t)},[s]);return(0,r.jsx)(j,{children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(P,{children:[(0,r.jsx)(d.ZP,{variant:d.eF.TEXT_ONLY_THEMED,size:"small",onClick:p,children:(0,r.jsxs)(S,{children:[t("Select all")," (",s.length,")"]})}),(0,r.jsx)(d.ZP,{variant:d.eF.TEXT_ONLY,size:"small",onClick:h,textColor:n.pnl.negative.default,hoverTextColor:n.pnl.negative.hover,activeTextColor:n.pnl.negative.active,disabled:0===s.length,disabledTextColor:n.pnl.negative.disabled,children:(0,r.jsxs)(S,{children:[" ",t("Clear all")]})})]}),(0,r.jsx)(O,{children:y.Hy.map(function(e){return(0,r.jsx)(E,{children:(0,r.jsx)(m.Z,{variant:m.Q.WITH_LABEL_DESCRIPTION,checked:s.includes(e.value),onClick:function(){return v(e.value)},label:e.label()})},e.value)})})]})})};var j=i.ZP.div.withConfig({componentId:"sc-acf8a65-0"})(["background:",";border:1px solid ",";border-radius:","px;box-shadow:0 4px 12px rgba(0,0,0,0.1);padding:","px;z-index:1000;"],function(e){return e.theme.themeColors.background.default},function(e){return e.theme.themeColors.border.default},a.A.XXS,a.A.S),w=i.ZP.div.withConfig({componentId:"sc-acf8a65-1"})([""]),P=i.ZP.div.withConfig({componentId:"sc-acf8a65-2"})(["display:flex;justify-content:space-between;padding-bottom:","px;border-bottom:1px solid ",";"],a.A.XS,function(e){return e.theme.themeColors.border.subtle}),S=i.ZP.div.withConfig({componentId:"sc-acf8a65-3"})([""]),O=i.ZP.div.withConfig({componentId:"sc-acf8a65-4"})(["display:flex;flex-direction:column;"]),E=i.ZP.div.withConfig({componentId:"sc-acf8a65-5"})(["padding:","px 0;"],a.A.XS);function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let k=function(){var e,t=(0,f.$G)().t,n=(0,b.VC)().theme,i=(e=(0,o.useState)(""),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return T(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}}
1(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1],l=(0,o.useRef)(null),m=(0,u.oL)(),y=m.showTypeFilter,g=m.checkedTypes,x=(0,u.an)(),j=5===g.length?t("Show all asset class"):"".concat(g.length," Asset class selected"),w=(0,o.useCallback)(function(e){var t=e.target.value;s(t),c.Y.searchCompanyExposure(t||void 0)},[]),P=(0,o.useCallback)(function(){x||c.Y.refetchCompanyExposure()},[x]);return(0,r.jsxs)(I,{children:[(0,r.jsxs)(R,{ref:l,children:[(0,r.jsx)(d.ZP,{rightSection:(0,r.jsx)(h.ZP,{icon:y?h.Ro.CHEVRON_UP:h.Ro.CHEVRON_DOWN,size:h.sk.M,color:n.themeColors.icon.default}),variant:d.eF.OUTLINED,size:"small",onClick:c.Y.toggleTypeFilter,uppercase:!1,children:(0,r.jsx)(_,{children:j})}),(0,r.jsx)(p.ZP,{isVisible:y,onClose:c.Y.toggleTypeFilter,dropdownPlacement:p.s1.BOTTOM_END,dropdownWidth:"160px",parentRef:l,children:(0,r.jsx)(C,{})})]}),(0,r.jsx)(A,{children:(0,r.jsx)(v.ZP,{variant:v.Bv.BORDERED_TEXT,placeholder:t("Search Symbol"),value:a,onChange:w,inputLeftSection:(0,r.jsx)(Z,{children:(0,r.jsx)(h.ZP,{icon:h.Ro.SEARCH})}),size:"small"})}),(0,r.jsx)(d.ZP,{variant:d.eF.OUTLINED_ICON_ONLY,size:"small",onClick:P,icon:h.Ro.REFRESH,textColor:n.themeColors.icon.default,disabled:x})]})};var I=i.ZP.div.withConfig({componentId:"sc-a3c2b4bc-0"})(["display:flex;align-items:center;column-gap:","px;"],a.A.XS),A=i.ZP.div.withConfig({componentId:"sc-a3c2b4bc-1"})(["width:200px;"]),Z=i.ZP.div.withConfig({componentId:"sc-a3c2b4bc-2"})(["margin-left:","px;"],a.A.XS),R=i.ZP.div.withConfig({componentId:"sc-a3c2b4bc-3"})(["position:relative;& > button{border:1px solid ",";}"],function(e){return e.theme.themeColors.border.strong}),_=i.ZP.div.withConfig({componentId:"sc-a3c2b4bc-4"})(["width:127px;color:",";font-weight:400;text-align:start;margin-left:","px;"],function(e){return e.theme.themeColors.text.strong},a.A.XXS),L=n(528),N=function(){var e=(0,f.$G)().t,t=(0,u.gL)();return(0,o.useMemo)(function(){return[{label:e("Company Exposure")+" (".concat(t,")"),value:L.Kc.COMPANY_EXPOSURE}]},[e,t])};let D=function(){var e=(0,u.nU)(),t=N();return(0,r.jsx)(z,{children:(0,r.jsx)(l.Z,{variant:l.N.UNDERLINED,tabList:t,selectedValue:e,onClick:c.Y.setSelectedTab,suffix:(0,r.jsx)(k,{})})})};var z=i.ZP.div.withConfig({componentId:"sc-552cbea7-0"})([""]);n(70189),n(66992),n(33948),n(78783);var F=n(52617),Y=n(81002),U=n(24837),V=n(25932);n(9653);var M=n(38074),X=n(82337),W=n(32972),H=n(3082),$=n(33481),B=n(11750),G=n(15226),K=n(907),q=n(41174);let Q=(0,o.memo)(function(e){var t=e.symbol,n=e.belongToUserGroup,i=void 0!==n&&n,a=(0,B.s0)(),c=(0,f.$G)().t,s=(0,b.VC)().theme.themeColors,l=(0,o.useCallback)(function(){i&&(q.$.onSelectOrderSymbol(t),a(K.oI.TRADE))},[i,a,t]),u=[{paragraphs:[c("View Only")]}];return i?(0,r.jsx)(J,{onClick:l,children:(0,r.jsx)(ee,{children:t})}):(0,r.jsx)(G.Z,{variant:G.q.MULTI_SECTIONS_WITH_HEADER_DESCRIPTION,contentSections:u,placement:"bottom",trigger:"mouseenter",children:(0,r.jsx)(M.ZP,{color:s.text.subtle,children:t})})});var J=i.ZP.div.withConfig({componentId:"sc-a8c7ca19-0"})([""]),ee=(0,i.ZP)(M.ZP).withConfig({componentId:"sc-a8c7ca19-1"})(["cursor:pointer;&:hover{color:",";text-decoration:underline;}"],function(e){return e.theme.themeColors.primary}),et=n(16672);let en=function(e){var t=e.initValue,n=e.symbol,o=e.positionRowType,i=e.valueKey,a=e.decimal,c=e.formatter,s=(0,U.Vb)(n,o,i)||t;return(0,et.M7)(s)||0===s?(0,r.jsx)(M.ZP,{children:c(s,a)}):(0,r.jsx)(M.ZP,{children:"--"})},er=(0,o.memo)(function(e){var t=e.positionType,n=(0,f.$G)().t,o=(0,b.VC)().theme,i=n(t===L.Tw.BUY?"BUY":"SELL"),a=t===L.Tw.BUY;return(0,r.jsx)(M.ZP,{color:a?o.themeColors.pnl.positive.default:o.themeColors.pnl.negative.default,children:i})});var eo=(0,i.ZP)(M.ZP).withConfig({componentId:"sc-4be6d47c-0"})(["color:",";"],function(e){var t=e.theme;return e.$isProfit?t.themeColors.pnl.positive.default:t.themeColors.pnl.negative.default});let ei=function(e){var t=e.decimal,n=e.initValue,o=e.symbol,i=e.positionRowType,a=e.valueKey,c=(0,U.Vb)(o,i,a)||n,s=c>=0;return(0,et.M7)(c)||0===c?(0,r.jsxs)(eo,{$isProfit:s,children:[s?"+":"",(0,$.Wi)(c,t,!1)]}):(0,r.jsx)(M.ZP,{children:"--"})};var ea=function(e){var t;return"single"===e.type?e.position.positionType===U.Tw.BUY?"buyPosition":"sellPosition":"netPosition"},ec=function(e){return"single"===e.type?e.position:e.netPosition},es=function(e,t,n,o){return{accessorFn:function(t){return ec(t)[e]}
1,id:e,size:n,sortDescFirst:!1,header:function(){return(0,r.jsx)(M.ZP,{children:t})},cell:function(t){var n=t.row.original,i=ec(n);return(0,r.jsx)(en,{symbol:n.symbol,valueKey:e,decimal:i.decimal,initValue:i[e],formatter:o,positionRowType:ea(n)})}}},el=function(e){var t=(0,f.$G)().t;return{tableColumns:(0,o.useMemo)(function(){var n,o,i;return[{id:"expander",size:16,enableSorting:!1,header:function(){return(0,r.jsx)("div",{})},cell:function(t){var n=t.row.original;return(0,r.jsx)(eu,{children:"aggregated"!==n.type||n.isSubRow?(0,r.jsx)(ef,{}):(0,r.jsx)(d.ZP,{variant:d.eF.ICON_ONLY,icon:n.isExpanded?h.Ro.CHEVRON_DOWN:h.Ro.CHEVRON_RIGHT,iconSize:h.sk.M,onClick:function(t){t.stopPropagation(),e("".concat(n.symbol,"-").concat(n.type))}})})}},(n=t("Symbol"),{accessorKey:"symbol",size:150,sortDescFirst:!1,header:function(){return(0,r.jsx)(M.ZP,{children:n})},cell:function(e){var t=e.getValue(),n=ec(e.row.original).belongToUserGroup;return(0,r.jsx)(Q,{symbol:t,belongToUserGroup:n})}}),(o=t("Type"),{accessorFn:function(e){return ec(e).positionType},id:"positionType",size:80,sortDescFirst:!1,header:function(){return(0,r.jsx)(M.ZP,{children:o})},cell:function(e){var t=ec(e.row.original);return(0,r.jsx)(er,{positionType:t.positionType})}}),(i=t("Profit/Loss"),{accessorFn:function(e){return ec(e).profit},id:"profit",size:120,sortDescFirst:!1,header:function(){return(0,r.jsx)(M.ZP,{children:i})},cell:function(e){var t=e.row.original,n=ec(t);return(0,r.jsx)(ei,{valueKey:"profit",symbol:t.symbol,positionRowType:ea(t),initValue:n.profit,decimal:2})}}),es("lotSize",t("Volume"),100,function(e){return(0,$.Wi)(e,2)}),es("units",t("Units"),100,function(e){return(0,$.Wi)(e,(0,W.N)(e))}),es("openPrice",t("Entry Price"),120,$.Wi),es("latestPrice",t("Current Price"),120,$.Wi),es("totalExposure",t("Total Exposure"),140,function(e){return(0,$.Wi)(e,2,!1)}),es("latestTradeTime",t("Last Trade Time"),160,function(e){if(!e)return"--";try{return H._.convertToDayjsWithOffset({input:Number(e)}).format(X.ju)}catch(e){return"--"}})]},[t,e])}},eu=i.ZP.div.withConfig({componentId:"sc-9b826f07-0"})(["display:flex;align-items:center;justify-content:center;"]),ef=i.ZP.div.withConfig({componentId:"sc-9b826f07-1"})(["min-width:16px;min-height:16px;"]);function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let ep=function(){var e,t=(0,f.$G)().t,n=(0,u.an)(),i=(0,u.TX)(),a=(e=(0,o.useState)(new Set),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return ed(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ed(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],s=a[1],l=(0,o.useRef)(null),d=(0,o.useMemo)(function(){var e=[];return i.forEach(function(t){var n,r,o="".concat(t.symbol,"-").concat(t.type),i=c.has(o);e.push((n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t),r=r={isExpanded:i},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n)),i&&"aggregated"===t.type&&(e.push({type:"single",symbol:t.symbol,position:t.buyPosition,isSubRow:!0,parentId:o}),e.push({type:"single",symbol:t.symbol,position:t.sellPosition,isSubRow:!0,parentId:o}))}),e},[i,c]),p=(0,o.useCallback)(function(e){s(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),h=(0,o.useCallback)(function(e,t){U.YA.handlePaginationChange(e,t)},[]);(0,o.useEffect)(function(){l.current&&l.current.querySelectorAll("tbody tr").forEach(function(e,t){var n=d[t];n&&(e.classList.remove("expanded-row","sub-row"),n.isExpanded&&"aggregated"===n.type&&e.classList.add("expanded-row"),n.isSubRow&&e.classList.add("sub-row"))})},[d]);var v=(0,o.useMemo)(function(){return(0,r.jsx)(V.Z,{variant:V.R.OPEN_POSITION_DEALER})},[]),b=el(p).tableColumns,m=d.length<Y.XP;return(0,r.jsx)(eh,{ref:l,children:(0,r.jsx)(F.Z,{loading:n,data:d,columns:b,listEmptyComponent:v,paginationLabel:t("positions"),hidePagination:m,pageLabel:t("Page"),ofLabel:t("of"),pageSize:y.L8,onPaginationChange:h,autoResetPageIndex:!1})})};var eh=i.ZP.div.withConfig({componentId:"sc-c7227b09-0"})(["overflow:hidden;display:flex;flex-direction:column;height:100%;th:first-child,td:first-child{border-inline-end:none;}tbody tr{&:hover{background-color:",";}&:active{background-color:",";}}tbody tr.expanded-row{background-color:",";&:hover,&:active{background-color:",";}}tbody tr.sub-row{&:hover,&:active{background-color:",";}td:first-child{padding-left:","px;}}"],function(e){return e.theme.themeColors.background.subtle},function(e){return e.theme.themeColors.background.active},function(e){return e.theme.themeColors.background.active},function(e){return e.theme.themeColors.background.subtle},function(e){return e.theme.themeColors.background.subtle},a.A.XL);let ev=function(){return(0,u.nU)()===L.Kc.COMPANY_EXPOSURE?(0,r.jsx)(ep,{}):(0,r.jsx)(r.Fragment,{})},eb=function(){return(0,o.useEffect)(function(){return c.Y.init(),c.Y.initSocketReconnectionListener(),function(){c.Y.reset(),c.Y.removeSocketReconnectionListener()}},[]),(0,r.jsx)(em,{children:(0,r.jsxs)(ey,{children:[(0,r.jsx)(s.Z,{}),(0,r.jsx)(D,{}),(0,r.jsx)(ev,{})]})})};var em=i.ZP.div.withConfig({componentId:"sc-5e07c049-0"})(["display:flex;height:100%;max-height:calc(100vh - 41px);overflow:hidden;column-gap:","px;background:",";"],a.A.XS,function(e){return e.theme.themeColors.background.active}),ey=i.ZP.div.withConfig({componentId:"sc-5e07c049-1"})(["display:flex;flex-direction:column;width:100%;height:100%;"])}}]);

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.