1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3048],{20098:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,48173,23)),Promise.resolve().then(a.bind(a,53695)),Promise.resolve().then(a.bind(a,22791)),Promise.resolve().then(a.bind(a,69205)),Promise.resolve().then(a.bind(a,27242)),Promise.resolve().then(a.bind(a,12456)),Promise.resolve().then(a.bind(a,32532)),Promise.resolve().then(a.bind(a,78265)),Promise.resolve().then(a.bind(a,96371)),Promise.resolve().then(a.bind(a,59088)),Promise.resolve().then(a.bind(a,90086)),Promise.resolve().then(a.bind(a,37990)),Promise.resolve().then(a.bind(a,21702)),Promise.resolve().then(a.bind(a,90729)),Promise.resolve().then(a.bind(a,3827)),Promise.resolve().then(a.t.bind(a,1569,23)),Promise.resolve().then(a.bind(a,81177)),Promise.resolve().then(a.bind(a,46359)),Promise.resolve().then(a.bind(a,6306)),Promise.resolve().then(a.bind(a,34196))},53695:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(95155),i=a(32532),o=a(76126),r=a(5565),n=a(12115),s=a(65644),d=a(23101),c=a(98815);let m=e=>{var t;let{data:a,initialData:m}=e,g=null!==(t=c.x.find(e=>e.portalId===(null==m?void 0:m.portalId)))&&void 0!==t?t:c.x[0],[p,x]=(0,n.useState)(m.listCategory||[]),[h,f]=(0,n.useState)(m.pageIndex||1),[u]=(0,n.useState)(m.pageSize||15),[b,v]=(0,n.useState)(!!m.listCategory&&m.listCategory.length===u),[w,y]=(0,n.useState)(!1),j=async()=>{if(!w&&b){y(!0);try{let e=await (0,s.U)(m.categoryId,h,u);e&&(x(t=>[...t,...e.listCategory]),f(e.pageIndex),v(e.hasMore))}catch(e){console.log("Error loading more data:",e)}finally{y(!1)}}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.A,{className:"py-10",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"space-y-7",children:[a.map((e,t)=>(0,l.jsx)("h1",{className:"text-2xl lg:text-3xl font-medium leading-6 uppercase \xe2",children:e.CategoryName},t)),(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:p.map((e,t)=>(0,l.jsx)("div",{className:"border overflow-hidden shadow-md bg-[#F8F8F8]",children:(0,l.jsxs)(d.X,{href:"".concat(e.Canonical),className:"block group",externalLink:null==e?void 0:e.ExternalLink,children:[(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)(i.default,{src:e.ImagePath,alt:e.Title,className:"w-full aspect-[3/2] object-cover",width:800,height:400,useFallback:!0,w:500,loading:"lazy"})}),(0,l.jsx)("div",{className:"p-4",children:(0,l.jsx)("h3",{className:"text-sm font-medium text-gray-800 group-hover:text-orange-500 line-clamp-3",children:e.Title})})]})},t))}),b&&(0,l.jsx)("div",{children:(0,l.jsxs)("button",{onClick:()=>j(),className:"flex items-center gap-4 mx-auto py-1 italic px-4 text-[#C4151C] border border-[#C4151C] disabled:opacity-50 text-justify rounded-sm",disabled:w,children:[w?g.loading:g.viewMore,(0,l.jsx)(r.default,{src:"/svgs/muiten.svg",alt:"mũi t\xean",width:16,height:16})]})})]})})})})}},22791:(e,t,a)=>{"use strict";a.d(t,{default:()=>x});var l=a(95155),i=a(76126),o=a(5565),r=a(12115),n=a(65644),s=a(96371),d=a(51142),c=a(32966),m=a(98815),g=a(90729),p=a(6306);let x=e=>{var t;let{data:a,initialData:x,eventNewsData:h}=e,f=null!==(t=m.x.find(e=>e.portalId===(null==x?void 0:x.portalId)))&&void 0!==t?t:m.x[0],u=null==x?void 0:x.imageBanners,[b,v]=(0,r.useState)(x.listCategory||[]),[w,y]=(0,r.useState)(x.pageIndex||1),[j]=(0,r.useState)(x.pageSize||16),[N,C]=(0,r.useState)(!!x.listCategory&&x.listCategory.length===j),[k,S]=(0,r.useState)(x.listHotNews||[]),[E,I]=(0,r.useState)(!1),[L,P]=(0,r.useState)(new Date().getFullYear()),z=new Date().getFullYear();Array.from({length:z-2019},(e,t)=>z-t),x.type;let F=async()=>{if(!E&&N){I(!0);try{let e=await (0,n.U)(x.categoryId,w,j);e&&(v(t=>[...t,...e.listCategory]),y(e.pageIndex),C(e.hasMore))}catch(e){console.log("Error loading more data:",e)}finally{I(!1)}}};return(0,l.jsx)(i.A,{className:"py-10",children:(0,l.jsxs)("div",{className:"w-full grid grid-cols-3 md:space-x-7",children:[(0,l.jsxs)("div",{className:"col-span-3 md:col-span-2 space-y-7",children:[a.map((e,t)=>(0,l.jsx)("div",{className:"w-full flex justify-between items-center",children:(0,l.jsx)("h1",{className:"text-3xl font-medium leading-8 uppercase",children:e.CategoryName})},t)),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"hidden md:block col-span-2",children:(0,l.jsx)(s.default,{title:k[0].Title,image:k[0].ImagePath,path:k[0].Canonical,externalLink:k[0].Exter
1nalLink,isHighlight:!0,highlightStyle:"py-5 px-9",titleStyle:"!font-medium"})}),(0,l.jsx)("div",{className:"block md:hidden col-span-2",children:(0,l.jsx)(s.default,{title:k[0].Title,image:k[0].ImagePath,path:k[0].Canonical,externalLink:k[0].ExternalLink,titleStyle:"!text-base"})})]}),b.map((e,t)=>(0,l.jsx)("div",{className:"col-span-2 md:col-span-1",children:(0,l.jsx)(s.default,{title:e.Title,image:e.ImagePath,path:e.Canonical,externalLink:e.ExternalLink,titleStyle:"!text-base"})},t))]}),N&&(0,l.jsx)("div",{children:(0,l.jsxs)("button",{onClick:()=>F(),className:"flex items-center gap-4 mx-auto py-1 italic px-4 text-[#C4151C] border border-[#C4151C] disabled:opacity-50 text-justify rounded-sm",disabled:E,children:[E?f.loading:f.viewMore,(0,l.jsx)(o.default,{src:"/svgs/muiten.svg",alt:"mũi t\xean",width:16,height:16})]})})]}),(0,l.jsxs)("div",{className:"col-span-3 md:col-span-1 flex flex-col space-y-12",children:[(null==x?void 0:x.categoryMenu)&&(null==x?void 0:x.categoryMenu.length)>0&&(0,l.jsx)(p.default,{data:null==x?void 0:x.categoryMenu,portalId:null==x?void 0:x.portalId,selectedCategoryId:null==x?void 0:x.categoryId}),h&&(0,l.jsx)(d.A,{data:h}),x.notificationData&&(0,l.jsx)(c.A,{data:x.notificationData}),u&&(null==u?void 0:u.ListBanner)&&(null==u?void 0:u.ListBanner.length)>0&&(0,l.jsxs)("div",{className:"w-full mt-12",children:[(0,l.jsx)("span",{className:"text-2xl text-[#60585C] font-semibold mb-8"}),(0,l.jsx)(g.default,{bannerData:u})]})]})]})})}},69205:(e,t,a)=>{"use strict";a.d(t,{default:()=>p});var l=a(95155),i=a(76126),o=a(5565),r=a(12115),n=a(75828);let s=(0,n.createServerReference)("706d61a270b4c88ae301c2df76a2034411e27f55be",n.callServer,void 0,n.findSourceMapURL,"getCategoryMU"),d=(0,n.createServerReference)("7871677e9e7a5a7953cfd7963a34002f868b4fb137",n.callServer,void 0,n.findSourceMapURL,"loadMoreCategoryMU");var c=a(98815),m=a(95850),g=a(96371);let p=e=>{var t,a,n;let{data:p,initialData:x}=e,h=null!==(n=c.x.find(e=>e.portalId===(null==x?void 0:x.portalId)))&&void 0!==n?n:c.x[0],f=[{value:"",label:null==h?void 0:h.selectAllMemberUnit},...(null==x?void 0:null===(t=x.memberUnit)||void 0===t?void 0:t.map(e=>({value:e.Id,label:e.MemberName})))||[]],[u,b]=(0,r.useState)(x.listCategory||[]),[v,w]=(0,r.useState)(0),[y,j]=(0,r.useState)({pageIndex:x.pageIndex||1,pageSize:x.pageSize||15,hasMore:(null===(a=x.listCategory)||void 0===a?void 0:a.length)===(x.pageSize||15)}),[N,C]=(0,r.useState)(!1),k=(0,r.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!N&&(y.hasMore||t)){C(!0);try{let a;(a=t?await s(x.categoryId,y.pageSize,e):await d(x.categoryId,y.pageIndex,y.pageSize,e))&&(b(e=>t?a.listCategory:[...e,...a.listCategory]),j({pageIndex:a.pageIndex,pageSize:y.pageSize,hasMore:a.hasMore}))}catch(e){console.error("Error fetching categories:",e)}finally{C(!1)}}},[N,y,x.categoryId]);return(0,l.jsx)(i.A,{className:"py-10 min-h-svh",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"space-y-7",children:[(0,l.jsxs)("div",{className:"w-full grid grid-cols-3 gap-6",children:[p.map((e,t)=>(0,l.jsx)("h1",{className:"text-2xl lg:text-3xl font-medium leading-6 uppercase col-span-3 md:col-span-2",children:e.CategoryName},t)),(0,l.jsx)("div",{className:"col-span-3 md:col-span-1",children:(0,l.jsx)(m.A,{name:"memberUnit",value:v,onChange:e=>{let t=Number(e.target.value);b([]),w(t),k(t,!0)},options:f,placeholder:h.memberUnitPlaceholder})})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:u.map((e,t)=>(0,l.jsx)("div",{className:"border overflow-hidden shadow-md bg-[#F8F8F8]",children:(0,l.jsx)(g.default,{externalLink:e.ExternalLink,title:e.Title,image:e.ImagePath,path:e.Canonical,date:e.PublishedDate,memberName:e.MemberName,memberThumbnail:e.MemberThumbnail,memberDomain:e.MemberDomain,member:!0,titleStyle:"!text-base"})},t))}),y.hasMore&&(0,l.jsx)("div",{children:(0,l.jsxs)("button",{onClick:()=>{k(v)},className:"flex items-center gap-4 mx-auto py-1 italic px-4 text-[#C4151C] border border-[#C4151C] disabled:opacity-50 text-justify rounded-sm",disabled:N,children:[N?h.loading:h.viewMore,(0,l.jsx)(o.default,{src:"/svgs
1/muiten.svg",alt:"mũi t\xean",width:16,height:16})]})})]})})})}},27242:(e,t,a)=>{"use strict";a.d(t,{default:()=>I});var l=a(95155),i=a(58803),o=a.n(i),r=a(76126),n=a(95446),s=a(333),d=a(98815);let c=e=>{var t;let{date:a,showDayOfWeek:i=!0,showDate:o=!0,dateFormat:r="dd-MM-yyyy",className:n,portalId:c=0}=e,m=null!==(t=d.x.find(e=>e.portalId===c))&&void 0!==t?t:d.x[0],g=!a||isNaN(new Date(a).getTime())?new Date:new Date(a),p=(0,s.GP)(g,r),x=(0,s.GP)(g,"EEEE"),h=m.daysOfWeek[x];return(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[i&&(0,l.jsx)("span",{className:n,children:h}),o&&(0,l.jsx)("span",{className:n,children:p})]})};var m=a(90086),g=a(32532),p=a(12115),x=a(51142),h=a(32966),f=a(23101),u=a(3827),b=a(90729);let v=e=>{var t;let{data:a,portalId:i}=e,o=null!==(t=d.x.find(e=>e.portalId===i))&&void 0!==t?t:d.x[0];return(0,l.jsxs)("div",{className:"w-full border-[1px] rounded-lg p-4 relative",children:[(0,l.jsx)("h3",{className:"uppercase font-bold text-lg bg-white absolute top-0 left-4 transform -translate-y-1/2 px-2",children:o.mayInterested}),(0,l.jsx)("ul",{className:"list-none m-0 pt-4",children:a.map((e,t)=>(0,l.jsx)("li",{className:"relative py-2 pl-6 pr-3 before:content-[''] before:absolute before:left-[3px] before:top-[15px] before:w-2 before:h-2 before:rounded-full before:border-2 before:border-orange-500",children:(0,l.jsx)(f.X,{href:e.Canonical,title:e.Title,className:"text-[#60585C] leading-snug hover:text-[#0b702c] font-normal text-[1rem]",children:e.Title})},t))})]})};a(12884);var w=a(43789),y=a(46359),j=a(78577),N=a(6306);let C=()=>(0,l.jsx)("div",{className:"mt-8 pb-4 border-b-2 border-gray-300",children:(0,l.jsxs)("div",{className:"animate-pulse flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"h-4 w-4 bg-gray-200 rounded"}),(0,l.jsx)("div",{className:"h-4 w-24 bg-gray-200 rounded"}),(0,l.jsx)("div",{className:"h-4 w-4 bg-gray-200 rounded"}),(0,l.jsx)("div",{className:"h-4 w-32 bg-gray-200 rounded"})]})}),k=()=>(0,l.jsxs)("div",{className:"space-y-7 animate-pulse",children:[(0,l.jsx)("div",{className:"h-9 bg-gray-200 rounded w-3/4"}),(0,l.jsx)("div",{className:"h-6 bg-gray-200 rounded w-2/3 mt-8"}),(0,l.jsxs)("div",{className:"space-y-4 mt-10",children:[(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-full"}),(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-5/6"}),(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-4/6"}),(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-full"})]}),(0,l.jsx)("div",{className:"text-end mt-10",children:(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-32 ml-auto"})})]}),S=()=>(0,l.jsxs)("div",{className:"flex items-center p-4 w-full animate-pulse",children:[(0,l.jsx)("div",{className:"w-[60px] h-[60px] bg-gray-200 rounded-full"}),(0,l.jsx)("div",{className:"relative flex-1 ml-4",children:(0,l.jsx)("div",{className:"w-full h-14 bg-gray-200 rounded-lg"})})]}),E=()=>(0,l.jsxs)("div",{className:"mt-20 space-y-12 animate-pulse",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"h-8 bg-gray-200 rounded w-24 mb-10"}),(0,l.jsx)("div",{className:"flex space-x-8",children:[1,2,3,4].map(e=>(0,l.jsx)("div",{className:"h-8 w-8 bg-gray-200 rounded"},e))})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"h-8 bg-gray-200 rounded w-48 mb-10"}),[1,2,3].map(e=>(0,l.jsxs)("div",{className:"flex items-start mt-6",children:[(0,l.jsx)("div",{className:"w-36 h-24 bg-gray-200 rounded"}),(0,l.jsxs)("div",{className:"ml-4 flex-grow",children:[(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-24 mb-3"}),(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded w-full"})]})]},e))]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"h-8 bg-gray-200 rounded w-32 mb-8"}),[1,2,3].map(e=>(0,l.jsx)("div",{className:"h-12 bg-gray-200 rounded mb-3"},e))]}),(0,l.jsxs)("div",{className:"bg-[#F8F8F8] p-4",children:[(0,l.jsx)("div",{className:"h-8 bg-gray-200 rounded w-32 mb-4"}),[1,2,3].map(e=>(0,l.jsxs)("div",{className:"flex items-center gap-2 mb-3 p-3",children:[(0,l.jsx)("div",{className:"w-2 h-2 bg-gray-200 rounded-full"}),(0,l.jsx)("div",{className:"h-4 bg-gray-200 rounded flex-grow"})]},e))]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"h-8 bg-gray-200 rounded w-32 mb-8"}),[1,2].map(e=>(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"h-48 bg-gray-200 rounded mb-2"}),(0,l.jsx)("div",{className:"h-16 bg-gray-200 rounded mb-8"})]},e))]})]}),I=e=>{var t,a,i,s,I,L,P;let{data:z,breadcrumb:F,eventNewsData:T,initialData:_}=e,D=null!==(P=d.x.find(e=>e.portalId===(null==_?void 0:_.portalId)))&&void 0!==P?P:d.x[0],M=null==_?void 0:_.imageBanners,A=(0,j.P1)(null===(t=z[0])||void 0===t?void 0:t.KeyWordsSEO),R=(e=>{if(!e||"string"!=typeof e)return e;try{return e.replace(/(<table[^>]*class=["'][^>]*imgEditor[^>]*>[\s\S]*?<tr[^>]*class=["'][^>]*alt_imgEditor[^>]*>[\s\S]*?)<td[^>]*>[\s\n\t]*<\/td>/gi,"$1<td></td>")}catch(t){return console.error("Error cleaning content:",t),e}})((null==_?void 0:null===(a=_.data)||void 0===a?void 0:a.Content)||"");return(0,l.jsxs)(l.Fragment,{children:[(null==_?void 0:null===(i=_.data)||void 0===i?void 0:i.SourceInfo)!=w.g6.Longform&&(0,l.jsx)(r.A,{className:"px-6 py-10",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-5 lg:gap-10 mb-20",children:[(0,l.jsxs)("div",{className:"md:col-span-2 space-y-7 w-full detail-post",children:[(0,l.jsx)(p.Suspense,{fallback:(0,l.jsx)(C,{}),children:(0,l.jsxs)("div",{className:"text-sm text-gray-700 flex items-center space-x-2 border-b-2 border-gray-300 pb-4 flex-wrap",children:[(0,l.jsx)("span",{className:"text-orange-500",children:(0,l.jsx)(n.I,{name:"uit:calender",className:"text-base"})}),z.map(e=>(0,l.jsx)("span",{className:"text-[#60585c80]",children:(0,l.jsx)(c,{date:e.PublishedDate,showDate:!0,showDayOfWeek:!0,portalId:null==_?void 0:_.portalId})},e.NewId)),(0,l.jsx)("span",{className:"text-[#60585c80] max-sm:hidden block",children:"|"}),F.map((e,t)=>{let a=t===F.length-1,i=1===F.length;return(0,l.jsx)("span",{className:"text-[#60585c80] ".concat(a?"":"mr-2"),children:e.TabPath?(0,l.jsxs)(f.X,{href:e.TabPath,title:e.CategoryName,className:"".concat(a||i?"text-[#038141] font-medium":"text-[#60585c80] flex items-center gap-1"," font-medium"),externalLink:null==e?void 0:e.ExternalLink,children:[e.CategoryName,!a&&!i&&(0,l.jsx)(n.I,{width:16,height:16,name:"ri:arrow-right-double-fill",className:"text-base"})]}):(0,l.jsxs)("span",{className:"".concat(a||i?"text-[#038141] font-medium":"text-[#60585c80]"," font-medium"),children:[e.CategoryName,!a&&!i&&(0,l.jsx)(n.I,{width:16,height:16,name:"ri:arrow-right-double-fill",className:"text-base"})]})},t)})]})}),(0,l.jsx)(p.Suspense,{fallback:(0,l.jsx)(k,{}),children:z.map(e=>(0,l.jsxs)("div",{className:"w-full main-content",children:[(0,l.jsx)("h1",{className:"text-[#038141] leading-[1.4] font-bold post-title",children:e.Title}),(0,l.jsx)("div",{className:"summary-detail",children:(0,l.jsx)("h2",{className:"leading-[1.4] text-[#222] post-summary font-semibold",children:e.Summary})}),(0,l.jsx)("div",{className:"text-[#60585C] mt-10 mb-4 !w-full h-auto responsive-iframe content-scale post-content",children:(0,l.jsx)("div",{itemProp:"articleBody",className:"article-body",dangerouslySetInnerHTML:{__html:R}})}),(0,l.jsx)("div",{className:"text-end mt-10 mb-20 font-bold text-[#60585C]",children:(0,l.jsx)("span",{children:[e.SendName,e.ArticleSource].filter(
1Boolean).join(" - ")})}),Array.isArray(A)&&A.length>0&&(0,l.jsxs)("div",{className:"w-full flex my-10 items-center gap-4",children:[(0,l.jsx)(n.I,{name:"double-tags",className:"text-xl flex-shrink-0 mt-1"}),(0,l.jsx)("div",{className:"flex flex-wrap gap-x-2 gap-y-2 flex-1",children:A.map((e,t)=>(0,l.jsxs)(f.X,{href:"/search?keywords=".concat(encodeURI(e)),title:e,className:"border-[1px] border-gray-300 text-gray-600 text-sm px-2 py-1 rounded-sm transition-colors duration-200 hover:border-blue-500 hover:text-blue-500",externalLink:null==e?void 0:e.ExternalLink,children:["#",e]},t))})]})]},e.NewId))}),(0,l.jsxs)("div",{className:"w-full flex flex-col gap-y-20 mb-10",children:[(null==_?void 0:_.listComment)&&(null==_?void 0:_.listComment.length)>0&&(0,l.jsx)(y.default,{data:null==_?void 0:_.listComment,portalId:null==_?void 0:_.portalId,itemId:(null==_?void 0:null===(s=_.data)||void 0===s?void 0:s.NewId)||0,type:w.ej.NEWS}),(0,l.jsx)(p.Suspense,{fallback:(0,l.jsx)(S,{}),children:z.map((e,t)=>(0,l.jsx)(u.default,{portalId:null==_?void 0:_.portalId,type:w.ej.NEWS,itemId:e.NewId},t))}),(null==_?void 0:_.relatedNews)&&(null==_?void 0:_.relatedNews.length)>0&&(0,l.jsx)(v,{data:null==_?void 0:_.relatedNews,portalId:null==_?void 0:_.portalId})]})]}),(0,l.jsx)(p.Suspense,{fallback:(0,l.jsx)(E,{}),children:(0,l.jsxs)("div",{className:"md:col-span-1 space-y-7",children:[(0,l.jsxs)("div",{className:"text-2xl text-[#60585C] font-semibold mb-7",children:[D.shareLabel,(0,l.jsx)(m.default,{id:(null==_?void 0:null===(I=_.data)||void 0===I?void 0:I.NewId)||0,iconsToShow:"all",className:"flex space-x-8 items-center w-full mt-2"})]}),(null==_?void 0:_.categoryMenu)&&(null==_?void 0:_.categoryMenu.length)>0&&(0,l.jsx)(N.default,{data:null==_?void 0:_.categoryMenu,portalId:null==_?void 0:_.portalId,selectedCategoryId:null==_?void 0:_.categoryId}),z.some(e=>{var t;return(null===(t=e.RelativeNews)||void 0===t?void 0:t.length)>0})&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-2xl text-[#60585C] font-semibold",children:D.relatedArticlesLabel}),(0,l.jsx)("div",{className:"mt-5",children:z.map(e=>e.RelativeNews.map((e,t)=>(0,l.jsx)(f.X,{href:"".concat(e.Canonical),title:e.Title,externalLink:null==e?void 0:e.ExternalLink,children:(0,l.jsxs)("div",{className:"flex items-start mt-6",children:[(0,l.jsx)(g.default,{src:e.ImagePath,alt:e.Title,className:"w-36 aspect-[3/2] object-cover flex-shrink-0",useFallback:!0,loading:"lazy"}),(0,l.jsxs)("div",{className:"flex flex-col justify-between flex-grow ml-4",children:[(0,l.jsxs)("span",{className:"flex gap-4 text-[#60585C] text-xs font-light items-center mb-3",children:[(0,l.jsx)(n.I,{name:"uit:calender",className:"text-orange-500 text-xs"}),(0,l.jsx)(c,{date:e.PublishedDate,showDate:!0,showDayOfWeek:!1,portalId:null==_?void 0:_.portalId})]}),(0,l.jsx)("h3",{className:"text-sm font-medium text-[#60585C] leading-[1.4]",children:e.Title})]})]})},t)))})]})}),T&&(0,l.jsx)(x.A,{data:T}),_.notificationData&&(0,l.jsx)(h.A,{data:_.notificationData}),M&&(null==M?void 0:M.ListBanner)&&(null==M?void 0:M.ListBanner.length)>0&&(0,l.jsxs)("div",{className:"w-full mt-12",children:[(0,l.jsx)("span",{className:"text-2xl text-[#60585C] font-semibold mb-8"}),(0,l.jsx)(b.default,{bannerData:M})]})]})})]})}),(null==_?void 0:null===(L=_.data)||void 0===L?void 0:L.SourceInfo)==w.g6.Longform&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:"grid grid-cols-1",children:(0,l.jsxs)("div",{className:"jsx-7ad56b420c26dca7 detail-post",children:[(0,l.jsx)("div",{className:"jsx-7ad56b420c26dca7 text-[#60585C] mb-7",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:R},className:"jsx-7ad56b420c26dca7 text-[#60585C] !w-full h-auto responsive-iframe content-scale post-content"})}),(0,l.jsx)(o(),{id:"7ad56b420c26dca7",children:'@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;500;700&display=swap");#Body{overflow:visible}.post-news-comment,.related-article.lf{width:100%;max-width:700px;margin:0 auto 20px}.detail-post .longform-container{position:relative;float:left;width:100%;font-family:"Noto Serif"}.detail-post .longform-container h3.full-picture{width:100%;text-align:center;min-height:60px;clear:both}.detail-post .longform-container table.imgEditor[align=right]{float:right!important}.detail-post .longform-container table.imgEditor[align=center]{max-width:unset!important;width:auto;margin-bottom:16px!important}.detail-post .longform-container table.imgEditor[align=center] img.imgtelerik{width:auto!important;height:auto!important;margin-bottom:0;max-width:100%}.detail-post .longform-container table.imgEditor tr.alt_imgEditor{padding:0!important}.detail-post .longform-container table.imgEditor tr.alt_imgEditor td{padding:10px 0 0!important}.detail-post .longform-container h2,.detail-post .longform-container p:not(.full-img){max-width:700px!important;width:100%;margin:0 auto!important;font-size:18px;float:none;padding:0!important;margin-bottom:18px!important;font-family:"Noto Serif"!important}.detail-post .longform-container h2 strong,.detail-post .longform-container h2 strong *{font-size:18px;line-height:1.5}.detail-post .longform-container h2 strong:after{content:""!important;
1width:200px;height:1px;display:block;background:#000;margin:20px auto}.detail-post .longform-container p *{font-size:inherit;font-family:"Noto Serif"!important}.detail-post .longform-container p iframe{max-width:100%}.detail-post .longform-container table.imgEditor video{max-width:100%}.detail-post .longform-container table{max-width:100%;width:100%;position:relative;border:none}.detail-post .longform-container .left-picture{width:700px!important;max-width:700px!important;margin:0 auto!important;min-height:10px!important;position:relative;font-size:18px}.detail-post .longform-container .left-picture table{float:left!important;margin:0 10px 16px!important;max-width:unset!important;width:auto;border:none}.detail-post .longform-container .left-picture table tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=left] tr.alt_imgEditor td{width:480px;float:left;text-align:center;margin-left:-150px}.detail-post .longform-container .left-picture img.imgtelerik,.detail-post .longform-container .left-picture table.imgEditor[align=left] img.imgtelerik{float:left;width:auto;max-width:480px!important;margin:14px 15px 0 0!important;margin-left:-150px!important;height:auto!important}.detail-post .longform-container .left-picture table.imgEditor[align=right] img.imgtelerik{width:auto!important;height:auto!important;max-width:480px!important;float:right;margin:14px 15px 0 0!important;margin-right:-150px!important}.detail-post .longform-container .right-picture{width:700px!important;max-width:700px!important;margin:0 auto!important;min-height:10px!important;position:relative;font-size:18px}.detail-post .longform-container .right-picture table,.detail-post .longform-container .right-picture table[align=center]{float:right!important;margin:0 10px 16px!important;max-width:unset!important;width:auto}.detail-post .longform-container .right-picture img.imgtelerik,.detail-post .longform-container .right-picture table.imgEditor[align=right] img.imgtelerik{float:right;width:auto;max-width:480px!important;margin:16px 15px 10px 0!important;margin-right:-150px!important;height:auto!important}.detail-post .longform-container .right-picture table.imgEditor[align=left] img.imgtelerik{width:auto!important;height:auto!important;max-width:480px!important;float:left;margin:16px 15px 0 0!important;margin-left:-150px!important}.detail-post .longform-container .right-picture table.imgEditor[align=left]{float:left!important}.detail-post .longform-container .right-picture table tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=right] tr.alt_imgEditor td{width:480px;float:right;text-align:center;margin-right:-150px}.longform-content .article-thumbnail .title-cate{padding:10px 15px}.longform-content .box-title .item-title{font-family:var(--main-font);font-weight:600;font-size:19px}.longform-content .hnoneview{margin-top:-50px}.longform-content .tacgia{text-align:center!important;width:auto;padding-top:20px!important;font-size:16px;font-family:"Noto Serif"!important;position:relative;margin:0 auto;color:#666;padding-bottom:6px!important}.longform-content .tacgia:before{content:"";display:block;width:120px;height:1px;background:#bababa;left:-webkit-calc(50% - 60px);left:-moz-calc(50% - 60px);left:calc(50% - 60px);position:absolute;top:0}.longform-content .pubdate{text-align:center!important;width:auto;font-size:14px;font-family:"Noto Serif"!important;position:relative;margin:0 auto;color:#969696;padding-bottom:20px}.longform-content .longform-pin{margin-top:16px;margin-bottom:20px;padding:16px 0;padding-bottom:20px;background:-webkit-linear-gradient(left,#d83b3b,#a42e1b,#750078,#4d468f,#008cff,transparent);background:-moz-linear-gradient(left,#d83b3b,#a42e1b,#750078,#4d468f,#008cff,transparent);background:-o-linear-gradient(left,#d83b3b,#a42e1b,#750078,#4d468f,#008cff,transparent);background:linear-gradient(90deg,#d83b3b,#a42e1b,#750078,#4d468f,#008cff,transparent);position:relative;font-family:UTM-Bebas;display:block;text-align:center}.longform-content a.titname-cap2{font-size:60px;color:#fff;text-align:center;font-family:UTM-Bebas;display:block;margin:0;line-height:60px;position:relative}.longform-content .top-news-cap2 .h3.i-title{text-align:left}.longform-content .top-news-cap2 .h3.i-title a{font-family:"Noto Serif";font-size:24px;color:#444;line-height:1.2;text-align:left}.longform-content .box-subnews .i-subcontent{border:none;padding:0;height:auto!important;overflow:unset!important}.longform-content .box-subnews .i-subcontent .subnews-item{position:relative;padding-bottom:0;margin-bottom:20px;overflow:hidden;border:none}.longform-content .box-subnews .i-subcontent .subnews-item:hover img{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}.longform-content .box-subnews .i-subcontent .subnews-item img{margin-bottom:0;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.longform-content .box-subnews .i-subcontent .subnews-item a{font-family:"Noto Serif";color:#fff;position:absolute;bottom:0;left:0;display:block;font-size:16px;width:100%;padding:30px 10px 10px;background:-webkit-linear-gradient(bottom,#000c,#000,transparent);background:-moz-linear-gradient(bottom,#000c,#000,transparent);background:-o-linear-gradient(bottom,#000c,#000,transparent);background:linear-gradient(0deg,#000c,#000,transparent)}.longform-content .container.pagethree{margin-bottom:20px}.longform-content .container.pagethree .contentCategory{float:left;width:100%;margin-bottom:20px;padding-bottom:0}.longform-content .container.pagethree .contentCategory img{max-width:100%;float:left;margin-right:16px;-webkit-transition:all ease-in-out.2s;-moz-transition:all ease-in-out.2s;-o-transition:all ease-in-out.2s;transition:all ease-in-out.2s;display:block}.longform-content .container.pagethree .contentCategory .divimg{float:left;max-width:50%;overflow:hidden}.longform-content .container.pagethree .contentCategory:hover .divimg img{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}.longform-content .container.pagethree .contentCategory .h3cate{font-family:"Noto Serif";color:#444;margin:0}.longform-content .container.pagethree .contentCategory .i-date{font-family:"Noto Serif";color:#888}.detail-post .longform-container p.up-first-letter:first-letter{font-size:270%;line-height:100%;display:block;float:left;margin-right:9px;color:inherit!important;font-weight:700}.detail-post .longform-container p span.up-first-letter{display:block;position:relative}.detail-post .longform-container p span.up-first-letter:first-letter{font-size:270%;line-height:100%;display:block;float:left;margin-right:9px;color:inherit!important;font-weight:700}.detail-post .longform-container .left-picture table tr.dbox-control{position:absolute;top:19px;background:#ffffffa8;right:18px;width:480px}.detail-post .longform-container .left-picture table tr.dbox-control td{display:inline-block;margin:0 auto}.detail-post .longform-container .right-picture table tr.dbox-control{position:absolute;top:21px;background:#ffffffa8;left:3px;width:480px}.detail-post .longform-container .right-picture table.imgEditor[align=left] tr.dbox-control{position:absolute;top:21px;background:#ffffffa8;left:3px;width:480px;margin-left:-150px}.detail-post .longform-container .left-picture table.imgEditor[align=right] tr.dbox-control{position:absolute;top:19px;background:#ffffffa8;left:3px;width:480px}.detail-post .longform-container .right-picture table tr.dbox-control td{display:inline-block;margin:0 auto}.grid-longform{display:grid;grid-template-columns:1fr 2fr 1fr;gap:2px;margin-bottom:30px}.grid-longform .box-title{padding:10px;padding-top:0}.grid-longform .box-title .i-summary{font-family:var(--main-font);font-size:14px}.style-grid{position:relative}.style-grid .block-longform{position:absolute;background:#c00;width:1e3px;
1height:400px;right:-15px;bottom:114px;z-index:1;font-size:43px;padding:30px 40px}.style-grid .block-longform a{font-family:"AnTon";color:#fff;text-transform:uppercase}.list-longform{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-top:150px;background:#fff;position:relative;z-index:1}.list-longform article{z-index:2}.list-longform .title-publish-date{padding:10px}.list-longform .title-publish-date .h3cate{font-size:18px;font-family:var(--main-font);font-weight:600}.grid-image{display:grid;grid-template-columns:380px -webkit-calc(100% - 400px);grid-template-columns:380px -moz-calc(100% - 400px);grid-template-columns:380px calc(100% - 400px);gap:20px;margin-top:50px}.grid-image .main-content{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-bottom:30px}.grid-image article{margin-bottom:30px}.grid-image .box-title{padding:10px;padding-top:0}.lastest-content{margin-bottom:50px}.detail-post .longform-container .img-left{float:left;max-width:30%;margin-left:20%}.detail-post .longform-container .img-left img,.detail-post .longform-container .img-right img,.detail-post .longform-container .center-img img{width:auto!important;height:auto!important}.detail-post .longform-container .img-right{float:right;max-width:30%;margin-right:20%}.article-body{margin-bottom:20px}.article-body>h1{text-align:center;margin-bottom:10px;font-family:"Roboto"}.cuadientu{width:100%;max-width:700px;margin:0 auto 20px}.detail-post{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}@media(max-width:1024px){.detail-post .longform-container .left-picture table.imgEditor[align=right] img.imgtelerik{margin-right:-40px!important;max-width:400px!important}.detail-post .longform-container .left-picture img.imgtelerik,.detail-post .longform-container .left-picture table.imgEditor[align=left] img.imgtelerik{margin-left:-40px!important;max-width:400px!important}.detail-post .longform-container .right-picture table tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=right] tr.alt_imgEditor td{width:400px!important;margin-right:-40px}.detail-post .longform-container .left-picture table tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=left] tr.alt_imgEditor td{width:400px!important;margin-left:-40px}}@media(max-width:991px){.style-grid .block-longform{text-align:center;bottom:20px;right:-120px}.grid-image{grid-template-columns:100%}.article-body{}}@media(max-width:768px){.style-grid .block-longform{display:none}.cuadientu{padding:0 15px}.related-article.pagethree.list-news.lf{padding:0 15px}.post-news-comment{width:94%}.list-longform{margin-top:0}}@media(max-width:767px){.grid-longform{grid-template-columns:1fr 1fr 1fr}.detail-post .longform-container table.imgEditor[align=center]{max-width:100%!important;width:100%!important;margin:0px 0px 30px!important}.longform-content .box-subnews .i-subcontent .subnews-item{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:top;-webkit-align-items:top;-moz-box-align:top;-ms-flex-align:top;align-items:top}.longform-content .box-subnews .i-subcontent .subnews-item img{max-width:50%;float:left;margin-right:10px}.longform-content .box-subnews .i-subcontent .subnews-item a{position:relative;background:unset;color:#333;padding:0}.detail-post .longform-container p:not(.full-img){padding:0 30px!important}.detail-post .longform-container .left-picture,.detail-post .longform-container .right-picture{float:none;width:100%!important}.detail-post .longform-container .left-picture table,.detail-post .longform-container .right-picture table{float:none!important;width:100%;margin:0 0 30px!important}.detail-post .longform-container .left-picture .imgEditor img.imgtelerik,.detail-post .longform-container .left-picture table.imgEditor[align=left] img.imgtelerik,.detail-post .longform-container .left-picture table.imgEditor[align=right] img.imgtelerik,.detail-post .longform-container .right-picture img.imgtelerik,.detail-post .longform-container .right-picture table.imgEditor[align=left] img.imgtelerik,.detail-post .longform-container table.imgEditor[align=center] img.imgtelerik{margin:0 auto!important;float:none;width:100%!important;max-width:100%!important}.detail-post .longform-container .left-picture table tr.alt_imgEditor td,.detail-post .longform-container .right-picture table tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=left] tr.alt_imgEditor td,.detail-post .longform-container table.imgEditor[align=right] tr.alt_imgEditor td{float:none}}@media(max-width:640px){.grid-image .main-content{grid-template-columns:1fr 1fr}.grid-2column{grid-template-columns:1fr 1fr}.ex_page{grid-column:span 2}}@media(max-width:568px){.grid-1column{grid-template-columns:1fr}.detail-post{padding:0 15px}.detail-post{padding:0px!important}}@media(max-width:425px){.list-longform{}}'})]})})})]})}},51142:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var l=a(95155);a(12115);var i=a(95446),o=a(23101);let r=e=>{let{data:t}=e;return t.map((e,t)=>(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(o.X,{href:(null==e?void 0:e.TabPath)||"/",title:e.CategoryName,className:"text-2xl text-[#60585C] font-semibold mb-8",children:e.CategoryName}),(0,l.jsx)("ul",{className:"list-none",children:e.ListNews.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsxs)(o.X,{href:e.Canonical,title:e.Title,externalLink:null==e?void 0:e.ExternalLink,className:"flex items-center text-[#60585C] font-normal mb-3 bg-[#FAF9FF] p-3",children:[(0,l.jsx)(i.I,{name:"mynaui:star",width:13,height:13,className:"text-orange-500 flex-shrink-0"}),(0,l.jsx)("span",{className:"ml-4",children:e.Title})]})},t))})]},t))}},32966:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var l=a(95155);a(12115);var i=a(23101);let o=e=>{let{data:t}=e;return t.map((e,t)=>(0,l.jsxs)("div",{className:"w-full bg-[#F8F8F8] py-5 px-4 space-y-5",children:[(0,l.jsx)(i.X,{href:e.TabPath||"/",title:e.CategoryName,className:"mb-1 text-2xl text-[#60585C] font-medium hover:text-[#0b702c]",children:e.CategoryName}),(0,l.jsx)("ul",{className:"list-none m-0",children:e.ListNews.map((e,t)=>(0,l.jsx)("li",{className:"relative py-2 pl-6 pr-3 before:content-[''] before:absolute before:left-[3px] before:top-[15px] before:w-2 before:h-2 before:rounded-full before:border-2 before:border-orange-500",children:(0,l.jsx)(i.X,{href:e.Canonical,title:e.Title,externalLink:null==e?void 0:e.ExternalLink,className:"text-[#60585C] leading-snug hover:text-[#0b702c] font-normal text-[1rem] transition-all duration-300",children:e.Title})},t))})]},t))}},95850:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var l=a(95155),i=a(12115),o=a(95446);let r=e=>{let{options:t,value:a,onChange:r,placeholder:n,name:s,label:d,required:c,width:m="w-full"}=e,[g,p]=(0,i.useState)(!1),[x,h]=(0,i.useState)(""),f=(0,i.useRef)(null),u=(0,i.useRef)(null),b=t.filter(e=>e.label.toLowerCase().includes(x.toLowerCase())),v=t.find(e=>e.value===a);return(0,i.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,i.useEffect)(()=>{g?(h(""),u.current&&u.current.focus()):(h(""),u.current&&(u.current.value=""===a?"":(null==v?void 0:v.label)||""))},[g,v,a]),(0,l.jsxs)("div",{className:"relative ".concat(m),ref:f,children:[d&&(0,l.jsxs)("label",{className:"text-sm font-medium text-gray-700 mb-1 block",children:[d," ",c&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:u,type:"text",className:"w-full px-2 py-2 pr-8 border rounded text-sm text-gray-700 focus:outline-none focus:border-blue-500",placeholder:n,onClick:()=>p(!0),onChange:e=>{h(e.target.value),p(!0)},defaultValue:""===a?"":(null==v?void 0:v.label)||""}),(0,l.jsx)(o.I,{name:"material-symbols:search-rounded",className:"absolute right-2 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400 pointer-events-none"})]}),g&&(0,l.jsx)("div",{className:"absolute z-10 w-full mt-1 bg-white border rounded shadow-lg",children:(0,l.jsxs)("div",{className:"max-h-60 overflow-auto",children:[b.map(e=>(0,l.jsx)("div",{className:"px-2 py-2 text-sm cursor-pointer hover:bg-gray-100 ".concat(a===e.value?"bg-blue-50 text-blue-600":""),onClick:()=>{r({target:{name:s,value:e.value}}),u.current&&(u.current.value=""===e.value?"":e.label),p(!1)},children:e.label},e.value)),0===b.length&&(0,l.jsx)("div",{className:"px-2 py-2 text-sm text-gray-500",children:"Kh\xf4ng t\xecm thấy kết quả"})]})})]})}},90086:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(95155),i=a(12115),o=a(5565),r=a(48173),n=a.n(r),s=a(95446);function d(e){let{id:t}=e;return(0,l.jsx)("button",{onClick:()=>{let e=window.open("/preview/news/".concat(t),"_blank","width=800,height=600");e&&e.focus()},className:"p-1 bg-[#038141] text-white hover:bg-[#006331] rounded-full",children:(0,l.jsx)(s.I,{name:"material-symbols:print-outline-rounded"})})}let c=[{ImagePath:"/svgs/facebook.svg",name:"Facebook"},{ImagePath:"/svgs/zalo.svg",name:"Zalo"}],m=e=>{let{iconsToShow:t,className:a,id:r}=e,[s,m]=(0,i.useState)(""),[g,p]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=null;return(async()=>{try{m("".concat(window.location.origin).concat(window.location.pathname));let t=document.createElement("script");t.src="https://sp.zalo.me/plugins/sdk.js?v=2",t.async=!0,e=t;let a=new Promise((t,a)=>{e?(e.onload=()=>t(),e.onerror=()=>a(Error("Failed to load Zalo SDK"))):a(Error("Failed to create script element"))});e&&(document.body.appendChild(e),await a,p(!0),window.ZaloSocialSDK&&window.ZaloSocialSDK.reload())}catch(e){console.error("Error loading Zalo SDK:",e)}})(),()=>{e&&e.parentNode&&e.parentNode.removeChild(e),p(!1)}},[]);let x=async e=>{try{let t="".concat(window.location.origin).concat(window.location.pathname);if("Facebook"===e){let e="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(t)),a=window.open(e,"_blank","width=600,height=400,location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1");
1if(a)a.focus();else throw Error("Popup blocked")}}catch(e){console.error("Sharing failed:",e)}},h=c.filter(e=>"all"===t||e.name.toLowerCase()===t.toLowerCase());return(0,l.jsxs)("div",{className:a,children:[h.map((e,t)=>(0,l.jsx)("div",{className:"inline-block mr-2",children:"Zalo"===e.name?(0,l.jsx)("div",{className:"zalo-share-button cursor-pointer","data-href":s,"data-oaid":"579745863508352884","data-layout":"3","data-color":"blue","data-customize":"true",children:(0,l.jsx)(n(),{href:"#",onClick:e=>{e.preventDefault(),g||console.error("Zalo sharing is still loading. Please try again in a moment.")},children:(0,l.jsx)(o.default,{src:e.ImagePath,alt:"Share on Zalo",width:35,height:35})})}):(0,l.jsx)("div",{onClick:()=>x(e.name),className:"cursor-pointer",role:"button","aria-label":"Share on ".concat(e.name),children:(0,l.jsx)(o.default,{src:e.ImagePath,alt:"Share on ".concat(e.name),width:35,height:35})})},t)),(0,l.jsx)(d,{id:r})]})}},3827:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>p});var l=a(95155),i=a(12115),o=a(5565),r=a(98815),n=a(64112),s=a(75828);let d=(0,s.createServerReference)("4056314ce82a4c0dd583f1af3942eb27c3cfb8aa98",s.callServer,void 0,s.findSourceMapURL,"addComment");var c=a(14046),m=a(2818);let g=(e=>{{var t,a,l;let i=window.__NEXT_DATA__;if(null==i?void 0:null===(l=i.props)||void 0===l?void 0:null===(a=l.pageProps)||void 0===a?void 0:null===(t=a.env)||void 0===t?void 0:t[e])return i.props.pageProps.env[e]}return m.env[e]||""})("NEXT_PUBLIC_RECAPTCHA_SITE_KEY")||"6LdDmnwUAAAAALzeGOivtaMh3TDeXskY0KivDjo5",p=e=>{var t;let{portalId:a,type:s,itemId:m}=e,p=null!==(t=r.x.find(e=>e.portalId===a))&&void 0!==t?t:r.x[0],[x,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)({comment:"",name:"",email:"",address:"",phoneNumber:""}),[b,v]=(0,i.useState)(null),w=e=>{let{name:t,value:a}=e.target;u(e=>({...e,[t]:a}))},y=(0,i.useCallback)(e=>{v(e)},[]),j=async e=>{if(e.preventDefault(),!b){c.oR.warning(p.captchaRequired,{position:"top-right",autoClose:1500,className:"bg-yellow-500 text-white py-2 text-sm w-80"});return}try{let e=await fetch("/api/verify-captcha",{method:"POST",body:JSON.stringify({captcha:b}),headers:{"Content-Type":"application/json"}}),t=await e.text(),a=e.headers.get("content-type");if(!a||!a.includes("application/json"))throw Error("Expected JSON, but received ".concat(a,": ").concat(t));if(!JSON.parse(t).success){c.oR.error("CAPTCHA verification failed",{position:"top-right",autoClose:1500,className:"bg-red-300 text-white py-2 text-sm w-80"});return}let l=await d({itemId:m,content:f.comment,fullName:f.name,email:f.email,phoneNumber:f.phoneNumber,address:f.address,type:s});l.success?(c.oR.success(l.message||"B\xecnh luáºn Ä\xe3 ÄÆ°á»£c th\xeam th\xe0nh c\xf4ng!",{position:"top-right",autoClose:1500,className:"bg-green-300 text-white py-2 text-sm w-80"}),u({comment:"",name:"",email:"",address:"",phoneNumber:""}),h(!1)):c.oR.error(l.error||"Kh\xf4ng thá» th\xeam b\xecnh luáºn!",{position:"top-right",autoClose:1500,className:"bg-red-300 text-white py-2 text-sm w-80"})}catch(e){console.error("Error in handleSubmit:",e),c.oR.error("Ä\xe3 xảy ra lá»i khi gá»i b\xecnh luáºn",{position:"top-right",autoClose:1500,className:"bg-red-500 text-white py-2 text-sm w-80"})}};return(0,l.jsxs)("div",{className:"w-full max-w-full overflow-x-hidden flex items-start mx-auto px-2 sm:px-0 gap-2 sm:gap-4",children:[(0,l.jsx)(o.default,{src:"/svgs/user.svg",alt:"avatar",width:40,height:40,className:"flex-shrink-0 sm:w-[60px] sm:h-[60px]"}),(0,l.jsx)("div",{className:"relative flex-1 min-w-0",children:(0,l.jsxs)("form",{onSubmit:j,children:[(0,l.jsx)("textarea",{name:"comment",value:f.comment,onChange:w,onFocus:()=>h(!0),placeholder:p.commentPlaceholder,required:!0,className:"w-full p-2 border-[1px] border-gray-300 rounded-lg text-gray-500 placeholder-gray-400 focus:outline-none focus:border-blue-500 text-sm sm:text-base box-border resize-y min-h-[100px]"}),(0,l.jsx)("div",{className:"overflow-hidden transition-all duration-500 ease-in-out ".concat(x?"max-h-[28rem]":"max-h-0"),children:(0,l.jsxs)("div",{className:"mt-2 grid grid-cols-2 gap-2",children:[(0,l.jsx)("input",{type:"text",name:"name",value:f.name,onChange:w,placeholder:p.yourName,required:!0,className:"w-full p-2 border-[1px] border-gray-300 rounded-lg text-gray-500 placeholder-gray-400 focus:outline-none focus:border-blue-500 text-sm sm:text-base box-border"}),(0,l.jsx)("input",{type:"email",name:"email",value:f.email,onChange:w,placeholder:p.yourEmail,required:!0,className:"w-full p-2 border-[1px] border-gray-300 rounded-lg text-gray-500 placeholder-gray-400 focus:outline-none focus:border-blue-500 text-sm sm:text-base box-border"}),(0,l.jsx)("input",{type:"text",name:"address",value:f.address,onChange:w,placeholder:p.yourAddress,required:!0,className:"w-full p-2 border-[1px] border-gray-300 rounded-lg text-gray-500 placeholder-gray-400 focus:outline-none focus:border-blue-500 text-sm sm:text-base box-border"}),(0,l.jsx)("input",{type:"text",name:"phoneNumber",value:f.phoneNumber,onChange:w,placeholder:p.yourPhone,required:!0,className:"w-full p-2 border-[1px] border-gray-300 rounded-lg text-gray-500 placeholder-gray-400 focus:outline-none focus:border-blue-500 text-sm sm:text-base box-border"}),(0,l.jsx)("div",{className:"col-span-2 max-w-full overflow-x-auto",children:(0,l.jsx)(n.A,{sitekey:g,onChange:y})}),(0,l.jsx)("button",{type:"submit",disabled:!b,className:"w-fit p-2 sm:p-3 text-white rounded-lg transition-colors text-sm sm:text-base ".concat(b?"bg-blue-500 hover:bg-blue-600":"bg-gray-400 cursor-not-allowed"),children:p.sendComment})]})}
1),!x&&(0,l.jsx)(o.default,{src:"/svgs/send.svg",alt:"send icon",width:16,height:16,className:"absolute right-2 top-2 cursor-pointer sm:w-[20px] sm:h-[20px]"})]})})]})}},81177:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(95155),i=a(12115),o=a(96371),r=a(87081),n=a(37990),s=a(76126),d=a(32532);let c=e=>{let{data:t,cateData:a}=e,[c,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{m(window.innerWidth>=1024)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),t&&0!==t.length?(0,l.jsx)(s.A,{className:"w-full flex flex-col gap-y-4",children:(0,l.jsxs)("div",{className:"w-full flex justify-center items-center flex-col gap-y-14",children:[(0,l.jsx)("div",{className:"w-full flex justify-between items-center text-[#60585C] hieudt",children:a.BgImage&&-1!==a.BgImage.indexOf("http")?(0,l.jsx)("h1",{title:a.CategoryName,children:(0,l.jsx)(d.default,{src:a.BgImage,alt:a.CategoryName,width:1280,height:200})}):(0,l.jsx)("h1",{className:"text-2xl lg:text-3xl font-medium leading-6 uppercase",children:a.CategoryName||""})}),(0,l.jsxs)("div",{className:"w-full h-full grid grid-cols-3 gap-5",children:[(0,l.jsx)("div",{className:"col-span-3 lg:col-span-2",children:c?(0,l.jsx)(o.default,{title:t[0].Title,image:t[0].ImagePath,path:t[0].Canonical,externalLink:t[0].ExternalLink,isHighlight:!0,highlightStyle:"py-5 px-9"}):(0,l.jsx)(o.default,{title:t[0].Title,image:t[0].ImagePath,path:t[0].Canonical,externalLink:t[0].ExternalLink,titleStyle:"!text-sm !font-medium",isHighlight:!0,highlightStyle:"py-2 px-6"})}),(0,l.jsx)("div",{className:"gap-5 col-span-3 lg:col-span-1 flex flex-col justify-between",children:null==t?void 0:t.slice(1,3).map((e,t)=>(0,l.jsx)(o.default,{externalLink:e.ExternalLink,title:e.Title,path:e.Canonical,image:e.ImagePath,isHighlight:!0,titleStyle:"!text-sm !font-medium",highlightStyle:"py-2 px-6"},t+1))})]})]})}):(0,l.jsx)(()=>(0,l.jsx)(s.A,{className:"flex flex-col gap-y-20 my-20 ",children:(0,l.jsxs)("div",{className:"w-full flex justify-center items-center flex-col gap-y-16",children:[(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(r.E,{className:"w-full h-11 mx-auto"})}),(0,l.jsxs)("div",{className:"w-full grid grid-cols-12 gap-4",children:[(0,l.jsx)("div",{className:"col-span-12 lg:col-span-8",children:(0,l.jsx)(n.default,{showDescription:!0})}),(0,l.jsxs)("div",{className:"col-span-12 lg:col-span-4 flex flex-col gap-4 justify-between",children:[(0,l.jsx)(n.default,{}),(0,l.jsx)(n.default,{})]})]})]})}),{})}},46359:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>f});var l=a(95155),i=a(12115),o=a(42611),r=a(21567);let n=(0,i.forwardRef)((e,t)=>{let{className:a,...i}=e;return(0,l.jsx)(o.bL,{ref:t,className:(0,r.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...i})});n.displayName=o.bL.displayName;let s=(0,i.forwardRef)((e,t)=>{let{className:a,...i}=e;return(0,l.jsx)(o._V,{ref:t,className:(0,r.cn)("aspect-square h-full w-full",a),...i})});s.displayName=o._V.displayName;let d=(0,i.forwardRef)((e,t)=>{let{className:a,...i}=e;return(0,l.jsx)(o.H4,{ref:t,className:(0,r.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...i})});d.displayName=o.H4.displayName;var c=a(73312),m=a(22130),g=a(78577),p=a(98815),x=a(75828);let h=(0,x.createServerReference)("78b4cdcd1e68519f49f095623e5f6496f2d3c69fc4",x.callServer,void 0,x.findSourceMapURL,"loadMoreComment");function f(e){var t;let{data:a,portalId:o,itemId:r,type:x}=e,f=null!==(t=p.x.find(e=>e.portalId===o))&&void 0!==t?t:p.x[0],[u,b]=(0,i.useState)(a||[]),[v,w]=(0,i.useState)(1),[y]=(0,i.useState)(5),[j,N]=(0,i.useState)(!!a&&a.length===y),[C,k]=(0,i.useState)(!1),S=async()=>{if(!C&&j){k(!0);try{let e=await h(r,x,v,y);e&&(b(t=>[...t,...e.data]),w(e.pageIndex),N(e.hasMore))}catch(e){console.log("Error loading more data:",e)}finally{k(!1)}}};return 0===u.length?(0,l.jsx)("div",{className:"text-center",children:f.noComments}):(0,l.jsxs)("div",{className:"w-full space-y-4",children:[(0,l.jsxs)("h3",{className:"uppercase font-bold text-lg",children:[f.comments,(0,l.jsxs)("span",{className:"text-md font-medium",children:["(",u.length,")"]})]}),u.map(e=>(0,l.jsxs)(m.Zp,{className:"flex gap-4 items-start border-none shadow-none my-4",children:[(0,l.jsxs)(n,{className:"w-16 h-16",children:[(0,l.jsx)(s,{src:e.Avatar||"",alt:e.FullName}),(0,l.jsx)(d,{children:e.FullName[0]})]}),(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsxs)(m.aR,{className:"flex flex-row items-center gap-4 w-full",children:[(0,l.jsx)("p",{className:"font-semibold",children:e.FullName}),e.CreateDate&&(0,l.jsx)("p",{className:"text-sm text-muted-foreground ml-auto",children:(0,g.Yq)(e.CreateDate)})]}),(0,l.jsx)(m.Wu,{children:e.Content})]})]},e.FeedbackId)),j&&(0,l.jsx)(c.$,{onClick:()=>S(),className:"w-full border-[1px] border-[#00803D] bg-white text-[#00803D] hover:text-white hover:bg-[#00803D]",disabled:C,children:C?f.loading:f.viewMore})]})}},6306:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(95155),i=a(12115),o=a(98815),r=a(50348);let n=r.bL,s=r.R6,d=r.Ke;var c=a(23101);function m(e){var t;let{data:a,portalId:i,selectedCategoryId:r}=e,n=null!==(t=o.x.find(e=>e.portalId===i))&&void 0!==t?t:o.x[0];return(0,l.jsxs)("div",{className:"w-full flex flex-col gap-y-2",children:[(0,l.jsx)("span",{className:"text-2xl text-[#60585C] font-semibold",children:n.categoryLabel}),a.map(e=>(0,l.jsx)(g,{data:e,selectedCategoryId:r,level:0},e.CategoryId))]})}function g(e){var t;let{data:a,selectedCategoryId:o,level:r}=e,m=(null===(t=a.ChildCategories)||void 0===t?void 0:t.length)>0,[p,x]=(0,i.useState)(()=>
1{if(!m)return!1;let e=t=>{var a;return t.CategoryId===o||(null===(a=t.ChildCategories)||void 0===a?void 0:a.some(t=>e(t)))};return e(a)});return(0,i.useEffect)(()=>{if(m){let e=t=>{var a;return t.CategoryId===o||(null===(a=t.ChildCategories)||void 0===a?void 0:a.some(t=>e(t)))};x(e(a))}},[o,m,a]),(0,l.jsxs)(n,{open:p,onOpenChange:x,disabled:!m,children:[(0,l.jsxs)("div",{className:"flex items-center justify-between py-2 pr-2 pl-[1rem] hover:bg-orange-500 hover:text-white transition-colors duration-300 ease-in-out ".concat(o===a.CategoryId?"bg-orange-500 text-white":"bg-[#f2f0ee]"),children:[(0,l.jsx)("h3",{className:"text-base",children:(0,l.jsx)(c.X,{href:a.TabPath,children:a.CategoryName})}),m&&(0,l.jsx)(s,{asChild:!0,children:(0,l.jsx)("div",{className:" cursor-pointer",children:p?"â¼":"â¶"})})]}),m&&(0,l.jsx)(d,{className:"pl-4 grid gap-2 ".concat(p&&"mt-2"),children:a.ChildCategories.map(e=>(0,l.jsx)(g,{data:e,selectedCategoryId:o,level:r+1},e.CategoryId))})]})}},34196:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(95155),i=a(12115),o=a(76126),r=a(22130),n=a(32532),s=a(78577),d=a(23101);let c=e=>{let{image:t,title:a,path:i,date:o}=e;return(0,l.jsx)(r.Zp,{className:"w-full h-full rounded-none bg-[#F8F8F8] cursor-pointer transition-colors duration-300 shadow-md",children:(0,l.jsxs)("div",{className:"w-full h-full relative",children:[(0,l.jsx)(d.X,{href:i,title:a,children:(0,l.jsx)(n.default,{src:t,alt:a,className:"aspect-[2/3] object-cover w-full",useFallback:!0})}),(0,l.jsxs)(r.aR,{className:"absolute w-full bottom-0 left-0 right-0 z-10 bg-white py-2 sm:py-2.5 md:py-3 px-2 sm:px-3 md:px-4 h-16 sm:h-20 md:h-24 flex flex-row gap-x-2 sm:gap-x-3 md:gap-x-4",children:[(0,l.jsxs)("div",{className:"flex w-1/5 flex-col text-center justify-start",children:[(0,l.jsxs)("span",{className:"text-[#00803D] text-[5px] sm:text-[6px] md:text-[7px] lg:text-[8px] xl:text-[9px] font-bold leading-tight sm:leading-[10px]",children:["Th ",(0,s.hv)(o).month,", ",(0,s.hv)(o).year]}),(0,l.jsx)("div",{className:"w-[20px] sm:w-[30px] md:w-[40px] my-0.5 sm:my-1 mx-auto border-t-2 border-t-[#FCBA12]"}),(0,l.jsx)("span",{className:"text-[#00803D] text-xl sm:text-2xl md:text-3xl font-black leading-[16px] sm:leading-[18px] md:leading-[22px]",children:(0,s.hv)(o).day})]}),(0,l.jsx)("h3",{className:"w-4/5 !mt-0 text-[#60585C] font-medium text-xs sm:text-sm md:text-base leading-4 sm:leading-5 md:leading-6 line-clamp-2 sm:line-clamp-3 transition-colors duration-300 hover:text-orange-500",children:(0,l.jsx)(d.X,{href:i,title:a,children:a})})]})]})})},m=e=>{var t;let{data:a}=e,r=(0,i.useRef)(null),[n,s]=(0,i.useState)({width:0,height:0});(0,i.useEffect)(()=>{let e=console.log;console.log=function(){for(var t,a,l,i,o,r,n,s,d,c,m=arguments.length,g=Array(m),p=0;p<m;p++)g[p]=arguments[p];(null===(a=g[0])||void 0===a?void 0:null===(t=a.includes)||void 0===t?void 0:t.call(a,"iframe"))||(null===(i=g[0])||void 0===i?void 0:null===(l=i.includes)||void 0===l?void 0:l.call(i,"Facebook"))||(null===(n=g[0])||void 0===n?void 0:null===(r=n.message)||void 0===r?void 0:null===(o=r.includes)||void 0===o?void 0:o.call(r,"iframe"))||(null===(c=g[0])||void 0===c?void 0:null===(d=c.message)||void 0===d?void 0:null===(s=d.includes)||void 0===s?void 0:s.call(d,"Facebook"))||e.apply(console,g)};let t=()=>{if(r.current){let{width:e,height:t}=r.current.getBoundingClientRect();s({width:Math.round(e),height:Math.round(t)})}};return t(),window.addEventListener("resize",t),()=>{console.log=e,window.removeEventListener("resize",t)}},[]);let m="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FVNU.DHQG&tabs=timeline&width=".concat(n.width,"&height=").concat(n.height,"&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=false&appId");return(0,l.jsx)(l.Fragment,{children:null==a?void 0:null===(t=a.Data)||void 0===t?void 0:t.map((e,t)=>(0,l.jsxs)(o.A,{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,l.jsxs)("div",{className:"lg:col-span-2 grid gap-y-10",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-[#60585C] text-3xl font-medium leading-6 uppercase mb-5",children:(0,l.jsx)(d.X,{href:null==e?void 0:e.TabPath,title:e.CategoryName,children:e.CategoryName})}),(0,l.jsx)("span",{className:"hidden lg:block text-base font-normal leading-6 line-clamp-1",children:e.Description||"â"})]}),(0,l.jsx)("div",{className:"w-full grid lg:grid-cols-2 gap-8",children:e.ListNews.slice(0,2).map((e,t)=>(0,l.jsx)("div",{className:"col-span-1",children:(0,l.jsx)(c,{title:e.Title,image:e.ImagePath,path:e.Canonical,date:e.PublishedDate})},t))})]}),(0,l.jsxs)("div",{className:"col-span-1 flex flex-col gap-y-10",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-[#60585C] text-3xl font-medium leading-6 mb
1-5",children:"Fanpage"}),(0,l.jsx)("span",{className:"hidden lg:block text-base font-normal leading-6 line-clamp-1",children:"Äại há»c Quá»c gia H\xe0 Ná»i - VNU"})]}),(0,l.jsx)("div",{className:"w-full h-full shadow-md",ref:r,children:(0,l.jsx)("iframe",{src:m,width:n.width,height:n.height,style:{border:"none",overflow:"hidden",height:"100%"},allowFullScreen:!0,loading:"lazy",allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",title:"Facebook Fanpage Iframe",onError:e=>{e.preventDefault()}})})]})]},t))})}},12884:()=>{},1569:()=>{},65644:(e,t,a)=>{"use strict";a.d(t,{U:()=>i});var l=a(75828);let i=(0,l.createServerReference)("706f38ce524c7ff06a2096a893d7c39aece1896cf4",l.callServer,void 0,l.findSourceMapURL,"loadMoreCategory")}},e=>{var t=t=>e(e.s=t);e.O(0,[5149,6932,5592,8173,1181,5565,3269,1478,6483,6360,4571,3604,2456,3141,8441,1517,7358],()=>t(20098)),_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.