1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[413],{228:function(n,e,t){var i=t(7297),r=t(85893);t(67294);var l=t(93391);function o(){let n=(0,i.Z)(["\n 0% {\n left: 0;\n }\n\n 100% {\n left: calc(100% - var(--size) / 8)\n }\n"]);return o=function(){return n},n}function c(){let n=(0,i.Z)(["\n position: relative;\n\n width: var(--size);\n height: var(--size);\n\n span {\n position: absolute;\n top: calc(50% - var(--size) / 8);\n left: 0;\n\n display: block;\n width: calc(var(--size) / 8);\n height: calc(var(--size) / 4);\n background-color: var(--color);\n opacity: var(--opacity);\n animation: "," 0.8s var(--delay) ease-in-out infinite alternate-reverse;\n }\n"]);return c=function(){return n},n}let a=n=>{let{size:e=64,color:t="#ffd600",style:i={}}=n;return(0,r.jsx)(d,{style:{"--size":e+"px","--color":t,...i},children:[void 0,void 0,void 0,void 0,void 0].map((n,e)=>(0,r.jsx)("span",{style:{"--delay":100*e+"ms","--opacity":e/5}},e))})};e.Z=a;let s=(0,l.F4)(o()),d=l.ZP.div.withConfig({componentId:"sc-89391337-0"})(c(),s)},42840:function(n,e,t){t.r(e),t.d(e,{default:function(){return C}});var i=t(85893),r=t(66259),l=t(72046),o=t(5152),c=t.n(o),a=t(11163),s=t(67294),d=t(21986),u=t(228),f=t(7297),h=t(93391),p=t(55320);function m(){let n=(0,f.Z)(["\n position: fixed;\n left: 0;\n top: 5.5rem;\n z-index: 9;\n\n display: flex;\n\n width: 100%;\n height: calc(100% - 12rem);\n padding-left: 0;\n\n background-color: #f7f7f9;\n animation: "," 0.25s;\n"]);return m=function(){return n},n}function g(){let n=(0,f.Z)(["\n display: flex;\n flex-direction: column;\n\n width: 10rem;\n height: 100%;\n overflow-y: auto;\n\n list-style: none;\n margin: 0;\n padding: 0 0.5rem 0 0;\n"]);return g=function(){return n},n}function x(){let n=(0,f.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n width: 100%;\n min-height: 7.5rem;\n cursor: pointer;\n border-left: 0.3rem solid;\n\n border-color: ",";\n background-color: ",";\n\n span:last-child {\n font-size: 1.3rem;\n font-weight: 500;\n text-align: center;\n margin-top: 0.3rem;\n }\n\n > a {\n display: flex;\n flex-direction: column;\n width: 100%;\n min-height: 100%;\n justify-content: center;
1\n align-items: center;\n color: inherit;\n }\n"]);return x=function(){return n},n}function v(){let n=(0,f.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 100%;\n height: 100%;\n"]);return v=function(){return n},n}let y=h.ZP.div.withConfig({componentId:"sc-4119ddf9-0"})(m(),p.Ji),w=h.ZP.ul.withConfig({componentId:"sc-4119ddf9-1"})(g()),j=h.ZP.li.withConfig({componentId:"sc-4119ddf9-2"})(x(),n=>{let{active:e}=n;return e?"#ffd600":"#fff"},n=>{let{active:e}=n;return e?"#f7f7f9":"#fff"}),b=h.ZP.div.withConfig({componentId:"sc-4119ddf9-3"})(v()),Z=c()(()=>Promise.all([t.e(1664),t.e(9117)]).then(t.bind(t,59117)),{loadableGenerated:{webpack:()=>[59117]}}),k=n=>{let{closePanel:e}=n,t=(0,a.useRouter)(),{data:o,loading:c}=(0,l.Z)("mobileMenu",!0),[f,h]=(0,s.useState)(-1),[p,m]=(0,s.useState)(null);(0,s.useEffect)(()=>{let n=document.querySelector("html"),e=document.querySelector("#topBanner");if(n&&e)return n.style.overflowY="hidden",e.style.display="none",()=>{n.style.overflowY="",e.style.display=""}},[]);let g=(0,s.useCallback)(n=>o.find(e=>e.uri===n),[o]);(0,s.useEffect)(()=>{if(o.length>0){let n=g("dien-thoai");n&&(m(n),h(0))}},[o,g]);let x=(0,s.useCallback)((n,i)=>{if(n.isLink)return e(),t.push("/".concat(n.uri));let r=g(n.uri)||null;h(i),m(r)},[g,e,t]),v=n=>{switch(n.uri){case"thu-cu-doi-moi":return(0,i.jsxs)("span",{children:["Thu CÅ©",(0,i.jsx)("br",{}),"Äá»i Má»i"]});case"info/tra-gop":return(0,i.jsx)("span",{children:"Trả G\xf3p"});case"wow/apple-chinh-hang":return(0,i.jsxs)("span",{children:["Apple",(0,i.jsx)("br",{}),"Ch\xednh h\xe3ng"]});default:return(0,i.jsx)("span",{children:n.name})}};return(0,i.jsxs)(y,{onClick:n=>n.stopPropagation(),children:[0===o.length&&(0,i.jsx)(b,{children:(0,i.jsx)(u.Z,{color:"rgb(255,214,0)",size:50})}),o.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w,{children:r.$n.map((n,e)=>(0,i.jsx)(s.Fragment,{children:"tin-cong-nghe"!==n.uri?(0,i.jsxs)(j,{active:e===f,onClick:()=>x(n,e),style:{color:"khuyen-mai"===n.uri?"#f42e2f":""},children:[(0,i.jsx)(d.Z,{src:n.icon,alt:n.name,width:30,height:30}),v(n)]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(j,{active:!1,children:(0,i.jsxs)("a",{href:"/".concat(n.uri),children:[(0,i.jsx)(d.Z,{src:n.icon,alt:n.name,width:30,height:30}),(0,i.jsx)("span",{children:n.name})]})})})},e))}),(0,i.jsx)(Z,{category:p,closePanel:e})]})]})};var C=k},97883:function(n,e,t){t.d(e,{Bp:function(){return o}});var i=t(42474),r=t.n(i);let l=n=>{let e=r().createCipheriv("aes-256-cbc","ei8bbP862wiwF5FozEdRC1X7OdR36OaL","2549287307920401");return e.update(n,"ascii","base64")+e.final("base64")},o=()=>{let n=Date.now(),e=l(n.toString());return e}}}]);
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.