"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[206],{292:function(e,n,t){var s=t(5893),l=t(7294),i=t(471),r=t(4080);n.Z=function(e){var n=e.user_login,t=e.type,o="bg-[url('/hoi-dap-voi-AI/assets/images/logo_result.svg')]";return"1"===t&&(o="bg-[url('/hoi-dap-voi-AI/assets/images/logo.svg')]"),(0,s.jsxs)("div",{className:"container w-full h-full",children:[(0,s.jsx)("div",{onClick:function(){return window.open("https://hocmai.vn/","_self")},title:"Trang ch\u1ee7",className:"w-[35px] h-[35px] cursor-pointer bg-cover ".concat(o," absolute left-[48%] top-1")}),(0,s.jsxs)("div",{className:"flex-1 md:flex hidden flex-row h-full px-24",children:[(0,s.jsx)("div",{className:"flex-1 h-full "}),n?(0,s.jsxs)("div",{className:"flex-1 h-full flex items-center justify-end",children:[(0,s.jsx)("button",{title:"Kho\xe1 h\u1ecdc c\u1ee7a t\xf4i",className:"text-white group flex items-center mr-4 leading-[17px]",onClick:function(){return window.open("https://hocmai.vn/course/mycourse2.php","_self")},children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"size-6",children:[(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),(0,s.jsx)("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})]})}),(0,s.jsx)("button",{className:"text-white group flex items-center leading-[17px]",onClick:function(){return window.open("https://hocmai.vn/user/profile/","_self")},title:"Trang c\xe1 nh\xe2n",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"size-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"})})})]}):null]}),(0,s.jsx)("div",{className:"flex-1 flex md:hidden flex-row h-full py-[14px]",children:(0,s.jsxs)(i.v,{as:"div",className:"relative inline-block text-left items-center pt-[3px]",children:[(0,s.jsx)("div",{className:"px-5 items-center justify-center",children:(0,s.jsx)(i.v.Button,{children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:1!=t?"white":"black",className:"size-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})})}),(0,s.jsx)(r.u,{as:l.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:n?(0,s.jsxs)(i.v.Items,{className:"absolute p-[26px] mt-[5px] w-screen origin-top-right shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none menu-background",children:[(0,s.jsx)("div",{children:(0,s.jsx)(i.v.Item,{children:(0,s.jsxs)("button",{className:"text-white group flex w-full items-center px-[16px] py-[12px] text-[14px] leading-[17px]",onClick:function(){return window.open("https://hocmai.vn/course/mycourse2.php","_self")},children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"size-6",children:[(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),(0,s.jsx)("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})]}),"My Course"]})})}),(0,s.jsx)("div",{children:(0,s.jsx)(i.v.Item,{children:(0,s.jsxs)("button",{className:"text-white group flex w-full items-center px-[16px] py-[12px] text-[14px] leading-[17px]",onClick:function(){return window.open("https://hocmai.vn/user/profile/","_self")},children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"size-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"})}),"Profile"]})})})]}):(0,s.jsx)("div",{})})]})})]})}},2186:function(e,n,t){t.d(n,{nz:function(){return c},pb:function(){return u}});var s=t(381),l=t.n(s),i=t(8086),r=t.n(i),o=t(7294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var c=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DD/MM/YYYY hh:mm:ss";return e?l()(e).format(n):"\u0110ang l\xe0m b\xe0i..."},u=function(e){var n=new(r().Parser)(o),t=[{shouldProcessNode:function(e){return"mfenced"==e.name},processNode:function(e,n){return e.attribs.separators||(e.attribs.separators=""),o.createElement("mfenced",function(e){for(var n=1;n