{"version":3,"sources":["main.js"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","setBackground","$","each","background","this","attr","css","background-image","background-size","background-position","background-repeat","headerfixed","window","scrollTop","addClass","removeClass","on","language","e","parents","toggleClass","one","stopPropagation","productCate","siblings","slideToggle","parent","find","slideUp","toggleMenu","mappingSearch","MappingListener","selector","mobileWrapper","mobileMethod","desktopWrapper","desktopMethod","breakpoint","watch","mappingMenu","mappingContact","mappingSocial","mappingLanguage","swiperInit","length","ProductBigImageSlider","Swiper","slidesPerView","effect","lazy","fadeEffect","crossFade","init","height","loop","freeMode","loopedSlides","watchSlidesVisibility","watchSlidesProgress","ProductSmallImageSlider","direction","centeredSlides","spaceBetween","slideToClickedSlide","navigation","prevEl","nextEl","controller","control","speed","autoplay","delay","disabelOnInteraction","breakpoints","1025","576","width","resize","ProjectImageThumbnailSlider","thumbs","swiper","slidesPerColumn","pagination","el","clickable","type","320","480","disableOnInteraction","768","992","Accordion","click","preventDefault","hasClass","next","viewMore","remove","nav","activeMenu","url","location","href","closest","tabActive","tabId","currentTarget","data","hide","show","tabpro","indexTab","socialIcon","jsSocials","showLabel","showCount","shares","share","logo","giaithuong","history","menuNav","homeProduct","homeNews","_ref","banlanhdao","homeBanner","slideChangeTransitionStart","slideChangeTransitionEnd","observer","observeParents","BannerChild","interleaveEffect","onProgress","progress","i","slides","translate","innerTranslate","slide","Math","abs","transform","onTouchStart","transition","onSetTransition","andSelf","swiperOptions","grabCursor","mousewheelControl","extend","autorun","prop","animate","Counter","text","duration","easing","step","now","ceil","document","ready","$href","offset","top","scroll","scrollDistance","fadeIn","fadeOut","position","eq"],"mappings":"AAAA,aAEA,SAASA,gBAAgBC,EAAKC,EAAKC,GAAiK,OAApJD,KAAOD,EAAOG,OAAOC,eAAeJ,EAAKC,EAAK,CAAEC,MAAOA,EAAOG,YAAY,EAAMC,cAAc,EAAMC,UAAU,IAAkBP,EAAIC,GAAOC,EAAgBF,EAF3M,SAASQ,gBACRC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,KAAK,QAKzB,OAHAJ,EAAE,cAAcwJ,QAAQ,CACvB5I,UAAWZ,EAAEkK,GAAOC,SAASC,IAAM,KACjC,MACI,IAEPpK,EAAEW,QAAQ0J,OAAO,WACf,IAAIC,EAAiBtK,EAAEW,QAAQC,YAG3B0J,GAAkB,IACpBtK,EAAE,cAAcuK,OAAO,QAEvBvK,EAAE,cAAcwK,QAAQ,QAI1BxK,EAAE,gBAAgBC,KAAK,SAASqI,GAC1BtI,EAAEG,MAAMsK,WAAWL,IAAK,KAAOE,IACjCtK,EAAE,wBAAwBc,YAAY,UACtCd,EAAE,iBAAiB0K,GAAGpC,GAAGzH,SAAS,eAGrCwJ,WAyBLrK,EAAEgK,UAAUC,MAAM,WACjBvJ,cACAX,gBACA2C,aACA1B,WACAa,gBACAU,iBACAC,gBACAC,kBACAmF,aACAtF,cACAhB,cACAM,aACA8D,YACAK,WACAE,MACAyB,WACAJ,aACAC,UACArB,aACAK,YACAQ,aACAF,SACAgB,aACAJ,cACAD,UACA8B,UACApB","file":"main.min.js","sourcesContent":["function setBackground() {\n\t$('[setBackground]').each(function () {\n\t\tvar background = $(this).attr('setBackground')\n\t\t$(this).css({\n\t\t\t\"background-image\": \"url(\" + background + \")\",\n\t\t\t\"background-size\": \"cover\",\n\t\t\t\"background-position\": \"center center\"\n\t\t})\n\t})\n\t$('[setBackgroundRepeat]').each(function () {\n\t\tvar background = $(this).attr('setBackgroundRepeat')\n\t\t$(this).css({\n\t\t\t\"background-image\": \"url(\" + background + \")\",\n\t\t\t\"background-repeat\": \"repeat\"\n\t\t})\n\t})\n}\n///header fixed\nfunction headerfixed() {\n\tif ($(window).scrollTop() > 0) {\n\t\t$('header').addClass('fixed')\n\t} else {\n\t\t$('header').removeClass('fixed')\n\t}\n\t$(window).on('scroll', function () {\n\t\tif ($(window).scrollTop() > 0) {\n\t\t\t$('header').addClass('fixed')\n\t\t} else {\n\t\t\t$('header').removeClass('fixed')\n\t\t}\n\t})\n\n\t$(window).on('scroll', function () {\n\t\tif ($(window).scrollTop() > 0) {\n\t\t\t$('.about-nav').addClass('fixed')\n\t\t\t$('.about-nav').addClass('fixed')\n\t\t} else {\n\t\t\t$('header').removeClass('fixed')\n\t\t\t$('.about-nav').removeClass('fixed')\n\t\t}\n\t})\n}\n\nfunction language() {\n\t$(\".language-wrapper .language-active\").on(\"click\", function (e) {\n\t\t$(this)\n\t\t\t.parents(\".language-wrapper\")\n\t\t\t.toggleClass(\"active\");\n\t\t$(\"html\").one(\"click\", function () {\n\t\t\t$(\".language-wrapper\").removeClass(\"active\");\n\t\t});\n\t\te.stopPropagation();\n\t});\n}\n\nfunction productCate() {\n\t$('.side-menu .side-menu-item h3').on('click', function () {\n\t\t$(this).siblings('ul').slideToggle()\n\t\t$(this).parent().toggleClass('active')\n\t\t$(this).parent().siblings('.side-menu-item').find('ul').slideUp()\n\t\t$(this).parent().siblings('.side-menu-item').removeClass('active')\n\t})\n\t$('.side-menu .side-menu-mobile-header').on('click', function () {\n\t\t$('.side-menu .side-menu-list').slideToggle()\n\t})\n}\n\nfunction toggleMenu() {\n\t$('.mobile-toggle').on('click', function () {\n\t\t$('.mobile-toggle').toggleClass('active')\n\t\t$('.mobile-menu').toggleClass('active')\n\t\t$('.back-drop').toggleClass('active')\n\t\t$('body').toggleClass('over-hidden')\n\t});\n\t$('.back-drop').on('click', function () {\n\t\t$('.mobile-toggle').removeClass('active')\n\t\t$('.mobile-menu').removeClass('active')\n\t\t$('.back-drop').removeClass('active')\n\t\t$('body').removeClass('over-hidden')\n\t});\n}\n\nfunction mappingSearch() {\n\tvar moveMenu1 = new MappingListener({\n\t\tselector: \"header .search\",\n\t\tmobileWrapper: \"header .mobile-menu\",\n\t\tmobileMethod: \"appendTo\",\n\t\tdesktopWrapper: \"header .contact\",\n\t\tdesktopMethod: \"insertBefore\",\n\t\tbreakpoint: 1200,\n\t}).watch()\n}\n\nfunction mappingMenu() {\n\tvar moveMenu = new MappingListener({\n\t\tselector: \"header .main-menu\",\n\t\tmobileWrapper: \"header .mobile-menu\",\n\t\tmobileMethod: \"appendTo\",\n\t\tdesktopWrapper: \"header .logo-wrapper\",\n\t\tdesktopMethod: \"insertAfter\",\n\t\tbreakpoint: 1200,\n\t}).watch()\n}\nfunction mappingContact() {\n\tvar moveMenu = new MappingListener({\n\t\tselector: \"header .contact\",\n\t\tmobileWrapper: \"header .mobile-menu\",\n\t\tmobileMethod: \"appendTo\",\n\t\tdesktopWrapper: \"header .search\",\n\t\tdesktopMethod: \"insertAfter\",\n\t\tbreakpoint: 1200,\n\t}).watch()\n}\nfunction mappingSocial() {\n\tvar moveMenu = new MappingListener({\n\t\tselector: \"header .social\",\n\t\tmobileWrapper: \"header .mobile-menu\",\n\t\tmobileMethod: \"appendTo\",\n\t\tdesktopWrapper: \"header .contact\",\n\t\tdesktopMethod: \"insertAfter\",\n\t\tbreakpoint: 1200,\n\t}).watch()\n}\nfunction mappingLanguage() {\n\tvar moveMenu = new MappingListener({\n\t\tselector: \"header .Module-210\",\n\t\tmobileWrapper: \"header .mobile-toggle\",\n\t\tmobileMethod: \"insertBefore\",\n\t\tdesktopWrapper: \"header .social\",\n\t\tdesktopMethod: \"insertAfter\",\n\t\tbreakpoint: 1200,\n\t}).watch()\n}\nfunction swiperInit() {\n\tif ($('.product-detail').length > 0) {\n\t\tvar ProductBigImageSlider = new Swiper('.product-detail .product-images', {\n\t\t\tslidesPerView: 1,\n\t\t\teffect: 'fade',\n\t\t\tlazy: true,\n\t\t\tfadeEffect: {\n\t\t\t\tcrossFade: true,\n\t\t\t},\n\t\t\ton: {\n\t\t\t\tinit: function () {\n\t\t\t\t\t$('.product-detail .product-thumbnails').height(340)\n\t\t\t\t}\n\t\t\t},\n\t\t\tloop: true,\n\t\t\tfreeMode: true,\n\t\t\tloopedSlides: 5, //looped slides should be the same\n\t\t\twatchSlidesVisibility: true,\n\t\t\twatchSlidesProgress: true,\n\t\t\t// thumbs: {\n\t\t\t// \tswiper: ProductSmallImageSlider,\n\t\t\t// }\n\t\t})\n\t\tvar ProductSmallImageSlider = new Swiper('.product-detail .product-thumbnails', {\n\t\t\tslidesPerView: 4,\n\t\t\tdirection: 'vertical',\n\t\t\tcenteredSlides: true,\n\t\t\tfreeMode: true,\n\t\t\tspaceBetween: 10,\n\t\t\tslideToClickedSlide: true,\n\t\t\tlazy: true,\n\t\t\tloop: true,\n\t\t\tloopedSlides: 5,\n\t\t\tfadeEffect: {\n\t\t\t\tcrossFade: true,\n\t\t\t},\n\t\t\tnavigation: {\n\t\t\t\tprevEl: '.product-detail .product-thumbnails-nav .lnr-chevron-up',\n\t\t\t\tnextEl: '.product-detail .product-thumbnails-nav .lnr-chevron-down',\n\t\t\t}\n\t\t})\n\t\tProductSmallImageSlider.controller.control = ProductBigImageSlider;\n\t\tProductBigImageSlider.controller.control = ProductSmallImageSlider;\n\t}\n\n\n\n\tvar ProductUsedByProjects = new Swiper('.product-used-by-projects .swiper-container', {\n\t\tslidesPerView: 3,\n\t\tspaceBetween: 20,\n\t\tloop: true,\n\t\tspeed: 1200,\n\t\tlazy: true,\n\t\tautoplay: {\n\t\t\tdelay: 4200,\n\t\t\tdisabelOnInteraction: false,\n\t\t},\n\t\tbreakpoints: {\n\t\t\t1025: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t576: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t}\n\t\t},\n\t\tnavigation: {\n\t\t\tprevEl: '.product-used-by-projects .product-used-by-projects-nav .lnr-arrow-left',\n\t\t\tnextEl: '.product-used-by-projects .product-used-by-projects-nav .lnr-arrow-right',\n\t\t},\n\t\ton: {\n\t\t\tinit: function () {\n\t\t\t\t$('.product-used-by-projects .swiper-container .swiper-slide .imgbox').each(function () {\n\t\t\t\t\t$(this).height($(this).width() / (400 / 225))\n\t\t\t\t})\n\t\t\t},\n\t\t\tresize: function () {\n\t\t\t\t$('.product-used-by-projects .swiper-container .swiper-slide .imgbox').each(function () {\n\t\t\t\t\t$(this).height($(this).width() / (400 / 225))\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t})\n\tvar ProductOthers = new Swiper('.product-others .swiper-container', {\n\t\tslidesPerView: 4,\n\t\tspaceBetween: 20,\n\t\tloop: true,\n\t\tspeed: 1200,\n\t\tlazy: true,\n\t\tautoplay: {\n\t\t\tdelay: 3200,\n\t\t\tdisabelOnInteraction: false,\n\t\t},\n\t\tbreakpoints: {\n\t\t\t1025: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t},\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t}\n\t\t},\n\t\tnavigation: {\n\t\t\tprevEl: '.product-others .product-others-nav .lnr-arrow-left',\n\t\t\tnextEl: '.product-others .product-others-nav .lnr-arrow-right',\n\t\t}\n\t})\n\tvar ProjectImageThumbnailSlider = new Swiper('.project-detail .project-image-thumbnails .swiper-container', {\n\t\tspaceBetween: 10,\n\t\tslidesPerView: 5,\n\t\tloop: true,\n\t\tlazy: true,\n\t\t// freeMode: true,\n\t\tloopedSlides: 5, //looped slides should be the same\n\t\twatchSlidesVisibility: true,\n\t\twatchSlidesProgress: true,\n\t})\n\tvar ProjectImageBigSlider = new Swiper('.project-detail .project-image-big .swiper-container', {\n\t\tloop: true,\n\t\tlazy: true,\n\t\tloopedSlides: 5, //looped slides should be the same\n\t\teffect: 'fade',\n\t\tfadeEffect: {\n\t\t\tcrossFade: true,\n\t\t},\n\t\tthumbs: {\n\t\t\tswiper: ProjectImageThumbnailSlider,\n\t\t},\n\t})\n\tvar swiper = new Swiper('.doitac-slider .swiper-container', {\n\t\tslidesPerView: 3,\n\t\tslidesPerColumn: 2,\n\t\tspaceBetween: 20,\n\t\tnavigation: {\n\t\t\tnextEl: '.swiper2-btn-next',\n\t\t\tprevEl: '.swiper2-btn-prev'\n\t\t},\n\t\t// autoplay: {\n\t\t// delay: 3000,\n\t\t// disableOnInteraction: false,\n\t\t// },\n\t\t// If we need pagination\n\t\tpagination: {\n\t\t\tel: '.home-slider .swiper-pagination',\n\t\t\tclickable: true,\n\t\t\ttype: 'bullets'\n\t\t},\n\t\tbreakpoints: {\n\t\t\t// when window width is <= 320px\n\t\t\t320: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tspaceBetween: 10\n\t\t\t},\n\t\t\t// when window width is <= 480px\n\t\t\t480: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t\tautoplay: {\n\t\t\t\t\tdelay: 2500,\n\t\t\t\t\tdisableOnInteraction: false,\n\t\t\t\t},\n\t\t\t},\n\t\t\t// when window width is <= 640px\n\t\t\t768: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tspaceBetween: 20\n\t\t\t},\n\t\t\t992: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20\n\t\t\t}\n\t\t},\n\t});\n\tvar swiper = new Swiper('.khachhang-slider .swiper-container', {\n\t\tslidesPerView: 3,\n\t\tslidesPerColumn: 2,\n\t\tspaceBetween: 20,\n\t\tnavigation: {\n\t\t\tnextEl: '.swiper-btn-next',\n\t\t\tprevEl: '.swiper-btn-prev'\n\t\t},\n\n\t\t// autoplay: {\n\t\t// delay: 3000,\n\t\t// disableOnInteraction: false,\n\t\t// },\n\t\t// If we need pagination\n\t\tpagination: {\n\t\t\tel: '.home-slider .swiper-pagination',\n\t\t\tclickable: true,\n\t\t\ttype: 'bullets'\n\t\t},\n\t\tbreakpoints: {\n\t\t\t// when window width is <= 320px\n\t\t\t320: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tspaceBetween: 10\n\t\t\t},\n\t\t\t// when window width is <= 480px\n\t\t\t480: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t\tautoplay: {\n\t\t\t\t\tdelay: 3000,\n\t\t\t\t\tdisableOnInteraction: false,\n\t\t\t\t},\n\t\t\t},\n\t\t\t// when window width is <= 640px\n\t\t\t768: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tspaceBetween: 20\n\t\t\t},\n\t\t\t992: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20\n\t\t\t}\n\t\t},\n\t});\n\tvar OtherBrand = new Swiper('.thuong-hieu-ct .swiper-container', {\n\t\tslidesPerView: 6,\n\t\tloop: true,\n\t\tspeed: 1200,\n\t\tlazy: true,\n\t\tautoplay: {\n\t\tdelay: 3200,\n\t\tdisabelOnInteraction: false,\n\t\t},\n\t\tbreakpoints: {\n\t\t1025: {\n\t\tslidesPerView: 3,\n\t\t},\n\t\t576: {\n\t\tslidesPerView: 2,\n\t\t}\n\t\t}\n\t\t});\n\n\t\treturn new Swiper('.used-products .swiper-container', {\n\t\t\tautoplay: {\n\t\t\t\tdelay: 4500\n\t\t\t},\n\t\t\tloop: false,\n\t\t\tslidesPerView: 5,\n\t\t\tspaceBetween: 20,\n\t\t\tbreakpoints: {\n\t\t\t1025: {\n\t\t\tslidesPerView: 4,\n\t\t\t},\n\t\t\t992: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\t},\n\t\t\t\t768: {\n\t\t\t\t\tslidesPerView: 2,\n\t\t\t\t\t},\n\t\t\t576: {\n\t\t\tslidesPerView: 1,\n\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n}\n\nfunction Accordion() {\n\n\t$(\".list-question ol .accordion-title p\").click(function (e) {\n\t\te.preventDefault();\n\t\tif (!$(this)\n\t\t\t.parent()\n\t\t\t.hasClass(\"active\")\n\t\t) {\n\t\t\t$(\".list-question ol .accordion-title .accordion-content\").slideUp();\n\t\t\t$(this)\n\t\t\t\t.next()\n\t\t\t\t.slideToggle();\n\t\t\t$(\".list-question ol .accordion-title\").removeClass(\"active\");\n\t\t\t$(this)\n\t\t\t\t.parent()\n\t\t\t\t.addClass(\"active\");\n\t\t} else {\n\t\t\t$(this)\n\t\t\t\t.next()\n\t\t\t\t.slideToggle();\n\t\t\t$(\".list-question ol .accordion-title\").removeClass(\"active\");\n\t\t}\n\t});\n}\n\nfunction viewMore() {\n\t$(\".product-detail .product-info .btn-wrapper .btn-viewmore\").on('click', function () {\n\t\t$(\".product-detail .product-info\").addClass('show')\n\t\t$(\".product-detail .product-info .btn-wrapper\").remove()\n\t})\n}\nfunction nav(){\n\t$('.mobile-nav').on('click', function () {\n\t\t$(this).siblings('nav').slideToggle()\n\t})\n}\nfunction activeMenu(){\n\t\t// this will get the full URL at the address bar\n\tvar url = window.location.href; \n\n\t// passes on every \"a\" tag \n\t$(\"header .main-menu li a\").each(function() {\n\t\t\t// checks if its the same on the address bar\n\t\tif(url == (this.href)) { \n\t\t\t$(this).closest(\"li\").addClass(\"active\");\n\t\t}\n\t});\n}\nfunction tabActive() {\n\t// $('.cvc-truyen-thong nav li').click(function(){\n\t// \tvar tab_id = $(this).attr('data-tab');\n\n\t// \t$('.cvc-truyen-thong nav li').removeClass('active');\n\t// \t$('.tab-content').removeClass('active');\n\n\t// \t$(this).addClass('active');\n\t// \t$(\"#\"+tab_id).addClass('active');\n\t// })\n\n\t$('.tabheader').click(function(e){\n\t\te.preventDefault()\n\t\tvar tabId = $(e.currentTarget).data('tabId');\n\t\t$('.' + tabId).hide();\n\t\t$('#' + tabId).show();\n\t $('.tabheader').removeClass('active');\n\t $(e.currentTarget).addClass('active');\n\t\t\n\t});\n\t$('.show').click();\n}\nfunction tabpro(){\n\n\t$('.product-detail .product-detail-title ul li').on('click', function () {\n $('.product-detail .product-detail-title ul li').removeClass('current')\n $(this).addClass('current')\n let indexTab = $(this).attr('data-tab')\n $('.product-detail .product-info .main-content-attr .noi-dung ').removeClass('current')\n $('.product-detail .product-info .main-content-attr .product-attributes[data-content-attr=' + indexTab + ']').addClass('current')\n })\n}\nfunction socialIcon(){\n\t$(\".social-share\").jsSocials({\n showLabel: false,\n showCount: false,\n shares: [{\n share: 'twitter',\n logo: 'fab fa-twitter'\n }, {\n share: 'facebook',\n logo: 'fab fa-facebook-f'\n }]\n })\n}\nfunction giaithuong(){\n\tvar swiper = new Swiper(\".giai-thuong-wrapper .swiper-container\", {\n\t\tslidesPerView: 4,\n\t\tspaceBetween: 10,\n\t\tnavigation: {\n\t\t\tprevEl: \".product-button-prev\",\n\t\t\tnextEl: \".product-button-next\"\n\t\t },\n\t\tbreakpoints: {\n\t\t // when window width is <= 480px\n\t\t 480: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t // when window width is <= 640px\n\t\t 768: {\n\t\t\tslidesPerView: 2,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t 992: {\n\t\t\tslidesPerView: 3,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t 1025: {\n\t\t\tslidesPerView: 4,\n\t\t\tspaceBetween: 10\n\t\t }\n\t\t}\n\t });\n}\nfunction history(){\n\treturn new Swiper('.history-section .swiper-container', {\n\t\tslidesPerView: 4,\n\t\tspaceBetween: 0,\n\t\tnavigation: {\n\t\t\tprevEl: \".history-btn-prev\",\n\t\t\tnextEl: \".history-btn-next\"\n\t\t },\n\t\tbreakpoints: {\n\t\t // when window width is <= 480px\n\t\t 480: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t // when window width is <= 640px\n\t\t 768: {\n\t\t\tslidesPerView: 2,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t 992: {\n\t\t\tslidesPerView: 3,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t 1025: {\n\t\t\tslidesPerView: 4,\n\t\t\tspaceBetween: 0\n\t\t }\n\t\t}\t\n\t});\n}\nfunction menuNav(){\n\treturn new Swiper('.about-nav .swiper-container', {\n\t\tslidesPerView: 8,\n\t\tspaceBetween: 0,\n\t\tnavigation: {\n\t\t\tprevEl: \".left-menu\",\n\t\t\tnextEl: \".right-menu\"\n\t\t },\n\t\tbreakpoints: {\n\t\t // when window width is <= 480px\n\t\t 480: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t // when window width is <= 640px\n\t\t 768: {\n\t\t\tslidesPerView: 2,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t 992: {\n\t\t\tslidesPerView: 3,\n\t\t\tspaceBetween: 0\n\t\t },\n\t\t 1025: {\n\t\t\tslidesPerView: 5,\n\t\t\tspaceBetween: 0\n\t\t }\n\t\t}\t\n\t});\n}\nfunction homeProduct(){\n\tvar swiper = new Swiper(\".home-product-2 .swiper-container\", {\n\t\tslidesPerView: 5,\n\t\tspaceBetween: 10,\n\t\tnavigation: {\n\t\t\tprevEl: \".p2-button-prev\",\n\t\t\tnextEl: \".p2-button-next\"\n\t\t },\n\t\tbreakpoints: {\n\t\t // when window width is <= 480px\n\t\t 480: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t // when window width is <= 640px\n\t\t 768: {\n\t\t\tslidesPerView: 2,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t 992: {\n\t\t\tslidesPerView: 3,\n\t\t\tspaceBetween: 10\n\t\t },\n\t\t 1025: {\n\t\t\tslidesPerView: 5,\n\t\t\tspaceBetween: 10\n\t\t }\n\t\t}\n\t });\n}\nfunction homeNews(){\n\tvar swiper = new Swiper(\".home-news .swiper-container\", {\n\t\tslidesPerView: 3,\n\t\tspaceBetween: 20,\n\t\tpagination: true,\n\t\tpagination: {\n el: '.home-news .swiper-pagination',\n clickable: true,\n type: 'bullets'\n },\n\t\tbreakpoints: {\n\t\t // when window width is <= 480px\n\t\t 480: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 20\n\t\t },\n\t\t // when window width is <= 640px\n\t\t 768: {\n\t\t\tslidesPerView: 1,\n\t\t\tspaceBetween: 20\n\t\t },\n\t\t 992: {\n\t\t\tslidesPerView: 2,\n\t\t\tspaceBetween: 20\n\t\t },\n\t\t 1025: {\n\t\t\tslidesPerView: 3,\n\t\t\tspaceBetween: 20\n\t\t }\n\t\t}\n\t });\n}\nfunction banlanhdao(){\n\tvar swiper = new Swiper('.pp-home-team .swiper-container', {\n\t\tslidesPerView: 3,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 30,\n\t\tnavigation: {\n\t\t\tnextEl: '.team--next',\n\t\t\tprevEl: '.team--prev'\n\t\t},\n\t\tbreakpoints: {\n\t\t\t// when window width is <= 320px\n\t\t\t320: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tspaceBetween: 10\n\t\t\t},\n\t\t\t// when window width is <= 480px\n\t\t\t480: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tspaceBetween: 20,\n\t\t\t\tautoplay: {\n\t\t\t\t\tdelay: 2500,\n\t\t\t\t\tdisableOnInteraction: false,\n\t\t\t\t},\n\t\t\t},\n\t\t\t// when window width is <= 640px\n\t\t\t768: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tspaceBetween: 30\n\t\t\t},\n\t\t\t1025: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 30\n\t\t\t}\n\t\t},\n\t});\n}\nfunction homeBanner(){\n\tvar swiper = new Swiper('.home-banner .swiper-container', {\n pagination: {\n el: '.home-banner .swiper-pagination',\n clickable: true,\n type: 'bullets'\n\t\t},\n\t\ton: {\n slideChangeTransitionStart: function () {\n $('.banner-title .title').hide(0);\n $('.banner-title .title').removeClass('animation').removeClass('animate');\n },\n slideChangeTransitionEnd: function () {\n $('.banner-title .title').show(0);\n },\n },\n navigation: {\n nextEl: '.swiper-btn-next',\n prevEl: '.swiper-btn-prev',\n },\n loop: true,\n speed: 750,\n effect: \"fade\",\n observer: true,\n observeParents: true,\n autoplay: {\n \tdelay: 3000\n },\n fadeEffect: {\n crossFade: true\n },\n });\n}\n\nfunction BannerChild(){\n\tvar interleaveOffset = -.5;\n\nvar interleaveEffect = {\n \n onProgress: function(swiper, progress){\n for (var i = 0; i < swiper.slides.length; i++){\n var slide = swiper.slides[i];\n var translate, innerTranslate;\n progress = slide.progress;\n \n if (progress > 0) {\n translate = progress * swiper.width;\n innerTranslate = translate * interleaveOffset; \n }\n else { \n innerTranslate = Math.abs( progress * swiper.width ) * interleaveOffset;\n translate = 0;\n }\n\n $(slide).css({\n transform: 'translate3d(' + translate + 'px,0,0)'\n });\n\n $(slide).find('.slide-inner').css({\n transform: 'translate3d(' + innerTranslate + 'px,0,0)'\n });\n }\n },\n\n onTouchStart: function(swiper){\n for (var i = 0; i < swiper.slides.length; i++){\n $(swiper.slides[i]).css({ transition: '' });\n }\n },\n\n onSetTransition: function(swiper, speed) {\n for (var i = 0; i < swiper.slides.length; i++){\n $(swiper.slides[i])\n .find('.slide-inner')\n .andSelf()\n .css({ transition: speed + 'ms' });\n }\n }\n};\n\nvar swiperOptions = {\n loop: true,\n speed: 1500,\n grabCursor: true,\n watchSlidesProgress: true,\n mousewheelControl: true,\n autoplay: {\n\tdelay: 2000\n\t},\n\ton: {\n\t\tslideChangeTransitionStart: function () {\n\t\t $('.banner-title .title').hide(0);\n\t\t $('.banner-title .title').removeClass('animation').removeClass('animate');\n\t\t},\n\t\tslideChangeTransitionEnd: function () {\n\t\t $('.banner-title .title').show(0);\n\t\t},\n\t },\n};\n\nswiperOptions = $.extend(swiperOptions, interleaveEffect);\n\nvar swiper = new Swiper('.page-banner .swiper-container', swiperOptions);\n}\n\n\n$(document).ready(function() {\n\t$('.about-nav').find('a').click(function() {\n\t\tvar $href = $(this).attr('href');\n\t\t//var $anchor = $('#'+$href).offset();\n\t\t$('html, body').animate({\n\t\t\tscrollTop: $($href).offset().top - 100\n\t\t}, 900);\n\t\treturn false;\n\t});\n\t\t$(window).scroll(function() {\n\t\t\t\tvar scrollDistance = $(window).scrollTop();\n\n\t\t\t\t// Show/hide menu on scroll\n\t\t\t\tif (scrollDistance >= 850) {\n\t\t\t\t\t\t$('.about-nav').fadeIn(\"fast\");\n\t\t\t\t} else {\n\t\t\t\t\t\t$('.about-nav').fadeOut(\"fast\");\n\t\t\t\t}\n\t\t\t\n\t\t\t\t// Assign active class to nav links while scolling\n\t\t\t\t$('.cvc-about-1').each(function(i) {\n\t\t\t\t\t\tif ($(this).position().top -100 <= scrollDistance) {\n\t\t\t\t\t\t\t\t$('.about-nav li.active').removeClass('active');\n\t\t\t\t\t\t\t\t$('.about-nav li').eq(i).addClass('active');\n\t\t\t\t\t\t}\n\t\t\t\t});\n\t\t}).scroll();\n\t\n});\n\nfunction autorun(){\n\t$('.big .number').each(function () {\n\t $(this).prop('Counter',0).animate({\n\t\t Counter: $(this).text()\n\t }, {\n\t\t duration: 5000,\n\t\t easing: 'swing',\n\t\t step: function (now) {\n\t\t\t $(this).text(Math.ceil(now));\n\t\t\t $('.big').addClass('active'); \n\t\t }\n\t });\n\t// var something = $(\".circle .item\")\n\t// .css({border: '1.6rem solid #0799d9'})\n\t \n\t// .show() \n\t// setTimeout(function(){\n\t// \t something.css({border: '1.6rem solid #ffffff'});\n\t// },5000);\n });\n }\n$(document).ready(function () {\n\theaderfixed()\n\tsetBackground()\n\tswiperInit()\n\tlanguage()\n\tmappingSearch()\n\tmappingContact()\n\tmappingSocial()\n\tmappingLanguage()\n\tbanlanhdao()\n\tmappingMenu()\n\tproductCate()\n\ttoggleMenu()\n\tAccordion()\n\tviewMore()\n\tnav()\n\thomeNews()\n\tgiaithuong()\n\thistory()\n\tactiveMenu()\n\ttabActive()\n\tsocialIcon()\n\ttabpro()\n\thomeBanner()\n\thomeProduct()\n\tmenuNav()\n\tautorun()\n\tBannerChild()\n})\n"]}