PageSourceSearch

https://dienthoaigiakho.vn/_next/static/chunks/9767.803e53169c03db6c.js

js dienthoaigiakho.vn collected 2026-10-02 14:50:56 UTC 6,883 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{21986:function(n,e,t){var r=t(7297),i=t(85893),o=t(25675),l=t.n(o);t(67294);var c=t(93391);function a(){let n=(0,r.Z)(["\n  object-fit: ",";\n\n  &.img-loading {\n    filter: blur(20px);\n    background: rgb(255 255 255 / 20%);\n  }\n"]);return a=function(){return n},n}function s(){let n=(0,r.Z)(["\n  object-fit: ",";\n  ",";\n"]);return s=function(){return n},n}let d=(0,c.ZP)(l()).withConfig({componentId:"sc-7cf57dd1-0"})(a(),n=>{let{objectFit:e}=n;return e||"contain"}),u=c.ZP.img.withConfig({componentId:"sc-7cf57dd1-1"})(s(),n=>{let{objectFit:e}=n;return e||"contain"},n=>{let{fill:e}=n;return e?"":"\n    position: absolute;\n    height: 100%;\n    width: 100%;\n    left: 0;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    color: transparent;\n"}),f=n=>{let{optimize:e=!0,...t}=n;return e?(0,i.jsx)(d,{...t,className:"img-loading",onLoadingComplete:n=>{n.classList.remove("img-loading")}}):(0,i.jsx)(u,{src:t.src,alt:t.alt,loading:t.priority?"eager":"lazy"})};e.Z=f},79767:function(n,e,t){t.r(e),t.d(e,{default:function(){return H}});var r=t(85893),i=t(21986),o=t(75904),l=t(44685),c=t(5152),a=t.n(c),s=t(41664),d=t.n(s),u=t(67294),f=t(7297),p=t(93391);function m(){let n=(0,f.Z)(["\n  display: flex;\n  justify-content: space-between;\n  padding: 1.4rem 0;\n"]);return m=function(){return n},n}function h(){let n=(0,f.Z)(["\n  height: 39.5rem;\n  border-radius: 10px;\n\n  @media (max-width: 1200px) {\n    height: auto;\n  }\n"]);return h=function(){return n},n}function x(){let n=(0,f.Z)(["\n  position: relative;\n  z-index: 10;\n  width: 20rem;\n  @media (max-width: 1200px) {\n    display: none;\n  }\n"]);return x=function(){return n},n}function g(){let n=(0,f.Z)(["\n  position: relative;\n  flex-grow: 1;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  max-width: 98.4rem;\n  animation: none;\n  background-color: white;\n\n  @media (max-width: 1200px) {\n    max-width: 100%;\n  }\n"]);return g=function(){return n},n}function w(){let n=(0,f.Z)(["\n  overflow: hidden;\n  position: relative;\n  z-index: 1;\n  flex: 0 0 39.5rem;\n  border-radius: 10px;\n  border: 1px solid rgb(226 226 226 / 61%);\n\n\n  @media (max-width: 1200px) {\n    flex-basis: auto;\n  }\n"]);return w=function(){return n},n}function b(){let n=(0,f.Z)(["\n  display: flex;\n  overflow-x: scroll;\n  overflow-y: hidden;\n  position: relative;\n  scroll-behavior: smooth;\n  scroll-snap-type: x mandatory;\n  left: -1px;\n  width: calc(100% + 2px);\n\n  ::-webkit-scrollbar {\n    display: none;\n  }\n\n  a {\n    position: relative;\n    display: block;\n    flex: 0 0 100%;\n    scroll-snap-align: center;\n\n    &::after {\n      content: '';\n      display: block;\n      padding-bottom: calc(395 * 100% / 984);\n    }\n  }\n"]);return b=function(){return n},n}function v(){let n=(0,f.Z)(["\n  position: absolute;\n  bottom: 2rem;\n  left: 50%;\n  transform: translateX(-50%);\n  z-index: 2;\n\n  display: flex;\n  gap: 0.9rem;\n  user-select: none;\n  -webkit-tap-highlight-color: transparent;\n\n  scroll-behavior: smooth;\n  scroll-snap-type: x mandatory;\n\n  ::-webkit-scrollbar {\n    display: none;\n  }\n\n  @media (max-width: 808px) {\n    display: none;\n  }\n"]);return v=function(){return n},n}function Z(){let n=(0,f.Z)(["\n  position: relative;\n  width: 15px;\n  height: 15px;\n  border-radius: 50%;\n  cursor: pointer;\n  transition: 0.7s;\n  background-color: ",";\n"]);return Z=function(){return n},n}function y(){let n=(0,f.Z)(["\n  position: absolute;\n  top: 50%;\n  z-index: 9;\n  transform: translateY(-50%);\n\n  display: flex;\n  align-items: center;\n  justify-content: center;\n\n  width: 3.5rem;\n  height: 3.5rem;\n\n  border-radius: 0.5rem;\n  border: none;\n  border-radius: 50%;\n  background: #FFFFFF;\n  cursor: pointer;\n  transition: all 0.25s ease 0s;\n  &:hover{\n    background: var(--primary-color);\n  }\n"]);return y=function(){return n},n}function C(){let n=(0,f.Z)(["\n  left: 1rem;\n  @media (min-width: 480px) {\n    left: 2rem;\n  }\n"]);return C=function(){return n},n}function k(){let n=(0,f.Z)(["\n  img{\n    transform: rotate(180deg);\n  }\n  right: 1rem;\n  @media (min-width: 480px) {\n    right: 2rem;\n  }\n"]);return k=function(){return n},n}let j=p.ZP.div.withConfig({componentId:"sc-e761f100-0"})(m()),I=p.ZP.div.withConfig({componentId:"sc-e761f100-1"})(h()),P=(0,p.ZP)(I).withConfig({componentId:"sc-e761f100-2"})(x()),F=(0,p.ZP)(I).withConfig({componentId:"sc-e761f100-3"})(g()),z=p.ZP.div.withConfig({componentId:"sc-e761f100-4"})(w()),E=p.ZP.div.withConfig({componentId:"sc-e761f100-5"})(b()),N=p.ZP.div.withConfig({componentId:"sc-e761f100-6"})(v()),L=p.ZP.div.withConfig({componentId:"sc-e761f100-7"})(Z(),n=>{let{active:e}=n;return e?"rgb(255, 214, 0)":"#FFFFFF"}),_=p.ZP.button.withConfig({componentId:"sc-e761f100-8"})(y()),T=(0,p.ZP)(_).withConfig({componentId:"sc-e761f100-9"})(C()),R=(0,p.ZP)(_).withConfig({componentId:"sc-e761f100-10"})(k());var S=t(27459);let Y=a()(()=>Promise.all([t.e(3714),t.e(6817),t.e(4598),t.e(409)]).then(t.bind(t,15389)),{loadableGenerated:{webpack:()=>[15389]}}),G=n=>{let{data:e}=n,{width:t}=(0,l.Z)(),c=(0,u.useRef)(null),a=(0,u.useRef)(null),{activeIndex:s,slideNext:f,slidePrev:p,slideTo:m}=(0,o.E)(c,{slidePerView:1,count:e.length},a);return(0,r.jsxs)(j,{children:[(0,r.jsx)(P,{children:t&&t>1200&&(0,r.jsx)(Y,{})}),(0,r.jsxs)(F,{children:[(0,r.jsxs)(z,{children:[(0,r.jsx)(E,{ref:c,children:e.map((n,e)=>(0,r.jsx)(d(),{href:n.url,passHref:!0,title:n.description,children:(0,r.jsx)(i.Z,{src:n.photo,alt:n.description,priority:0===e,fill:!0,sizes:"(max-width: 1200px) 100v
1w, 984px",onClick:()=>{(0,S.dataLayerPromotionSelect)("main banner",0,{description:n.description,position:e})}})},e))}),(0,r.jsx)(T,{onClick:p,className:"prev",children:(0,r.jsx)(i.Z,{alt:"",src:"/icons/common/icon-arrow-prev.svg",width:19,height:19})}),(0,r.jsx)(R,{onClick:f,className:"next",children:(0,r.jsx)(i.Z,{alt:"",src:"/icons/common/icon-arrow-prev.svg",width:19,height:19})})]}),(0,r.jsx)(N,{ref:a,children:e.map((n,e)=>(0,r.jsx)(L,{active:s===e,onClick:()=>m(e)},e))})]})]})};var H=G},75904:function(n,e,t){t.d(e,{E:function(){return o}});var r=t(86104),i=t(67294);function o(n,e,t){let[o,l]=(0,i.useState)(0),c=(0,i.useCallback)(e=>{if(n&&n.current&&e!==o){let r=n.current,i=r.clientWidth;if(l(e),r.scrollTo(i*e,0),t&&t.current){let n=t.current;n.scrollTo(i/5*e*(e<o?-1:1),0)}}},[o,n,t]),a=(0,i.useCallback)(()=>{o<e.count-1?c(o+1):c(0)},[o,e.count,c]),s=(0,i.useCallback)(()=>{o<=0?c(e.count-1):c(o-1)},[o,e.count,c]);return(0,i.useEffect)(()=>{if((0,r.Y)())return;let e=setInterval(()=>{a()},5e3);return n&&n.current&&n.current.addEventListener("touchmove",()=>{clearInterval(e)},{passive:!0}),()=>{clearInterval(e)}},[a,n]),{activeIndex:o,slideTo:c,slideNext:a,slidePrev:s}}}}]);

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.