1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1055],{24026:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blogs",function(){return n(98289)}])},90704:function(e,t,n){"use strict";var i=n(85893),o=n(9008),r=n.n(o);let x=e=>{let{title:t,description:n,image:o}=e;return(0,i.jsxs)(r(),{children:[(0,i.jsx)("meta",{name:"viewport",content:"initial-scale=1, width=device-width"}),(0,i.jsx)("title",{children:t}),(0,i.jsx)("meta",{name:"description",content:n}),(0,i.jsx)("meta",{name:"keywords",content:"Anfin - Tiết kiá»m l\xe0 boss, Äầu tư on top"}),(0,i.jsx)("meta",{name:"author",content:"Anfin"}),(0,i.jsx)("meta",{name:"google-site-verification",content:"tJ9lU8rf1oBJCo-aWbRj7jTODEnkdfTtFcj2IrH-ZxY"}),(0,i.jsx)("meta",{property:"og:title",content:t}),(0,i.jsx)("meta",{property:"og:description",content:n}),o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{property:"og:image",content:o}),(0,i.jsx)("meta",{property:"og:image:width",content:"600"}),(0,i.jsx)("meta",{property:"og:image:height",content:"350"})]}),(0,i.jsx)("meta",{property:"og:image:alt",content:t}),(0,i.jsx)("meta",{property:"og:image:type",content:"image/png"}),(0,i.jsx)("meta",{property:"og:site_name",content:"Anfin"})]})};t.Z=x},79706:function(e,t){"use strict";t.Z={SuMenh:{title:"Anfin Sứ má»nh Äầu tư - Sứ má»nh cá»§a Anfin",description:"Kh\xe1m ph\xe1 Anfin - Sứ má»nh Äầu tư th\xf4ng minh vá»i ná»n tảng Äầu tư d\xe0nh cho ngưá»i má»i bắt Äầu. Äầu tư má»t c\xe1ch hiá»u quả v\xe0o h\xe0ng ho\xe1 ph\xe1i sinh, cá» phiếu, v\xe0 Äầu tư chứng kho\xe1n. Táºn hưá»ng trải nghiá»m Äầu tư Äa chiá»u vá»i Anfin, nÆ¡i kết ná»i sá»± Äa dạng cá»§a thá» trưá»ng t\xe0i ch\xednh v\xe0 sứ má»nh tạo ra cÆ¡ há»i Äầu tư bá»n vững."},AnfinGPT:{title:"Anfin ChatGPT - Äầu tư th\xf4ng minh c\xf9ng Anfin",description:"Kh\xe1m ph\xe1 chiến lược Äầu tư th\xf4ng minh c\xf9ng Anfin - Chuy\xean gia Äầu tư h\xe0ng ho\xe1 ph\xe1i sinh, cá» phiếu, v\xe0 Äầu tư chứng kho\xe1n. Táºn dụng cÆ¡ há»i Äầu tư vá»i Anfin ChatGPT, Äá»ng h\xe0nh th\xf4ng tin v\xe0 chiến lược Äa dạng, ÄÆ°a ra quyết Äá»nh Äầu tư hiá»u quả"},Blog:{title:"Tin tức má»i ng\xe0y c\xf9ng vá»i Anfin",description:"Ä\xf3n Äá»c tin tức h\xe0ng ng\xe0y c\xf9ng Anfin - Tá»ng hợp th\xf4ng tin Äầy Äá»§ vá» h\xe0ng h\xf3a ph\xe1i sinh,Äầu tư h\xe0ng h\xf3a, cá» phiếu, v\xe0 Äầu tư chứng kho\xe1n. Cáºp nháºt nhanh ch\xf3ng, Äầy Äá»§, gi\xfap bạn nắm bắt xu hưá»ng thá» trưá»ng v\xe0 ÄÆ°a ra quyết Äá»nh Äầu tư th\xf4ng minh. Kh\xe1m ph\xe1 những cÆ¡ há»i Äầu tư má»i má»i ng\xe0y vá»i Anfin!"},BlogEvent:{title:"Sá»± kiá»n v\xe0 tin tức Äầu tư chứng kho\xe1n",description:"Ä\xf3n Äá»c sá»± kiá»n h\xe0ng ng\xe0y c\xf9ng Anfin - Tá»ng hợp th\xf4ng tin Äầy Äá»§ vá» h\xe0ng h\xf3a ph\xe1i sinh,Äầu tư h\xe0ng h\xf3a, cá» phiếu, v\xe0 Äầu tư chứng kho\xe1n. Cáºp nháºt nhanh ch\xf3ng, Äầy Äá»§, gi\xfap bạn nắm bắt xu hưá»ng thá» trưá»ng v\xe0 ÄÆ°a ra quyết Äá»nh Äầu tư th\xf4ng minh. Kh\xe1m ph\xe1 những cÆ¡ há»i Äầu tư má»i má»i ng\xe0y vá»i Anfin!"},Saving:{title:"T\xedch luỹ tiết kiá»m má»i ng\xe0y c\xf9ng Anfin",description:"Kh\xe1m ph\xe1 cÆ¡ há»i t\xedch luỹ tiết kiá»m h\xe0ng ng\xe0y c\xf9ng Anfin - Äầu tư th\xf4ng minh v\xe0o thá» trưá»ng h\xe0ng h\xf3a, cá» phiếu, v\xe0 Äầu tư chứng kho\xe1n. Äảm bảo t\xe0i ch\xednh tương lai vá»i chiến lược Äầu tư hiá»u quả."},AnfinRegister:{title:"ÄÄng k\xfd Anfin â Bắt Äầu h\xe0nh tr\xecnh Äầu tư",description:"ÄÄng k\xfd t\xe0i khoản Anfin Äá» theo d\xf5i thá» trưá»ng, kh\xe1m ph\xe1 sản phẩm Äầu tư v\xe0 quản l\xfd danh mục thuáºn tiá»n."},Broker:{title:"Anfin broker - Chương tr\xecnh m\xf4i giá»i Äầu tư",description:"Kh\xe1m ph\xe1 cÆ¡ há»i Äầu tư tại Anfin Broker, ná»n tảng m\xf4i giá»i h\xe0ng Äầu vá»i chương tr\xecnh Äặc biá»t. Äầu tư chứng kho\xe1n, cá» phiếu, v\xe0 chứng kho\xe1n trá» n\xean dá»
d\xe0ng vá»i c\xe1c ưu Ä\xe3i v\xe0 ch\xednh s\xe1ch há» trợ h\xe0ng Äầu. Äặt lá»ch ngay Äá» trải nghiá»m sá»± thuáºn lợi v\xe0 uy t\xedn trong m\xf4i giá»i Äầu tư cá»§a ch\xfang t\xf4i."},AnfinTeam:{title:"Äá»i ngÅ© Anfin",description:"Äá»i ngÅ© Anfin - Chuy\xean gia cá» phiếu v\xe0 Äầu tư chứng kho\xe1n, Äá»ng h\xe0nh c\xf9ng bạn trong h\xe0nh tr\xecnh Äầu tư. Tư vấn ch\xednh x\xe1c, chiến lược Äầu tư hiá»u quả. Äến vá»i ch\xfang t\xf4i, Äầu tư l\xe0 má»t h\xe0nh tr\xecnh Äầy kiến thức v\xe0 th\xe0nh c\xf4ng."},AnfinIntroduction:{title:"Anfin â Ná»n tảng Äầu tư d\xe0nh cho ngưá»i Viá»t",description:"Anfin mang Äến trải nghiá»m theo d\xf5i thá» trưá»ng, t\xecm hiá»u sản phẩm v\xe0 quản l\xfd danh mục Äầu tư thuáºn tiá»n tr\xean má»t ná»n tảng."},Default:{title:"Anfin - Ná»n tảng Äầu tư dá»
tiếp cáºn cho ngưá»i má»i bắt Äầu",description:"C\xf9ng Anfin Äầu tư ngay h\xf4m nay, sinh lá»i ká»
1cả khi bạn Äang ngá»§ - xu hưá»ng t\xe0i ch\xednh thá»i thượng gi\xfap bạn t\xedch lÅ©y t\xe0i sản bá»n vững cho tương lai."},CommodityLogin:{title:"Anfin - ÄÄng nháºp giao dá»ch h\xe0ng ho\xe1 ph\xe1i sinh ",description:"Anfin - ÄÄng nháºp giao dá»ch h\xe0ng ho\xe1 ph\xe1i sinh tr\xean thá» trưá»ng h\xe0ng ho\xe1. Trải nghiá»m giao dá»ch giao dá»ch h\xe0ng ho\xe1, Äầu tư dầu th\xf4 vá»i Anfin."},IBoardSymbol:{title:"Anfin - Bảng gi\xe1 {symbolName} má»i nhất h\xf4m nay ({date})",description:"Anfin - Gi\xe1 cá» phiếu {symbolName} má»i nhất h\xf4m nay {date}. S\xe0n: HOSE,HNX, UPCOM"},CommodityRegister:{title:"Anfin - Má» t\xe0i khoản Äầu tư h\xe0ng ho\xe1 ph\xe1i sinh nhanh ch\xf3ng, tiá»n lợi",description:"Má» t\xe0i khoản Äầu tư h\xe0ng ho\xe1 ph\xe1i sinh ngay h\xf4m nay vá»i Anfin - Trải nghiá»m giao dá»ch Äầu tư h\xe0ng ho\xe1, Äặc biá»t l\xe0 dầu th\xf4, má»t c\xe1ch nhanh ch\xf3ng v\xe0 tiá»n lợi"},CommodityDashboard:{title:"Anfin - Tá»ng quan h\xe0ng ho\xe1",description:"Anfin - Má» t\xe0i khoản Äầu tư h\xe0ng ho\xe1 ph\xe1i sinh ngay h\xf4m nay vá»i rải nghiá»m giao dá»ch h\xe0ng ho\xe1 nhanh ch\xf3ng, tiá»n lợi, Ä\xe1ng tin cáºy."},ProductStock:{title:"Theo d\xf5i thá» trưá»ng v\xe0 Äầu tư cá» phiếu thuáºn tiá»n c\xf9ng Anfin",description:"Kh\xe1m ph\xe1 thá» trưá»ng, theo d\xf5i cá» phiếu v\xe0 bắt Äầu h\xe0nh tr\xecnh Äầu tư thuáºn tiá»n tr\xean ứng dụng Anfin."},ProductETF:{title:"Äầu tư quỹ ETF c\xf9ng Anfin",description:"T\xecm hiá»u quỹ ETF, theo d\xf5i danh mục v\xe0 bắt Äầu Äầu tư thuáºn tiá»n tr\xean ứng dụng Anfin."}}},13078:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var i=n(50841);let o=()=>{let{enqueueSnackbar:e,closeSnackbar:t}=(0,i.Ds)(),n=n=>i=>{let o=e(i,{onClick:()=>t(o),variant:n});setTimeout(()=>{},5e3)};return{default:n("default"),error:n("error"),success:n("success"),warning:n("warning"),info:n("info")}}},98289:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tv},default:function(){return tZ}});var i,o,r,x=n(85893),l=n(86886),a=n(5152),s=n.n(a),h=n(9473),d=n(66741);(i=o||(o={}))[i.HOME=0]="HOME",i[i.HOT=1]="HOT",i[i.NEW_USER=2]="NEW_USER",i[i.ANALYSIS=3]="ANALYSIS",i[i.PROFIT=4]="PROFIT",i[i.NEWS=5]="NEWS",(r||(r={})).EVENT="event";let c=(e,t)=>{e.tab=t.payload.tab,e.tagID=t.payload.tagID},p=(0,d.oM)({name:"blog",initialState:{tab:o.HOME,tagID:null},reducers:{TabChange:c}}),g=(0,d.xC)({reducer:{blog:p.reducer}}),m=()=>(0,h.I0)();var u=n(90948),f=n(80822),j=n(46574),b=n(39332),v=n(90704),Z=n(79706);let y=e=>e.blog.tab,k=e=>e.blog.tagID;var S=n(15861),w=n(69417),P=n(23795),E=n(70872),T=n(73601),A=n(89755),I=n.n(A),C=n(67294),D=n(88767),B=n(13078),W=n(73046),F=n(30381),N=n.n(F),z=n(25675),O=n.n(z);let H=(0,u.ZP)(S.Z)(()=>({fontSize:"14px",fontStyle:"normal",fontWeight:600,lineHeight:"22px",color:"black"})),R=(0,u.ZP)(S.Z)(()=>({fontSize:"14px",fontWeight:400,fontStyle:"normal",color:"#96A0B5"})),M=e=>{let{isAvatar:t,created:n}=e;return(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"row",alignItems:"center",marginTop:{xs:"0px",md:"16px"}},children:[t&&(0,x.jsx)(O(),{src:"/logo/logo-single.svg",alt:"avatar",width:46,height:32,style:{borderRadius:20,marginRight:"8px"}}),(0,x.jsx)(H,{children:"Team Anfin"}),(0,x.jsx)(f.Z,{style:{width:"1px",height:"20px",backgroundColor:"#E8EAEE",margin:"0px 8px"}}),(0,x.jsx)(R,{children:N()(n).format("MM/YYYY")})]})},L="82192110132",_=[{groupID:0,name:"Trưá»c khi Äầu tư",tag:"127044565117"},{groupID:0,name:"Bắt Äầu Äầu tư",tag:"127045754208"},{groupID:0,name:"Trong l\xfac Äầu tư",tag:"127045754212"},{groupID:1,name:"Ph\xe2n t\xedch cÆ¡ bản",tag:"127045755249"},{groupID:1,name:"Ph\xe2n t\xedch kỹ thuáºt",tag:"127045755253"},{groupID:2,name:"Cá» phiếu tiá»m nÄng",tag:"127045755256"},{groupID:2,name:"Ng\xe0nh triá»n vá»ng",tag:"127045755260"},{groupID:2,name:"Tá»ng hợp b\xe1o c\xe1o ph\xe2n t\xedch",tag:"127045755264"},{groupID:3,name:"Th\xf4ng b\xe1o",tag:"127045755268"},{groupID:3,name:"Sá»± kiá»n",tag:"127045755272"},{groupID:3,name:"T\xednh nÄng",tag:"62127223088"}],G=[{id:0,name:"D\xe0nh cho ngưá»i má»i",color:"#224696",tab:o.NEW_USER},{id:1,name:"Ph\xe2n t\xedch Äầu tư",color:"#FF6B00",tab:o.ANALYSIS},{id:2,name:"CÆ¡ há»i Äầu tư",color:"#27AE60",tab:o.PROFIT},{id:3,name:"Tin tức Anfin",color:"#0AA5FF",tab:o.NEWS}],q=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"flex-start",marginBottom:"16
1px",cursor:"pointer",[t.breakpoints.down("md")]:{marginBottom:"8px"}}}),K=(0,u.ZP)(S.Z)(()=>({backgroundColor:"#224696",borderRadius:"4px",fontSize:"14px",fontWeight:700,color:"white",padding:"4px 10px"})),Y=e=>{let{tagID:t,isDisable:n=!1}=e,i=_.find(e=>e.tag==t),r=G.find(e=>e.id==(null==i?void 0:i.groupID)),l=null==r?void 0:r.color,a=i?null==i?void 0:i.name:"Tin tức",s=(0,h.I0)(),d=()=>{n||s(p.actions.TabChange({tab:(null==r?void 0:r.tab)||o.HOME,tagID:t}))};return(0,x.jsx)(q,{onClick:d,children:(0,x.jsx)(K,{className:t,style:{backgroundColor:l},children:a})})},U=(0,u.ZP)(f.Z)(()=>({width:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",padding:"8px 0px",flexBasis:"30%"})),X=(0,u.ZP)(S.Z)(()=>({fontSize:"24px",fontStyle:"normal",lineHeight:"normal",fontWeight:"700",color:"black",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,overflow:"hidden",marginBottom:"8px"})),V=(0,u.ZP)(S.Z)(()=>({fontWeight:"400",fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2})),J=(0,u.ZP)(f.Z)(()=>({display:"flex",flexDirection:"column",padding:" 0px 24px",borderRadius:"12px",width:"100%",maxWidth:"264px",float:"right",alignItems:"center",backgroundSize:"cover !important",transition:"transform 0.3s ease",background:'url("/blogs/bg-mark.webp") top center no-repeat'})),$=(0,u.ZP)(S.Z)(()=>({fontSize:"16px",fontWeight:700,color:"#E7F0FD"})),Q=(0,u.ZP)(S.Z)(()=>({fontSize:"24px",fontWeight:900,background:"linear-gradient(90deg, #DFF3FF 0%, #4ABDFF 100%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"})),ee=(0,u.ZP)(f.Z)(()=>({display:"flex",flexDirection:"column",background:"#224696",width:"264px",padding:"24px 12px",float:"right",marginTop:"16px",borderRadius:"12px"})),et=(0,u.ZP)(S.Z)(()=>({fontSize:"24px",fontWeight:700,lineHeight:"36px",color:"#fff",position:"relative",paddingLeft:"16px",marginBottom:"24px","&:before":{content:'""',position:"absolute",top:"5px",left:0,width:"6px",height:"24px",borderRadius:"2px",background:"#0AA5FF"}})),en=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{display:"flex",width:"100%",flexDirection:"column",[t.breakpoints.down("md")]:{width:"100%"},"& .inputBase":{width:"100%"}}}),ei=(0,u.ZP)(w.Z)(()=>({borderRadius:"8px",background:"#019BFD",color:"#fff",textTransform:"unset",padding:"12px 16px",width:"100%",marginTop:"16px",fontSize:"16px",fontWeight:"700","&:hover, &:focus, &:active":{background:"#224696"},"&:disabled":{color:"#fff",opacity:"0.5"}})),eo=e=>{let{item:t}=e;return(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginBottom:"48px"},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:5,children:t&&(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:"200px",position:"relative"},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(I(),{src:t.featuredImage||"https://www.anfin.vn/hubfs/logo.svg",alt:"top new",layout:"fill",objectFit:"cover"})})})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:6,children:(0,x.jsxs)(U,{children:[(0,x.jsx)(Y,{tagID:t.tagIds.pop(),isDisable:!0}),(0,x.jsxs)("div",{children:[(0,x.jsx)(X,{children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(V,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")})]}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})})]})},er=e=>{let{item:t}=e;return(0,x.jsxs)("div",{style:{width:"100%",marginBottom:"24px"},children:[(0,x.jsx)(Y,{tagID:t.tagIds.pop()}),(0,x.jsx)(X,{children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(V,{dangerouslySetInnerHTML:{__html:null==t?void 0:t.postSummary}})]})},ex=e=>{let{tagID:t}=e,[n,i]=(0,C.useState)([]),[o,r]=(0,C.useState)(1),[a,s]=(0,C.useState)(1),h=(0,B.C)(),[d,c]=(0,C.useState)(""),[p,g]=(0,C.useState)(!0);(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=".concat(10*a-10,"&limit=10&tag=").concat(t,"&paging=true"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;i(t.data),r(t.total)})},[a]);let m=(e,t)=>
1{s(t)},u=e=>{/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?g(!1):g(!0)},j=async()=>{try{if(0===d.length){h.warning("Xin h\xe3y nháºp email");return}b()}catch(e){W.k.error(e)}},{mutate:b}=(0,D.useMutation)(async()=>fetch("/api/overseas/sheet",{method:"POST",body:JSON.stringify({sheet_id:"1eK8rsKPRfSewz3C15S13COLO_ygMKShwbScO-GjmjXc",data:{email:d}})}).then(e=>e.json()).then(e=>{200!==e.code?h.error(e.data||"Thất bại"):(c(""),h.success("Th\xe0nh c\xf4ng"))}));return(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:2,children:[(0,x.jsxs)(l.ZP,{item:!0,xs:12,md:8,children:[n.slice(0,3).map(e=>(0,x.jsx)(eo,{item:e},e.name)),n.slice(3,11).map(e=>(0,x.jsx)(er,{item:e},e.name)),(0,x.jsx)(f.Z,{sx:{display:"flex",justifyContent:"center"},children:(0,x.jsx)(E.Z,{count:Math.ceil(o/10),variant:"outlined",shape:"rounded",onChange:m})})]}),(0,x.jsxs)(l.ZP,{xs:12,md:4,children:[(0,x.jsxs)(J,{children:[(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column",paddingTop:"93px",paddingBottom:"16px"},children:[(0,x.jsx)($,{children:"Tải Anfin ngay Äá» bắt Äầu"}),(0,x.jsx)(Q,{children:"h\xe0nh tr\xecnh Äầu tư"})]}),(0,x.jsxs)(f.Z,{children:[(0,x.jsx)(P.Z,{href:"",sx:{margin:"0px 6px"},children:(0,x.jsx)(I(),{src:"/landing-page/AppStore.svg",width:76,height:23,alt:""})}),(0,x.jsx)(P.Z,{href:"",sx:{margin:"0px 6px"},children:(0,x.jsx)(I(),{src:"/landing-page/GooglePlay.svg",width:76,height:23,alt:""})})]}),(0,x.jsx)(f.Z,{sx:{marginTop:"62px",marginBottom:"-6px"},children:(0,x.jsx)(I(),{src:"/landing-page/banner-phone-section.webp",width:218,height:283,alt:""})})]}),(0,x.jsxs)(ee,{children:[(0,x.jsx)(et,{children:"Nháºn b\xe0i viết hay!"}),(0,x.jsxs)(en,{children:[(0,x.jsx)(T.ZP,{className:"inputBase",placeholder:"Email address",value:d,type:"text",name:"amount",onChange:e=>{c(e.target.value),u(e.target.value)},sx:{borderRadius:"8px",background:"#fff",padding:"6px 16px"}}),(0,x.jsx)(ei,{disabled:p,onClick:()=>j(),children:"ÄÄng k\xfd"})]})]})]})]})},el=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"48px",fontStyle:"normal",lineHeight:"64px",fontWeight:900,color:"#0E1D3F",[t.breakpoints.down("md")]:{fontSize:"28px",lineHeight:"44px"}}}),ea=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"16px",fontStyle:"normal",lineHeight:"24px",color:"#0E1D3F",[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px"}}}),es=(0,u.ZP)(S.Z)(()=>({fontSize:"24px",fontStyle:"normal",lineHeight:"32px",color:"black",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,overflow:"hidden",marginBottom:"16px"})),eh=(0,u.ZP)(S.Z)(()=>({fontWeight:400,fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2})),ed=e=>{let{item:t}=e;return t?(0,x.jsxs)(f.Z,{sx:{marginBottom:{xs:"32px",md:"0px"}},children:[(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:"160px",marginBottom:"24px",position:"relative"},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage||"https://www.anfin.vn/hubfs/logo.svg",alt:"top new",layout:"fill",objectFit:"cover"})})}),(0,x.jsx)(Y,{tagID:t.tagIds.pop()}),(0,x.jsx)(es,{sx:{fontWeight:700},children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(eh,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]}):(0,x.jsx)(x.Fragment,{})},ec=()=>(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:{xs:"column-reverse",md:"column"}},children:[(0,x.jsxs)(f.Z,{sx:{textAlign:{xs:"center",md:"start"},marginBottom:{xs:"20px",md:"0px"}},children:[(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:{xs:"row",md:"column"},justifyContent:{xs:"center",md:"left"}},children:[(0,x.jsx)(el,{children:"Ph\xe2n t\xedch"}),(0,x.jsx)(el,{sx:{marginLeft:{xs:"4px",md:"0px"}},children:"Äầu tư"})]}),(0,x.jsx)(ea,{children:"Từ ph\xe2n t\xedch cÆ¡ bản cho Äến ph\xe2n t\xedch kỹ thuáºt, từ h\xe0nh Äá»ng gi\xe1 cho Äến biá»u Äá» nến. ÄÆ°a h\xe0nh tr\xecnh Äầu tư cá»§a bạn l\xean tầm cao má»i!"})]}),(0,x.jsx)(f.Z,{sx:{margin:{xs:"0px 0px 10px 0px",md:"80px 0px"},overflow:"hidden",height:"323px",width:"100%",position:"relative"},children:(0,x.jsx)(O(),{src:"/blogs/ForAnalytic.svg",alt:"image",layout:"fill",objectFit:"cover"})})]}),ep=()=>{let[e,t]=(0,C.useState)();return(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("127045755253"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:n}=e;n.length<1||t(n)})},[]),(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginTop:{xs:"32px",md:"56px"}},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:e&&(0,x.jsx)(ec,{})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:e&&(0,x.jsx)(ed,{item:e[0]})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:e&&(0,x.jsx)(ed,{item:e[1]})})]})},eg=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"48px",fontStyle:"normal",lineHeight:"64px",fontWeight:900,color:"#0E1D3F",[t.breakpoints.down("md")]:{fontSize:"28px",lineHeight:"44px"}}}),em=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"16px",fontStyle:"normal",lineHeight:"24px",color:"#0E1D3F",margin:"16px 0px",display:"flex",[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px"}}}),eu=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"24px",fontStyle:"normal",lineHeight:"32px",color:"black",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,overflow:"hidden",marginBottom:"16
1px",[t.breakpoints.down("md")]:{fontSize:"20px",lineHeight:"30px"}}}),ef=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontWeight:400,fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2,[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px",margin:"8px 0px"}}}),ej=e=>{let{item:t}=e;return(0,x.jsxs)(f.Z,{sx:{width:"100%",marginBottom:{xs:"32px",md:"0px"}},children:[(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:"160px",position:"relative",marginBottom:{xs:"8px",md:"24px"}},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage,alt:"image",layout:"fill",objectFit:"cover"})})}),(0,x.jsx)(Y,{tagID:t.tagIds[0],isDisable:!1}),(0,x.jsx)(eu,{sx:{fontWeight:700},children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(ef,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})},eb=()=>(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:{xs:"column-reverse",md:"column"}},children:[(0,x.jsxs)(f.Z,{sx:{textAlign:{xs:"center",md:"start"},marginBottom:{xs:"20px",md:"0px"}},children:[(0,x.jsxs)(f.Z,{sx:{display:"flex",flexDirection:{xs:"row",md:"column"},justifyContent:{xs:"center",md:"left"}},children:[(0,x.jsx)(eg,{children:"D\xe0nh cho"}),(0,x.jsx)(eg,{sx:{marginLeft:{xs:"4px",md:"0px"}},children:"ngưá»i má»i"})]}),(0,x.jsx)(em,{children:"Thư viá»n kiến thức Äầu tư cÆ¡ bản d\xe0nh d\xe0nh cho ngưá»i bắt Äầu, ná»i dung ÄÆ°á»£c viết v\xe0 tá»ng hợp bá»i c\xe1c chuy\xean gia gi\xe1o dục t\xe0i ch\xednh."})]}),(0,x.jsx)(f.Z,{sx:{margin:{xs:"0px 0px 10px 0px",md:"80px 0px"},position:"relative",width:"100%",height:"323px"},children:(0,x.jsx)(O(),{src:"/blogs/ForNewUser.png",alt:"image",layout:"fill",objectFit:"cover"})})]}),ev=()=>{let[e,t]=(0,C.useState)(),[n,i]=(0,C.useState)();return(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=1&tag=".concat("127044565117"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:n}=e;n.length<1||t(n[0])}),fetch("/api/blog/post/list?offset=0&limit=1&tag=".concat("127045754208"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||i(t[0])})},[]),(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginTop:{xs:"32px",md:"56px"}},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:(e||n)&&(0,x.jsx)(eb,{})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:e&&(0,x.jsx)(ej,{item:e})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:n&&(0,x.jsx)(ej,{item:n})})]})};var eZ=n(41664),ey=n.n(eZ);let ek=(0,u.ZP)(f.Z)({display:"flex",flexDirection:"column",".item":{borderBottom:"1px solid #E8EAEE","&:nth-of-type(3)":{borderBottom:"0px"}}}),eS=(0,u.ZP)(f.Z)({padding:"40px 0px"}),ew=(0,u.ZP)(ey())({display:"flex",width:"fit-content",fontSize:"14px",textDecoration:"none",padding:"4px 8px",borderRadius:"8px"}),eP=(0,u.ZP)(ey())({fontSize:"16px",fontWeight:700,lineHeight:"24px",textTransform:"capitalize",textDecoration:"none",color:"#101010",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",minHeight:"48px"}),eE=e=>{let{tagName:t,backgroundColor:n,data:i}=e;return(0,x.jsxs)(ek,{children:[(0,x.jsx)(ew,{sx:{backgroundColor:n,color:"#fff"},href:"",children:t}),i&&i.map(e=>(0,x.jsxs)(f.Z,{sx:{marginTop:"20px",paddingBottom:"20px"},className:"item",children:[(0,x.jsx)(eP,{href:e.url,children:e.name}),(0,x.jsx)(M,{isAvatar:!1,name:(null==e?void 0:e.authorName)||"",avatar:(null==e?void 0:e.featuredImage)||"",created:(null==e?void 0:e.created)||""})]},e.name))]})},eT=()=>{let[e,t]=(0,C.useState)(),[n,i]=(0,C.useState)(),[o,r]=(0,C.useState)(),[a,s]=(0,C.useState)(),[h,d]=(0,C.useState)(),[c,p]=(0,C.useState)();return(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("127045755272"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:n}=e;n.length<1||t(n)})},[]),(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("62127223088"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||i(t)})},[]),(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("129522206378"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||r(t)})},[]),(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("127045755256"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||s(t)})},[]),(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("127045755264"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||d(t)})},[]),(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=2&tag=".concat("127045755260"),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:t}=e;t.length<1||p(t)})},[]),(0,x.jsxs)(eS,{children:[(0,x.jsx)(f.Z,{sx:{marginTop:{xs:"20px",md:"40px"}},children:(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:{xs:1,sm:2,md:4},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:e&&(0,x.jsx)(eE,{tagName:"Sá»± kiá»n",backgroundColor:"#0AA5FF",data:e})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:n&&(0,x.jsx)(eE,{tagName:"T\xednh nÄng",backgroundColor:"#0AA5FF",data:n})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:o&&(0,x.jsx)(eE,{tagName:"Th\xf4ng b\xe1o",backgroundColor:"#0AA5FF",data:o})})]})}),(0,x.jsx)(f.Z,{sx:{marginTop:"40px"},children:(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:{xs:1,sm:2,md:4},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:a&&(0,x.jsx)(eE,{tagName:"Cá» phiếu tiá»m nÄng",backgroundColor:"#27AE60",data:a})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:h&&(0,x.jsx)(eE,{tagName:"Tá»ng hợp b\xe1o c\xe1o ph\xe2n t\xedch",backgroundColor:"#27AE60",data:h})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:c&&(0,x.jsx)(eE,{tagName:"Ng\xe0nh triá»n vá»ng",backgroundColor:"#27AE60",data:c})})]})})]})},eA=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"16px",background:"#E2F4FF",padding:"24px 16px",marginBottom:"60px",[t.breakpoints.down("md")]:{flexDirection:"column"}}}),eI=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{display:"flex",width:"100%",[t.breakpoints.down("md")]:{width:"100%"},"& .inputBase":{width:"100%"}}}),eC=(0,u.ZP)(w.Z)(e=>{let{theme:t}=e;return{borderRadius:"0px 8px 8px 0px",background:"#019BFD",color:"#fff",textTransform:"unset",padding:"6px 16px",
1width:"25%","&:hover, &:focus, &:active":{background:"#224696"},"&:disabled":{color:"#fff",opacity:"0.5"},[t.breakpoints.down("md")]:{width:"35%"}}}),eD=()=>{let e=(0,B.C)(),[t,n]=(0,C.useState)(""),[i,o]=(0,C.useState)(!0),r=e=>{/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?o(!1):o(!0)},a=async()=>{try{if(0===t.length){e.warning("Xin h\xe3y nháºp email");return}s()}catch(e){W.k.error(e)}},{mutate:s}=(0,D.useMutation)(async()=>fetch("/api/me/subscribe-hot-news",{method:"POST",headers:new Headers({"x-api-key":"de593544-f2f4-4d1e-af5a-44591d514434"}),body:JSON.stringify({email:t})}).then(e=>e.json()).then(t=>{200!==t.code?e.error(t.data||"Thất bại"):e.success("Th\xe0nh c\xf4ng")}));return(0,x.jsx)(eA,{children:(0,x.jsxs)(l.ZP,{container:!0,spacing:2,children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:7,sx:{display:"flex",alignItems:"center",justifyContent:{xs:"center",md:"flex-end"}},children:(0,x.jsx)(S.Z,{children:"Anfin sẽ thưá»ng xuy\xean cáºp nháºt cho bạn những th\xf4ng tin má»i nhất."})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:5,children:(0,x.jsxs)(eI,{children:[(0,x.jsx)(T.ZP,{className:"inputBase",placeholder:"Email address",value:t,type:"text",name:"amount",onChange:e=>{n(e.target.value),r(e.target.value)},sx:{borderRadius:"8px 0px 0px 8px",background:"#fff",padding:"6px 16px"}}),(0,x.jsx)(eC,{disabled:i,onClick:()=>a(),children:"ÄÄng k\xfd"})]})})]})})},eB=(0,u.ZP)(f.Z)(()=>({width:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",padding:"8px 0px",flexBasis:"30%"})),eW=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"28px",fontStyle:"normal",fontWeight:"700",lineHeight:"32px",color:"black",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",[t.breakpoints.down("md")]:{fontSize:"20px",lineHeight:"30px"}}}),eF=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontWeight:400,fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:3,margin:"8px 0px",[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px"}}}),eN=e=>{let{item:t}=e;if(!t)return(0,x.jsx)("div",{children:"Loading"});let n=null==t?void 0:t.tagIds.filter(e=>e!=L);return(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginBottom:{xs:"32px",md:"56px"}},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:8,children:t&&(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:{xs:"165px",md:"340px"},position:"relative"},children:(0,x.jsx)(ey(),{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage||"https://www.anfin.vn/hubfs/logo.svg",alt:"top new",layout:"fill",objectFit:"cover"})})})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:(0,x.jsxs)(eB,{children:[(0,x.jsx)(Y,{tagID:(n||[]).pop()}),(0,x.jsxs)("div",{children:[(0,x.jsx)(eW,{children:(0,x.jsx)(ey(),{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(eF,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")})]}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})})]})},ez=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"24px",fontStyle:"normal",lineHeight:"32px",color:"black",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,overflow:"hidden",marginBottom:"16px",[t.breakpoints.down("md")]:{fontSize:"20px",lineHeight:"30px"}}}),eO=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontWeight:400,fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2,[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px",margin:"8px 0px"}}}),eH=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{width:"100%",padding:"0px 20px",[t.breakpoints.down("md")]:{marginBottom:"32px"},"&:first-of-type":{paddingLeft:"0px"},"&:last-child":{paddingRight:"0px"}}}),eR=e=>{let{item:t}=e,n=null==t?void 0:t.tagIds.filter(e=>e!=L);return(0,x.jsxs)(eH,{children:[(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:"160px",position:"relative",marginBottom:{xs:"8px",md:"24px"}},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage,alt:"image",layout:"fill",objectFit:"cover"})})}),(0,x.jsx)(Y,{tagID:(n||[]).pop()}),(0,x.jsx)(ez,{sx:{fontWeight:700},children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:t.name})}),(0,x.jsx)(eO,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})},eM=e=>{let{items:t}=e;return 3!==t.length?(0,x.jsx)(x.Fragment,{}):(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginBottom:{xs:"0px",md:"56px"}},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:(0,x.jsx)(eR,{item:t[0]})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:(0,x.jsx)(eR,{item:t[1]})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:4,children:(0,x.jsx)(eR,{item:t[2]})})]})},eL=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"24px",fontStyle:"normal",lineHeight:"32px",color:"#101010",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,overflow:"hidden",marginBottom:"16
1px",[t.breakpoints.down("md")]:{fontSize:"20px",lineHeight:"30px"}}}),e_=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontWeight:400,fontSize:"16px",fontStyle:"normal",color:"#697896",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2,[t.breakpoints.down("md")]:{fontSize:"14px",lineHeight:"22px",margin:"8px 0px"}}}),eG=e=>{let{item:t}=e,n=null==t?void 0:t.tagIds.filter(e=>e!=L);return(0,x.jsxs)(f.Z,{sx:{marginBottom:{xs:"32px",md:"0px"}},children:[(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:{xs:"165px",md:"300px"},position:"relative",marginBottom:{xs:"8px",md:"24px"}},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage,alt:"image",layout:"fill",objectFit:"cover"})})}),(0,x.jsx)(Y,{tagID:(n||[]).pop()}),(0,x.jsx)(eL,{sx:{fontWeight:700},children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(e_,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})},eq=e=>{let{item:t}=e,n=null==t?void 0:t.tagIds.filter(e=>e!=L);return(0,x.jsxs)(f.Z,{sx:{marginTop:{xs:"0%",md:"6%"}},children:[(0,x.jsx)(f.Z,{sx:{borderRadius:"8px",overflow:"hidden",height:{xs:"165px",md:"220px"},position:"relative",marginBottom:{xs:"8px",md:"24px"}},children:(0,x.jsx)(P.Z,{href:t.url,children:(0,x.jsx)(O(),{src:t.featuredImage,alt:"image",layout:"fill",objectFit:"cover"})})}),(0,x.jsx)(Y,{tagID:(n||[]).pop()}),(0,x.jsx)(eL,{sx:{fontWeight:700},children:(0,x.jsx)(P.Z,{style:{textDecoration:"none",color:"#101010"},href:t.url,children:null==t?void 0:t.name})}),(0,x.jsx)(e_,{children:null==t?void 0:t.postSummary.replace(/<[^>]+>/g,"")}),(0,x.jsx)(M,{isAvatar:!0,name:(null==t?void 0:t.authorName)||"",avatar:(null==t?void 0:t.featuredImage)||"",created:(null==t?void 0:t.created)||""})]})},eK=e=>{let{left:t,right:n}=e;return(0,x.jsxs)(l.ZP,{container:!0,columnSpacing:4,sx:{marginTop:{xs:"0px",md:"56px"},marginBottom:{xs:"32px",md:"56px"}},children:[(0,x.jsx)(l.ZP,{item:!0,xs:12,md:7,children:(0,x.jsx)(eG,{item:t})}),(0,x.jsx)(l.ZP,{item:!0,xs:12,md:5,children:(0,x.jsx)(eq,{item:n})})]})},eY=()=>{let[e,t]=(0,C.useState)();return(0,C.useEffect)(()=>{fetch("/api/blog/post/list?offset=0&limit=11&tag=".concat(L),{method:"GET"}).then(e=>e.json()).then(e=>{let{data:n}=e;t(n)})},[]),(0,x.jsxs)("div",{style:{width:"100%"},children:[e&&(0,x.jsx)(eN,{item:e[0]}),e&&(0,x.jsx)(eK,{left:e[1],right:e[2]}),e&&(0,x.jsx)(eM,{items:e.slice(3,6)}),(0,x.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:"#E8EAEE"}}),(0,x.jsx)(ev,{}),(0,x.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:"#E8EAEE"}}),e&&(0,x.jsx)(eK,{left:e[6],right:e[7]}),e&&(0,x.jsx)(eM,{items:e.slice(8,11)}),(0,x.jsx)(f.Z,{sx:{width:"100%",height:"1px",backgroundColor:"#E8EAEE"}}),(0,x.jsx)(ep,{}),(0,x.jsx)(eT,{}),(0,x.jsx)(eD,{})]})};var eU=n(44510),eX=n(42761),eV=n(51233);let eJ=[{title:"Ä\xe1ng ch\xfa \xfd",path:"",className:"",tab:o.HOT},{title:"D\xe0nh cho ngưá»i má»i",path:"/danh-cho-nguoi-moi",className:"",children:[{title:"Trưá»c khi Äầu tư",path:"",tagID:"127044565117"},{title:"Bắt Äầu Äầu tư",path:"",tagID:"127045754208"},{title:"Trong l\xfac Äầu tư",path:"",tagID:"127045754212"}],tab:o.NEW_USER},{title:"Ph\xe2n t\xedch Äầu tư",path:"/phan-tich-dau-tu",className:"",children:[{title:"Ph\xe2n t\xedch cÆ¡ bản",path:"",tagID:"127045755249"},{title:"Ph\xe2n t\xedch kỹ thuáºt",path:"",tagID:"127045755253"}],tab:o.ANALYSIS},{title:"CÆ¡ há»i Äầu tư",path:"/hoc-dau-tu",className:"",children:[{title:"Cá» phiếu tiá»m nÄng",path:"",tagID:"127045755256"},{title:"Ng\xe0nh triá»n vá»ng",path:"",tagID:"127045755260"},{title:"Tá»ng hợp b\xe1o c\xe1o ph\xe2n t\xedch",path:"",tagID:"127045755264"}],tab:o.PROFIT},{title:"Tin tức Anfin",path:"",className:"",children:[{title:"Th\xf4ng b\xe1o",path:"",tagID:"127045755268"},{title:"Sá»± kiá»n",path:"",tagID:"127045755272"},{title:"T\xednh nÄng",path:"",tagID:"62127223088"}],tab:o.NEWS}];var e$=n(75503),eQ=n(90813),e0=n(2734),e1=n(14564),e2=n(78462),e4=n(97212);let e5=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{color:"#050506",fontWeight:"600","&:hover":{color:"#0075E7"},cursor:"pointer",padding:t.spacing(1,1),display:"flex"}}),e6=e=>{let{menu:t,isOpenMenu:n,onOpenMenu:i,onCloseMenu:r}=e,l=m(),a=(0,e0.Z)(),s=(0,C.useRef)(null),h=()=>{n?c():d()},d=()=>{i(t.title)},c=()=>{r(t.title)},g=(e,t)=>{l(p.actions.TabChange({tab:e,tagID:t}))};return t.children?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(eV.Z,{component:"div",direction:"row",alignItems:"center",ref:s,onClick:h,onMouseEnter:d,onMouseLeave:c,sx:{p:1,cursor:"pointer"},children:[(0,x.jsx)(S.Z,{component:"div",fontSize:14,fontWeight:600,color:n?"#0075E7":"#050506",children:t.title}),n?(0,x.jsx)(eQ.Z,{fontSize:"small",sx:{color:"#0075E7"}}):(0,x.jsx)(e$.Z,{fontSize:"small",sx:{color:"#606576"}})]}),(0,x.jsx)(e1.ZP,{disableRestoreFocus:!0,disableScrollLock:!0,open:n,onClose:c,anch
1orEl:s.current,anchorPosition:{top:80,left:0},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{pointerEvents:"none"},PaperProps:{sx:{p:a.spacing(1),m:"auto",borderRadius:2,pointerEvents:"auto",mt:"5px"},onMouseEnter:d,onMouseLeave:c},children:(0,x.jsx)(e2.Z,{disablePadding:!0,children:t.children.map(e=>(0,x.jsx)(e5,{onClick:()=>g(t.tab,e.tagID),children:(0,x.jsx)(e4.ZP,{sx:{py:0,fontSize:"14px"},children:e.title})},e.title))})})]}):t.children?(0,x.jsx)(x.Fragment,{}):(0,x.jsx)(e5,{onClick:()=>{t.tab===o.HOT&&g(t.tab,"82192110132")},sx:{fontSize:14},children:t.title})};var e7=n(44652),e3=n(60181),e8=n(23508),e9=n(59334),te=n(98619),tt=n(48885),tn=n(67720),ti=n(57922);let to=(0,u.ZP)(e9.Z)({marginTop:0,marginBottom:0}),tr=e=>{let{isOpen:t,config:n}=e,i=(0,e0.Z)();return(0,x.jsx)(ti.Z,{in:t,timeout:"auto",unmountOnExit:!0,children:(0,x.jsx)(e2.Z,{component:"div",disablePadding:!0,children:n.children&&n.children.map(e=>(0,x.jsxs)(C.Fragment,{children:[(0,x.jsx)(te.Z,{sx:{p:i.spacing(2,3),backgroundColor:"#F6F8F9"},children:(0,x.jsx)(P.Z,{href:e.path,sx:{textDecoration:"none",color:"#212121",width:"100%"},children:(0,x.jsx)(to,{children:(0,x.jsx)(S.Z,{fontSize:16,fontWeight:400,children:e.title})})})}),(0,x.jsx)(tn.Z,{})]},e.title))})})},tx=(0,u.ZP)(e9.Z)({marginTop:0,marginBottom:0}),tl=e=>{let{isOpen:t,menu:n,handleToggleMenu:i}=e,o=(0,e0.Z)();return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(te.Z,{sx:{p:o.spacing(2)},onClick:e=>i(n.title),children:[(0,x.jsx)(tx,{children:(0,x.jsx)(S.Z,{fontSize:16,children:n.title})}),n.children&&(0,x.jsx)(tt.Z,{sx:{display:"contents"},children:t?(0,x.jsx)(e3.Z,{}):(0,x.jsx)(e8.Z,{})})]},n.title),(0,x.jsx)(tn.Z,{}),n.children&&(0,x.jsx)(tr,{isOpen:t,config:n})]})},ta=()=>{let[e,t]=(0,C.useState)(!1),n=()=>{t(!e)},[i,o]=(0,C.useState)(()=>{let e={};return eJ.forEach(t=>{e[t.title]=!1}),e}),r=e=>{let t={};
1Object.keys(i).forEach(n=>{t[n]=n===e?!i[n]:i[n]}),o(t)};return(0,x.jsxs)(f.Z,{children:[(0,x.jsx)(f.Z,{onClick:()=>n(),children:e?(0,x.jsx)(eQ.Z,{}):(0,x.jsx)(e$.Z,{})}),(0,x.jsx)(e7.Z,{open:e,onClose:()=>{t(!1)},onOpen:()=>{t(!0)},anchor:"bottom",children:(0,x.jsx)(e2.Z,{component:"nav",sx:{width:"100%",py:0},children:eJ.map((e,t)=>t!==eJ.length-1&&(0,x.jsx)(tl,{isOpen:i[e.title],menu:e,handleToggleMenu:r},e.title))})})]})},ts=(0,u.ZP)(f.Z)(e=>{let{theme:t}=e;return{width:"100%",padding:"34px 0px 50px 0px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",[t.breakpoints.down("md")]:{padding:"10px 0px 10px 0px"}}}),th=(0,u.ZP)(S.Z)(e=>{let{theme:t}=e;return{fontSize:"32px",fontStyle:"normal",fontWeight:700,lineHeight:"40px",color:"#224696",[t.breakpoints.down("md")]:{fontSize:"18px"},cursor:"pointer"}}),td=(0,u.ZP)(f.Z)(()=>({position:"relative",alignItems:"center"})),tc=(0,u.ZP)(f.Z)(()=>({position:"absolute",display:"flex",width:"100%",background:"#F6F8FB",alignItems:"center",border:"1px solid #E8EAEE",borderRadius:"8px",padding:"8px","& .MuiInputBase-root":{width:"100%",input:{color:"#101010",fontSize:"16px","&::placeholder":{color:"#101010"}}}})),tp=()=>{let[e,t]=(0,C.useState)(()=>{let e={};return eJ.forEach(t=>{e[t.title]=!1}),e}),[n,i]=(0,C.useState)(!1),[r,l]=(0,C.useState)(""),a=n=>{let i={...e,[n]:!1};t(i)},s=n=>{let i={};Object.keys(e).forEach(e=>{i[e]=e===n}),t(i)},d=(0,h.I0)(),c=(e,t)=>{d(p.actions.TabChange({tab:e,tagID:t}))};return(0,x.jsxs)(ts,{children:[(0,x.jsx)(th,{onClick:()=>c(o.HOME,""),children:"Anfin Blog"}),(0,x.jsxs)(td,{sx:{display:{xs:"none",md:"flex"}},children:[(0,x.jsx)(eV.Z,{direction:"row",spacing:2,alignItems:"center",children:eJ.map(t=>(0,x.jsx)(e6,{menu:t,isOpenMenu:e[t.title],onOpenMenu:s,onCloseMenu:a},t.title))}),n&&(0,x.jsxs)(tc,{children:[(0,x.jsx)(eX.Z,{sx:{color:"#005485",fontSize:"20px",margin:"0px 10px",cursor:"pointer"}}),(0,x.jsx)(T.ZP,{placeholder:"Nháºp từ kho\xe1 t\xecm kiếm",value:r,type:"text",onChange:e=>{l(e.target.value)},sx:{color:"#101010",height:"24px",padding:"0px"}}),(0,x.jsx)(eU.Z,{sx:{color:"#B6BEC9",fontSize:"20px",cursor:"pointer"},onClick:()=>{i(!n)}})]}),(0,x.jsx)(eX.Z,{sx:{cursor:"pointer"},onClick:()=>{i(!n)}})]}),(0,x.jsx)(eV.Z,{direction:"row",spacing:2,alignItems:"center",sx:{display:{xs:"flex",md:"none"}},children:(0,x.jsx)(ta,{})})]})},tg=(0,u.ZP)(f.Z)({position:"absolute",zIndex:0,width:"30vw",height:"30vw",opacity:.3,top:"5vw",borderRadius:"15vw",left:"-10vw",background:"radial-gradient(50% 50% at 50% 50%,#0076ff 0,rgba(38,109,212,0) 100%)",filter:"blur(141.303px)"}),tm=(0,u.ZP)(f.Z)({position:"absolute",zIndex:0,width:"15vw",height:"15vw",opacity:1,top:"30vw",borderRadius:"7.5vw",right:0,background:"radial-gradient(50% 50% at 50% 50%,#ff6b00 0,rgba(38,109,212,0) 100%)",filter:"blur(141.303px)"}),tu=()=>{let e=(0,b.useSearchParams)(),t=e.get("category"),n=(0,h.v9)(y),i=(0,h.v9)(k);return t===r.EVENT?(0,x.jsx)(ex,{tagID:"127045755272",tab:o.NEWS},"127045755272"):n===o.HOME?(0,x.jsx)(eY,{}):(0,x.jsx)(ex,{tagID:i,tab:n},i)},tf=()=>{let e=(0,b.useSearchParams)(),t=e.get("category"),n=t===r.EVENT?Z.Z.BlogEvent.title:Z.Z.Blog.title,i=t===r.EVENT?Z.Z.Blog.description:Z.Z.BlogEvent.description;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(v.Z,{title:n,description:i}),(0,x.jsxs)(f.Z,{sx:{position:"relative",width:"100%",marginBottom:"60px"},children:[(0,x.jsx)(tg,{}),(0,x.jsx)(tm,{}),(0,x.jsxs)(j.Z,{maxWidth:"lg",children:[(0,x.jsx)(tp,{}),(0,x.jsx)(tu,{})]})]})]})};tf.defaultProps={title:"fdsfds"};let tj=s()(()=>Promise.resolve().then(n.bind(n,36470)).then(e=>e.MainHeader),{loadableGenerated:{webpack:()=>[36470]}}),tb=s()(()=>Promise.resolve().then(n.bind(n,72329)).then(e=>e.MainFooter),{loadableGenerated:{webpack:()=>[72329]}});var tv=!0;function tZ(){return(0,x.jsx)(h.zt,{store:g,children:(0,x.jsxs)(l.ZP,{container:!0,children:[(0,x.jsx)(tj,{}),(0,x.jsx)(tf,{}),(0,x.jsx)(tb,{})]})})}}},function(e){e.O(0,[4885,3601,9043,4564,5675,4652,872,4455,9006,9774,2888,179],function(){return e(e.s=24026)}),_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.