"use strict";(self.webpackChunkszvc=self.webpackChunkszvc||[]).push([[826],{2248:(e,n,a)=>{var i=a(8250),o=a(1690);o.Z.$nextTick((function(){var e=o.Z.$jquery;e((function(){var n=null,a=e(".app-home-banner-video .mobile"),o=a.find("video"),t=a.find("canvas");window.onload=function(){!function(){if(o.length&&t.length)if(window.navigator.userAgent.match(/android/gi)){var e=t.data("src");n=new JSMpeg.Player(e,{canvas:t[0],autoplay:!0,progressive:!1,loop:!0,onVideoDecode:function(){t[0].style.display="block",o[0].style.display="none"}})}else n=o[0],o[0].style.display="block"}(),document.addEventListener("WeixinJSBridgeReady",(function(){n&&n.play()}))};var s=e(".app-home-banner"),r=e(".app-home-banner-video"),p=e(".app-home-banner-items"),c=e(".app-home-banner-enter");e(document).on("click",(function(n){e(n.target).is(".app-home-banner-enter, .app-home-banner-enter *")||c.find(".items .item").removeClass("active")})),c.find(".items .item").on("click",(function(){e(this).hasClass("active")?e(this).removeClass("active"):e(this).addClass("active").siblings().removeClass("active")}));var l=function(){r.css({height:s.height()-p.height()-c.height()})};l(),new i.Z(".app-home-honor .swiper",{speed:1200,spaceBetween:30,parallax:!0,navigation:{nextEl:".app-home-honor-swiper-next",prevEl:".app-home-honor-swiper-prev"}}),e(window).on("resize",(function(){l()}))}))}))}},e=>{e.O(0,[736,592],(()=>{return n=2248,e(e.s=n);var n}));e.O()}]);