PageSourceSearch

https://webtrader.cmsprime.com/web/assets/js/2421.chunk.49a0c5fa.js

js cmsprime.com collected 2026-10-01 16:31:31 UTC 5,303 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["2421"],{47578:function(e,t,n){n.r(t),n.d(t,{default:()=>S}),n(41539);var i=n(74512),o=n(10281),l=n(81182),r=n(60184),s=n(48881),a=n(64536),c=n(33481),d=n(55869),p=n(86969),x=n(91186);n(70189),n(66992),n(33948),n(78783);var u=n(51015),f=new Set([r.Zp.PENDING,r.Zp.FILLED]),m=function(e){var t=e.symbol,n=e.cmd,i=e.centroidNotificationOrderState,o=e.openPrice,l=i===r.Zp.FILLED,s=(0,u.pn)({symbol:null!=t?t:"",orderType:n,isOpenPosition:l,orderCurrentPrice:{buy:o,sell:o}});return i&&f.has(i)?s:o},h=n(82337),g=n(3082),b=n(40679),j=o.ZP.div.withConfig({componentId:"sc-e6115af7-0"})(["display:grid;grid-column-gap:16px;grid-row-gap:8px;grid-template-columns:1fr 1fr;justify-content:space-between;"]),v=o.ZP.div.withConfig({componentId:"sc-e6115af7-1"})(["display:flex;flex-direction:column;padding-bottom:16px;"]),Z=o.ZP.div.withConfig({componentId:"sc-e6115af7-2"})(["color:",";margin-bottom:8px;font-size:16px;font-weight:500;"],function(e){return e.theme.themeColors.text.strong}),w=o.ZP.div.withConfig({componentId:"sc-e6115af7-3"})(["display:flex;height:fit-content;"]);let P=function(e){var t,n=e.centroidNotificationOrderState,o=e.openTime;return(0,i.jsxs)(v,{children:[(0,i.jsx)(Z,{children:n?(0,a.by)(n):"--"}),(0,i.jsxs)(j,{children:[null!=n?(0,i.jsx)(w,{children:(0,i.jsx)(b.Z,{orderState:n})}):null,(0,i.jsx)(x.Z,{label:null!=(t=(0,a.q3)(n))?t:"--",value:o?g._.convertToDayjsWithOffset({input:o}).format(h.ju):"--"})]})]})};var y={justifyContent:"flex-start",gap:"24px",alignItems:"center"};function I(e){return null!=e?e:"--"}var C=function(e){var t;return e&&e in r.Zp?null==(t=(0,a.tj)(e))?void 0:t.orderStateText:"--"};let S=function(e){var t=e.notification,n=(0,l.$G)().t,o=t.metadata,u=t.notificationTemplate,f=o||{},h=f.orderId,g=f.cmd,b=f.symbol,j=f.comment,v=f.openTime,Z=f.centroidNotificationOrderState,w=f.centroidSymbolDecimal,S=void 0===w?0:w,W=f.lotSize,_=f.openPrice,z=f.takeProfit,q=f.stopLoss,A=f.filledLotSize,G=f.avgFilledPrice,R=f.centroidTimeInForce,M=f.centroidNotional,V=f.swap,B=f.margin,J=f.commission,U=[r.Zp.FILLED,r.Zp.PARTIAL,r.Zp.REJECTED,r.Zp.PENDING].some(function(e){return e===Z}),$=Z===r.Zp.MODIFIED,H=m({symbol:b,cmd:g,centroidNotificationOrderState:Z,openPrice:_});return(0,i.jsxs)(T,{children:[(0,i.jsx)(P,{centroidNotificationOrderState:Z,openTime:v}),(0,i.jsx)(k,{}),(0,i.jsxs)(D,{children:[(0,i.jsxs)(F,{children:[(0,i.jsx)(O,{children:I(b)}),"number"==typeof g&&!$&&(0,i.jsx)(E,{children:(0,i.jsx)(p.Z,{orderType:g})})]}),(0,i.jsx)(x.Z,{label:(0,a.Bh)(u),value:h})]}),(0,i.jsx)(L,{children:(0,i.jsxs)(F,{children:[(0,i.jsx)(x.Z,{label:n("Volume"),value:I(W)}),!$&&(0,i.jsx)(x.Z,{label:n("Filled Volume"),value:A||"--"}),(0,i.jsx)(x.Z,{label:n("Avg Filled Price"),value:I(G)}),(0,i.jsx)(x.Z,{label:n("Order Status"),value:C(Z)}),(0,i.jsx)(x.Z,{label:n("Price"),value:(0,c.Wi)(H,S)}),!$&&(0,i.jsx)(x.Z,{label:n("Time-In-Force"),value:R&&R in s.Uu?(0,d.cn)(R):"--"}),!U&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{label:n("Take Profit"),value:(0,c.Wi)(z,S)}),(0,i.jsx)(x.Z,{label:n("Stop Loss"),value:(0,c.Wi)(q,S)})]}),(0,i.jsx)(x.Z,{label:n("Notional"),value:(0,c.Wi)(M,S)}),!U&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{label:n("Commission"),value:(0,c.Wi)(J,S)}),(0,i.jsx)(x.Z,{label:n("Swap"),value:(0,c.Wi)(V,S)}),(0,i.jsx)(x.Z,{label:n("Margin"),value:(0,c.Wi)(B,S)})]})]})}),(0,i.jsx)(k,{}),j&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{children:(0,i.jsx)(x.Z,{label:n("Remarks"),value:j,style:y})}),(0,i.jsx)(k,{})]})]})};var T=o.ZP.div.withConfig({componentId:"sc-51b2437-0"})(["padding:24px 20px;padding-bottom:4px;width:488px;box-sizing:border-box;"]),F=o.ZP.div.withConfig({componentId:"sc-51b2437-1"})(["display:grid;grid-column-gap:16px;grid-row-gap:8px;grid-template-columns:1fr 1fr;justify-content:space-between;"]),N=o.ZP.div.withConfig({componentId:"sc-51b2437-2"})(["display:flex;gap:24px;align-items:center;padding:12px 0;"]),D=o.ZP.div.withConfig({componentId:"sc-51b2437-3"})(["display:flex;flex-direction:column;padding:16px 0;gap:8px;"]),L=o.ZP.div.withConfig({componentId:"sc-51b2437-4"})(["display:flex;flex-direction:column;padding-bottom:16px;gap:4px;"]),E=o.ZP.div.withConfig({componentId:"sc-51b2437-5"})(["display:flex;justify-content:flex-end;"]),O=o.ZP.div.withConfig({componentId:"sc-51b2437-6"})(["color:",";font-size:14px;font-weight:500;"],function(e){return e.theme.themeColors.text.strong}),k=o.ZP.div.withConfig({componentId:"sc-51b2437-7"}
1)(["height:1px;background-color:",";width:100%;"],function(e){return e.theme.themeColors.border.subtle})},91186:function(e,t,n){n.d(t,{Z:()=>r});var i=n(74512);n(32735);var o=n(10281),l=n(38074);let r=function(e){var t=e.label,n=e.value,o=e.style;return(0,i.jsxs)(s,{style:o,children:[(0,i.jsx)(a,{children:t}),(0,i.jsx)(c,{children:null!=n?n:"--"})]})};var s=o.ZP.div.withConfig({componentId:"sc-d2989235-0"})(["display:flex;justify-content:space-between;flex-grow:1;"]),a=(0,o.ZP)(l.ZP).withConfig({componentId:"sc-d2989235-1"})(["color:",";white-space:nowrap;"],function(e){return e.theme.themeColors.text.subtle}),c=(0,o.ZP)(l.ZP).withConfig({componentId:"sc-d2989235-2"})(["color:",";text-align:end;"],function(e){return e.theme.themeColors.text.default})}}]);

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.