(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[154471,(e,t,n)=>{function i(e,t,n,i){return!1}e.i(350461),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getDomainLocale",{enumerable:!0,get:function(){return i}}),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 i={default:function(){return T},useLinkStatus:function(){return w}};for(var a in i)Object.defineProperty(n,a,{enumerable:!0,get:i[a]});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),h=e.r(889129),u=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,i){if(!("u"{})}}function j(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let y=l.default.forwardRef(function(e,t){let n,i,{href:a,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:$}=l.default.useMemo(()=>{if(!E){let e=j(a);return{href:e,as:s?j(s):e}}let[e,t]=(0,o.resolveHref)(E,a,!0);return{href:e,as:s?(0,o.resolveHref)(E,s):t||e}},[E,a,s]),R=l.default.useRef(U),A=l.default.useRef($);S&&(i=l.default.Children.only(n));let H=S?i&&"object"==typeof i&&i.ref:t,[D,z,W]=(0,f.useIntersection)({rootMargin:"200px"}),F=l.default.useCallback(e=>{(A.current!==$||R.current!==U)&&(W(),A.current=$,R.current=U),D(e)},[$,U,W,D]),V=(0,x.useMergedRef)(F,H);l.default.useEffect(()=>{!E||z&&L&&v(E,U,$,{bypassPrefetchedCheck:!1,locale:k})},[$,U,z,k,L,E?.locale,E]);let G={ref:V,onClick(e){S||"function"!=typeof C||C(e),S&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),!E||e.defaultPrevented||function(e,t,n,i,a,s,r,l,o){let c,{nodeName:h}=e.currentTarget;if(!("A"===h.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)){a&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let e=r??!0;"beforePopState"in t?t[a?"replace":"push"](n,i,{shallow:s,locale:l,scroll:e}):t[a?"replace":"push"](i||n,{scroll:e})})()}}(e,E,U,$,_,w,T,k,I)},onMouseEnter(e){S||"function"!=typeof N||N(e),S&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),E&&v(E,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){S||"function"!=typeof P||P(e),S&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),E&&v(E,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0})}};if((0,h.isAbsoluteUrl)($))G.href=$;else if(!S||y||"a"===i.type&&!("href"in i.props)){let e=void 0!==k?k:E?.locale;G.href=E?.isLocaleDomain&&(0,p.getDomainLocale)($,e,E?.locales,E?.domainLocales)||(0,g.addBasePath)((0,u.addLocale)($,e,E?.defaultLocale))}return S?l.default.cloneElement(i,G):(0,r.jsx)("a",{...O,...G,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 i=e.r(191788),a=e.r(799604),s="function"==typeof IntersectionObserver,r=new Map,l=[];function o({rootRef:e,rootMargin:t,disabled:n}){let d=n||!s,[c,h]=(0,i.useState)(!1),u=(0,i.useRef)(null),m=(0,i.useCallback)(e=>{u.current=e},[]);return(0,i.useEffect)(()=>{if(s){if(d||c)return;let n=u.current;if(n&&n.tagName)return function(e,t,n){let{id:i,observer:a,elements:s}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},i=l.find(e=>e.root===n.root&&e.margin===n.margin);if(i&&(t=r.get(i)))return t;let a=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:a},l.push(n),r.set(n,t),t}(n);return s.set(e,t),a.observe(e),function(){if(s.delete(e),a.unobserve(e),0===s.size){a.disconnect(),r.delete(i);let e=l.findIndex(e=>e.root===i.root&&e.margin===i.margin);e>-1&&l.splice(e,1)}}}(n,e=>e&&h(e),{root:e?.current,rootMargin:t})}else if(!c){let e=(0,a.requestIdleCallback)(()=>h(!0));return()=>(0,a.cancelIdleCallback)(e)}},[d,t,e,c,u.current]),[m,c,(0,i.useCallback)(()=>{h(!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 a}});let i=e.r(191788);function a(e,t){let n=(0,i.useRef)(null),a=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=n.current;e&&(n.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(n.current=s(e,i)),t&&(a.current=s(t,i))},[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),i=e.i(501584);class a extends n.default.Component{componentDidMount(){let{adsId:e}=this.props;(window.arfAsync=window.arfAsync||[]).push(e)}render(){let{adsId:e,mobileOnly:n,desktopOnly:i,minHeight:a,minWidth:s,width:r,height:l}=this.props;return(0,t.jsx)("div",{className:`micro ${n?"visible-xs":""} ${i?"hidden-xs":""}`,style:{minHeight:a,minWidth:s,width:r,height:l},children:(0,t.jsx)("zone",{id:e})})}}let s=(0,i.f)(a,{errorMsg:"Lỗi adx"});e.s(["f",0,s])},612683,e=>{var t=e.i(391398);e.i(191788),e.s(["f",0,({value:e})=>{let n=Number(e).toLocaleString("en",{style:"decimal"}).replace(/\./g,"*").replace(/,/g,".").replace(/\*/g,",");return(0,t.jsx)("span",{children:n})}])},961516,e=>{var t=e.i(391398),n=e.i(145246);e.i(191788);let i=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;inset: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)}}');i.__hash="327dde44d3dcde",e.s(["f",0,({isRed:e,isBlue:a})=>(0,t.jsx)("span",{className:`jsx-${i.__hash} hightlight ${e?"red-highlight":""} ${a?"blue-highlight":""}`,children:(0,t.jsx)(n.default,{id:i.__hash,children:i})})],961516)},633241,e=>{var t=e.i(391398),n=e.i(145246),i=e.i(191788);let a=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)}");a.__hash="9f448d739b788dbe";class s extends i.Component{constructor(e){super(e),this.state={}}jump(){e.g.$("html, body").animate({scrollTop:0},800)}render(){return(0,t.jsxs)("div",{className:`jsx-${a.__hash}`,children:[(0,t.jsx)("button",{onClick:()=>this.jump(),id:"jumpToTop",title:"Lên đầu trang",className:`jsx-${a.__hash} button`,children:(0,t.jsx)("i",{className:`jsx-${a.__hash} fas fa-arrow-up`})}),(0,t.jsx)(n.default,{id:a.__hash,children:a})]})}}e.s(["f",0,s],633241)},332017,21277,e=>{var t=e.i(391398),n=e.i(145246),i=e.i(191788),a=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=({path:e,size:i,sizes:r})=>(0,t.jsxs)("div",{className:`jsx-${s.__hash} main`,children:[(0,t.jsx)(a.Bling,{adUnitPath:`/3823916/Tinhte_${e}`,sizeMapping:r,slotSize:i,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 (width<=1001px){.main.jsx-d6974003b5535c5{display:none}}");l.__hash="d6974003b5535c5",e.s(["f",0,({path:e,size:a,thread:s})=>{let o=0,d=0;a&&([o,d]=a);let c=(0,i.useMemo)(()=>!s||s.id&&!s.isDeleted&&!s.tinhteAdsenseIsBlocked&&![215,97,782,767].includes(s.forumId),[]);return(0,t.jsxs)("div",{className:`jsx-${l.__hash} main`,children:[(0,t.jsx)("div",{style:{width:o,height:d},className:`jsx-${l.__hash} item`,children:c?(0,t.jsx)(r,{path:e,size:a}):a&&(0,t.jsx)("div",{style:{width:a[0],height:a[1]},className:`jsx-${l.__hash}`})}),(0,t.jsx)(n.default,{id:l.__hash,children:l})]})}],332017)},667803,e=>{var t,n,i,a,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 (width<=700px){.list.jsx-18585364b3f557e6{margin:0 -12px}}@media (width>=701px){.list.jsx-18585364b3f557e6{margin:0 -24px}}@media (width<=700px){.item.jsx-18585364b3f557e6{padding:9px 12px}}@media (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-${o.__hash} main`,children:[(0,s.jsx)("ol",{className:`jsx-${o.__hash} list`,children:d.map(e=>{let[t,n,i]=e,a=`item ${i?"active":""}`;return(0,s.jsx)("li",{className:`jsx-${o.__hash} `+(a||""),children:(0,s.jsx)("a",{href:n,className:`jsx-${o.__hash}`,children:t})},n)})}),(0,s.jsx)(r.default,{id:o.__hash,children:o})]}),h=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)}");h.__hash="aecd17fa75d21416";let u=({heading:e,items:t,active:n})=>(0,s.jsxs)("div",{className:`jsx-${h.__hash} main ${n?"active":""}`,children:[(0,s.jsx)("p",{className:`jsx-${h.__hash} heading`,children:e}),(0,s.jsx)("ol",{className:`jsx-${h.__hash} list`,children:t.map(([e,t,n])=>(0,s.jsx)("li",{className:`jsx-${h.__hash} item`,children:(0,s.jsxs)("a",{href:t,className:`jsx-${h.__hash} dark-theme-icon`,children:[n&&(0,s.jsx)(n,{className:`jsx-${h.__hash}`}),e]})},t))}),(0,s.jsx)(r.default,{id:h.__hash,children:h})]});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/",function(e){return 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/",function(e){return 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/",function(e){return l.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),i||(i=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/",function(e){return l.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),a||(a=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 (width<=700px){.main.jsx-6d362f3b46a1113e{padding:9px 0}}@media (width>=701px){.main.jsx-6d362f3b46a1113e{padding:18px 0}}.item.jsx-6d362f3b46a1113e{flex:auto}@media (width<=700px){.item.jsx-6d362f3b46a1113e{padding:9px 12px}}@media (width>=701px){.item.jsx-6d362f3b46a1113e{padding:18px 12px}}");b.__hash="6d362f3b46a1113e";let v=()=>(0,s.jsxs)("ol",{className:`jsx-${b.__hash} main`,children:[x.map(([e,t,n,i])=>(0,s.jsx)("li",{className:`jsx-${b.__hash} item`,children:(0,s.jsx)(u,{heading:e,items:t,active:n,newTab:i})},e)),(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-${j.__hash} main`,children:[(0,s.jsx)("li",{className:`jsx-${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-${j.__hash} item`,children:["© ",y," Công ty Cổ phần MXH Tinh Tế"]}),(0,s.jsx)("li",{className:`jsx-${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-${j.__hash} item`,children:"Số điện thoại: 02822460095"}),(0,s.jsx)("li",{className:`jsx-${j.__hash} item`,children:"MST: 0313255119"}),(0,s.jsx)("li",{className:`jsx-${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-${w.__hash} main`,children:[(0,s.jsx)("div",{className:`jsx-${w.__hash} shortcuts`,children:(0,s.jsx)(c,{})}),(0,s.jsx)("div",{className:`jsx-${w.__hash} links`,children:(0,s.jsx)(v,{})}),(0,s.jsx)("div",{className:`jsx-${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),i=e.i(191788);e.i(966278);var a=e.i(318398),s=e.i(170723),r=e.i(574186),l=e.i(456310);let o=new String("");o.__hash="e43e7f1a484b1acb";let d=a.f.ApiConsumer(({api:e,pageName:a,threadId:d,communityId:c})=>((0,i.useEffect)(()=>{s.default.initialize({currentPageName:a,idleTimeoutInSeconds:90}),s.default.callWhenUserLeaves(()=>{let t=s.default.getTimeOnCurrentPageInSeconds();if(t>0){let n=new r.U(e),i=l.f.Time_On_Page,a=[{key:"page_name",value:s.default.currentPageName},{key:"time_on_page",value:t},{key:"thread_id",value:d},{key:"community_id",value:c}];n.trackEvent(i,e.getUserId(),a)}}),s.default.callWhenUserReturns(()=>{s.default.resetAllRecordedPageTimes()})},[]),(0,t.jsx)(i.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,i)=>{let a;if(t.exports)return t.exports=i();if("function"!=typeof define||!define.amd)return n.TimeMe=i();void 0!==(a=n.TimeMe=i())&&e.v(a)})(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],i=n[n.length-1];if(void 0!==i&&void 0===i.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 i=e.startStopTimes[t];void 0!==i&&0!==i.length&&void 0===i[i.length-1].stopTime&&(i[i.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 i=0;for(let e=0;e{let t=[],n=Object.keys(e.startStopTimes);for(let i=0;i{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,i,a=e.idleTimeoutMs||30,s=e.currentPageName||"default-page-name",r=!0,l=!0;t&&(a=t.idleTimeoutInSeconds||a,s=t.currentPageName||s,n=t.websocketOptions,i=t.initialStartTime,!1===t.trackWhenUserLeavesPage&&(r=!1),!1===t.trackWhenUserGoesIdle&&(l=!1)),e.setIdleDurationInSeconds(a),e.setCurrentPageName(s),e.setUpWebsocket(n),e.listenForVisibilityEvents(r,l),e.startTimer(void 0,i)}};return e})}).call(e.e)}]);