(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[154471,(e,t,n)=>{function a(e,t,n,a){return!1}e.i(350461),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getDomainLocale",{enumerable:!0,get:function(){return a}}),e.r(270090),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},539149,(e,t,n)=>{e.i(350461),Object.defineProperty(n,"__esModule",{value:!0});var a={default:function(){return T},useLinkStatus:function(){return w}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});let s=e.r(952456),r=e.r(391398),l=s._(e.r(191788)),o=e.r(160472),d=e.r(471112),c=e.r(728169),u=e.r(889129),h=e.r(514862),m=e.r(425479),f=e.r(771914),p=e.r(154471),g=e.r(344113),x=e.r(663230),b=new Set;function v(e,t,n,a){if(!("u"{})}}function j(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let y=l.default.forwardRef(function(e,t){let n,a,{href:i,as:s,children:c,prefetch:b=null,passHref:y,replace:_,shallow:w,scroll:T,locale:k,onClick:C,onNavigate:I,onMouseEnter:N,onTouchStart:P,legacyBehavior:S=!1,transitionTypes:M,...O}=e;n=c,S&&("string"==typeof n||"number"==typeof n)&&(n=(0,r.jsx)("a",{children:n}));let E=l.default.useContext(m.RouterContext),L=!1!==b,{href:U,as:R}=l.default.useMemo(()=>{if(!E){let e=j(i);return{href:e,as:s?j(s):e}}let[e,t]=(0,o.resolveHref)(E,i,!0);return{href:e,as:s?(0,o.resolveHref)(E,s):t||e}},[E,i,s]),A=l.default.useRef(U),H=l.default.useRef(R);S&&(a=l.default.Children.only(n));let D=S?a&&"object"==typeof a&&a.ref:t,[z,W,F]=(0,f.useIntersection)({rootMargin:"200px"}),V=l.default.useCallback(e=>{(H.current!==R||A.current!==U)&&(F(),H.current=R,A.current=U),z(e)},[R,U,F,z]),G=(0,x.useMergedRef)(V,D);l.default.useEffect(()=>{!E||W&&L&&v(E,U,R,{bypassPrefetchedCheck:!1,locale:k})},[R,U,W,k,L,null==E?void 0:E.locale,E]);let K={ref:G,onClick(e){S||"function"!=typeof C||C(e),S&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),!E||e.defaultPrevented||function(e,t,n,a,i,s,r,l,o){let c,{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let e=null==r||r;"beforePopState"in t?t[i?"replace":"push"](n,a,{shallow:s,locale:l,scroll:e}):t[i?"replace":"push"](a||n,{scroll:e})})()}}(e,E,U,R,_,w,T,k,I)},onMouseEnter(e){S||"function"!=typeof N||N(e),S&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),E&&v(E,U,R,{locale:k,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){S||"function"!=typeof P||P(e),S&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),E&&v(E,U,R,{locale:k,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(R))K.href=R;else if(!S||y||"a"===a.type&&!("href"in a.props)){let e=void 0!==k?k:null==E?void 0:E.locale;K.href=(null==E?void 0:E.isLocaleDomain)&&(0,p.getDomainLocale)(R,e,null==E?void 0:E.locales,null==E?void 0:E.domainLocales)||(0,g.addBasePath)((0,h.addLocale)(R,e,null==E?void 0:E.defaultLocale))}return S?l.default.cloneElement(a,K):(0,r.jsx)("a",{...O,...K,children:n})}),_=(0,l.createContext)({pending:!1}),w=()=>(0,l.useContext)(_),T=y;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},771914,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return o}});let a=e.r(191788),i=e.r(799604),s="function"==typeof IntersectionObserver,r=new Map,l=[];function o(e){let{rootRef:t,rootMargin:n,disabled:o}=e,d=o||!s,[c,u]=(0,a.useState)(!1),h=(0,a.useRef)(null),m=(0,a.useCallback)(e=>{h.current=e},[]);return(0,a.useEffect)(()=>{if(s){if(d||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:a,observer:i,elements:s}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},a=l.find(e=>e.root===n.root&&e.margin===n.margin);if(a&&(t=r.get(a)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),r.set(n,t),t}(n);return s.set(e,t),i.observe(e),function(){if(s.delete(e),i.unobserve(e),0===s.size){i.disconnect(),r.delete(a);let e=l.findIndex(e=>e.root===a.root&&e.margin===a.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>u(!0));return()=>(0,i.cancelIdleCallback)(e)}},[d,n,t,c,h.current]),[m,c,(0,a.useCallback)(()=>{u(!1)},[])]}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},663230,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return i}});let a=e.r(191788);function i(e,t){let n=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=s(e,a)),t&&(i.current=s(t,a))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},169545,e=>{var t=e.i(391398),n=e.i(191788),a=e.i(501584);class i extends n.default.Component{componentDidMount(){let{adsId:e}=this.props;(window.arfAsync=window.arfAsync||[]).push(e)}render(){let{adsId:e,mobileOnly:n,desktopOnly:a,minHeight:i,minWidth:s,width:r,height:l}=this.props;return(0,t.jsx)("div",{className:"micro ".concat(n?"visible-xs":""," ").concat(a?"hidden-xs":""),style:{minHeight:i,minWidth:s,width:r,height:l},children:(0,t.jsx)("zone",{id:e})})}}let s=(0,a.f)(i,{errorMsg:"Lỗi adx"});e.s(["f",0,s])},612683,e=>{var t=e.i(391398);e.i(191788),e.s(["f",0,e=>{let{value:n}=e,a=Number(n).toLocaleString("en",{style:"decimal"}).replace(/\./g,"*").replace(/,/g,".").replace(/\*/g,",");return(0,t.jsx)("span",{children:a})}])},961516,e=>{var t=e.i(391398),n=e.i(145246);e.i(191788);let a=new String('span.jsx-327dde44d3dcde{width:24px;height:24px;display:inline-block;position:relative}span.jsx-327dde44d3dcde:before,span.jsx-327dde44d3dcde:after{content:"";border-radius:100%;margin:auto;display:inline-block;position:absolute;top:0;bottom:0;left:0;right:0}.hightlight.jsx-327dde44d3dcde:before{background:var(--primary-color);opacity:.2;width:100%;height:100%;animation:1s ease-out infinite zoom}.hightlight.jsx-327dde44d3dcde:after{background:var(--primary-color);width:10px;height:10px;animation:1s ease-in 50ms infinite zoom}.red-highlight.jsx-327dde44d3dcde:before,.red-highlight.jsx-327dde44d3dcde:after{background:var(--color-alert-badge)}.blue-highlight.jsx-327dde44d3dcde:before,.blue-highlight.jsx-327dde44d3dcde:after{background:var(--primary-color)}@keyframes zoom{0%{transform:scale(1)}50%{transform:scale(.75)}to{transform:scale(1)}}');a.__hash="327dde44d3dcde",e.s(["f",0,e=>{let{isRed:i,isBlue:s}=e;return(0,t.jsx)("span",{className:"jsx-".concat(a.__hash)+" "+"hightlight ".concat(i?"red-highlight":""," ").concat(s?"blue-highlight":""),children:(0,t.jsx)(n.default,{id:a.__hash,children:a})})}],961516)},633241,e=>{var t=e.i(391398),n=e.i(145246),a=e.i(191788);let i=new String(".button.jsx-9f448d739b788dbe{z-index:99;background-color:var(--header-menu-button);cursor:pointer;border:none;border-radius:8px;outline:none;width:35px;height:35px;padding:0;font-size:16px;position:fixed;bottom:5px;left:5px}.button.jsx-9f448d739b788dbe:hover{background-color:(--primary-color)}");i.__hash="9f448d739b788dbe";class s extends a.Component{jump(){e.g.$("html, body").animate({scrollTop:0},800)}render(){return(0,t.jsxs)("div",{className:"jsx-".concat(i.__hash),children:[(0,t.jsx)("button",{onClick:()=>this.jump(),id:"jumpToTop",title:"Lên đầu trang",className:"jsx-".concat(i.__hash)+" button",children:(0,t.jsx)("i",{className:"jsx-".concat(i.__hash)+" fas fa-arrow-up"})}),(0,t.jsx)(n.default,{id:i.__hash,children:i})]})}constructor(e){super(e),this.state={}}}e.s(["f",0,s],633241)},332017,21277,e=>{var t=e.i(391398),n=e.i(145246),a=e.i(191788),i=e.i(441994);let s=new String(".main.jsx-5eab64c2ea0ffe66{background:var(--light-background-2)}.main.jsx-5eab64c2ea0ffe66>div>div{vertical-align:top}");s.__hash="5eab64c2ea0ffe66";let r=e=>{let{path:a,size:r,sizes:l}=e;return(0,t.jsxs)("div",{className:"jsx-".concat(s.__hash)+" main",children:[(0,t.jsx)(i.Bling,{adUnitPath:"/3823916/Tinhte_".concat(a),sizeMapping:l,slotSize:r,collapseEmptyDiv:!1,renderWhenViewable:!1}),(0,t.jsx)(n.default,{id:s.__hash,children:s})]})};e.s(["f",0,r],21277);let l=new String(".main.jsx-d6974003b5535c5{border-radius:6px;flex-wrap:wrap;min-height:250px;padding:0;display:flex}.item.jsx-d6974003b5535c5{border:1px solid var(--border-light);margin:0 auto;padding:0}@media (max-width:1001px){.main.jsx-d6974003b5535c5{display:none}}");l.__hash="d6974003b5535c5",e.s(["f",0,e=>{let{path:i,size:s,thread:o}=e,d=0,c=0;s&&([d,c]=s);let u=(0,a.useMemo)(()=>!o||o.id&&!o.isDeleted&&!o.tinhteAdsenseIsBlocked&&![215,97,782,767].includes(o.forumId),[]);return(0,t.jsxs)("div",{className:"jsx-".concat(l.__hash)+" main",children:[(0,t.jsx)("div",{style:{width:d,height:c},className:"jsx-".concat(l.__hash)+" item",children:u?(0,t.jsx)(r,{path:i,size:s}):s&&(0,t.jsx)("div",{style:{width:s[0],height:s[1]},className:"jsx-".concat(l.__hash)})}),(0,t.jsx)(n.default,{id:l.__hash,children:l})]})}],332017)},667803,e=>{var t,n,a,i,s=e.i(391398),r=e.i(145246),l=e.i(191788);let o=new String(".main.jsx-18585364b3f557e6{text-transform:uppercase;max-width:1224px;margin:auto;padding:9px 12px;font-size:14px;font-weight:700;line-height:24px;overflow:hidden}.list.jsx-18585364b3f557e6{flex-wrap:wrap;display:flex}@media (max-width:700px){.list.jsx-18585364b3f557e6{margin:0 -12px}}@media (min-width:701px){.list.jsx-18585364b3f557e6{margin:0 -24px}}@media (max-width:700px){.item.jsx-18585364b3f557e6{padding:9px 12px}}@media (min-width:701px){.item.jsx-18585364b3f557e6{padding:9px 24px}}.item.active.jsx-18585364b3f557e6{color:#fff}.item.jsx-18585364b3f557e6 a.jsx-18585364b3f557e6{display:block}.item.jsx-18585364b3f557e6 a.jsx-18585364b3f557e6:hover{color:#fff}");o.__hash="18585364b3f557e6";let d=[["Tin mới","https://tinhte.vn/",!0],["Sản phẩm công nghệ mới","https://tinhte.vn/resources/"],["Khuyến mãi","https://tinhte.vn/km/"],["Sự kiện","https://tinhte.vn/events/"],["Video","https://www.youtube.com/user/tinhtevideo/"]],c=()=>(0,s.jsxs)("div",{className:"jsx-".concat(o.__hash)+" main",children:[(0,s.jsx)("ol",{className:"jsx-".concat(o.__hash)+" list",children:d.map(e=>{let[t,n,a]=e;return(0,s.jsx)("li",{className:"jsx-".concat(o.__hash)+" "+("item ".concat(a?"active":"")||""),children:(0,s.jsx)("a",{href:n,className:"jsx-".concat(o.__hash),children:t})},n)})}),(0,s.jsx)(r.default,{id:o.__hash,children:o})]}),u=new String(".main.jsx-aecd17fa75d21416{line-height:24px}.heading.jsx-aecd17fa75d21416{font-size:14px;font-weight:700}.heading.active.jsx-aecd17fa75d21416{color:var(--color-accent-light)}.list.jsx-aecd17fa75d21416{margin-top:12px}.item.jsx-aecd17fa75d21416 a.jsx-aecd17fa75d21416{display:inline-block}.item.jsx-aecd17fa75d21416 a.jsx-aecd17fa75d21416:hover{color:var(--text-dark)}.item.jsx-aecd17fa75d21416 svg{vertical-align:top;margin-right:3px;display:inline-block}.dark .item.jsx-aecd17fa75d21416 svg path{fill:var(--dark-icon)}");u.__hash="aecd17fa75d21416";let h=e=>{let{heading:t,items:n,active:a}=e;return(0,s.jsxs)("div",{className:"jsx-".concat(u.__hash)+" "+"main ".concat(a?"active":""),children:[(0,s.jsx)("p",{className:"jsx-".concat(u.__hash)+" heading",children:t}),(0,s.jsx)("ol",{className:"jsx-".concat(u.__hash)+" list",children:n.map(e=>{let[t,n,a]=e;return(0,s.jsx)("li",{className:"jsx-".concat(u.__hash)+" item",children:(0,s.jsxs)("a",{href:n,className:"jsx-".concat(u.__hash)+" dark-theme-icon",children:[a&&(0,s.jsx)(a,{className:"jsx-".concat(u.__hash)}),t]})},n)})}),(0,s.jsx)(r.default,{id:u.__hash,children:u})]})};function m(){return(m=Object.assign.bind()).apply(null,arguments)}function f(){return(f=Object.assign.bind()).apply(null,arguments)}function p(){return(p=Object.assign.bind()).apply(null,arguments)}function g(){return(g=Object.assign.bind()).apply(null,arguments)}let x=[["Tinh tế",[["Nội quy mạng xã hội","https://tinhte.vn/threads/noi-quy-dien-dan.20/"],["Thỏa thuận sử dụng dịch vụ","https://tinhte.vn/threads/thoa-thuan-cung-cap-su-dung-dich-vu.2864413/"],["Góp ý","https://tinhte.vn/forums/gop-y-xay-dung-dien-dan.81/"],["Hỗ trợ, hướng dẫn","https://tinhte.vn/hotro/"],["Liên hệ quảng cáo","https://tinhte.vn/javamedia/"],["Tinh tế RSS","https://feeds.feedburner.com/tinhte/"],["Thông tin giấy phép MXH","https://giayphep.abei.gov.vn/s/132060"]],!0],["Nhật Tảo",[["Mua bán điện thoại","https://nhattao.com/f/dien-thoai.543/"],["Mua bán máy tính","https://nhattao.com/f/may-tinh.553/"],["Mua bán máy tính bảng","https://nhattao.com/f/may-tinh-bang.548/"],["Mua bán camera","https://nhattao.com/f/camera.556/"],["Mua bán đồng hồ thông minh","https://nhattao.com/f/dong-ho-thong-minh.585/"],["Mua bán xe","https://nhattao.com/f/xe.532/"],["Mua bán điện máy","https://nhattao.com/f/dien-may.602/"],["Mua bán sim, sim 3G","https://nhattao.com/f/sim-dien-thoai.533/"]],!1,!0],["Theo dõi chúng tôi",[["Facebook","https://www.facebook.com/tinhte/",e=>l.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),t||(t=l.createElement("path",{d:"M20 4.882v14.232a.88.88 0 0 1-.882.882h-4.079v-6.192h2.079l.31-2.415h-2.392V9.846c0-.7.193-1.175 1.196-1.175h1.279v-2.16a17 17 0 0 0-1.865-.097c-1.842 0-3.107 1.125-3.107 3.193v1.782h-2.085v2.415h2.085V20H4.882A.884.884 0 0 1 4 19.118V4.882C4 4.396 4.396 4 4.882 4h14.232c.49 0 .886.396.886.882"})))],["Youtube","https://www.youtube.com/user/tinhtevideo/",e=>l.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),n||(n=l.createElement("path",{d:"M19.64 7.878c-.184-.74-.724-1.322-1.41-1.52C16.986 6 12 6 12 6s-4.986 0-6.23.359c-.686.197-1.226.78-1.41 1.519-.333 1.34-.333 4.134-.333 4.134s0 2.795.333 4.135c.184.739.724 1.297 1.41 1.494C7.014 18 12 18 12 18s4.986 0 6.23-.359a2.05 2.05 0 0 0 1.41-1.494c.333-1.34.333-4.135.333-4.135s0-2.795-.333-4.134m-9.27 6.672V9.475l4.167 2.537z"})))],["Flickr","https://www.flickr.com/photos/tinhtephoto/",e=>l.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),a||(a=l.createElement("path",{d:"M18.286 4H5.714C4.768 4 4 4.768 4 5.714v12.572C4 19.232 4.768 20 5.714 20h12.572c.946 0 1.714-.768 1.714-1.714V5.714C20 4.768 19.232 4 18.286 4M9.16 14.25a2.266 2.266 0 0 1-2.268-2.268A2.266 2.266 0 0 1 9.16 9.714a2.266 2.266 0 0 1 2.268 2.268A2.266 2.266 0 0 1 9.16 14.25m5.678 0a2.266 2.266 0 0 1-2.268-2.268 2.266 2.266 0 0 1 2.268-2.268 2.266 2.266 0 0 1 2.268 2.268 2.266 2.266 0 0 1-2.268 2.268"})))],["Twitter","https://twitter.com/tinhtefan/",e=>l.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),i||(i=l.createElement("path",{d:"M18.355 9.24c.01.142.01.284.01.426 0 4.337-3.299 9.334-9.33 9.334A9.26 9.26 0 0 1 4 17.527c.264.03.518.041.792.041a6.57 6.57 0 0 0 4.071-1.402 3.285 3.285 0 0 1-3.066-2.275c.203.03.406.051.62.051.294 0 .588-.04.862-.112a3.28 3.28 0 0 1-2.63-3.22v-.04c.437.244.945.396 1.483.417A3.28 3.28 0 0 1 4.67 8.255c0-.61.162-1.168.447-1.656a9.32 9.32 0 0 0 6.761 3.433 3.7 3.7 0 0 1-.081-.752A3.28 3.28 0 0 1 15.077 6a3.27 3.27 0 0 1 2.395 1.036 6.5 6.5 0 0 0 2.081-.792 3.27 3.27 0 0 1-1.441 1.808c.66-.072 1.3-.254 1.888-.508a7 7 0 0 1-1.645 1.696"})))]],!1,!0]],b=new String(".main.jsx-6d362f3b46a1113e{flex-wrap:wrap;max-width:1224px;margin:auto;display:flex}@media (max-width:700px){.main.jsx-6d362f3b46a1113e{padding:9px 0}}@media (min-width:701px){.main.jsx-6d362f3b46a1113e{padding:18px 0}}.item.jsx-6d362f3b46a1113e{flex:auto}@media (max-width:700px){.item.jsx-6d362f3b46a1113e{padding:9px 12px}}@media (min-width:701px){.item.jsx-6d362f3b46a1113e{padding:18px 12px}}");b.__hash="6d362f3b46a1113e";let v=()=>(0,s.jsxs)("ol",{className:"jsx-".concat(b.__hash)+" main",children:[x.map(e=>{let[t,n,a,i]=e;return(0,s.jsx)("li",{className:"jsx-".concat(b.__hash)+" item",children:(0,s.jsx)(h,{heading:t,items:n,active:a,newTab:i})},t)}),(0,s.jsx)(r.default,{id:b.__hash,children:b})]}),j=new String(".main.jsx-a82199223c392c13{max-width:1224px;color:var(--color-light-2);text-align:center;flex-wrap:wrap;justify-content:center;margin:auto;padding:12px;font-size:15px;line-height:15px;display:flex}.item.jsx-a82199223c392c13{padding:6px 12px}");j.__hash="a82199223c392c13";let y=new Date().getFullYear(),_=()=>(0,s.jsxs)("ul",{className:"jsx-".concat(j.__hash)+" main",children:[(0,s.jsx)("li",{className:"jsx-".concat(j.__hash)+" item",children:"Chịu trách nhiệm nội dung: Trần Mạnh Hiệp"}),(0,s.jsxs)("li",{className:"jsx-".concat(j.__hash)+" item",children:["© ",y," Công ty Cổ phần MXH Tinh Tế"]}),(0,s.jsx)("li",{className:"jsx-".concat(j.__hash)+" item",children:"Địa chỉ: 351/56 Lê Văn Sỹ, P. Nhiêu Lộc, Tp HCM"}),(0,s.jsx)("li",{className:"jsx-".concat(j.__hash)+" item",children:"Số điện thoại: 02822460095"}),(0,s.jsx)("li",{className:"jsx-".concat(j.__hash)+" item",children:"MST: 0313255119"}),(0,s.jsx)("li",{className:"jsx-".concat(j.__hash)+" item",children:"Giấy phép cung cấp dịch vụ MXH số 41/GP-BVHTTDL, Ký ngày: 25/03/2026"}),(0,s.jsx)(r.default,{id:j.__hash,children:j})]}),w=new String(".main.jsx-b1dcf0241c6192c8{color:var(--text-grey);background-color:var(--footer-background)}.shortcuts.jsx-b1dcf0241c6192c8{background:var(--primary-color);color:var(--inverse-text)}.infos.jsx-b1dcf0241c6192c8{border-top:solid 2px var(--border-light)}");w.__hash="b1dcf0241c6192c8",e.s(["f",0,()=>(0,s.jsxs)("div",{className:"jsx-".concat(w.__hash)+" main",children:[(0,s.jsx)("div",{className:"jsx-".concat(w.__hash)+" shortcuts",children:(0,s.jsx)(c,{})}),(0,s.jsx)("div",{className:"jsx-".concat(w.__hash)+" links",children:(0,s.jsx)(v,{})}),(0,s.jsx)("div",{className:"jsx-".concat(w.__hash)+" infos",children:(0,s.jsx)(_,{})}),(0,s.jsx)(r.default,{id:w.__hash,children:w})]})],667803)},748667,e=>{var t=e.i(391398),n=e.i(145246),a=e.i(191788);e.i(966278);var i=e.i(318398),s=e.i(170723),r=e.i(574186),l=e.i(456310);let o=new String("");o.__hash="e43e7f1a484b1acb";let d=i.f.ApiConsumer(e=>{let{api:i,pageName:d,threadId:c,communityId:u}=e;return(0,a.useEffect)(()=>{s.default.initialize({currentPageName:d,idleTimeoutInSeconds:90}),s.default.callWhenUserLeaves(()=>{let e=s.default.getTimeOnCurrentPageInSeconds();if(e>0){let t=new r.U(i),n=l.f.Time_On_Page,a=[{key:"page_name",value:s.default.currentPageName},{key:"time_on_page",value:e},{key:"thread_id",value:c},{key:"community_id",value:u}];t.trackEvent(n,i.getUserId(),a)}}),s.default.callWhenUserReturns(()=>{s.default.resetAllRecordedPageTimes()})},[]),(0,t.jsx)(a.Fragment,{children:(0,t.jsx)(n.default,{id:o.__hash,children:o})})});e.s(["f",0,d],748667)}],41158,(e,t,n)=>{t.exports=e.r(539149)},170723,(e,t,n)=>{(()=>{((n,a)=>{let i;if(t.exports)return t.exports=a();if("function"!=typeof define||!define.amd)return n.TimeMe=a();void 0!==(i=n.TimeMe=a())&&e.v(i)})(e.e,()=>{let e={startStopTimes:{},idleTimeoutMs:3e4,currentIdleTimeMs:0,checkIdleStateRateMs:250,isUserCurrentlyOnPage:!0,isUserCurrentlyIdle:!1,currentPageName:"default-page-name",timeElapsedCallbacks:[],userLeftCallbacks:[],userReturnCallbacks:[],trackTimeOnElement:t=>{let n=document.getElementById(t);n&&(n.addEventListener("mouseover",()=>{e.startTimer(t)}),n.addEventListener("mousemove",()=>{e.startTimer(t)}),n.addEventListener("mouseleave",()=>{e.stopTimer(t)}),n.addEventListener("keypress",()=>{e.startTimer(t)}),n.addEventListener("focus",()=>{e.startTimer(t)}))},getTimeOnElementInSeconds:t=>{let n=e.getTimeOnPageInSeconds(t);return n||0},startTimer:(t,n)=>{if(t||(t=e.currentPageName),void 0===e.startStopTimes[t])e.startStopTimes[t]=[];else{let n=e.startStopTimes[t],a=n[n.length-1];if(void 0!==a&&void 0===a.stopTime)return}e.startStopTimes[t].push({startTime:n||new Date,stopTime:void 0})},stopAllTimers:()=>{let t=Object.keys(e.startStopTimes);for(let n=0;n{t||(t=e.currentPageName);let a=e.startStopTimes[t];void 0!==a&&0!==a.length&&void 0===a[a.length-1].stopTime&&(a[a.length-1].stopTime=n||new Date)},getTimeOnCurrentPageInSeconds:()=>e.getTimeOnPageInSeconds(e.currentPageName),getTimeOnPageInSeconds:t=>{let n=e.getTimeOnPageInMilliseconds(t);if(void 0!==n)return n/1e3},getTimeOnCurrentPageInMilliseconds:()=>e.getTimeOnPageInMilliseconds(e.currentPageName),getTimeOnPageInMilliseconds:t=>{let n=e.startStopTimes[t];if(void 0===n)return;let a=0;for(let e=0;e{let t=[],n=Object.keys(e.startStopTimes);for(let a=0;a{if(!1===isNaN(parseFloat(t)))e.idleTimeoutMs=1e3*t;else throw{name:"InvalidDurationException",message:"An invalid duration time ("+t+") was provided."}},setCurrentPageName:t=>{e.currentPageName=t},resetRecordedPageTime:t=>{delete e.startStopTimes[t]},resetAllRecordedPageTimes:()=>{let t=Object.keys(e.startStopTimes);for(let n=0;n{e.isUserCurrentlyIdle&&e.triggerUserHasReturned(),e.resetIdleCountdown()},resetIdleCountdown:()=>{e.isUserCurrentlyIdle=!1,e.currentIdleTimeMs=0},callWhenUserLeaves:(t,n)=>{e.userLeftCallbacks.push({callback:t,numberOfTimesToInvoke:n})},callWhenUserReturns:(t,n)=>{e.userReturnCallbacks.push({callback:t,numberOfTimesToInvoke:n})},triggerUserHasReturned:()=>{if(!e.isUserCurrentlyOnPage){e.isUserCurrentlyOnPage=!0,e.resetIdleCountdown();for(let t=0;t0)&&(n.numberOfTimesToInvoke-=1,n.callback())}}e.startTimer()},triggerUserHasLeftPageOrGoneIdle:()=>{if(e.isUserCurrentlyOnPage){e.isUserCurrentlyOnPage=!1;for(let t=0;t0)&&(n.numberOfTimesToInvoke-=1,n.callback())}}e.stopAllTimers()},callAfterTimeElapsedInSeconds:(t,n)=>{e.timeElapsedCallbacks.push({timeInSeconds:t,callback:n,pending:!0})},checkIdleState:()=>{for(let t=0;te.timeElapsedCallbacks[t].timeInSeconds&&(e.timeElapsedCallbacks[t].callback(),e.timeElapsedCallbacks[t].pending=!1);!1===e.isUserCurrentlyIdle&&e.currentIdleTimeMs>e.idleTimeoutMs?(e.isUserCurrentlyIdle=!0,e.triggerUserHasLeftPageOrGoneIdle()):e.currentIdleTimeMs+=e.checkIdleStateRateMs},visibilityChangeEventName:void 0,hiddenPropName:void 0,listenForVisibilityEvents:(t,n)=>{t&&e.listenForUserLeavesOrReturnsEvents(),n&&e.listForIdleEvents()},listenForUserLeavesOrReturnsEvents:()=>{void 0!==document.hidden?(e.hiddenPropName="hidden",e.visibilityChangeEventName="visibilitychange"):void 0!==document.mozHidden?(e.hiddenPropName="mozHidden",e.visibilityChangeEventName="mozvisibilitychange"):void 0!==document.msHidden?(e.hiddenPropName="msHidden",e.visibilityChangeEventName="msvisibilitychange"):void 0!==document.webkitHidden&&(e.hiddenPropName="webkitHidden",e.visibilityChangeEventName="webkitvisibilitychange"),document.addEventListener(e.visibilityChangeEventName,()=>{document[e.hiddenPropName]?e.triggerUserHasLeftPageOrGoneIdle():e.triggerUserHasReturned()},!1),window.addEventListener("blur",()=>{e.triggerUserHasLeftPageOrGoneIdle()}),window.addEventListener("focus",()=>{e.triggerUserHasReturned()})},listForIdleEvents:()=>{document.addEventListener("mousemove",()=>{e.userActivityDetected()}),document.addEventListener("keyup",()=>{e.userActivityDetected()}),document.addEventListener("touchstart",()=>{e.userActivityDetected()}),window.addEventListener("scroll",()=>{e.userActivityDetected()}),setInterval(()=>{!0!==e.isUserCurrentlyIdle&&e.checkIdleState()},e.checkIdleStateRateMs)},websocket:void 0,websocketHost:void 0,setUpWebsocket:t=>{if(window.WebSocket&&t){let n=t.websocketHost;try{e.websocket=new WebSocket(n),window.onbeforeunload=()=>{e.sendCurrentTime(t.appId)},e.websocket.onopen=()=>{e.sendInitWsRequest(t.appId)},e.websocket.onerror=e=>{console&&console.log("Error occurred in websocket connection: "+e)},e.websocket.onmessage=e=>{console&&console.log(e.data)}}catch(e){console&&console.error("Failed to connect to websocket host. Error:"+e)}}},websocketSend:t=>{e.websocket.send(JSON.stringify(t))},sendCurrentTime:t=>{let n={type:"INSERT_TIME",appId:t,timeOnPageMs:e.getTimeOnCurrentPageInMilliseconds(),pageName:e.currentPageName};e.websocketSend(n)},sendInitWsRequest:t=>{e.websocketSend({type:"INIT",appId:t})},initialize:t=>{let n,a,i=e.idleTimeoutMs||30,s=e.currentPageName||"default-page-name",r=!0,l=!0;t&&(i=t.idleTimeoutInSeconds||i,s=t.currentPageName||s,n=t.websocketOptions,a=t.initialStartTime,!1===t.trackWhenUserLeavesPage&&(r=!1),!1===t.trackWhenUserGoesIdle&&(l=!1)),e.setIdleDurationInSeconds(i),e.setCurrentPageName(s),e.setUpWebsocket(n),e.listenForVisibilityEvents(r,l),e.startTimer(void 0,a)}};return e})}).call(e.e)}]);