function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function metFileLoadFun(e,t,i){t()?"function"==typeof i&&i():$.include(e,function(){"function"==typeof i&&i()})}function debounce(e,t){t=t||500;var i=null;return function(){null!==i&&clearTimeout(i),i=setTimeout(function(){e(arguments[0],arguments[1])},t)}}function tsChangge(e,t){e&&(isSimplified=isSimplified?0:1),!e&&isSimplified||metFileLoadFun(M.weburl+"public/third-party/s2t/jquery.s2t.js",function(){return"function"==typeof $.fn.t2s},function(){isSimplified?$("body").t2s():$("body").s2t()}),e&&/*#文件名称:metinfo.js #米拓企业建站系统 MetInfo80 #Copyright (C) 长沙米拓信息技术有限公司 (https://www.metinfo.cn). All rights reserved.*/window.localStorage.setItem("is_simplified",isSimplified),"function"==typeof t&&t(isSimplified)}function copyTxt(e){if("function"!=typeof document.execCommand)return!1;var t=document.createElement("textarea");t.value=e,t.setAttribute("style","width: 0px;height: 0px;"),document.body.appendChild(t),t.select();var i=document.execCommand("copy");if(i)return document.body.removeChild(t),!0;if("function"!=typeof document.createRange)return document.body.removeChild(t),!1;var n=document.createRange();n.selectNode(t);var a=window.getSelection();return a.rangeCount>0&&a.removeAllRanges(),a.addRange(n),document.execCommand("copy"),document.body.removeChild(t),!0}function metui(e){for(var t in e)"string"==typeof e[t]&&"name"==t?METUI[e[t]]=$("."+e[t]):"function"==typeof e[t]&&e[t]()}var _window$M;if(function(){var e={xs:{min:0,max:767},sm:{min:768,max:991},md:{min:992,max:1199},lg:{min:1200,max:1599},xl:{min:1600,max:1920},xxl:{min:1921,max:9999}},t=[],i="",n=function(){var e=$(window).width(),n=function(n){var a=t[n];if(a.length)for(var l=function(t){var l=a[t];o=breakMedia.is(n,{win_w:e,range_type:l.range_type}),o&&n!=i&&setTimeout(function(){i=n,l.fn()},10)},r=0;r=media_range.min)&&("min"==i.range_type||i.win_w<=media_range.max)},on:function(e,i){var n="object"==typeof e?[o]:e.split(" "),a=(i="object"==typeof e?e:i||{},{});if(o="",i.range_type)for(var l in i.range_type)for(var r=i.range_type[l],s=0;s=0||location.href.indexOf("http://192.168.")>=0?1:0),_defineProperty(_window$M,"time",Date.now()),_defineProperty(_window$M,"useragent",navigator.userAgent),_defineProperty(_window$M,"is_lteie9",!1),_defineProperty(_window$M,"is_ie10",!1),_defineProperty(_window$M,"has_web_js",($("#met-page-js").data("js_url")||"").indexOf(".js")>=0),_window$M),M.useragent_tlc=M.useragent.toLowerCase(),M.device_type=device_type=/(?:iPad|PlayBook)/.test(M.useragent)||/(?:Android)/.test(M.useragent)&&!/(?:Mobile)/.test(M.useragent)||/(?:Firefox)/.test(M.useragent)&&/(?:Tablet)/.test(M.useragent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(M.useragent)?"m":"d",M.is_ucbro=/UC/.test(M.useragent),new RegExp("msie").test(M.useragent_tlc)&&(M.iebrowser_ver=(M.useragent_tlc.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],10==M.iebrowser_ver&&(M.is_ie10=!0),M.iebrowser_ver<10&&(M.is_lteie9=!0)),M.is_ie=M.useragent_tlc.indexOf("rv:11.0")>0||(M.is_ie10||M.is_lteie9),M.useragent.match(/IEMobile\/10\.0/)){var msViewportStyle=DOC.createElement("style");msViewportStyle.appendChild(DOC.createTextNode("@-ms-viewport{width:auto!important}")),DOC.querySelector("head").appendChild(msViewportStyle)}window.met_lazyloadbg=$("input[name=met_lazyloadbg]").val()||M.weburl+"public/images/loading.gif",met_lazyloadbg.indexOf(M.weburl)<0&&met_lazyloadbg.indexOf("http")<0&&met_lazyloadbg.indexOf("../")<0&&(met_lazyloadbg=M.weburl+met_lazyloadbg),(met_lazyloadbg==M.weburl||met_lazyloadbg.indexOf(".png")<0&&met_lazyloadbg.indexOf(".gif")<0&&met_lazyloadbg.indexOf(".jpg")<0)&&(met_lazyloadbg=M.weburl+"public/images/loading.gif"),(window.ActiveXObject||"ActiveXObject"in window||M.is_ucbro)&&(met_lazyloadbg="base64"),M.lazyloadbg=met_lazyloadbg,window.includeFile=[],window.includeFileIndex=0,window.includeFileNum=0,mzpqal='M-e-t-I-n-f-o-8-0',M.file_version=M.debug?parseInt(M.time/1e3):parseInt(M.time/1e6),$.extend({includeFile:function(e){function t(t,i,n,a){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e,t,i,n){var a=e.replace(/^\s|\s$/g,""),o=a.split("."),l=o[o.length-1].toLowerCase().split("?"),r=function(){includeFileIndex++,includeFileIndex=t&&includeFileIndexfile_index)r();else{if(!($('script[src="'+s+'"]').length&&includeFileIndex==file_index||!$('script[src="'+s+'"]').length&&void 0!==d))return setTimeout(function(){$.includeFile(e,t,i,n)},5),!1;document.getElementsByTagName("html")[0].appendChild(d),d.onload=d.onreadystatechange=function(){var e=d.readyState;e&&"loaded"!==e&&"complete"!==e||(d.onload=d.onreadystatechange=null,r())}}}else if("css"==l[0]){d=document.createElement("link");d.href="t,e.uzqf=""text/css",d.rel="stylesheet",$('link[href="' t '"]').length||void 0===d||document.getElementsByTagName("head")[0].appendChild(d),$('link[href="' t '"]').length&&r()}}else includeFileIndex'),n&&M.webuiPopoverFun[n]&&$.extend(i,M.webuiPopoverFun[n](a)),$(this).webuiPopover(i)})}),$('[data-plugin="ladda"]',t).loadPlugin("ladda",M.plugin.ladda,function(){return"undefined"!=typeof Ladda},function(e){e.click(function(){!M.btn_loading_ladda&&(M.btn_loading_ladda={});var e="";$(this).attr({disabled:!0}).addClass("disabled");var t=(new Date).getTime(),i=$(this).html();$(this).attr({"data-style":"zoom-in","data-key":t}),e=Ladda.create($(this)[0]),e.start(),i.indexOf('0&&(i=i.split('$(window).height()&&$(".modal-dialog",this).removeClass("modal-center")}),$(document).on("hidden.bs.modal",".modal",function(e){$("form",this).each(function(e,t){$(this).data("formValidation").resetForm()}),$(".modal.in").length?$("body").addClass("modal-open"):$("html").addClass("oxh")}),$(function(){var e=$('meta[name="access_code"]').attr("content");e&&$.ajax({url:M.weburl+"app/system/entrance.php?m=include&c=access&a=dochekpage&lang="+M.lang,type:"POST",dataType:"json",data:{groupid:e},success:function(e){!parseInt(e.status)&&(document.write(""),setTimeout(function(){alert(e.msg),window.location.href="f.ebub},10))}});wbs" t=function(){$("html").width(document.documentElement.clientWidth)};"d"!=M.device_type&&(t(),$(window).resize(debounce(t)));var i=$(".imagesize[data-scale]");i.length&&i.imageSize();var n=$(".met-column-nav-ul");n.length&&breakMedia.on("xs",{enter:function(){n.navtabSwiper()}}),$("[boxmh-mh]").length&&$("[boxmh-mh]").boxMh("[boxmh-h]"),$(".met-editor iframe:not(.ueditor_baidumap),.met-editor embed,.met-editor video").videoSizeRes();var a=$('.page-search-form [data-plugin="select-linkage"]');if(a.length&&$.include(M.weburl+"public/third-party/select-linkage/jquery.cityselect.js",function(){a.each(function(e,t){$(this).citySelect({url:$(this).attr("data-select-url"),prov:$(this).find(".prov").attr("data-checked"),city:$(this).find(".city").attr("data-checked"),dist:$(this).find(".dist").attr("data-checked"),nodata:"none",required:!1,prehtml:0,data_val_key:"url"});var i=$(this);setTimeout(function(){i.find("select.prov").change()},1e3)}).find("select.prov").change(function(e){var t=$("option:checked",this).data("val")||$("option:first-child",this).data("val"),i=$(this).parents("form");!i.attr("data-action")&&i.attr({"data-action":i.attr("action")}),$(this).parents("form").attr({action:t&&t.indexOf(".php?")>0?t:i.attr("data-action")})})}),"d"!=M.device_type&&!M.useragent.match(/MicroMessenger/i)){var o=$('a[href*="wpa.qq.com/msgrd"],a[href*="crm2.qq.com/page/"]');o.each(function(){var e=$(this).attr("href").match(/uin=(\w+)/);e&&e[1]&&$(this).attr({href:"mqq://im/chat?chat_type=wpa&uin="+e[1]+"&version=1&src_type=web"})}),M.useragent.indexOf("DingTalk")>0&&o.click(function(){alert("钉钉内置浏览器可能不支持跳转qq的功能,如果没有反应请复制本页链接到其它浏览器打开后再尝试本操作")})}$('a[href*="weixin://"]').click(function(e){if(e.preventDefault(),"d"!=M.device_type){var t=$(this).attr("href").split("weixin://")[1];copyTxt(t)?confirm("微信号复制成功,请到微信粘贴微信号并添加好友")&&(window.location.href="xfjyjo://"):alert("微信号复制失败")}else alert("请在手机端点击该链接")}),$(".met-page .page-item a").each(function(e,t){$(this).prepend($(this).attr("data-before")+" : ")}),location.search.indexOf("pageset=1")>=0&&$("form").each(function(e,t){$(this).attr("action")&&$(this).attr("action").indexOf("pageset=1")<0&&$(this).attr({action:$(this).attr("action")+"&pageset=1"})})}),$(document).on("click",".lg-item-box",function(e){$(".lg-item-box:not(.spotlight):not(.slick-cloned)").filter(function(){return!$(this).parents(".slick-cloned").length}).addClass("spotlight"),$(this).addClass("spotlight-click"),e.preventDefault(),e.preventDefault()}),$.fn.extend({navtabSwiper:function(){var e=$(this),t=$(this).parents(".subcolumn-nav"),i=function(){if("undefined"==typeof Swiper)return!1;var i=e.find(">li").parentWidth();if(i>e.parent().width()){if(e.hasClass("swiper-wrapper"))e.hasClass("flex-start")||e.addClass("flex-start");else{e.addClass("swiper-wrapper flex-start").wrap('
').after('
').find(">li").addClass("swiper-slide");new Swiper(".swiper-navtab",{slidesPerView:"auto",scrollbar:".swiper-scrollbar",scrollbarHide:!1,scrollbarDraggable:!0})}t.length&&$(".product-search").length&&t.height("auto").css({"margin-bottom":10}),e.find(".dropdown").length&&$(".swiper-navtab").length&&($(".swiper-navtab").hasClass("overflow-visible")||$(".swiper-navtab").addClass("overflow-visible"))}else e.hasClass("flex-start")&&(e.removeClass("flex-start"),t.css({"margin-bottom":0}))};i(),$(window).resize(debounce(i)),breakMedia.on("xs sm",{enter:function(){e.find(".dropdown-menu").each(function(){$(this).parent("li").offset().left>$(window).width()/2-$(this).parent("li").width()/2&&$(this).addClass("dropdown-menu-right")})}})},imageloadFunAlone:function(e){var t=new Image;t.src=$(this).data("original")||$(this).data("lazy")||$(this).attr("src"),t.complete?"function"==typeof e&&e(t):t.onload=function(){"function"==typeof e&&e(this)}},imageloadFun:function(e){$(this).each(function(){if($(this).data("lazy")||$(this).data("original"))var t=$(this),i=setInterval(function(){t.attr("src")!=t.data("original")&&t.attr("src")!=t.data("lazy")||(clearInterval(i),t.imageloadFunAlone(e))},100);else $(this).attr("src")&&$(this).imageloadFunAlone(e)})},imageSize:function(e){e=e||"img";$(this).each(function(){var t=$(this).data("scale"),i=$(this),n=$(e,this),a=n.length;isNaN(t)||(t=t.toString());for(var o=0;o=0){if(t=t.split("x"),t=t[0]/t[1],n.attr("src"))n.height(Math.round(n.width()*t));else var r=setInterval(function(){n.attr("src")&&(n.height(Math.round(n.width()*t)),clearInterval(r))},30);$(window).resize(debounce(function(){n.each(function(){$(this).is(":visible")&&$(this).data("original")&&$(this).attr("src")!=$(this).data("original")&&$(this).height(Math.round($(this).width()*t))})})),n.each(function(){var e=$(this);$(this).imageloadFun(function(){e.height("").removeAttr("height")})})}})},parentWidth:function(e){var t=$(this).length,i=0;return(e>t||!e)&&(e=t),$(this).each(function(e,t){var n=$(this).outerWidth()+parseInt($(this).css("marginLeft"))+parseInt($(this).css("marginRight"));i+=n}),i},scrollFun:function(e,t){"function"==typeof e&&(t=$.extend({top:30,loop:!1,skip_invisible:!0},t),$(this).each(function(){var i=$(this),n=!0,a=function(){if(n){var a=i.offset().top,o=$(window).scrollTop(),l=a-o-$(window).height(),r=a+i.outerHeight()-o,s=!t.skip_invisible||i.is(":visible");l0&&s&&(t.loop||(n=!1),e(i))}};a(),n&&$(window).scroll(function(){n&&a()})}))},appearDiy:function(){if(void 0!==$.fn.appear){$(this);setTimeout(function(){$.force_appear()},300)}},galleryLoad:function(e){$(this).addClass("spotlight-group").attr({"data-autohide":"all","data-control":"page,theme,fullscreen,autofit,zoom-in,zoom-out,close,play,prev,next"}),metFileLoadFun(M.weburl+"public/third-party/spotlight/spotlight.bundle.js",function(){return"function"==typeof window.Spotlight},function(){if(e){for(var t=[],i=0;i')})}});var isSimplified=null!=localStorage.getItem("is_simplified")?parseInt(localStorage.getItem("is_simplified")):1;window.METUI=[],window.METUI_FUN=[],M.has_web_js&&$.include($("#met-page-js").data("js_url"),function(){$(document).metInit("web")}),function(){if($.inArray(M.module,[2,3,4,5])>=0&&M.id&&!$('script[src*="/hits/?lang="]').length){var e={2:"news",3:"product",4:"download",5:"img"};$.ajax({url:M.weburl+"hits/?lang="+M.lang+"&type="+e[M.module]+"&vid="+M.id+"&list=0",type:"GET",dataType:"text"})}var t=function(e){e.t=parseInt(e.t),e.t&&("m"==M.device_type&&(1==e.t&&(e.t=3),2==e.t&&(e.t=4)),$.include(M.weburl+"public/web/css/online.css",function(){$("body").append(e.html);var t=$("#onlinebox"),i=e.t>2?"fixed":"absolute";e.x=parseInt(e.x),e.y=parseInt(e.y),t.css({position:i,top:e.y+(e.t<3?$(window).scrollTop():0),bottom:"auto"}),e.t%2?t.css({left:e.x,right:"auto"}):t.css({right:e.x,left:"auto"}),(breakMedia.is("xs")||breakMedia.is("sm"))&&t.addClass("min"),setTimeout(function(){t.removeClass("hide").show(),e.t<3&&(parseInt(t.css("top"))-$(window).scrollTop()+t.outerHeight()>$(window).height()&&(e.y=$(window).height()-t.outerHeight(),t.stop().animate({top:e.y+$(window).scrollTop()},300)),$(window).scroll(function(){t.stop().animate({top:e.y+$(this).scrollTop()},300)}))},100),$(document).on("click",".onlinebox-open",function(e){e.preventDefault(),t.removeClass("min"),$(this).hide(),t.position().top+t.height()>$(window).height()&&t.attr({"data-style":t.attr("style")}).css({bottom:0,top:"auto"})}),$(document).on("click",".onlinebox-min",function(e){e.preventDefault(),t.addClass("min"),$(".onlinebox-open").show(),t.attr("data-style")&&t.attr({style:t.attr("data-style")})}),$(document).on("click",".onlinebox-close",function(e){e.preventDefault(),t.hide()})}))};$('textarea[name="met_online_data"]').length?t(JSON.parse($('textarea[name="met_online_data"]').val()||"{}")):$.ajax({url:M.weburl+"online/?lang="+M.lang+"&module="+M.module,type:"GET",dataType:"json",success:t})}();