PageSourceSearch

https://coinmap.tech/_next/static/chunks/pages/iframe/bubble-chart/mobile-8523814adb80bed8.js

js coinmap.tech collected 2026-09-24 14:07:07 UTC 28,261 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7693],{85943:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/iframe/bubble-chart/mobile",function(){return n(58436)}])},58436:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return We},default:function(){return Ae}});var i,l=n(85893),a=n(10663),o=n(10030),r=n(20525),s=n(26042),c=n(69396),u=n(29815),d=n(67294),h=n(49197),v=n.n(h),_=n(48092),m=n(71826),f=n(14924),p=n(40052),b=n.n(p),g=n(12825),x=n(61781),y=n(14726),S=n(71230),j=n(15746),C=n(4393),N=n(48054),k=n(52780),w=n(65852),M=n(20394),E=n(94184),I=n.n(E),L=n(54667),Z=n.n(L),T=n(5152),D=n.n(T),F=n(75081),P=(0,k.i$)("%d/%m/%y"),B=D()((function(){return n.e(5719).then(n.bind(n,35719)).then((function(e){return e.Area}))}),{loadableGenerated:{webpack:function(){return[35719]}},ssr:!1}),O="#04A776",W="#F63929",A=function(e){var t,n,i=e.loading,a=e.data,o=e.markerMin,r=e.markerMax,c=Math.floor(a.length/2),u={data:a,xField:"t",yField:"h",height:204,padding:[24,0,24,0],xAxis:!1,yAxis:!1,animation:!1,color:"#2F80ED",areaStyle:function(){return{fillOpacity:1,fill:"l(270) 0:rgba(47, 128, 237, 0.00) 1:rgba(47, 128, 237, 0.4)"}},meta:{t:{alias:"Time",formatter:function(e){return P(new Date(e))}},h:{alias:"High",formatter:function(e){return"$".concat(e)}}},annotations:[{type:"dataMarker",position:[null===o||void 0===o?void 0:o.t,null===o||void 0===o?void 0:o.price],text:{content:"$".concat(null===o||void 0===o?void 0:o.price),style:{textAlign:(null===o||void 0===o?void 0:o.t)<(null===(t=a[c])||void 0===t?void 0:t.t)?"left":"right",opacity:1,fill:W,fontSize:14,fontWeight:600}},line:{length:-28,style:{opacity:0}},point:{style:{r:8,fill:W,stroke:W}}},{type:"dataMarker",position:[null===r||void 0===r?void 0:r.t,null===r||void 0===r?void 0:r.price],text:{content:"$".concat(null===r||void 0===r?void 0:r.price),style:{textAlign:(null===r||void 0===r?void 0:r.t)<(null===(n=a[c])||void 0===n?void 0:n.t)?"left":"right",opacity:1,fill:O,fontSize:14,fontWeight:600}},line:{length:-24,style:{opacity:0}},point:{style:{r:8,fill:O,stroke:O}}}]};return i||!a.length?(0,l.jsx)("div",{className:Z().loadingWrapper,children:(0,l.jsx)(F.Z,{})}):(0,l.jsx)("div",{className:Z().chartWrapper,children:(0,l.jsx)(B,(0,s.Z)({},u))})},R=(0,d.memo)(A),V=n(68566),H=n(75428),G=n(11163),q=n(45605),$=(0,k.i$)("%H:%M - %d/%m"),K=function(e){return e?e.toLocaleString("en"):0},U=M.Hp,Y=function(e){return e<0?b().down:b().up},J=function(e){var t,n,i=e.bubble,a=e.onClose,o=(0,G.useRouter)(),r=(0,d.useState)({}),s=r[0],c=r[1],u=(0,d.useState)(!1),h=u[0],v=u[1],_=(0,d.useMemo)((function(){var e=s.info;return[{label:"Price",value:"$".concat(K(null===e||void 0===e?void 0:e.price)),className:b().price},{label:"Hour",value:K(null===e||void 0===e?void 0:e.changePercent1h)+"%",className:Y(null===e||void 0===e?void 0:e.changePercent1h)},{label:"Day",value:K(null===e||void 0===e?void 0:e.changePercentDay)+"%",className:Y(null===e||void 0===e?void 0:e.changePercentDay)},{label:"Week",value:K(null===e||void 0===e?void 0:e.changePercentWeek)+"%",className:Y(null===e||void 0===e?void 0:e.changePercentWeek)},{label:"Month",value:K(null===e||void 0===e?void 0:e.changePercentMonth)+"%",className:Y(null===e||void 0===e?void 0:e.changePercentMonth)},{label:"Year",value:K(null===e||void 0===e?void 0:e.changePercentYear)+"%",className:Y(null===e||void 0===e?void 0:e.changePercentYear)}]}),[s]),m=(0,d.useMemo)((function(){var e,t,n,a,o,r,c,u=s.info;return[{label:"Stacked Imbalance Time:",value:(null===i||void 0===i?void 0:i.t)?$(i.t):"--"},{label:"Stacked Imbalance Level:",value:"$".concat(K(null===i||void 0===i?void 0:i.stackImbalanceLow))},{label:"Stacked Imbalance Vol:",value:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:I()(b().volSibBuy,(0,f.Z)({},b().small,(null===i||void 0===i?void 0:i.volSibBuy)<(null===i||void 0===i?void 0:i.volSibSell))),children:U(null!==(a=null===i||void 0===i?void 0:i.volSibBuy)&&void 0!==a?a:0)}),"/",(0,l.jsx)("span",{className:I()(b().volSibSell,(0,f.Z)({},b().small,(null===i||void 0===i?void 0:i.volSibSell)<(null===i||void 0===i?void 0:i.volSibBuy))),children:U(null!==(o=null===i||void 0===i?void 0:i.volSibSell)&&void 0!==o?o:0)})]})},{label:"24h Vol:",value:U(null===u||void 0===u?void 0:u.volumeDay)},{label:"Avg Vol:",value:U(null===u||void 0===u?void 0:u.avgVolumeCandle)},{label:"Avg Vol by Price:",value:U(null===u||void 0===u?void 0:u.avgVolumePrice)},{label:"Order Flow Imbalance:",value:"$".concat(U(Math.abs((null!==(r=null===i||void 0===i?void 0:i.quoteSibBuy)&&void 0!==r?r:0)-(null!==(c=null===i||void 0===i?void 0:i.quoteSibSell)&&void 0!==c?c:0))))},{label:"Stack Config:",value:(0,l.jsx)(x.Z,{title:(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{children:["Zone Count: ",null===i||void 0===i||null===(e=i.configStack)||void 0===e?void 0:e.zoneCount]}),(0,l.jsxs)("div",{children:["Ticks Per Row: ",null===i||void 0===i||null===(t=i.configStack)||void 0===t?void 0:t.t
1icksPerRow]}),(0,l.jsxs)("div",{children:["Imbalance Ratio: ",null===i||void 0===i||null===(n=i.configStack)||void 0===n?void 0:n.imbalanceRatio]})]}),children:(0,l.jsx)(q.Z,{})})}]}),[i,s]);(0,d.useEffect)((function(){if(i){v(!0),window.scrollTo({top:0});var e=i.type,t=i.exchange,n=i.asset,l=i.symbol,a=i.resolution,o=i.bubble_time;(0,w.Lp)({type:e,exchange:t,asset:n,symbol:l,resolution:a,bubble_time:o}).then((function(e){return c(e)})).catch((function(e){return console.log(e)})).finally((function(){return v(!1)}))}}),[i]);var p;return i?(0,l.jsxs)(g.Z,{open:!0,title:(0,l.jsx)("div",{className:b().title,children:(0,l.jsx)("span",{children:i.symbol})}),onClose:a,footer:(0,l.jsx)("div",{className:b().actions,children:(0,l.jsx)(y.ZP,{className:b().actionButton,type:"primary",onClick:function(){var e=i.symbol,t=i.resolution,n=i.exchange,l=i.asset;o.replace({pathname:V.dM.IFRAME_CHART_MOBILE,query:{chart_type:H.H3.orderflow.id,interval:t,symbol:e,exchange:n,asset:l}})},children:"VIEW CHART"})}),children:[(0,l.jsx)("div",{className:b().description,children:i.description}),(0,l.jsxs)(S.Z,{gutter:[16,16],className:b().content,children:[(0,l.jsx)(j.Z,{span:24,children:(0,l.jsx)(C.Z,{className:b().card,children:(0,l.jsx)(N.Z,{active:!0,loading:h,paragraph:{rows:9},children:m.map((function(e){return(0,l.jsxs)("div",{className:b().row,children:[(0,l.jsx)("span",{className:b().title,children:e.label}),(0,l.jsx)("span",{className:I()(b().value,e.className),children:e.value})]},e.label)}))})})}),(0,l.jsx)(j.Z,{span:24,children:(0,l.jsx)(C.Z,{className:b().card,children:(0,l.jsx)(N.Z,{active:!0,loading:h,paragraph:{rows:10},children:_.map((function(e){return(0,l.jsxs)("div",{className:b().row,children:[(0,l.jsx)("span",{className:b().title,children:e.label}),(0,l.jsx)("span",{className:I()(b().value,e.className),children:e.value})]},e.label)}))})})}),(0,l.jsx)(j.Z,{span:24,children:(0,l.jsx)(C.Z,{className:b().card,children:(0,l.jsxs)(N.Z,{active:!0,loading:h,paragraph:{rows:8},children:[(0,l.jsx)("div",{className:b().chartTitle,children:"PRICE CHART"}),(0,l.jsx)(R,{data:null!==(p=null===s||void 0===s?void 0:s.dataCandle1D)&&void 0!==p?p:[],markerMin:null===s||void 0===s||null===(t=s.positionPrice)||void 0===t?void 0:t.priceMin,markerMax:null===s||void 0===s||null===(n=s.positionPrice)||void 0===n?void 0:n.priceMax})]})})})]})]}):(0,l.jsx)(l.Fragment,{})},z=(0,d.memo)(J),Q=n(38786),X=n(34406),ee=n(79002),te=n.n(ee),ne=function(e){var t,n,i=e.className,a=e.chartId,o=(0,d.useState)(!1),s=o[0],c=o[1],u=(0,d.useContext)(r.q).handleUpdateSettings,h=(0,X.v9)((function(e){var t;return null!==(n=null===(t=e.chartSettings.charts[a])||void 0===t?void 0:t.settings)&&void 0!==n?n:_.kb})),v=function(e){u(e)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{className:i,onClick:function(){return c(!0)},children:null===(t=_.$x.find((function(e){return e.value===h.timeFrame})))||void 0===t?void 0:t.label}),(0,l.jsx)(g.Z,{open:s,title:"Time Frame",onClose:function(){return c(!1)},children:(0,l.jsxs)(S.Z,{gutter:[16,16],className:te().actions,children:[(0,l.jsx)(j.Z,{span:24,children:(0,l.jsx)("span",{className:te().description,children:"Scanning Timeline"})}),_.cz.map((function(e){return(0,l.jsx)(j.Z,{className:te().column,span:6,sm:4,children:(0,l.jsx)(y.ZP,{className:I()(te().actionButton,(0,f.Z)({},te().selected,e.value===h.timeScan)),onClick:function(){return v({timeScan:e.value})},children:(0,l.jsx)("span",{children:e.label})})},e.value)})),(0,l.jsx)(j.Z,{span:24,children:(0,l.jsx)("span",{className:te().description,children:"Period"})}),_.$x.map((function(e){return(0,l.jsx)(j.Z,{className:te().column,span:6,sm:4,children:(0,l.jsx)(y.ZP,{className:I()(te().actionButton,(0,f.Z)({},te().selected,e.value===h.timeFrame)),onClick:function(){return v({timeFrame:e.value})},children:(0,l.jsx)("span",{children:e.label})})},e.value)}))]})})]})},ie=n(29910),le=n.n(ie),ae=n(56225),oe=n(98604),re=n(8924),se=function(e){var t,n,i=e.className,a=e.chartId,o=(0,X.I0)(),h=(0,d.useState)(!1),v=h[0],m=h[1],f=(0,d.useState)(null),p=f[0],b=f[1],g=(0,d.useContext)(r.q),x=g.personalLists,S=g.defaultLists,j=g.handleSelectList,C=(0,X.v9)((function(e){var n;return null!==(t=null===(n=e.chartSettings.charts[a])||void 0===n?void 0:n.settings)&&void 0!==t?t:_.kb})),N=(0,d.useMemo)((function(){return[{title:"Your Watchlist",key:"personal",lists:x},{title:"Default Watchlist",key:"default",lists:S}]}),[x,S]),k=(0,d.useMemo)((function(){return(0,u.Z)(x).concat((0,u.Z)(S)).find((function(e){return[C.listId,_.kb.listId].includes(e.id)}
1))}),[x,S,null===C||void 0===C?void 0:C.listId]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{className:i,onClick:function(){return m(!0)},children:(null===k||void 0===k?void 0:k.listname)||"Watchlist"}),(0,l.jsx)(ae.Z,{open:v,title:"Watchlist",onClose:function(){return m(!1)},children:(0,l.jsx)("div",{className:le().wrapper,children:(0,l.jsx)("div",{className:le().list,children:N.filter((function(e){return e.lists.length})).map((function(e){return(0,l.jsxs)(y.ZP,{className:le().item,type:"text",onClick:function(){return function(e){b(e)}(e)},children:[(0,l.jsx)("span",{className:le().name,children:e.title}),(0,l.jsx)("span",{className:le().action,children:(0,l.jsx)(oe.Z,{})})]},e.key)}))})})}),p&&(0,l.jsx)(ae.Z,{open:p,title:p.title,onClose:function(){return b(null)},children:(0,l.jsx)("div",{className:le().wrapper,children:(0,l.jsx)("div",{className:le().list,children:p.lists.map((function(e){return(0,l.jsxs)(y.ZP,{className:le().item,type:"text",onClick:function(){return function(e){var t,n={settings:(0,c.Z)((0,s.Z)({},C),{listId:null!==(t=null===e||void 0===e?void 0:e.id)&&void 0!==t?t:""})};o((0,re.aA)(a,n)),o((0,re.Jp)(a)),j(e),b(null),m(!1)}(e)},children:[(0,l.jsx)("span",{className:le().name,children:e.listname}),(0,l.jsxs)("span",{className:le().action,children:[(0,l.jsx)("span",{children:(null!==(n=e.symbols)&&void 0!==n?n:e.info_symbol).length}),(0,l.jsx)(oe.Z,{})]})]},e.id)}))})})})]})},ce=n(42649),ue=n.n(ce);function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},de.apply(this,arguments)}var he,ve=function(e){return d.createElement("svg",de({width:10,height:6,viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),i||(i=d.createElement("path",{d:"M1 6L9 6C9.4 6 9.77 5.76 9.92 5.38C10.07 5 10 4.58 9.71 4.29L5.71 0.29C5.32 -0.0999999 4.68 -0.0999999 4.29 0.29L0.29 4.29C0.0100002 4.58 -0.0799999 5.01 0.0699997 5.38C0.219999 5.75 0.59 6 1 6Z",fill:"currentColor"})))};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_e.apply(this,arguments)}var me,fe=function(e){return d.createElement("svg",_e({width:10,height:6,viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),he||(he=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.293056 1.70938L4.29306 5.70938C4.68368 6.1 5.31806 6.1 5.70868 5.70938L9.70868 1.70938C9.99306 1.42188 10.0806 0.99375 9.92431 0.61875C9.76806 0.24375 9.40243 0 8.99931 0H1.00243C0.59618 0 0.233681 0.24375 0.0774306 0.61875C-0.0788194 0.99375 0.00555556 1.42188 0.293056 1.70938Z",fill:"currentColor"})))},pe=n(51854),be=n(23859),ge=n(1820),xe=n(87850),ye=n(88169),Se=M.Hp,je=(0,k.i$)("%H:%M - %d/%m/%y"),Ce=function(e){var t=e.className,n=(0,d.useState)(null),i=n[0],a=n[1],o=(0,d.useContext)(r.q),u=o.subChartData,h=o.watchListSymbols,v=(0,d.useMemo)((function(){var e;return h.map((function(t){return(0,c.Z)((0,s.Z)({},u[(0,ye.GA)(t.symbol,t.exchange)],t),{id:null!==(e=t.id)&&void 0!==e?e:(0,ye.GA)(t.symbol,t.exchange)})})).sort((function(e,t){return(0,xe.cP)(e.t,t.t,pe.B8.DECREASE)}))}),[h,u]),_=(0,d.useMemo)((function(){return[{title:"Symbol",dataIndex:"symbol",fixed:"left",width:116,render:function(e,t){return(0,l.jsx)("div",{className:ue().symbolWrapper,children:(0,l.jsx)("div",{className:ue().symbol,children:e})})}},{title:(0,l.jsxs)(l.Fragment,{children:["Stacked",(0,l.jsx)("br",{}),"Imbalance Vol"]}),dataIndex:"volSibBuy",align:"center",width:112,render:function(e,t){return Number.isFinite(e)&&Number.isFinite(t.volSibSell)?(0,l.jsxs)("span",{className:"".concat(ue().imbalanceVolume," ").concat(e<t.volSibSell?ue().ibSell:ue().ibBuy),children:[(0,l.jsx)("span",{className:ue().volBuy,children:Se(e)}),"/",(0,l.jsx)("span",{className:ue().volSell,children:Se(t.volSibSell)})]}):null}},{title:(0,l.jsxs)(l.Fragment,{children:["Order Flow",(0,l.jsx)("br",{}),"Imbalance"]}),dataIndex:"cashFlowDifference",align:"right",width:84,render:function(e,t){return Number.isFinite(t.quoteSibBuy)&&Number.isFinite(t.quoteSibSell)?"$".concat(Se(Math.abs(t.quoteSibBuy-t.quoteSibSell))):""}},{title:(0,l.jsxs)(l.Fragment,{children:["Stacked",(0,l.jsx)("br",{}),"Imbalance Time"]}),dataIndex:"t",width:132,render:function(e){return e?je(e):""}},{title:"Buy/Sell",dataIndex:"volSibSell",align:"center",width:92,render:function(e,t){return Number.isFinite(e)&&Number.isFinite(t.volSibBuy)?t.volSibBuy<e?(0,l.jsx)("span",{className:ue().iconSell,children:"SELL"}):(0,l.jsx)("span",{className:ue().iconBuy,children:"BUY"}):null}},{title:"Token Name",dataIndex:"description",width:240,render:function(e){return(0,l.jsx)(x.Z,{title:e,children:(0,l.jsx)("div",{className:ue().description,children:e})})}}]}),[v]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{className:t,onClick:function(){return a(!0)},children:"Subchart"}),(0,l.jsx)(ae.Z,{wrapClassName:ue().subChartModal,open:i,getContainer:!1,mask:!1,maskClosable:!1,title:"Subchart",onClose:function(){return a(!1)},children:(0,l.jsx)(be.ZP,{theme:{token:{borderRadius:0}},children:(0,l.jsx)(ge.Z,{className:ue().sortableTable,rowKey:"id",columns:_,dataSource:v,pagination:!1,scroll:{x:"max-content"},expandable:{expandRowByClick:!0,expandIcon:function(e){var t,n=e.expanded,i=e.onExpand,a=e.record;if(!(null===(t=a.children)||void 0===t?void 0:t.length))return null;var o=n?ve:fe;return(0,l.jsx)(o,{className:ue().expandIcon,onClick:function(e){return i(a,e)}})}},sticky:!0})})})]})}
1,Ne=n(96150),ke=n.n(Ne),we=function(e){var t=e.chartId;return(0,l.jsxs)("div",{className:ke().footer,children:[(0,l.jsxs)("div",{className:ke().leftActions,children:[(0,l.jsx)(se,{className:I()(ke().actionButton,ke().selectWatchList),chartId:t}),(0,l.jsx)(ne,{className:I()(ke().actionButton,ke().selectTimeFrame),chartId:t}),(0,l.jsx)("button",{className:I()(ke().actionButton,ke().selectChartType),children:"Stacked Imbalance"})]}),(0,l.jsx)("div",{className:ke().rightActions,children:(0,l.jsx)(Ce,{className:ke().actionButton})})]})},Me=n(79381),Ee=n.n(Me);function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ie.apply(this,arguments)}var Le=function(e){return d.createElement("svg",Ie({xmlns:"http://www.w3.org/2000/svg",width:80,height:80,viewBox:"0 0 80 80",fill:"none",role:"img"},e),me||(me=d.createElement("path",{d:"M44.7134 16.6667H66.6667C67.5508 16.6667 68.3986 17.0179 69.0237 17.643C69.6488 18.2681 70 19.1159 70 20V23.3333H10V13.3333C10 12.4493 10.3512 11.6014 10.9763 10.9763C11.6015 10.3512 12.4493 10 13.3334 10H38.0467L44.7134 16.6667ZM10.29 30H69.71C70.1712 29.9998 70.6274 30.0953 71.0498 30.2804C71.4722 30.4656 71.8516 30.7364 72.1639 31.0757C72.4763 31.415 72.7148 31.8154 72.8645 32.2516C73.0141 32.6879 73.0716 33.1504 73.0334 33.61L70.2534 66.9433C70.184 67.7763 69.8042 68.5528 69.1893 69.1189C68.5744 69.6851 67.7692 69.9995 66.9334 70H13.0667C12.2309 69.9995 11.4257 69.6851 10.8108 69.1189C10.1959 68.5528 9.81608 67.7763 9.7467 66.9433L6.9667 33.61C6.92842 33.1504 6.98593 32.6879 7.13559 32.2516C7.28525 31.8154 7.5238 31.415 7.83615 31.0757C8.14851 30.7364 8.52788 30.4656 8.95026 30.2804C9.37264 30.0953 9.82885 29.9998 10.29 30V30Z",fill:"currentColor"})))},Ze=function(e){var t=e.show,n=e.message;return(0,l.jsxs)("div",{className:I()(Ee().emptyContent,(0,f.Z)({},Ee().show,t)),children:[(0,l.jsx)(Le,{}),(0,l.jsx)("div",{className:Ee().emptyText,children:n})]})},Te=n(9361).Z.useToken,De=Q.AQ,Fe="#02C804",Pe="#EF3D2D",Be=function(){var e,t,n=Te().token,i=(0,X.v9)((function(e){return null!==(t=e.chartSettings.charts[De])&&void 0!==t?t:{}})),a=(0,d.useContext)(r.q),o=a.loading,h=a.showEmpty,f=a.chartConfig,p=a.chartData,b=a.selectedBubble,g=a.defaultLists,x=a.personalLists,y=a.watchListSymbols,S=a.setSelectedBubble,j=a.handleSelectList;return(0,d.useEffect)((function(){var e=(0,u.Z)(x).concat((0,u.Z)(g)).find((function(e){var t;return[null===(t=i.settings)||void 0===t?void 0:t.listId,_.kb.listId].includes(e.id)}
1));e&&j(e)}),[null===(e=i.settings)||void 0===e?void 0:e.listId,g,x,j]),i.id?(0,l.jsxs)("div",{className:v().pageWrapper,children:[(0,l.jsxs)("div",{className:v().chart,onTouchEnd:function(e){return e.preventDefault()},children:[(0,l.jsx)(m.default,(0,c.Z)((0,s.Z)({data:p},f.settings),{showIcon:!0,colorText:n.colorText,colorBuy:Fe,colorSell:Pe,colorFillUp:Fe,colorFillDown:Pe,colorBorderUp:Fe,colorBorderDown:Pe,hoverColor:n.colorText,selectColors:[n.colorText,"#2276FF"],numberFormat:M.Hp,radiusRanges:_.HO,selectedId:null===b||void 0===b?void 0:b.id,onClick:function(e){return S(e)}})),(0,l.jsx)(Ze,{show:h,message:(0,l.jsxs)(l.Fragment,{children:["Currently there is no stacked imbalance",(0,l.jsx)("br",{}),"supply and demand in your Watchlist"]})}),(0,l.jsx)(Ze,{show:!o&&!y.length,message:(0,l.jsxs)(l.Fragment,{children:["Your watchlist is empty",(0,l.jsx)("br",{}),"Please add the symbol you need to track."]})})]}),(0,l.jsx)(we,{chartId:De}),(0,l.jsx)(z,{bubble:b,onClose:function(){return S(null)}})]}):(0,l.jsx)(l.Fragment,{})},Oe=function(){return(0,l.jsx)(r.Z,{children:(0,l.jsx)(Be,{})})},We=!0,Ae=(0,o.$)((function(){return(0,l.jsx)(Oe,{})}),a.Z)},81525:function(e,t,n){"use strict";n.d(t,{$:function(){return l},p:function(){return a}});var i=n(17339),l=function(e){return{type:i.PU,data:e}},a=function(e){return{type:i.bu,data:e}}},10030:function(e,t,n){"use strict";n.d(t,{$:function(){return y}});var i=n(47568),l=n(26042),a=n(20414),o=n(85893),r=n(67294),s=n(11163),c=n.n(s),u=n(8100),d=n(70807),h=n(40632),v=n(15226),_=n(81525),m=n(34406),f=n(17019),p=n(77090),b=n(77733),g=n(67816),x=function(){var e=(0,i.Z)((function(e){var t,n,i;return(0,a.__generator)(this,(function(l){switch(l.label){case 0:return t=p.WL.get(b.cj.CM_TOKEN),v.A.setToken(t),i={},[4,(0,f.get)((i.gw=f.GATEWAY.API_USER_ROLES_GW,i.headers={m_affiliate:v.Fz},i))(e)];case 1:if((n=l.sent()).error_code===v.Bq.SUCCESS)return g.j.sendVerifyEvent(),[2,n];throw new Error("API Client error")}}))}));return function(t){return e.apply(this,arguments)}}(),y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Fragment,n=function(n){var i=(0,r.useState)(!0),a=i[0],s=i[1],f=(0,m.I0)(),p=(0,u.ZP)("/user/profile",x,{revalidateOnReconnect:!1,refreshWhenOffline:!1,revalidateOnFocus:!1}),b=p.data,g=p.error,y=p.mutate,S=function(e){"logout"===e.key&&(console.log("logged out from storage!"),c().push("/login"))};return(0,r.useEffect)((function(){return window.addEventListener("storage",S),function(){window.removeEventListener("storage",S),window.localStorage.removeItem("logout"),y((function(e){return e}),!1)}}),[]),(0,r.useEffect)((function(){(null===b||void 0===b?void 0:b.payload)&&((0,h.bb)(null===b||void 0===b?void 0:b.payload),v.A.setMerchantCode(b.payload.merchant_code),f((0,_.$)(b.payload)),s(!1))}),[b,f]),g?(c().push("/login"),null):a?(0,o.jsx)(d.Z,{}):(0,o.jsx)(t,{children:(0,o.jsx)(e,(0,l.Z)({},n))})},i=function(e){var t=(0,m.v9)((function(e){var t,n;return null===e||void 0===e||null===(t=e.common)||void 0===t||null===(n=t.deactivate)||void 0===n?void 0:n.show})),i=(0,m.v9)((function(e){return e.common.partnerInfo}));return t||i.tokenLoading?null:(0,o.jsx)(n,(0,l.Z)({},e))};return i}},67816:function(e,t,n){"use strict";n.d(t,{j:function(){return k}});var i=n(47568),l=n(51438),a=n(52951),o=n(14924),r=n(20414),s=n(81525),c=n(47565),u=n(31024),d=n(77733),h=n(77090),v=n(47519),_=n(15226),m=n(76137),f=n(88169),p=n(50897),b=n(86353),g=n(12719),x="verify",y="logout",S="session_invalid",j="deactivate",C="check_device",N="transaction_update",k=new(function(){function e(){var t;(0,l.Z)(this,e),(0,o.Z)(this,"_socket",void 0),(0,o.Z)(this,"_router",void 0),(0,o.Z)(this,"_dispatch",void 0),(0,o.Z)(this,"_eventHandler",(t={},(0,o.Z)(t,y,this._handleLogout.bind(this)),(0,o.Z)(t,S,this._handleSessionInvalid.bind(this)),(0,o.Z)(t,j,this._handleDeactivate.bind(this)),(0,o.Z)(t,x,this._handleVerify.bind(this)),(0,o.Z)(t,C,this._handleCheckDevice.bind(this)),(0,o.Z)(t,N,this._handleCheckTransactionStatus.bind(this)),t))}return(0,a.Z)(e,[{key:"clearLoginData",value:function(){h.WL.remove(d.cj.CM_TOKEN),_.td.setToken(""),_.A.setToken(""),this._dispatch((0,s.$)(c.E.user))}},{key:"sendVerifyEvent",value:function(){var e=this;return(0,i.Z)((function(){var t,n,i,l;return(0,r.__generator)(this,(function(a){switch(a.label){case 0:return[4,(0,_.a_)()];case 1:return a.sent(),(t=h.WL.get(d.cj.CM_TOKEN))?(n={},e._socket?(l={},i=JSON.stringify((l.event=x,l.data=t,l)),e._socket.ws.send(i),[2]):[2,e.initialSocket(n)]):[2,e.clearLoginData()]}}))}))()}},{key:"closeSocket",value:function(){var e,t;null===(e=this._socket)||void 0===e||null===(t=e.ws)||void 0===t||t.close(),this._socket=void 0}},{key:"deactivateOtherTabs",value:function(){h.WL.set(d.cj.LOGIN_ID,(0,f.DO)())}},{key:"logoutOtherTabs",value:function(){h.WL.remove(d.cj.LOGIN_ID)}},{key:"handleLoginIdChange",value:function(e){if(e.storageArea==localStorage&&e.key===d.cj.LOGIN_ID){if(!e.newValue)return this.forceLogout();"/login"===window.location.pathname&&this._router.push("/profile",void 0,{shallow:!0}),this._dispatch((0,u.mG)())}}},{key:"addEventListener",value:function(e,t){this._eventHandler[e]=t}},{key:"removeEventListener",value:function(e){delete this._eventHandler[e]}},{key:"sendMessage",value:function(e,t){if(!this._socket)return console.log("Socket not found");var n={event:e};t&&(n.data=t),this._socket.ws.send(JSON.stringify(n))}},{key:"forceLogout",value:function(e){this.clearLoginData(),this.closeSocket(),this.logoutOtherTabs(),this._dispatch((0,u.U_)()),e&&(0,b.Ym)({type:b.tx.ERROR,message:e}),this._router.push("/login")}},{key:"_handleSessionInvalid",value:function(){this._socket&&(g.y.postMessage(g.K.SESSION_INVALID),this.forceLogout(m.V1.LOGIN.SESSION_INVALID))}},{key:"_handleLogout",value:function(){this._socket&&(g.y.postMessage(g.K.MULTIPLE_DEVICES_DETECTED),this.forceLogout(m.V1.LOGIN.MULTIPLE_DEVICE))}},{key:"_handleDeactivate",value:function(){history.pushState(null,null,location.href),window.onpopstate=function(){return history.go(1)},this._dispatch((0,u.V2)()),this.closeSocket()}}
1,{key:"_handleVerify",value:function(e){(0,h.cC)(e);var t={event:C};this._socket.ws.send(JSON.stringify(t))}},{key:"_handleCheckDevice",value:function(e){h.WL.get(d.cj.VERIFY_ID).some((function(t){return t.v===e}))||(g.y.postMessage(g.K.MULTIPLE_DEVICES_DETECTED),this.forceLogout(m.V1.LOGIN.MULTIPLE_DEVICE))}},{key:"_handleCheckTransactionStatus",value:function(e){var t=e.transaction_id,n=e.status,i="/payment/checkout?transaction_id=".concat(t);if(this._router.asPath.includes(i)&&(n===p.EK.COMPLETE&&(this._router.push("/profile?tab=2"),(0,b.Ym)({type:b.tx.SUCCESS,message:"Payment successful"})),n===p.EK.FAILED)){var l=this._router.pathname;l.replace("checkout","timeout"),this._router.push({pathname:l,query:{transaction_id:t}})}}},{key:"_onOpen",value:function(){var e=this;return(0,i.Z)((function(){var t,n,i;return(0,r.__generator)(this,(function(l){switch(l.label){case 0:return[4,(0,_.a_)()];case 1:return l.sent(),(t=h.WL.get(d.cj.CM_TOKEN))?(i={},n=JSON.stringify((i.event=x,i.data=t,i)),e._socket.ws.send(n),[2]):[2]}}))}))()}},{key:"_onMessage",value:function(e){var t=JSON.parse(e.data),n=t.event,i=t.data,l=this._eventHandler[n];if(!l)return console.log("Not found event handler of ",n);l(i)}},{key:"_onClose",value:function(){this.forceLogout()}},{key:"initialSocket",value:function(e){var t,n,i=e.router,l=e.dispatch;null!==(t=this._router)&&void 0!==t||(this._router=i),null!==(n=this._dispatch)&&void 0!==n||(this._dispatch=l),this._socket=(0,v.MN)({url:d.ns.WS_LIMIT_DEVICE,onOpen:this._onOpen.bind(this),onMessage:this._onMessage.bind(this),onClose:this._onClose.bind(this),limitReconnect:5})}}]),e}())},49197:function(e){e.exports={pageWrapper:"ChartSection_pageWrapper__xQgla",chart:"ChartSection_chart__shR3Y"}},54667:function(e){e.exports={loadingWrapper:"PriceChart_loadingWrapper__FCCIb",chartWrapper:"PriceChart_chartWrapper__JXRRq"}},40052:function(e){e.exports={title:"DetailModal_title__lUXLv",exchange:"DetailModal_exchange__M2_h_",description:"DetailModal_description__X4ndK",content:"DetailModal_content__LGWHe",card:"DetailModal_card__vFCQP",row:"DetailModal_row__nexRX",value:"DetailModal_value__qvDbQ",floor:"DetailModal_floor__l1E_C",price:"DetailModal_price__vGPGd",ceiling:"DetailModal_ceiling__Qrn80",up:"DetailModal_up__Ck_Ei",down:"DetailModal_down__8RtWp",volSibBuy:"DetailModal_volSibBuy__PId1P",small:"DetailModal_small__gZNWy",volSibSell:"DetailModal_volSibSell__FS6CY",chartTitle:"DetailModal_chartTitle__KJTbN",actions:"DetailModal_actions__25x1w",actionButton:"DetailModal_actionButton__FR9D7"}},79381:function(e){e.exports={emptyContent:"EmptyMessage_emptyContent__EyoW7",show:"EmptyMessage_show__g1zNd",emptyText:"EmptyMessage_emptyText__KfaBv"}},79002:function(e){e.exports={actions:"SelectTimeFrame_actions__aCGJ6",description:"SelectTimeFrame_description__F0Bii",column:"SelectTimeFrame_column___PElH",actionButton:"SelectTimeFrame_actionButton__JPBtI",selected:"SelectTimeFrame_selected__NfX_q"}},29910:function(e){e.exports={wrapper:"SelectWatchList_wrapper__LMpho",list:"SelectWatchList_list__gFBRu",item:"SelectWatchList_item__GksoM",name:"SelectWatchList_name__ONmD2",action:"SelectWatchList_action__zdc6_"}},42649:function(e){e.exports={subChartModal:"SubChartModal_subChartModal__Qu9kA",sortableTable:"SubChartModal_sortableTable__Rr_uv",expandIcon:"SubChartModal_expandIcon__AE3b5",symbolWrapper:"SubChartModal_symbolWrapper__OF_EQ",exchange:"SubChartModal_exchange__R7i_c",symbol:"SubChartModal_symbol__8xKLc",imbalanceVolume:"SubChartModal_imbalanceVolume__0XgcT",volBuy:"SubChartModal_volBuy__frPSi",volSell:"SubChartModal_volSell__cgmwv",ibBuy:"SubChartModal_ibBuy__CGujc",ibSell:"SubChartModal_ibSell__4zGVu",iconBuy:"SubChartModal_iconBuy__e_Puz",iconSell:"SubChartModal_iconSell__TDZ_M",description:"SubChartModal_description__ib7v6"}},96150:function(e){e.exports={footer:"Footer_footer__1_xnQ",leftActions:"Footer_leftActions__762O9",rightActions:"Footer_rightActions__EAbYR",actionButton:"Footer_actionButton__L4ftV",selectWatchList:"Footer_selectWatchList__JSc_A",selectTimeFrame:"Footer_selectTimeFrame__qqW4v",selectChartType:"Footer_selectChartType__3s1eE"}}},function(e){e.O(0,[5418,8054,5760,9330,1820,8100,1971,1332,805,2082,5985,9774,2888,179],(function(){return t=85943,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.