{"version":3,"sources":["main.js"],"names":["clickChangeMap","$","click","linkMap","data","attr","clickPie","this","hasClass","removeClass","id","console","log","toggleClass","ClickMobileMenu","window","width","each","find","wrap","append","parent","next","slideToggle","closest","siblings","slideUp","document","ready","animationLoader","setBackgroundElement","header","init","swiperInit","focusSearch","MappingMenu","clickTuyenDung","menuScrollGt","checkScorll","length","heightBanner","outerHeight","scroll","event","scrollTop","addClass","heightHeader","sticky","topSpacing","zIndex","clone","appendTo","$parent","$items","$loadMoreButton","idx","item","numberItems","on","e","setTimeout","slideDown","hide","ww","prependTo","focus","blur","height","el","thisHeight","scrollActive","search","hambuger","background","css","background-size","background-position","background-image","Swiper","slidesPerView","loop","autoplay","delay","speed","slidesPerColumn","slidesPerGroup","slidesPerColumnFill","spaceBetween","breakpoints","575","768","1024","1280","HomeActivity","mainThumbgt","watchSlidesProgress","centeredSlides","navigation","nextEl","prevEl","thumbs","swiper","effect","grabCursor","coverflowEffect","rotate","stretch","depth","modifier","slideShadows","pagination","idSlide","slideTo"],"mappings":"AAAA,aAgBA,SAASA,iBACRC,EAAE,aAAaC,MAAM,WACpB,IAAIC,EAAUF,EAAE,aAAaG,KAAK,OAClCH,EAAE,sBAAsBI,KAAK,MAAOF,KAGtC,SAASG,WACRL,EAAE,8CAA8CC,MAAM,WACjDD,EAAEM,MAAMC,SAAS,YAEpBP,EAAE,+CAA+CQ,YAChD,UAEDR,EAAE,8CAA8CQ,YAC/C,WAKF,IAAIC,EAAKT,EAAEM,MAAMF,KAAK,MACtBM,QAAQC,IAAIF,GACZT,EAAEM,MAAMM,YAAY,UACpBZ,EAAE,+CAAiDS,GAASG,YAC3D,YAKH,SAASC,kBACJb,EAAEc,QAAQC,QAAU,OACvBf,EAAE,wBAAwBgB,KAAK,WAC1BhB,EAAEM,MAAMC,SAAS,cACpBP,EAAEM,MACAW,KAAK,aACLC,KAAK,uCACPlB,EAAEM,MACAW,KAAK,oBACLE,OACA,oFAIJnB,EAAE,mBAAmBC,MAAM,WAC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ACA,CACCC,cAAe,EACfI,MAAO,IACPI,aAAc,GACduB,WAAY,CACX1C,GAAI,8CAKPnE,EAAE,sCAAsCC,MAAM,WAC7CD,EAAEM,MAAMc,SAASI,WAAWP,KAAK,YAAYQ,UAC7CzB,EAAE,sCAAsCQ,YAAY,UACpDR,EAAEM,MAAMM,YAAY,UACpBZ,EAAEM,MAAMe,OAAOC,cAEf,IAAIwF,EAAU9G,EAAEM,MAAMF,KAAK,cAC3BwF,EAAamB,QAAQD,KAIvB9G,EAAE0B,UAAU+B,GAAG,SAAU,WACxB3B,OAAOuC","file":"main.min.js","sourcesContent":["$(document).ready(function () {\r\n\tanimationLoader();\r\n\tsetBackgroundElement();\r\n\t// header\r\n\theader.init();\r\n\t// swiper\r\n\tswiperInit();\r\n\tfocusSearch();\r\n\tMappingMenu();\r\n\tclickTuyenDung();\r\n\tmenuScrollGt();\r\n\tcheckScorll();\r\n\tClickMobileMenu();\r\n\tclickPie();\r\n\tclickChangeMap();\r\n});\r\nfunction clickChangeMap() {\r\n\t$(\".item-map\").click(function () {\r\n\t\tlet linkMap = $(\".item-map\").data(\"map\");\r\n\t\t$(\".iframe-map iframe\").attr(\"src\", linkMap);\r\n\t});\r\n}\r\nfunction clickPie() {\r\n\t$(\".main-chart-circle .box-content-right path\").click(function () {\r\n\t\tif ($(this).hasClass(\"active\")) {\r\n\t\t} else {\r\n\t\t\t$(\".main-chart-circle .box-content-right image\").removeClass(\r\n\t\t\t\t\"active\"\r\n\t\t\t);\r\n\t\t\t$(\".main-chart-circle .box-content-right path\").removeClass(\r\n\t\t\t\t\"active\"\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\t//\r\n\t\tlet id = $(this).attr(\"id\");\r\n\t\tconsole.log(id);\r\n\t\t$(this).toggleClass(\"active\");\r\n\t\t$(\".main-chart-circle .box-content-right image#\" + id + \"\").toggleClass(\r\n\t\t\t\"active\"\r\n\t\t);\r\n\t});\r\n}\r\n/*==================== Responsive Mobile Menu ====================*/\r\nfunction ClickMobileMenu() {\r\n\tif ($(window).width() < 1280) {\r\n\t\t$(\".main-menu-mobile li\").each(function () {\r\n\t\t\tif ($(this).hasClass(\"dropdown\")) {\r\n\t\t\t\t$(this)\r\n\t\t\t\t\t.find(\".nav-link\")\r\n\t\t\t\t\t.wrap('
');\r\n\t\t\t\t$(this)\r\n\t\t\t\t\t.find(\".wrap-title-link\")\r\n\t\t\t\t\t.append(\r\n\t\t\t\t\t\t'
expand_more
'\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t});\r\n\t\t$(\".icon-drop-down\").click(function () {\r\n\t\t\t$(this).parent().toggleClass(\"active\");\r\n\t\t\t$(this).parent().next().slideToggle();\r\n\t\t\t$(this).closest(\"li\").siblings().find(\".dropdown-menu\").slideUp();\r\n\t\t\t$(this)\r\n\t\t\t\t.closest(\"li\")\r\n\t\t\t\t.siblings()\r\n\t\t\t\t.find(\".wrap-title-link\")\r\n\t\t\t\t.removeClass(\"active\");\r\n\t\t});\r\n\t}\r\n}\r\n/*==================== Check Scroll Menu ====================*/\r\nconst checkScorll = () => {\r\n\tif ($(\".homepage\").length == 1) {\r\n\t\tlet heightBanner = $(\".banner-home\").outerHeight();\r\n\t\t$(window).scroll(function (event) {\r\n\t\t\tvar checkScroll = $(this).scrollTop();\r\n\t\t\tif (checkScroll > heightBanner) {\r\n\t\t\t\t$(\"header\").addClass(\"scroll-menu\");\r\n\t\t\t} else {\r\n\t\t\t\t$(\"header\").removeClass(\"scroll-menu\");\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n};\r\n/*==================== Tab scroll 1 ====================*/\r\nfunction menuScrollGt() {\r\n\tlet heightHeader = $(\"header\").outerHeight();\r\n\tif ($(window).width() >= 1280) {\r\n\t\t$(\".tab-zone\").sticky({\r\n\t\t\ttopSpacing: heightHeader,\r\n\t\t\tzIndex: 999,\r\n\t\t});\r\n\t} else {\r\n\t\t$(\".tab-zone .wrap-zone li\")\r\n\t\t\t.clone()\r\n\t\t\t.appendTo(\".category-page-gt .list-menu-page\");\r\n\t}\r\n\t$(\".category-page-gt .title-header\").click(function () {\r\n\t\t$(this).parent().toggleClass(\"active\");\r\n\t});\r\n\tlet heightBanner = $(\".banner__pages\").outerHeight();\r\n\t$(window).scroll(function () {\r\n\t\tlet checkScroll = $(this).scrollTop();\r\n\t\tif (checkScroll > heightBanner) {\r\n\t\t\t$(\".category-page-gt\").addClass(\"show-p\");\r\n\t\t} else {\r\n\t\t\t$(\".category-page-gt\").removeClass(\"show-p\");\r\n\t\t}\r\n\t});\r\n}\r\n/*==================== Click Tuyen Dung ====================*/\r\n\r\nfunction clickTuyenDung() {\r\n\tvar $parent = $(\".page-tuyen-dung .wrap-item-main\"),\r\n\t\t$items = $parent.find(\".col-lg-6\"),\r\n\t\t$loadMoreButton = $(\".page-tuyen-dung .btn-view-arrow\"),\r\n\t\tnumberItems = 6, // số lượng item ban đầu hiển thị\r\n\t\tmaxItems = 4; // Số lượng item mỗi lần nhấn\r\n\t$parent.append(\r\n\t\t'
'\r\n\t);\r\n\tvar hiddenClass = \"visually-hidden\";\r\n\t$.each($items, function (idx, item) {\r\n\t\tif (idx > numberItems - 1) {\r\n\t\t\t$(this).addClass(hiddenClass);\r\n\t\t}\r\n\t});\r\n\t$loadMoreButton.on(\"click\", function (e) {\r\n\t\t$(\".loading-search\").addClass(\"active\");\r\n\t\tsetTimeout(() => {\r\n\t\t\t$(\".loading-search\").removeClass(\"active\");\r\n\t\t}, 250);\r\n\t\tsetTimeout(() => {\r\n\t\t\t$(\".\" + hiddenClass).each(function (idx, item) {\r\n\t\t\t\tif (idx < maxItems) {\r\n\t\t\t\t\t$(this).slideDown();\r\n\t\t\t\t\t$(this).removeClass(hiddenClass);\r\n\t\t\t\t}\r\n\t\t\t\t// kill button if no more to show\r\n\t\t\t\tif ($(\".\" + hiddenClass).length === 0) {\r\n\t\t\t\t\t$loadMoreButton.hide();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}, 300);\r\n\t});\r\n}\r\n/*==================== Append Menu ====================*/\r\nfunction MappingMenu() {\r\n\tlet ww = $(window).width();\r\n\tif (ww < 1280) {\r\n\t\t$(\".menu-right .main-menu\").appendTo(\".main-menu-mobile .container\");\r\n\t}\r\n\tif (ww < 768) {\r\n\t\t$(\".menu-right .wrap-lang-search\").prependTo(\r\n\t\t\t\".main-menu-mobile .container\"\r\n\t\t);\r\n\t}\r\n}\r\n/*==================== Animation loader ====================*/\r\nfunction animationLoader(e) {\r\n\t$(\"body\").addClass(\"loaded\");\r\n}\r\n/*==================== focus search ====================*/\r\nfunction focusSearch() {\r\n\t$(\".searchbox input\")\r\n\t\t.focus(function () {\r\n\t\t\t$(this).parent().removeClass(\"notFocus\");\r\n\t\t\t$(this).parent().addClass(\"focus\");\r\n\t\t})\r\n\t\t.blur(function () {\r\n\t\t\t$(this).parent().removeClass(\"focus\");\r\n\t\t\t$(this).parent().addClass(\"notFocus\");\r\n\t\t});\r\n}\r\n/*==================== JS Other ====================*/\r\nfunction height(el) {\r\n\tvar height = 0;\r\n\t$(el).each(function () {\r\n\t\tvar thisHeight = $(this).height();\r\n\t\tif (thisHeight > height) {\r\n\t\t\theight = thisHeight;\r\n\t\t}\r\n\t\tsetTimeout(() => {\r\n\t\t\t$(el).height(height);\r\n\t\t}, 100);\r\n\t});\r\n}\r\n\r\nlet header = {\r\n\tscrollActive: function () {\r\n\t\tlet height = $(\"header\").height();\r\n\t\tif ($(window).scrollTop() > height) {\r\n\t\t\t$(\"header\").addClass(\"active\");\r\n\t\t} else {\r\n\t\t\t$(\"header\").removeClass(\"active\");\r\n\t\t}\r\n\t},\r\n\tsearch: function () {\r\n\t\t$(\".search\").on(\"click\", function () {\r\n\t\t\t$(\".wrap-search-main\").toggleClass(\"active\");\r\n\t\t});\r\n\t\t$(\".wrap-search-main .close\").click(function () {\r\n\t\t\t$(\".wrap-search-main\").removeClass(\"active\");\r\n\t\t});\r\n\t},\r\n\thambuger: function () {\r\n\t\t$(\".hambuger\").click(function () {\r\n\t\t\t$(this).toggleClass(\"active\");\r\n\t\t\t$(\".main-menu-mobile\").toggleClass(\"active\");\r\n\t\t\t$(\"body\").toggleClass(\"openMenu\");\r\n\t\t});\r\n\t},\r\n\tinit: function () {\r\n\t\tthis.hambuger();\r\n\t\tthis.search();\r\n\t},\r\n};\r\n\r\nfunction setBackgroundElement() {\r\n\t$(\"[setBackground]\").each(function () {\r\n\t\tvar background = $(this).attr(\"setBackground\");\r\n\t\t$(this).css({\r\n\t\t\t\"background-size\": \"cover\",\r\n\t\t\t\"background-position\": \"center center\",\r\n\t\t\t\"background-image\": \"url(\" + background + \")\",\r\n\t\t});\r\n\t});\r\n}\r\nfunction swiperInit() {\r\n\tvar bannerHome = new Swiper(\".banner-home .swiper-container\", {\r\n\t\tslidesPerView: 1,\r\n\t\tloop: true,\r\n\t\tautoplay: {\r\n\t\t\tdelay: 5000,\r\n\t\t},\r\n\t\tspeed: 900,\r\n\t});\r\n\tvar slideCustomer = new Swiper(\".home-customer .swiper-container\", {\r\n\t\tslidesPerView: 2,\r\n\t\tslidesPerColumn: 1,\r\n\t\tslidesPerGroup: 1,\r\n\t\tspeed: 300,\r\n\t\tslidesPerColumnFill: \"row\",\r\n\t\tautoplay: {\r\n\t\t\tdelay: 2500,\r\n\t\t},\r\n\t\tspaceBetween: 10,\r\n\t\tbreakpoints: {\r\n\t\t\t575: {\r\n\t\t\t\tspaceBetween: 15,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t\tslidesPerColumn: 2,\r\n\t\t\t},\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 15,\r\n\t\t\t\tslidesPerView: 4,\r\n\t\t\t\tslidesPerColumn: 2,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\tvar reviewCustomer = new Swiper(\".home-review-customer .swiper-container\", {\r\n\t\tslidesPerView: 1.4,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 10,\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 4,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 5,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\tvar HomeActivity = new Swiper(\".home-activity .swiper-container\", {\r\n\t\tslidesPerView: 1,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 10,\r\n\t});\r\n\tvar mainThumbgt = new Swiper(\r\n\t\t\".page-gioi-thieu.section-5 .wrap-slide-main-thumb .swiper-container\",\r\n\t\t{\r\n\t\t\tslidesPerView: 3,\r\n\t\t\tspeed: 900,\r\n\t\t\tloop: true,\r\n\t\t\tspaceBetween: 10,\r\n\t\t\twatchSlidesProgress: true,\r\n\t\t\tcenteredSlides: true,\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t575: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t\t1024: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\tvar mainCustomer = new Swiper(\r\n\t\t\".page-gioi-thieu.section-5 .wrap-slide-main-content .swiper-container\",\r\n\t\t{\r\n\t\t\tspaceBetween: 10,\r\n\t\t\tloop: true,\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".page-gioi-thieu.section-5 .wrap-slide-main-content .btn-next\",\r\n\t\t\t\tprevEl: \".page-gioi-thieu.section-5 .wrap-slide-main-content .btn-prev\",\r\n\t\t\t},\r\n\t\t\tthumbs: {\r\n\t\t\t\tswiper: mainThumbgt,\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\t// about\r\n\tvar gioiThieu6 = new Swiper(\r\n\t\t\".page-gioi-thieu.section-6 .swiper-container\",\r\n\t\t{\r\n\t\t\tslidesPerView: 1.2,\r\n\t\t\tspeed: 900,\r\n\t\t\tspaceBetween: 15,\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t768: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\tvar SlideLvhdImgGallery = new Swiper(\r\n\t\t\".page-gioi-thieu.section-8 .swiper-container\",\r\n\t\t{\r\n\t\t\teffect: \"coverflow\",\r\n\t\t\tgrabCursor: true,\r\n\t\t\tcenteredSlides: true,\r\n\t\t\tloop: true,\r\n\t\t\tcoverflowEffect: {\r\n\t\t\t\trotate: 0,\r\n\t\t\t\tstretch: 10,\r\n\t\t\t\tdepth: 130,\r\n\t\t\t\tmodifier: 1,\r\n\t\t\t\tslideShadows: false,\r\n\t\t\t},\r\n\t\t\tslidesPerView: \"auto\",\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t768: {\r\n\t\t\t\t\tcoverflowEffect: {\r\n\t\t\t\t\t\trotate: 0,\r\n\t\t\t\t\t\tstretch: 200,\r\n\t\t\t\t\t\tdepth: 50,\r\n\t\t\t\t\t\tmodifier: 1,\r\n\t\t\t\t\t\tslideShadows: false,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t1024: {\r\n\t\t\t\t\tcoverflowEffect: {\r\n\t\t\t\t\t\trotate: 0,\r\n\t\t\t\t\t\tstretch: 300,\r\n\t\t\t\t\t\tdepth: 130,\r\n\t\t\t\t\t\tmodifier: 1,\r\n\t\t\t\t\t\tslideShadows: false,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".page-gioi-thieu.section-8 .btn-next\",\r\n\t\t\t\tprevEl: \".page-gioi-thieu.section-8 .btn-prev\",\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\tvar slideDoiTac = new Swiper(\r\n\t\t\".page-gioi-thieu.section-9 .swiper-container\",\r\n\t\t{\r\n\t\t\tslidesPerView: 2,\r\n\t\t\tspeed: 900,\r\n\t\t\tspaceBetween: 15,\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".page-gioi-thieu.section-9 .btn-next\",\r\n\t\t\t\tprevEl: \".page-gioi-thieu.section-9 .btn-prev\",\r\n\t\t\t},\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t768: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t\t1024: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 4,\r\n\t\t\t\t},\r\n\t\t\t\t1280: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 5,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\tvar gtSection10 = new Swiper(\r\n\t\t\".page-gioi-thieu.section-10 .swiper-container\",\r\n\t\t{\r\n\t\t\tslidesPerView: 1.5,\r\n\t\t\tspeed: 900,\r\n\t\t\tspaceBetween: 15,\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: \".page-gioi-thieu.section-10 .btn-next\",\r\n\t\t\t\tprevEl: \".page-gioi-thieu.section-10 .btn-prev\",\r\n\t\t\t},\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t768: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t},\r\n\t\t\t\t1024: {\r\n\t\t\t\t\tspaceBetween: 30,\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\tvar otherNews = new Swiper(\".page-other-news .swiper-container\", {\r\n\t\tslidesPerView: 1.2,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".page-other-news .btn-next\",\r\n\t\t\tprevEl: \".page-other-news .btn-prev\",\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t575: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\tvar DichVuAnUong = new Swiper(\".dich-vu-an-uong .swiper-container\", {\r\n\t\teffect: \"coverflow\",\r\n\t\tgrabCursor: true,\r\n\t\tcenteredSlides: true,\r\n\t\tloop: true,\r\n\t\tcoverflowEffect: {\r\n\t\t\trotate: 0,\r\n\t\t\tstretch: 10,\r\n\t\t\tdepth: 130,\r\n\t\t\tmodifier: 1,\r\n\t\t\tslideShadows: false,\r\n\t\t},\r\n\t\tslidesPerView: \"auto\",\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tcoverflowEffect: {\r\n\t\t\t\t\trotate: 0,\r\n\t\t\t\t\tstretch: 50,\r\n\t\t\t\t\tdepth: 230,\r\n\t\t\t\t\tmodifier: 1,\r\n\t\t\t\t\tslideShadows: false,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tcoverflowEffect: {\r\n\t\t\t\t\trotate: 0,\r\n\t\t\t\t\tstretch: 300,\r\n\t\t\t\t\tdepth: 230,\r\n\t\t\t\t\tmodifier: 1,\r\n\t\t\t\t\tslideShadows: false,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tcoverflowEffect: {\r\n\t\t\t\t\trotate: 0,\r\n\t\t\t\t\tstretch: 490,\r\n\t\t\t\t\tdepth: 230,\r\n\t\t\t\t\tmodifier: 1,\r\n\t\t\t\t\tslideShadows: false,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".dich-vu-an-uong .btn-next\",\r\n\t\t\tprevEl: \".dich-vu-an-uong .btn-prev\",\r\n\t\t},\r\n\t});\r\n\tvar LvhdNhaHang = new Swiper(\".page-lvhd-nha-hang .swiper-container\", {\r\n\t\tslidesPerView: 1,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tpagination: {\r\n\t\t\tel: \".page-lvhd-nha-hang .swiper-pagination\",\r\n\t\t},\r\n\t});\r\n\tvar LvhdAnUong = new Swiper(\".page-lvhd-an-uong .swiper-container\", {\r\n\t\tslidesPerView: 1,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tpagination: {\r\n\t\t\tel: \".page-lvhd-an-uong .swiper-pagination\",\r\n\t\t},\r\n\t});\r\n\tvar LvhdThietke = new Swiper(\".page-lvhd-thiet-ke .swiper-container\", {\r\n\t\tslidesPerView: 1,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tpagination: {\r\n\t\t\tel: \".page-lvhd-thiet-ke .swiper-pagination\",\r\n\t\t},\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t1024: {\r\n\t\t\t\tspaceBetween: 80,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\t// Quan Ly\r\n\t// Quan Ly 1\r\n\tvar QuanLy1 = new Swiper(\".quan-ly-1 .swiper-container\", {\r\n\t\tslidesPerView: 1.2,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t\tnavigation: {\r\n\t\t\tnextEl: \".quan-ly-1 .btn-next\",\r\n\t\t\tprevEl: \".quan-ly-1 .btn-prev\",\r\n\t\t},\r\n\t});\r\n\tvar QuanLy3 = new Swiper(\".quan-ly-3 .swiper-container\", {\r\n\t\tslidesPerView: 1.1,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\tvar QuanLy5 = new Swiper(\".quan-ly-5 .swiper-container\", {\r\n\t\tslidesPerView: 1.3,\r\n\t\tspeed: 900,\r\n\t\tspaceBetween: 15,\r\n\t\tbreakpoints: {\r\n\t\t\t768: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 2,\r\n\t\t\t},\r\n\t\t\t1280: {\r\n\t\t\t\tspaceBetween: 30,\r\n\t\t\t\tslidesPerView: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t});\r\n\tvar ManagerLocation = new Swiper(\r\n\t\t\".sec-manager-location .swiper-container\",\r\n\t\t{\r\n\t\t\tslidesPerView: 1,\r\n\t\t\tspeed: 900,\r\n\t\t\tspaceBetween: 15,\r\n\t\t\tpagination: {\r\n\t\t\t\tel: \".sec-manager-location .swiper-pagination\",\r\n\t\t\t},\r\n\t\t}\r\n\t);\r\n\t// click tooggle slide\r\n\t$(\".home-activity .toogle-list .title\").click(function () {\r\n\t\t$(this).parent().siblings().find(\".content\").slideUp();\r\n\t\t$(\".home-activity .toogle-list .title\").removeClass(\"active\");\r\n\t\t$(this).toggleClass(\"active\");\r\n\t\t$(this).next().slideToggle();\r\n\t\t//\r\n\t\tlet idSlide = $(this).attr(\"data-slide\");\r\n\t\tHomeActivity.slideTo(idSlide);\r\n\t});\r\n}\r\n\r\n$(document).on(\"scroll\", function () {\r\n\theader.scrollActive();\r\n});\r\n"]}