1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9649],{33715:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/thi-truong",function(){return l(30125)}])},54130:function(e,t,l){"use strict";var a=l(85893),s=l(9482),i=l(67294),n=l(9473),r=l(6345),o=l(20508),c=l(30381),d=l.n(c),u=l(92678),x=l(82010),g=l(12902),h={backgroundColor:"transparent",tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){return"Ng\xe0y: ".concat(e[0].axisValue,"<br />Gi\xe1 trá» mua r\xf2ng: ").concat(e[0].value.toFixed(2)," tá»·")}},grid:{top:10,bottom:0,left:14,right:10,containLabel:!0},visualMap:[{show:!1,pieces:[{gte:0,color:"rgb(38, 166, 154)"},{lt:0,color:"rgb(239, 83, 80)"}]}],xAxis:{type:"category",triggerEvent:!0,axisTick:{show:!1},data:{textStyle:{fontSize:10}}},yAxis:{type:"value",position:"right",axisLine:{show:!1},axisTick:{show:!1},show:!0,splitLine:{lineStyle:{type:"dashed"}}},series:[{data:[],barWidth:18,type:"bar"}]};let m=i.memo(e=>{let{symbol:t}=e,l=(0,n.I0)(),{resolvedTheme:c}=(0,x.F)(),[m,b]=i.useState(h),[p]=(0,r.Z5)(t),f=(0,n.v9)(e=>o.O_X(e,t)),[y,v]=i.useState([]);return i.useEffect(()=>{let e=d()().startOf("day").toDate(),a=d()().startOf("day").toDate();a.setMonth(a.getMonth()-1),l(u.cq.requestHistoricalQuotes(t,a,e,0,10))},[t]),i.useEffect(()=>{if(f&&p&&f.length>0){let e=[...f];e=e.slice(0,10);let t=new Date(f[0].date);t.getFullYear()==p.date.getFullYear()&&t.getMonth()==p.date.getMonth()&&t.getDate()==p.date.getDate()&&(e=(0,g.ZP)(e,e=>{e[0].buyForeignQuantity=p.buyForeignQuantity,e[0].sellForeignQuantity=p.sellForeignQuantity,e[0].buyForeignValue=p.buyForeignValue,e[0].sellForeignValue=p.sellForeignValue,e[0].currentForeignRoom=p.currentForeignRoom})),v(e)}},[f,p]),i.useEffect(()=>{let e=y.map(e=>d()(e.date).format("DD/MM")).reverse(),t=y.map(e=>(e.buyForeignValue-e.sellForeignValue)/1e9).reverse(),l=(0,g.ZP)(m,l=>{l.xAxis.data=e,l.series[0].data=t});b(l)},[y]),(0,a.jsx)(s.default,{option:m,theme:c,style:{flex:1,width:"100%",height:"100%"}})});t.Z=m},28881:function(e,t,l){"use strict";var a,s,i,n,r=l(77260);
1a="#ddd",s=function(){return{axisLine:{lineStyle:{color:a}},axisTick:{lineStyle:{color:a}},axisLabel:{textStyle:{color:a}},splitLine:{lineStyle:{type:"dashed",color:"#444"}},splitArea:{areaStyle:{color:a}}}},(n={backgroundColor:"#ff0000",color:i=["#dd6b66","#759aa0","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],tooltip:{axisPointer:{label:{color:"#111"},lineStyle:{color:a},crossStyle:{color:a}}},legend:{textStyle:{color:a}},textStyle:{color:a,fontFamily:"sans-serif"},title:{textStyle:{color:a}},toolbox:{iconStyle:{normal:{borderColor:a}}},dataZoom:{textStyle:{color:a},fillerColor:"rgba(0, 0, 0, 0.2)",dataBackground:{lineStyle:{color:"white"},areaStyle:{color:"rgba(255, 255, 255, 0.3)"}}},timeline:{lineStyle:{color:a},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:a}}},controlStyle:{normal:{color:a,borderColor:a}}},timeAxis:s(),logAxis:s(),valueAxis:s(),categoryAxis:s(),line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:a}}},candlestick:{itemStyle:{normal:{color:"#d75442",color0:"#6ba583",borderColor:"#d75442",borderColor0:"#6ba583"}}}}).categoryAxis.splitLine.show=!1,r.registerTheme("dark",n)},48159:function(e,t,l){"use strict";var a=l(85893),s=l(9482),i=l(67294),n=l(6345),r=l(82010),o={backgroundColor:"transparent",tooltip:{trigger:"item",formatter:"{b} : {c} ({d}%)"},grid:{top:0,bottom:0,left:0,right:0},title:{show:!1},series:[{type:"pie",radius:"50%",center:["50%","50%"],color:["#16A34A","#B91C1C","#E6B905"],data:[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};let c=i.memo(i.forwardRef((e,t)=>{let{symbol:l}=e,{resolvedTheme:c}=(0,r.F)(),[d,u]=i.useState(o),[x]=(0,n.Nq)(l);return i.useEffect(()=>{if(x){let e=Object.assign({},d);e.series=[...e.series],e.series[0]=Object.assign({},e.series[0]),e.series[0].data=[{value:x.advances,name:"TÄng (".concat(x.advances,")")},{value:x.declines,name:"Giảm (".concat(x.declines,")")},{value:x.unchange,name:"Kh\xf4ng Äá»i (".concat(x.unchange,")")}],u(e)}},[x]),(0,a.jsx)(s.default,{ref:t,option:d,theme:c,style:{flex:1,width:"100%",height:220}})}));t.Z=c},54066:function(e,t,l){"use strict";var a=l(85893),s=l(9482),i=l(67294),n=l(6345);l(28881);var r=l(82010),o={backgroundColor:"transparent",xAxis:{type:"category",data:[]},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed"}},axisPointer:{snap:!0},axisLabel:{formatter:function(e,t){return"".concat(e," tá»·")}}},grid:{top:16,right:10,left:10,bottom:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){return"".concat(e[0].axisValue,": ").concat(e[0].value.toFixed(1)," tá»·")}},series:[{data:[],type:"bar",label:{show:!0,position:"top",formatter:e=>"".concat(e.value.toFixed(1)," tá»·")},barMinWidth:20,barMaxWidth:35}]};let c=i.memo(i.forwardRef((e,t)=>{let{symbol:l}=e,{resolvedTheme:c}=(0,r.F)(),[d,u]=i.useState(o),[x]=(0,n.Nq)(l);return i.useEffect(()=>{if(x){let e=Object.assign({},d);e.xAxis=Object.assign({},e.xAxis),e.xAxis.data=["TÄng","Giảm","Kh. Äá»i"],e.series=[...e.series],e.series[0]=Object.assign({},e.series[0]),e.series[0].data=[{value:x.advancesValue/1e9,itemStyle:{color:"#16A34A"}},{value:x.declinesValue/1e9,itemStyle:{color:"#B91C1C"}},{value:x.unchangeValue/1e9,itemStyle:{color:"#E6B905"}}],u(e)}},[x]),(0,a.jsx)(s.default,{ref:t,option:d,theme:c,style:{flex:1,width:"100%",height:220}})}));t.Z=c},8820:function(e,t,l){"use strict";l.d(t,{SP:function(){return c},dr:function(){return o},mQ:function(){return r},nU:function(){return d}});var a=l(85893),s=l(67294),i=l(60434),n=l(56616);let r=i.fC,o=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,a.jsx)(i.aV,{ref:t,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",l),...s})});o.displayName=i.aV.displayName;let c=s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,a.jsx)(i.xz,{ref:t,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-[#a855f7] data-[state=active]:text-white data-[state=active]:shadow-sm",l),...s})});c.displayName=i.xz.displayName;let d=s.forwardRef((e,t)=>
1{let{className:l,...s}=e;return(0,a.jsx)(i.VY,{ref:t,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",l),...s})});d.displayName=i.VY.displayName},88182:function(e,t,l){"use strict";l.d(t,{D8:function(){return a},SC:function(){return o},Yf:function(){return i},gw:function(){return s},ww:function(){return n},zx:function(){return r}});let a=["VNINDEX","HNXINDEX","UPINDEX","VN30","VN30F1M"],s=[{key:"overview",label:"Tá»ng quan"},{key:"fluctuation",label:"Biến Äá»ng"},{key:"transaction_market",label:"Giao dá»ch NÄT NN"},,{key:"self_employed",label:"Tá»± doanh"}],i=[{key:"HSX",label:"HSX"},{key:"HNX",label:"HNX"},{key:"UPCOM",label:"UPCOM"}],n=[{index:0,key:"all",label:"Tất cả sá»± kiá»n"},{index:1,key:"pay_dividends_in_cash",label:"Trả cá» tức bằng tiá»n"},{index:2,key:"pay_dividends_in_shares",label:"Trả cá» tức bằng cá» phiếu"},{index:3,key:"insuing_shares",label:"Ph\xe1t h\xe0nh cá» phiếu cho CÄHH"}],r=[{key:"all",label:"Tất cả"},{key:"basic_materials",label:"Váºt liá»u cÆ¡ bản"},{key:"industry",label:"C\xf4ng nghiá»p"},{key:"consumer_goods",label:"H\xe0ng ti\xeau d\xf9ng"},{key:"medical",label:"Y tế"},{key:"consumer_services",label:"Dá»ch vụ ti\xeau d\xf9ng"}
1,{key:"infrastructure_services",label:"C\xe1c dá»ch vụ hạ tầng"},{key:"financy",label:"T\xe0i ch\xednh"},{key:"technology",label:"C\xf4ng nghá»"},{key:"petroleum",label:"Dầu kh\xed"},{key:"telecommunication",label:"Viá»
n th\xf4ng"}],o=[{id:1,title:"Nữ lao c\xf4ng s\xe1ng gom r\xe1c, tá»i h\xe1t ph\xf2ng tr\xe0",description:"Chằng chá»t sẹo tr\xean cÆ¡ thá» do bá» bá»ng, chá» T\xf4 Ngá»c Sá»± vẫn vượt qua nghá»ch cảnh, s\xe1ng kho\xe1c l\xean m\xecnh bá» Äá» lao c\xf4ng, tá»i trá» th\xe0nh má»t ca sÄ© ph\xf2ng tr\xe0.",location:"TP HCM",path:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",taggedSymbols:["VNINDEX","HNINDEX"],postSource:{name:"Äại biá»u nh\xe2n d\xe2n"},thumb:"https://storage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg"},{id:2,title:"Cảnh s\xe1t h\xf3a trang, Äá»t k\xedch á» cá» bạc á» trung t\xe2m Ä\xe0 Lạt",description:"H\xe0ng chục cảnh s\xe1t h\xf3a trang th\xe0nh xe \xf4m, thợ Äiá»n, leo thang v\xe0o qu\xe1n c\xe0 ph\xea tr\xean ÄÆ°á»ng Phan Ä\xecnh Ph\xf9ng bắt quả tang 18 ngưá»i Ä\xe1nh bạc, thu giữ hÆ¡n 200 triá»u Äá»ng.",location:"L\xe2m Äá»ng",path:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",thumb:"https://storage.googleapis.com/gtv-videos-bucket/sample/images/ElephantsDream.jpg"},{id:3,title:"Bắn thá»§ng cá»a nh\xe0 d\xe2n giữa Ä\xeam",description:"Hai thanh ni\xean bắn ba ph\xe1t s\xfang, thá»§ng cá»a nh\xe0 d\xe2n tại phưá»ng Quang Trung trong l\xfac vợ chá»ng chá»§ nh\xe0 Äi vắng, chá» c\xf3 c\xe1c con v\xe0 ch\xe1u nhá» Äang ngá»§.",location:"Hải Dương",path:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",thumb:"https://storage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerBlazes.jpg"},{id:4,title:"Ä\xe1nh tr\xe1o Äiá»n thoại m\xf4 h\xecnh lấy iPhone 14 Pro Max",description:"Thấy nh\xe2n vi\xean kh\xf4ng Äá» \xfd, nam thanh ni\xean nhanh tay Ä\xe1nh tr\xe1o iPhone 14 Pro Max trong cá»a h\xe0ng quáºn 10 bằng Äiá»n thoại m\xf4 h\xecnh khoảng 200.000 Äá»ng.",location:"TP HCM",path:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",thumb:"https://storage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerEscapes.jpg"},{id:5,title:"Cảnh s\xe1t khá»ng chế nghi can cưá»p tiá»n trong nh\xe0 s\xe1ch",description:"Sau 6 ng\xe0y v\xe0o nh\xe0 s\xe1ch á» huyá»n Long Th\xe0nh Äá» cưá»p tiá»n, Nguyá»
n Trung Th\xe0nh, 37 tuá»i, bá» c\xf4ng an bắt giữ khi Äang lang thang ngo\xe0i ÄÆ°á»ng.",location:"Äá»ng Nai",path:"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4",thumb:"https://storage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerFun.jpg"}]},30125:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return K}});var a=l(85893),s=l(76618),i=l(42876),n=l(20380),r=l(67294),o=l(53157),c=l(6345),d=l(82010),u=l(76820),x=l(19858),g=l(24672),h=l(49362),markets_StatisticFloorBlock=e=>{var t,l,s,i;let{symbol:n}=e,{resolvedTheme:r}=(0,d.F)(),m="flex justify-between items-center text-sm border-b-[1px] border-dashed py-2 border-b-gray-200 dark:border-b-gray-800",[b,p]=(0,c.kc)(n),[f,y]=(0,c.Z5)(n),[v]=(0,c.Nq)(n);return(0,a.jsxs)(o.Zb,{className:"w-full p-2",children:[(0,a.jsxs)("div",{className:"font-semibold text-md py-2 border-b-[1px] border-b-gray-100 dark:border-b-gray-800",children:["Thá»ng k\xea s\xe0n"," ","VNINDEX"===n?"HOSE":"HNXINDEX"===n?"HNX":"UPCOM"]}),(0,a.jsxs)(o.Zb,{className:"flex items-center justify-between mb-6 p-2 mt-4 shadow-sm dark:border-slate-700",children:[b&&(0,a.jsxs)("div",{className:"flex-1 whitespace-nowrap",children:[(0,a.jsx)("div",{className:"mb-1 font-bold text-left text-[20px]",children:(0,a.jsx)("span",{style:{padding:2,backgroundColor:(0,c.WW)(b.last,null==p?void 0:p.last,r)},children:b.last.toFixed(b.fractionDigits)})}),(0,a.jsx)("div",{className:"text-sm font-bold text-left",children:(0,a.jsxs)("span",{style:{padding:2,color:(0,c.j5)(b.last,b,null==p?void 0:p.last),backgroundColor:(0,c.WW)(b.last,null==p?void 0:p.last,r)},className:"text-[18px]",children:[b.last>b.basic?"+":"",(b.last-b.basic).toFixed(b.fractionDigits)," / ",b.last>b.basic?"+":"",((b.last-b.basic)*100/b.basic).toFixed(2),"%"]})})]}),(0,a.jsx)("div",{className:"flex flex-1 flex-col justify-end items-end pr-5 min-w-[50px]",children:(0,a.jsx)(u.Z,{symbol:n,style:{width:80,height:66}})})]}),(0,a.jsx)("div",{className:"font-bold text-2xl mt-2 flex items-center justify-center mb-6 text-sky-600",children:!!b&&(0,a.jsxs)("span",{style:{backgroundColor:(0,c.Qm)(b.totalValue,null==p?void 0:p.totalValue,r)}
1,children:[(b.totalValue/1e9).toLocaleString(void 0,{maximumFractionDigits:2})," ","tá»·"," ",(0,a.jsxs)("div",{className:"text-sm text-zinc-500 font-normal",children:[" ","tá»ng gi\xe1 trá»"]})]})}),(0,a.jsxs)("div",{className:"flex p-2 my-2 justify-between items-start",children:[(0,a.jsxs)("div",{className:"flex text-green-500 font-semibold",children:[(0,a.jsx)(x.Z,{})," \xa0",null==v?void 0:v.advances]}),(0,a.jsxs)("div",{className:"flex font-semibold text-red-500",children:[(0,a.jsx)(g.Z,{}),"\xa0",null==v?void 0:v.declines]}),(0,a.jsxs)("div",{className:"flex items-center font-semibold text-yellow-500",children:[(0,a.jsx)(h.Z,{})," \xa0",null==v?void 0:v.unchange]})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Khá»i lượng GD"}),(0,a.jsx)("div",{className:"font-semibold",children:!!b&&(0,a.jsx)("span",{style:{padding:2,backgroundColor:(0,c.Qm)(b.totalVolume,null==p?void 0:p.totalVolume,r)},children:b.totalVolume.toLocaleString()})})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Tham chiếu"}),(0,a.jsx)("div",{className:"font-semibold",children:!!b&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.j5)(b.basic,b,null==p?void 0:p.basic),backgroundColor:(0,c.WW)(b.basic,null==p?void 0:p.basic,r)},children:b.basic.toFixed(null!==(t=b.fractionDigits)&&void 0!==t?t:2)})})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Má» cá»a"}),(0,a.jsx)("div",{className:"font-semibold",children:!!b&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.j5)(b.open,b,null==p?void 0:p.open),backgroundColor:(0,c.WW)(b.open,null==p?void 0:p.open,r)},children:b.open.toFixed(null!==(l=b.fractionDigits)&&void 0!==l?l:2)})})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Thấp - Cao"}),(0,a.jsxs)("div",{className:"font-semibold",children:[!!b&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.j5)(b.low,b,null==p?void 0:p.low),backgroundColor:(0,c.WW)(b.low,null==p?void 0:p.low,r)},children:b.low.toFixed(null!==(s=b.fractionDigits)&&void 0!==s?s:2)}),"\xa0-\xa0",!!b&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.j5)(b.high,b,null==p?void 0:p.high),backgroundColor:(0,c.WW)(b.high,null==p?void 0:p.high,r)},children:b.high.toFixed(null!==(i=b.fractionDigits)&&void 0!==i?i:2)})]})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Khá»i lượng NN mua"}),(0,a.jsx)("div",{children:f&&(0,a.jsx)("span",{style:{padding:2,color:"#00aa00",backgroundColor:(0,c.Qm)(f.buyForeignQuantity,null==y?void 0:y.buyForeignQuantity,r)},children:(0,a.jsx)("strong",{children:f.buyForeignQuantity.toLocaleString()})})})]}),(0,a.jsxs)("div",{className:m,children:[(0,a.jsx)("div",{children:"Khá»i lượng NN b\xe1n"}),(0,a.jsx)("div",{children:f&&(0,a.jsx)("span",{style:{padding:2,color:"#ee5442",backgroundColor:(0,c.Qm)(f.sellForeignQuantity,null==y?void 0:y.sellForeignQuantity,r)},children:(0,a.jsx)("strong",{children:f.sellForeignQuantity.toLocaleString()})})})]})]})},markets_StatisticFloor=e=>(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:" grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",children:[(0,a.jsx)(markets_StatisticFloorBlock,{symbol:"VNINDEX"}),(0,a.jsx)(markets_StatisticFloorBlock,{symbol:"HNXINDEX"}),(0,a.jsx)(markets_StatisticFloorBlock,{symbol:"UPINDEX"})]})}),m=l(46335),b=l(37159),p=l(71976),f=l(92678),y=l(11201),v=l(8820),j=l(88182);l(28881);var N=l(48159),k=l(54066);let F=r.memo(e=>{let{symbol:t}=e;return(0,a.jsxs)(o.Zb,{className:"w-full p-2 grid grid-cols-1 md:grid-cols-2 min-h-[500px]",children:[(0,a.jsxs)("div",{className:"flex flex-col min-h-[250px]",children:[(0,a.jsx)("div",{className:"text-lg font-semibold text-center",children:"Sá» lượng CP TÄng, Giảm, Kh\xf4ng Äá»i"}),(0,a.jsx)(N.Z,{symbol:t})]}),(0,a.jsxs)("div",{className:"flex flex-col min-h-[250px]",children:[(0,a.jsx)("div",{className:"text-lg font-semibold text-center",children:"Ph\xe2n bá» d\xf2ng tiá»n"}),(0,a.jsx)(k.Z,{symbol:t})]})]})});var w=l(14530),S=l(42539);let T=[{key:"gainers",label:"TÄng gi\xe1"},{key:"losers",label:"Giảm gi\xe1"},{key:"active",label:"KLGD"},{key:"foreignerNetBuyQuantity,",label:"NN mua"},{key:"foreignerNetSellQuantity",label:"NN b\xe1n"}];var markets_TopSymbolMarket=e=>
1{let{exchange:t,headerStickyTop:l}=e,[i,n]=(0,s.a2)("topSymbolsTop","gainers"),o=(0,c.ll)(t,"stock",i,10),d=(0,r.useCallback)(e=>{n(e)},[]);return(0,a.jsxs)("div",{className:"flex flex-col w-full",children:[(0,a.jsx)("div",{className:"my-2",children:T.map(e=>(0,a.jsx)(w.z,{className:"mr-1",onClick:()=>d(e.key),variant:e.key===i?"default":"ghost",children:e.label},e.key))}),(0,a.jsx)(S.Z,{symbols:o,columns:["symbol","name","totalVolume","priceLast","priceChange","pricePercentChange"],headerStickyTop:null!=l?l:50})]})},C=l(9482),V=l(9473),D=l(20508);let E={backgroundColor:"transparent",xAxis:{type:"category",data:[]},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed"}},axisPointer:{snap:!0},axisLabel:{formatter:function(e,t){return e}}},series:[{data:[],type:"bar",label:{show:!0,position:"top"},barMinWidth:20,barMaxWidth:20}]},Q=r.memo(r.forwardRef((e,t)=>{let{icrIndex:l,dcrIndex:s}=e,[i,n]=r.useState(E),{resolvedTheme:o}=(0,d.F)(),c=(0,V.v9)(D.lpA),{increaseIndex:u,decreaseIndex:x}=l&&s?{increaseIndex:l,decreaseIndex:s}:c;return r.useEffect(()=>{if(u&&x&&Object.keys(u).length&&Object.keys(x).length){let e=Object.assign({},i);e.xAxis=Object.assign({},e.xAxis),e.xAxis.data=[],e.xAxis.data=[...u.map(e=>e.symbol),...x.map(e=>e.symbol).reverse()],e.series=[...e.series],e.series[0]=Object.assign({},e.series[0]),e.series[0].data=[],[...u.map(e=>e.value),...x.map(e=>e.value).reverse()].forEach(t=>{e.series[0].data.push({value:null==t?void 0:t.toFixed(2),itemStyle:{color:t&&t>0?"#16A34A":"#B91C1C"}})}),n(e)}},[JSON.stringify(u),JSON.stringify(x)]),(0,a.jsx)(C.default,{ref:t,option:i,theme:o,style:{flex:1,width:"100%",height:"400px"}})}));var O=l(66),P=l(39332),M={animation:!1,series:[{name:"Tất cả",breadcrumb:{show:!1},top:0,bottom:0,left:0,right:0,type:"treemap",roam:!1,nodeClick:!1,label:{show:!1,formatter:"{b}",normal:{textStyle:{ellipsis:!0}}},itemStyle:{normal:{borderColor:"black"}},visualMin:-100,visualMax:100,visualDimension:3,upperLabel:{show:!0,height:26},levels:[{itemStyle:{borderWidth:0,borderColor:"#777",gapWidth:1},upperLabel:{show:!1}},{color:["#bb0000","#cccc00","#00bb00"],colorMappingBy:"value",itemStyle:{borderColor:"#555",borderWidth:0,gapWidth:1},upperLabel:{show:!1}}],data:[]}]};let B=r.memo(e=>{let{nodes:t}=e,[l,s]=r.useState(M),{resolvedTheme:i}=(0,d.F)(),n=(0,P.useRouter)(),o=(0,r.useCallback)(e=>{let t=e.data.id;t&&n.push("/ma-chung-khoan/".concat(t))},[]);return r.useEffect(()=>{let e=Object.assign({},l);e.series=[...e.series],e.series[0]=Object.assign({},e.series[0]),e.series[0].data=t,s(e)},[t]),(0,a.jsx)(C.default,{option:l,theme:i,onEvents:{click:o},style:{width:"100%",height:"600px",overflow:"hidden"}})});var _=l(56616);let L=r.memo(e=>{let{exchange:t}=e,[l,s]=r.useState([]),i=(0,c.ll)(t,"stock","actives",50),n=(0,c.h1)(i),d=r.useCallback(()=>{let e=[];
1if(0===n.length)return[];let t={id:"ROOT",name:"Bản Äá» nhiá»t",description:"Bản Äá» nhiá»t",value:[0,null,null,null],children:[]};return e.push(t),n.forEach(e=>{var l,a,s;t.value&&null!=t.value[0]&&(t.value[0]+=null!==(l=e.totalVolume)&&void 0!==l?l:0),t.children.push({id:e.symbol,name:e.last&&e.basic?"".concat(e.symbol," \n ").concat(((e.last-e.basic)*100/e.basic).toFixed(2),"%"):"",description:e.symbol,value:[null!==(a=e.totalVolume)&&void 0!==a?a:0,null!==(s=e.last)&&void 0!==s?s:0,e.last&&e.basic?(e.last-e.basic)*100/e.basic:null,null],children:[],link:"https://handle.click/".concat(e.symbol)})}),e},[JSON.stringify(n)]);return r.useEffect(()=>{let e=d();(0,_.O0)(e),s(e)},[JSON.stringify(n)]),(0,a.jsxs)(o.Zb,{className:"w-full h-full p-2 my-4",children:[(0,a.jsxs)("div",{className:"text-md font-semibold flex mb-4 items-center",children:[(0,a.jsx)(O.Z,{className:"text-[#00aa00]"})," Top cá» phiếu t\xedch cá»±c"]}),(0,a.jsx)(B,{nodes:l})]})});var Z=l(54130),A={backgroundColor:"transparent",tooltip:{trigger:"item"},legend:{show:!1},series:[{type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!1},emphasis:{label:{show:!1}},labelLine:{show:!1},data:[]}]};let X=r.memo(r.forwardRef((e,t)=>{let{ratio:l,type:s}=e,[i,n]=r.useState(A),{resolvedTheme:o}=(0,d.F)();return r.useEffect(()=>{let e="buy"===s?"rgba(220, 252, 231, 1)":"rgba(254, 226, 226, 1)",t="buy"===s?"rgba(22, 163, 74, 1)":"rgba(185, 28, 28, 1)";if(l){let a=Object.assign({},i);a.series=[...a.series],a.series[0]=Object.assign({},a.series[0]),a.series[0].data=[{value:100-Math.ceil(100*l),name:"C\xf2n lại",itemStyle:{color:e}},{value:Math.ceil(100*l),name:"buy"===s?"Mua (%)":"B\xe1n (%)",itemStyle:{color:t}}],n(a)}},[l,s]),(0,a.jsx)(C.default,{ref:t,option:i,theme:o,style:{flex:1,width:"120px",height:"120px"}})})),H=(0,r.memo)(e=>{let{exchange:t}=e,[l,s]=(0,r.useState)("foreignerNetBuyQuantity"),i=(0,c.ll)(t,"stock",l,100),n=(0,r.useCallback)(e=>{s(e)},[]);return(0,a.jsxs)("div",{className:"flex flex-col w-full",children:[(0,a.jsx)("div",{className:"font-semibold text-lg mb-4",children:"Thá»ng k\xea chi tiết"}),(0,a.jsx)("div",{className:"my-2",children:[{key:"foreignerNetBuyQuantity",label:"KL NN mua"},{key:"foreignerNetSellQuantity",label:"KL NN b\xe1n"},{key:"foreignerNetBuyValue,",label:"GT NN mua"},{key:"foreignerNetSellValue",label:"GT NN b\xe1n"}].map(e=>(0,a.jsx)(w.z,{className:"mr-1",onClick:()=>n(e.key),variant:e.key===l?"default":"ghost",children:e.label},e.key))}),(0,a.jsx)("div",{className:"flex-1 mt-2",children:(0,a.jsx)(S.Z,{symbols:i,columns:["symbol","name","priceLast","priceChange","pricePercentChange","netForeignerBuyVolume","netForeignerSellVolume","netForeignerBuyValue","netForeignerSellValue"],headerStickyTop:50})})]})}),I=(0,r.memo)(e=>{let{exchange:t}=e,[l,s]=r.useState([]),i=(0,c.ll)(t,"stock","active",100),n=(0,c.Kx)(i),d=r.useCallback(e=>{let t=[];if(0===e.length)return[];let l={id:"ROOT",name:"Bản Äá» nhiá»t",description:"Bản Äá» nhiá»t",value:[0,null,null,null],children:[]};return t.push(l),e.forEach(e=>{var t,a,s,i,n,r,o,c;l.value&&null!=l.value[0]&&(l.value[0]+=Math.abs((null!==(t=e.buyForeignValue)&&void 0!==t?t:0)-(null!==(a=e.sellForeignValue)&&void 0!==a?a:0))),l.children.push({id:e.symbol,name:"".concat(e.symbol," \n ").concat((((null!==(s=e.buyForeignValue)&&void 0!==s?s:0)-(null!==(i=e.sellForeignValue)&&void 0!==i?i:0))/1e9).toFixed(2)," tá»·"),description:e.symbol,value:[Math.abs((null!==(n=e.buyForeignValue)&&void 0!==n?n:0)-(null!==(r=e.sellForeignValue)&&void 0!==r?r:0)),0,(null!==(o=e.buyForeignValue)&&void 0!==o?o:0)-(null!==(c=e.sellForeignValue)&&void 0!==c?c:0),null],children:[],link:"https://handle.click/".concat(e.symbol)})}),t},[]);return r.useEffect(()=>{let e=d(n);(0,_.O0)(e),s(e)},[n]),(0,a.jsxs)(o.Zb,{className:"w-full h-full p-2 my-4",children:[(0,a.jsxs)("div",{className:"text-md font-semibold flex mb-4 items-center",children:[(0,a.jsx)(O.Z,{className:"text-[#00aa00]"})," Top cá» phiếu NN mua b\xe1n"]}),(0,a.jsx)(B,{nodes:l})]})}),q=r.memo(e=>{let{exchange:t,symbol:l}=e,{resolvedTheme:s}=(0,d.F)(),[i,n]=(0,c.kc)(l),[r,u]=(0,c.Z5)(l);return(0,a.jsxs)("div",{className:"flex flex-col gap-4 my-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-4 max-md:grid-cols-1",children:[(0,a.jsx)(o.Zb,{className:"w-full h-full p-2 col-span-2 max-md:col-span-1",children:(0,a.jsx)("table",{className:"w-full text-[90%] md:text-[90%]",cellPadding:5,children:(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{className:"border-b-[0.5px] border-slate-950 dar
1k:border-slate-400",children:[(0,a.jsx)("th",{}),(0,a.jsx)("th",{className:"text-md font-semibold",children:"Mua"}),(0,a.jsx)("th",{className:"text-md font-semibold",children:"B\xe1n"}),(0,a.jsx)("th",{className:"text-md font-semibold",children:"Mua - B\xe1n"})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"Khá»i lượng"}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:"#00aa00",backgroundColor:(0,c.Qm)(r.buyForeignQuantity,null==u?void 0:u.buyForeignQuantity,s)},children:(0,a.jsx)("strong",{children:r.buyForeignQuantity.toLocaleString()})})}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:"#ee5442",backgroundColor:(0,c.Qm)(r.sellForeignQuantity,null==u?void 0:u.sellForeignQuantity,s)},children:(0,a.jsx)("strong",{children:r.sellForeignQuantity.toLocaleString()})})}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.QP)(r.buyForeignQuantity-r.sellForeignQuantity),backgroundColor:(0,c.Qm)(r.buyForeignQuantity-r.sellForeignQuantity,u?u.buyForeignQuantity-u.sellForeignQuantity:void 0,s)},children:(0,a.jsx)("strong",{children:(r.buyForeignQuantity-r.sellForeignQuantity).toLocaleString()})})})]}),r&&i&&(0,a.jsxs)("tr",{className:"border-b border-dashed cursor-pointer border-b-gray-200 dark:border-b-gray-800 ",children:[(0,a.jsx)("td",{children:"% KL to\xe0n TT"}),(0,a.jsx)("td",{align:"center",children:(0,a.jsx)(X,{type:"buy",ratio:(null==r?void 0:r.buyForeignQuantity)/(null==i?void 0:i.totalVolume)})}),(0,a.jsx)("td",{align:"center",children:(0,a.jsx)(X,{type:"sell",ratio:(null==r?void 0:r.sellForeignQuantity)/(null==i?void 0:i.totalVolume)})}),(0,a.jsx)("td",{align:"center"})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"Gi\xe1 trá»"}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:"#00aa00",backgroundColor:(0,c.Qm)(r.buyForeignValue,null==u?void 0:u.buyForeignValue,s)},children:(0,a.jsx)("strong",{children:r.buyForeignQuantity>0&&r.buyForeignValue>0?(r.buyForeignValue/1e9).toFixed(2)+" tá»·":"0"})})}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:"#ee5442",backgroundColor:(0,c.Qm)(r.sellForeignValue,null==u?void 0:u.sellForeignValue,s)},children:(0,a.jsx)("strong",{children:r.sellForeignQuantity>0&&r.sellForeignValue>0?(r.sellForeignValue/1e9).toFixed(2)+" tá»·":"0"})})}),(0,a.jsx)("td",{align:"center",children:r&&(0,a.jsx)("span",{style:{padding:2,color:(0,c.QP)(r.buyForeignValue-r.sellForeignValue),backgroundColor:(0,c.Qm)(r.buyForeignValue-r.sellForeignValue,u?u.buyForeignValue-u.sellForeignValue:void 0,s)},children:(0,a.jsx)("strong",{children:r.buyForeignValue-r.sellForeignValue!=0?((r.buyForeignValue-r.sellForeignValue)/1e9).toFixed(2)+" tá»·":"0"})})})]}),r&&i&&(0,a.jsxs)("tr",{className:"",children:[(0,a.jsx)("td",{children:"% GT to\xe0n TT"}),(0,a.jsx)("td",{align:"center",children:(0,a.jsx)(X,{type:"buy",ratio:(null==r?void 0:r.buyForeignValue)/(null==i?void 0:i.totalValue)})}),(0,a.jsx)("td",{align:"center",children:(0,a.jsx)(X,{type:"sell",ratio:(null==r?void 0:r.sellForeignValue)/(null==i?void 0:i.totalValue)})}),(0,a.jsx)("td",{align:"center"})]})]})})}),(0,a.jsxs)(o.Zb,{className:"w-full h-[336px] p-2 pb-10 mb-4",children:[(0,a.jsx)("div",{className:"text-md font-semibold text-center mb-2",children:"Gi\xe1 trá» NN mua r\xf2ng (tá»·)"}),(0,a.jsx)(Z.Z,{symbol:l})]})]}),(0,a.jsx)(I,{exchange:t}),(0,a.jsx)(H,{exchange:t})]})});var W=l(30381),G=l.n(W),Y={backgroundColor:"transparent",tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){return"Ng\xe0y: ".concat(e[0].axisValue,"<br />Gi\xe1 trá» mua r\xf2ng: ").concat(e[0].value.toFixed(2)," tá»·")}},grid:{top:10,bottom:0,left:14,right:10,containLabel:!0},visualMap:[{show:!1,pieces:[{gte:0,color:"rgb(38, 166, 154)"},{lt:0,color:"rgb(239, 83, 80)"}]}],xAxis:{type:"category",triggerEvent:!0,axisTick:{show:!1},data:{textStyle:{fontSize:10}}},yAxis:{type:"value",position:"right",axisLine:{show:!1},axisTick:{show:!1},show:!0},series:[{data:[],barWidth:18,type:"bar"}]};let R=r.memo(e=>{let{symbol:t}=e,l=(0,V.I0)(),{resolvedTheme:s}=(0,d.F)(),[i,n]=r.useState(Y),o=(0,V.v9)(e=>D.O_X(e,t));return r.useEffect(()=>{let e=G()().startOf("day").toDate(),a=G()().startOf("day").toDate();a.setMonth(a.getMonth()-1),l(f.cq.requestHistoricalQuotes(t,a,e,0,10))},[t]),r.useEffect(()=>{if(o){let e=o.filter(e=>null!=e.propTradingNetValue),t=e.map(e=>G()(e.date).format("DD/MM")).reverse(),l=e.map(e=>{var t;return(null!==(t=e.propTradingNetValue)&&void 0!==t?t:0)/1e9}).reverse(),a=Object.assign({},i);a.xAxis=Object.assign({},a.xAxis),a.xAxis.data=Object.assign({},a.xAxis.data),a.xAxis.data=t,a.series=[...a.series],a.series[0]=Object.assign({},a.series[0]),a.series[0].data=l,n(a)}},[o]),(0,a.jsx)(C.default,{option:i,theme:s,style:{flex:1,width:"100%",height:"100%"}})});var markets_TopSymbolProprietaryTradingHeatmap=e=>{var t;
1let{exchange:l}=e,s=(0,V.I0)(),[i,n]=r.useState([]),c=null!==(t=(0,V.v9)(D.R04))&&void 0!==t?t:[],d=r.useCallback(e=>{let t=[];if(0===e.length)return[];let l={id:"ROOT",name:"Bản Äá» nhiá»t",description:"Bản Äá» nhiá»t",value:[0,null,null,null],children:[]};return t.push(l),e.forEach(e=>{null!=e.value&&(l.value&&null!=l.value[0]&&(l.value[0]+=Math.abs(e.value)),l.children.push({id:e.symbol,name:"".concat(e.symbol," \n ").concat((e.value/1e9).toFixed(2)," tá»·"),description:e.symbol,value:[Math.abs(e.value),0,e.value,null],children:[]}))}),t},[]);return r.useEffect(()=>{s(f.cq.requestProprietaryTrading(l,"BuySell","Total",30))},[l]),r.useEffect(()=>{if(c.length){let e=d(c);(0,_.O0)(e),n(e)}},[c.length]),(0,a.jsxs)(o.Zb,{className:"w-full h-full p-2 my-4",children:[(0,a.jsxs)("div",{className:"text-md font-semibold flex mb-4 items-center",children:[(0,a.jsx)(O.Z,{className:"text-[#00aa00]"})," Top cá» phiếu tá»± doanh mua b\xe1n"]}),(0,a.jsx)(B,{nodes:i})]})},markets_SelfEmployee=e=>{let{symbol:t,exchange:l}=e,s=(0,V.v9)(e=>D.O_X(e,t));var i,n,r,c,d,u,x=new Date;x.setDate(x.getDate()-1);let g=null==s?void 0:s.find(e=>G()(e.date).format("DD/MM/YYYY")===G()(x).format("DD/MM/YYYY")),getColor=e=>e>=0?"text-[#00aa00]":"text-[#ee5442]";return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 max-md:grid-cols-1 gap-4 mt-4",children:[(0,a.jsxs)(o.Zb,{className:"w-full h-fit p-2",children:[(0,a.jsxs)("div",{className:"text-md font-semibold mb-6",children:["Dữ liá»u ng\xe0y ",G()(x).format("DD/MM/YYYY")]}),(0,a.jsxs)("div",{className:"flex justify-between items-center my-1",children:[(0,a.jsx)("div",{className:"text-slate-800 dark:text-slate-400 text-sm",children:"GT mua r\xf2ng (khá»p lá»nh)"}),(0,a.jsxs)("div",{className:"".concat(getColor(null!==(i=null==g?void 0:g.propTradingNetDealValue)&&void 0!==i?i:0)," font-semibold"),children:[((null!==(n=null==g?void 0:g.propTradingNetDealValue)&&void 0!==n?n:0)/1e9).toFixed(2)," ","tá»·"]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center my-1",children:[(0,a.jsx)("div",{className:"text-slate-800 dark:text-slate-400 text-sm",children:"GT mua r\xf2ng (thá»a thuáºn)"}),(0,a.jsxs)("div",{className:"".concat(getColor(null!==(r=null==g?void 0:g.propTradingNetPTValue)&&void 0!==r?r:0)," font-semibold"),children:[" ",((null!==(c=null==g?void 0:g.propTradingNetPTValue)&&void 0!==c?c:0)/1e9).toFixed(2)," ","tá»·"]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center my-1",children:[(0,a.jsx)("div",{className:"text-slate-800 dark:text-slate-400 text-sm",children:"Tá»ng GT mua r\xf2ng"}),(0,a.jsxs)("div",{className:"".concat(getColor(null!==(d=null==g?void 0:g.propTradingNetValue)&&void 0!==d?d:0)," font-semibold"),children:[" ",((null!==(u=null==g?void 0:g.propTradingNetValue)&&void 0!==u?u:0)/1e9).toFixed(2)," ","tá»·"]})]}),(0,a.jsx)("div",{className:"text-slate-800 dark:text-slate-400 text-sm mt-4",children:"Dữ liá»u tá»± doanh ÄÆ°á»£c tá»ng hợp h\xe0ng ng\xe0y sau phi\xean giao dá»ch"})]}),(0,a.jsxs)(o.Zb,{className:"col-span-2 w-full h-full p-2 max-md:h-[300px] max-md:pb-20",children:[(0,a.jsx)("div",{className:"text-md font-semibold mb-6",children:"Gi\xe1 trá» tá»± doanh mua r\xf2ng 10 phi\xean"}),(0,a.jsx)(R,{symbol:t})]})]}),(0,a.jsx)(markets_TopSymbolProprietaryTradingHeatmap,{exchange:l})]})},markets_FloorOption=e=>{let{floor:t,handleChange:l}=e;return(0,a.jsx)("div",{className:"flex rounded-sm border-[1px] border-[#959595]",children:j.Yf.map((e,s)=>(0,a.jsx)("div",{className:"px-2 text-sm hover:cursor-pointer ".concat(1===s?"border-l-[1px] border-r-[1px] border-[#959595]":""," ").concat(e.key===t?"bg-[#1189e5] text-white":"text-[#959595]"," "),onClick:()=>l(e.key),children:e.label},e.key))})};let Page=()=>{var e;let[t,l]=(0,r.useState)("HSX"),[s,c]=(0,r.useState)("overview"),[d,u]=r.useState(!1),x=(0,V.I0)(),g=r.useMemo(()=>{let e="";switch(t){case"HSX":e="VNINDEX";break;case"HNX":e="HNXINDEX";break;case"UPCOM":e="UPINDEX"}return e},[t]),handleChangeFloor=e=>{e!==t&&(l(e),x(f.cq.requestContributeToIndex(e,1,5)),x(f.cq.requestContributeToIndex(e,2,5)))};return r.useEffect(()=>{u(!0)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{title:"Stockbiz | Thá» trưá»ng",description:"Tá»ng quan thá» trưá»ng"}),(0,a.jsxs)("div",{className:"mt-6 mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{className:"text-xl font-semibold",children:"Tá»ng quan thá» trưá»ng"}),"overview"!=s&&(0,a.jsx)(markets_FloorOption,{floor:t,handleChange:e=>handleChangeFloor(e)}
1)]}),(0,a.jsx)("div",{className:"flex justify-between items-start",children:(0,a.jsxs)(v.mQ,{defaultValue:null===(e=j.gw[0])||void 0===e?void 0:e.key,className:"my-6 w-full",onValueChange:e=>c(e),children:[(0,a.jsx)(v.dr,{className:"mb-4 flex flex-wrap w-fit h-fit",children:j.gw.map(e=>{var t;return(0,a.jsx)(v.SP,{value:null!==(t=null==e?void 0:e.key)&&void 0!==t?t:"",children:null==e?void 0:e.label},null==e?void 0:e.key)})}),(0,a.jsx)(v.nU,{value:"overview",children:(0,a.jsxs)("div",{className:"flex w-full justify-between max-md:flex-col mt-3",children:[(0,a.jsxs)("div",{className:"flex-1 md:pr-5 md:mr-5 md:border-r md:border-r-gray-100 md:dark:border-r-gray-800",children:[(0,a.jsx)(markets_StatisticFloor,{}),d&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(p.Z,{})}),(0,a.jsx)("div",{className:"mt-6"}),(0,a.jsx)(m.Z,{children:"TIN THá» TRƯá»NG"}),(0,a.jsx)(b.Z,{groupID:1},"Finance")]}),(0,a.jsx)("div",{className:"relative mb-4",children:(0,a.jsx)(i.Z,{})})]})}),(0,a.jsxs)(v.nU,{value:"fluctuation",children:[(0,a.jsx)("div",{className:"h-[520px] mb-4",children:(0,a.jsx)(F,{symbol:g})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 max-md:grid-cols-1 gap-4 mb-4",children:[(0,a.jsxs)(o.Zb,{className:"w-full h-full p-2",children:[(0,a.jsx)("div",{className:"text-md font-semibold",children:"\uD83D\uDD25 Top 10 cá» phiếu"}),(0,a.jsx)(markets_TopSymbolMarket,{exchange:t})]}),(0,a.jsxs)(o.Zb,{className:"w-full h-full p-2",children:[(0,a.jsx)("div",{className:"flex justify-between items-center",children:(0,a.jsx)("div",{className:"text-md font-semibold",children:"\uD83D\uDCAB T\xe1c Äá»ng"})}),(0,a.jsx)(Q,{})]})]}),(0,a.jsx)(L,{exchange:t})]}),(0,a.jsx)(v.nU,{value:"transaction_market",children:(0,a.jsx)(q,{exchange:t,symbol:g})}),(0,a.jsx)(v.nU,{value:"self_employed",children:(0,a.jsx)(markets_SelfEmployee,{symbol:g,exchange:t})})]})})]})]})};Page.getInitialProps=f.ZP.getInitialPageProps(e=>async t=>{let{pathname:l,req:a,res:i,query:n}=t,r=(null==n?void 0:n.page)?+(null==n?void 0:n.page):1;e.getState(),e.dispatch(f.cq.requestCategoryRelatedNews(1,"NEWS",(r-1)*s.L8,s.L8)),e.dispatch(f.cq.requestContributeToIndex("HSX",1,5)),e.dispatch(f.cq.requestContributeToIndex("HSX",2,5)),a&&(e.dispatch(y.uR),await e.sagaTask.toPromise())});var K=Page}},function(e){e.O(0,[2678,2314,893,9482,4043,9442,2782,5648,2876,4389,9774,2888,179],function(){return e(e.s=33715)}),_N_E=e.O()}]);
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.