function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=_(e||this.defaultElement||this)[0],this.element=_(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=_(),this.hoverable=_(),this.focusable=_(),this.classesElementLookup={},e!==this&&(_.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=_(e.style?e.ownerDocument:e.document||e),this.window=_(this.document[0].defaultView||this.document[0].parentWindow)),this.options=_.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:_.noop,_create:_.noop,_init:_.noop,destroy:function(){var i=this;this._destroy(),_.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:_.noop,widget:function(){return this.element},option:function(t,e){var i,a,n,o=t;if(0===arguments.length)return _.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(a=o[t]=_.widget.extend({},this.options[t]),n=0;i.length-1>n;n++)a[i[n]]=a[i[n]]||{},a=a[i[n]];if(t=i.pop(),1===arguments.length)return void 0===a[t]?null:a[t];a[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,a;for(e in t)a=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&a&&a.length&&(i=_(a.get()),this._removeClass(a,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(n){function t(t,e){var i,a;for(a=0;t.length>a;a++)i=s.classesElementLookup[t[a]]||_(),i=n.add?_(_.unique(i.get().concat(n.element.get()))):_(i.not(n.element).get()),s.classesElementLookup[t[a]]=i,o.push(t[a]),e&&n.classes[t[a]]&&o.push(n.classes[t[a]])}var o=[],s=this;return n=_.extend({element:this.element,classes:this.options.classes||{}},n),this._on(n.element,{remove:"_untrackClassesElement"}),n.keys&&t(n.keys.match(/\S+/g)||[],!0),n.extra&&t(n.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var a=this;_.each(a.classesElementLookup,function(t,e){-1!==_.inArray(i.target,e)&&(a.classesElementLookup[t]=_(e.not(i.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,a){a="boolean"==typeof a?a:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:a};return o.element.toggleClass(this._classes(o),a),this},_on:function(s,l,t){var c,r=this;"boolean"!=typeof s&&(t=l,l=s,s=!1),t?(l=c=_(l),this.bindings=this.bindings.add(l)):(t=l,l=this.element,c=this.widget()),_.each(t,function(t,e){function i(){return s||!0!==r.options.disabled&&!_(this).hasClass("ui-state-disabled")?("string"==typeof e?r[e]:e).apply(r,arguments):void 0}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||_.guid++);var a=t.match(/^([\w:-]*)\s*(.*)$/),n=a[1]+r.eventNamespace,o=a[2];o?c.on(n,o,i):l.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=_(this.bindings.not(t).get()),this.focusable=_(this.focusable.not(t).get()),this.hoverable=_(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function a(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(_(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(_(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(_(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(_(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var a,n,o=this.options[t];if(i=i||{},(e=_.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(a in n)a in e||(e[a]=n[a]);return this.element.trigger(e,i),!(_.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},_.each({show:"fadeIn",hide:"fadeOut"},function(o,s){_.Widget.prototype["_"+o]=function(e,t,i){"string"==typeof t&&(t={effect:t});var a,n=t?!0===t||"number"==typeof t?s:t.effect||s:o;"number"==typeof(t=t||{})&&(t={duration:t}),a=!_.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),a&&_.effects&&_.effects.effect[n]?e[o](t):n!==o&&e[n]?e[n](t.duration,t.easing,i):e.queue(function(t){_(this)[o](),i&&i.call(e[0]),t()})}}),_.widget,C=Math.max,x=Math.abs,a=/left|center|right/,o=/top|center|bottom/,s=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,c=/%$/,e=_.fn.position,_.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,e,i=_("
"),a=i.children()[0];return _("body").append(i),t=a.offsetWidth,i.css("overflow","scroll"),t===(e=a.offsetWidth)&&(e=i[0].clientWidth),i.remove(),n=t-e},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),a="scroll"===e||"auto"===e&&t.widthx(e+i)&&(o.horizontal="center"),fx(a+n)&&(o.vertical="middle"),o.important=C(x(e),x(i))>C(x(a),x(n))?"horizontal":"vertical",h.using.call(this,t,o)}),s.offset(_.extend(r,{using:t}))})},_.ui.position={fit:{left:function(t,e){var i,a=e.within,n=a.isWindow?a.scrollLeft:a.offset.left,o=a.width,s=t.left-e.collisionPosition.marginLeft,l=n-s,c=s+e.collisionWidth-o-n;e.collisionWidth>o?0o?0i)&&(t.left+=h+p+u):0x(a))&&(t.left+=h+p+u))},top:function(t,e){var i,a,n=e.within,o=n.offset.top+n.scrollTop,s=n.height,l=n.isWindow?n.scrollTop:n.offset.top,c=t.top-e.collisionPosition.marginTop,r=c-l,d=c+e.collisionHeight-s-l,h="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,p="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,u=-2*e.offset[1];r<0?((a=t.top+h+p+u+e.collisionHeight-s-o)<0||x(r)>a)&&(t.top+=h+p+u):0x(i))&&(t.top+=h+p+u))}},flipfit:{left:function(){_.ui.position.flip.left.apply(this,arguments),_.ui.position.fit.left.apply(this,arguments)},top:function(){_.ui.position.flip.top.apply(this,arguments),_.ui.position.fit.top.apply(this,arguments)}}},_.ui.position,_.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},_.fn.extend({uniqueId:(t=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&_(this).removeAttr("id")})}}),_.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(d){e=t.body}return(e=e||t.body).nodeName||(e=t.body),e},_.widget("ui.menu",{version:"1.12.1",defaultElement:"
    ",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(t){var e=_(t.target),i=_(_.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){if(!this.previousFilter){var e=_(t.target).closest(".ui-menu-item"),i=_(t.currentTarget);e[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){_.contains(this.element[0],_.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=_(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,a,n,o=!0;switch(t.keyCode){case _.ui.keyCode.PAGE_UP:this.previousPage(t);break;case _.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case _.ui.keyCode.HOME:this._move("first","first",t);break;case _.ui.keyCode.END:this._move("last","last",t);break;case _.ui.keyCode.UP:this.previous(t);break;case _.ui.keyCode.DOWN:this.next(t);break;case _.ui.keyCode.LEFT:this.collapse(t);break;case _.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case _.ui.keyCode.ENTER:case _.ui.keyCode.SPACE:this._activate(t);break;case _.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,i=this.previousFilter||"",n=!1,a=96<=t.keyCode&&t.keyCode<=105?""+(t.keyCode-96):String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),a===i?n=!0:a=i+a,e=this._filterMenuItems(a),(e=n&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(a=String.fromCharCode(t.keyCode),e=this._filterMenuItems(a)),e.length?(this.focus(t,e),this.previousFilter=a,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,i,a,n=this,o=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=_(this),e=t.prev(),i=_("").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+o),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=_(this);n._isDivider(t)&&n._addClass(t,"ui-menu-divider","ui-widget-content")}),a=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(a,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!_.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,a,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),a=this.active.children(".ui-menu-item-wrapper"),this._addClass(a,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",a.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,a,n,o,s;this._hasScroll()&&(e=parseFloat(_.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(_.css(this.activeMenu[0],"paddingTop"))||0,a=t.offset().top-this.activeMenu.offset().top-e-i,n=this.activeMenu.scrollTop(),o=this.activeMenu.height(),s=t.outerHeight(),a<0?this.activeMenu.scrollTop(n+a):o",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,a,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,o="input"===t;this.isMultiLine=e||!o&&this._isContentEditable(this.element),this.valueMethod=this.element[e||o?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))a=n=i=!0;else{a=n=i=!1;var e=_.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:a=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!a){var e=_.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){return n?(n=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=_("
      ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==_.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(t,e){var i,a;return this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",function(){_(t.target).trigger(t.originalEvent)})):(a=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:a})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(a.value),void((i=e.item.attr("aria-label")||a.value)&&_.trim(i).length&&(this.liveRegion.children().hide(),_("
      ").text(i).appendTo(this.liveRegion))))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),a=this.previous;this.element[0]!==_.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=a,this._delay(function(){this.previous=a,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=_("
      ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||_.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=t&&(t.jquery||t.nodeType?_(t):this.document.find(t).eq(0)))&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,a,n=this;_.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(_.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(a=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=_.ajax({url:a,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(a){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=a.altKey||a.ctrlKey||a.metaKey||a.shiftKey;t&&(!t||e||i)||(this.selectedItem=null,this.search(null,a))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(_("
      ").text(e.label)).appendTo(t)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),_.extend(_.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=RegExp(_.ui.autocomplete.escapeRegex(e),"i");return _.grep(t,function(t){return i.test(t.label||t.value||t)})}}),_.widget("ui.autocomplete",_.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e).appendTo(this.liveRegion))}}),_.ui.autocomplete}),function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var t="undefined"!=typeof window,n=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),e=t&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype,r=t&&"classList"in document.createElement("p"),i={elements_selector:"img",container:n||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},o=function(t,e){var i,a=new t(e);try{i=new CustomEvent("LazyLoad::Initialized",{detail:{instance:a}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:a})}window.dispatchEvent(i)},h=function(t,e){return t.getAttribute("data-"+e)},s=function(t,e,i){var a="data-"+e;null!==i?t.setAttribute(a,i):t.removeAttribute(a)},l=function(t){return"true"===h(t,"was-processed")},c=function(t,e){return s(t,"ll-timeout",e)},d=function(t){return h(t,"ll-timeout")},p=function(t,e){t&&t(e)},u=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&p(t._settings.callback_finish)},a=function(t){for(var e,i=[],a=0;e=t.children[a];a+=1)"SOURCE"===e.tagName&&i.push(e);return i},f=function(t,e,i){i&&t.setAttribute(e,i)},v=function(t,e){f(t,"sizes",h(t,e.data_sizes)),f(t,"srcset",h(t,e.data_srcset)),f(t,"src",h(t,e.data_src))},m={IMG:function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&a(i).forEach(function(t){v(t,e)}),v(t,e)},IFRAME:function(t,e){f(t,"src",h(t,e.data_src))},VIDEO:function(t,e){a(t).forEach(function(t){f(t,"src",h(t,e.data_src))}),f(t,"src",h(t,e.data_src)),t.load()}},g=function(t,e){r?t.classList.add(e):t.className+=(t.className?" ":"")+e},b=function(t,e,i){t.addEventListener(e,i)},w=function(t,e,i){t.removeEventListener(e,i)},$=function(t,e,i){w(t,"load",e),w(t,"loadeddata",e),w(t,"error",i)},y=function(t,e,i){var a,n,o=i._settings,s=e?o.class_loaded:o.class_error,l=e?o.callback_loaded:o.callback_error,c=t.target;a=c,n=o.class_loading,r?a.classList.remove(n):a.className=a.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),g(c,s),p(l,c),u(i,-1)},_=["IMG","IFRAME","VIDEO"],C=function(t,e){var i=e._observer;k(t,e),i&&e._settings.auto_unobserve&&i.unobserve(t)},x=function(t){var e=d(t);e&&(clearTimeout(e),c(t,null))},k=function(t,e,i){var a=e._settings;!i&&l(t)||(-1<_.indexOf(t.tagName)&&(function(e,i){var t,a,n,o=function o(t){y(t,!0,i),$(e,o,s)},s=function s(t){y(t,!1,i),$(e,o,s)};n=s,b(t=e,"load",a=o),b(t,"loadeddata",a),b(t,"error",n)}(t,e),g(t,a.class_loading)),function(t,e){var i,a,n,o,s,l,c=e._settings,r=t.tagName,d=m[r];if(d)return d(t,c),u(e,1),e._elements=(i=e._elements,a=t,i.filter(function(t){return t!==a}));s=h(n=t,(o=c).data_src),l=h(n,o.data_bg),s&&(n.style.backgroundImage='url("'.concat(s,'")')),l&&(n.style.backgroundImage=l)}(t,e),s(t,"was-processed","true"),p(a.callback_reveal,t),p(a.callback_set,t))},z=function(l){return!!e&&(l._observer=new IntersectionObserver(function(t){t.forEach(function(t){return(s=t).isIntersecting||0=$(a[n].attr("data-section-selector")).offset().top-e)return void a[n].addClass("active").parent().siblings().find("a").removeClass("active")}),$(".product_specifications .table tr").removeAttr("class"),$(".product_specifications .table tr:even").addClass("tr-odd-bg"),$(".product_specifications .table tr:odd").addClass("tr-even-bg")},productZoom:function(){$(".jqzoom").jqzoom({zoomType:"standard",lens:!0,preloadImages:!1,alwaysOn:!1,zoomWidth:360,zoomHeight:360,xOffset:30,yOffset:0,position:"left"})},productZoomLeftRright:function(){if(1<$("#thumblist li").length){$(".product_pic_thumb_list_inner").show(),$(".product-overview .pull-right h5").removeClass("bottom");var a=Math.round(.66*$(".col-xs-8").width()/$("#thumblist a:first").parent().outerWidth(!0));5=Math.ceil($("#thumblist a").length/a)-1?($(".product_pic_thumb_list .next-photo a").addClass("disabled"),$(".product_pic_thumb_list .prev-photo a").removeClass("disabled")):$(".product_pic_thumb_list .next-photo a").removeClass("disabled"),$("#thumblist").find(".lazyload.hidden").removeClass("hidden"),$("body,html").scroll()}).on("click",".product_pic_thumb_list .next-photo a",function(t){return t.preventDefault(),n>=Math.ceil($("#thumblist a").length/a)-1||(++n,$("#thumblist a").eq(n).trigger("vchange")),!1}).on("click",".product_pic_thumb_list .prev-photo a",function(t){return t.preventDefault(),n<=0||(--n,$("#thumblist a").eq(n).trigger("vchange")),!1})}else $(".product_pic_thumb_list_inner").hide(),$(".product-overview .pull-right h5").addClass("bottom")},productFeaturesVideoLeftRright:function(){$(".product-video-other").width(3*$(".product-video-other li:first").outerWidth(!0)),$(".product-video-other a").length<=3&&$("#js-product_features_video_list .next-photo, #js-product_features_video_list .prev-photo").hide();var a=0;$(document).on("vchange",".product-video-other a",function(t){$(this).parent().parent().index();var e=$(this).parents("ul").first(),i=a*parseInt($(this).parent().parent().outerWidth(!0))*-3;e.stop().animate({"margin-left":i},500),a<=0?($("#js-product_features_video_list .prev-photo a").addClass("disabled"),$("#js-product_features_video_list .next-photo a").removeClass("disabled")):$("#js-product_features_video_list .prev-photo a").removeClass("disabled"),a>=Math.ceil($(".product-video-other a").length/3)-1?($("#js-product_features_video_list .next-photo a").addClass("disabled"),$("#js-product_features_video_list .prev-photo a").removeClass("disabled")):$(".product_pic_thumb_list .next-photo").removeClass("disabled")}).on("click","#js-product_features_video_list .next-photo a",function(t){return t.preventDefault(),a>=Math.ceil($(".product-video-other a").length/3)-1||(i=++a,$(".product-video-other a").eq(i).trigger("vchange")),!1}).on("click","#js-product_features_video_list .prev-photo a",function(t){return t.preventDefault(),a<=0||(i=--a,$(".product-video-other a").eq(i).trigger("vchange")),!1})},productLeftNav:function(){var i=[];$("#product_left_nav li a").each(function(t,e){i.push($(this).attr("data-section-selector"))}),i=i.reverse();var e=$("#nav-cont .nav-list").height()+10;$("#product_left_nav li a").click(function(t){return e=0<$("#nav-cont").length?$("#nav-cont").hasClass("fix")?$("#nav-cont .nav-list").height():0:$(".nav-section .nav").height(),$("html, body").stop().animate({scrollTop:$($(this).attr("data-section-selector")).offset().top-e},700),$(this).parent().addClass("current").siblings().removeClass("current"),!1})},inSightOneUnbind:function(t){$(t).find("a").unbind("click")},inSightOne:function(){$("a").click(function(){$("#V_adurl").val($(this).attr("href")),$("#V_adtitle").val($.trim($(this).text()));var t="";$("div#breadcrumb_nav").find("a").each(function(){0<$(this).text().length&&(t+=$(this).text()+" > ")}),0 ")}),0a").length&&($("#termUlId").find("font#mapBarSpan").find("span>a").each(function(){0<$(this).text().length&&(t+=$(this).text()+" > ")}),0
      ");if(t.find("#nav-wrap").prepend(e),$(".my_space_tips").hide(),"ja"==$("#gLanguageCurrent").val()||"sa"==$("#gLanguageCurrent").val()||"ar"==$("#gLanguageCurrent").val()||"ar-sa"==$("#gLanguageCurrent").val())$(".my_space_tips").hide();else{var i="";if(null!=GetSpaceCookieValue("login_uid")&&(i=GetSpaceCookieValue("login_uid")),null!=GetSpaceCookieValue("uid")&&(i=GetSpaceCookieValue("uid")),""!=i){var a=GetSpaceCookieValue("SpaceTimes");if(null==a||""==a||"undefined"==a){var n=GetSpaceCookieValue("SpaceCookie");null==n||""==n||"undefined"==n?($.cookie("SpaceCookie","show_my_space",{path:"/"}),$(".my_space_tips").show(),SpacePosition()):$(".my_space_tips").hide()}else $(".my_space_tips").hide()}}}function LoginCookieTips(){if("cn"==$("#gLanguageCurrent").val()||"zh"==$("#gLanguageCurrent").val()||"en"==$("#gLanguageCurrent").val()){var t="";if(null!=GetSpaceCookieValue("login_uid")&&(t=GetSpaceCookieValue("login_uid")),null!=GetSpaceCookieValue("uid")&&(t=GetSpaceCookieValue("uid")),""!=t){var e=GetSpaceCookieValue("SpaceTimes");if(null==e||""==e||"undefined"==e){var i=GetSpaceCookieValue("SpaceCookie");if(null==i||""==i||"undefined"==i){$.cookie("SpaceCookie","show_my_space",{path:"/"});var a=$("#container"),n=$(" \x3c!--=S 我的空间功能提示 2016/1/7--\x3e
      "+$("#hidden_spaceTips").val()+"
      \x3c!--=E 我的空间功能提示 2016/1/7--\x3e");a.find("#nav-wrap").prepend(n),SpacePosition()}}}}}function AppendMobileLoginBt(){if("cn"==$("#gLanguageCurrent").val()||"zh"==$("#gLanguageCurrent").val()||"en"==$("#gLanguageCurrent").val()){var t="";null!=GetSpaceCookieValue("login_uid")&&(t=GetSpaceCookieValue("login_uid")),null!=GetSpaceCookieValue("uid")&&(t=GetSpaceCookieValue("uid"));var e=$("#hidden_mobile_space").val(),i=$("#hidden_mobile_login").val();if(""==t){if(0<$("ul.menulist").length){var a=$("#hidelonginLinkStr").val(),n=' \x3c!--手机版登录按钮--\x3e\x3c!--手机版登录按钮--\x3e";$("ul.menulist:first").after(n)}}else if(0<$("ul.menulist").length){var o=location.protocol+"//"+document.location.hostname;"cn"==$("#gLanguageCurrent").val()||"zh"==$("#gLanguageCurrent").val()?o+="/cn/myspace/accountinformation":"en"==$("#gLanguageCurrent").val()&&(o+="/en/myspace/accountinformation");var s='
    • '+e+"
    • ";$("ul.menulist").append(s)}}}function controlImgH(t,e){$(t).each(function(){var t=$(this).find("img").height();e
      "),e=$("
      ");e.html("Loading..."),t.html(e),$("body").append(t)}else $("#dloading").show()}function closeLoading(){$("#dloading").hide()}setHeight(".zl-application-scenario",".zl-application-scenario-block",768),$(window).resize(function(){winW=$(window).width(),setHeight(".zl-application-scenario",".zl-application-scenario-block",768)}),$(function(){var a=[];$(".partner-zone-block").each(function(){a.push($(this).find(".partner-zone-link").height()),$(this).find(".partner-zone-link").height(0)}),$(".partner-zone-block").eq(0).find(".partner-zone-link").height(a[0]),$(".partner-zone-block").each(function(){$(this).hover(function(t,e){var i=$(this).index();0!=i&&$(this).find(".partner-zone-link").animate({height:a[i]},20)},function(){0!=$(this).index()&&$(this).find(".partner-zone-link").animate({height:0},20)})})}),String.prototype.format=function(t){var e=this;if(0
      "),e=$("
      ");e.html("Loading..."),t.html(e),$("body").append(t).fadeIn()}else $("#enpdloading").fadeIn()},closeLoading:function(){$("#enpdloading").fadeOut()},getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(e);return null!=i?decodeURIComponent(i[2]):null},hasQuestionMark:function(t){return/\?/.test(t)},htmlEncode:function(t){return t&&0!=t.length?t.replace(/&/g,"&").replace(//g,">").replace(/ /g," ").replace(/\'/g,"'").replace(/\"/g,"""):""},htmlDecode:function(t){return t&&0!=t.length?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"'").replace(/"/g,'"'):""},getHostUrl:function(){return location.protocol+"//"+location.host},arrayRemove:function(t,e){var i=t.indexOf(e);-1 The jQuery method "'+t+'" you called does not exist';var i,a,n=d.extend({absolute:!1,clone:!1,includeMargin:!1},e),o=this.eq(0);if(!0===n.clone)i=function(){o=o.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},a=function(){o.remove()};else{var s,l=[],c="";i=function(){s=o.parents().addBack().filter(":hidden"),c+="visibility: hidden !important; display: block !important; ",!0===n.absolute&&(c+="position: absolute !important; "),s.each(function(){var t=d(this);l.push(t.attr("style")),t.attr("style",c)})},a=function(){s.each(function(t){var e=d(this),i=l[t];i===undefined?e.removeAttr("style"):e.attr("style",i)})}}i();var r=/(outer)/.test(t)?o[t](n.includeMargin):o[t]();return a(),r}})}(jQuery),Base.prototype.contourFun=function(t,p,u,e){var i=$(t),a=$(window).width();0');var o=(n=$("#J-line-limit-text").css({fontSize:t.css("font-size"),lineHeight:t.css("line-height"),width:t.width(),wordBreak:t.css("word-break")})).html("...").height()*e;i&&(a=a.split(/([^x00-xff]|\s+)/gi));for(var s=a.length,l=!1;s--;){var c;if(""!=a[s]){if(c="object"==typeof a?a.slice(0,s+1).join(""):a.slice(0,s+1),n.html(c+"..."),!(n.height()>o))return l?c.slice(0,c.length-1)+"...":a;l=!0}}return""}(e,i,e.data("limit-type")))}}),$(".J-line-limit").trigger("limit"),setTimeout(function(){$(".J-line-limit").data("init-limit",!1),$(".J-line-limit").trigger("limit")},1e3)},Base.prototype.v3SetHeight=function(t,p,u){!this.resizeStackLock&&this.resizeStack&&this.resizeStack.push({fn:this.v3SetHeight,params:arguments});var e=$(t),f=arguments;e.each(function(){var t=$(this),e=t.find(p),i=e.length,a=t.width()+10,n=e.width(),o=Math.floor(a/n),s=Math.ceil(i/o),l=0,c=null;2==f.length?e.height("auto"):e.find(u).height("auto");for(var r=0;r",{id:"global-top-button","class":"iconfont icon-up",style:"display:none;border:1px solid #eee;border-radius:2px;background:#fff;position:fixed;bottom:190px;right:20px;width:40px;height:40px;text-align:center;padding-top:7px;font-size:24px;color: #999;cursor:pointer;z-index:1001;line-height:1;"}).appendTo("body");var e=$("#global-top-button");$(window).width()<750?e.css({bottom:165,right:15}):750<$(window).width()&&$(window).width()<1200?e.css({bottom:180,right:15}):e.hover(function(){e.css("color","#333")},function(){e.css("color","#666")}),"huawei"==baseLib.browserVersion()&&t<750&&e.css("bottom",165),$(window).scroll(function(){700<$(window).scrollTop()?e.show():e.hide()}),e.on("click",function(){$("body,html").animate({scrollTop:0})})};var baseLib=new Base;baseLib.navigationIncident(),baseLib.promptIncident(),baseLib.contourFun(".subset-industry-I","dd","span"),baseLib.BrowseHappyFun(),baseLib.resizeChangeScreen(),baseLib.replaceImg(),baseLib.replaceImglazyload(),baseLib.ebgReplaceImgLazyLoad(),baseLib.ebgReplaceImg(),baseLib.browserVersion(),baseLib.lineLimit(),baseLib.v2FooterFun(),baseLib.v2PromptIncident(),baseLib.V2ReplaceImglazyload(),baseLib.V2ReplaceImg(),baseLib.globalToolbar(),baseLib.globalTopButton();var win_W=$(window).width();switch($(window).resize(function(){var t=$(window).width();t!=win_W&&(win_W=t,baseLib.replaceImg(),baseLib.replaceImglazyload())}),baseLib.browserVersion()){case"6":case"7":case"8":case"0":var cook=$.cookie("browserVersionie8");null==cook&&($.cookie("browserVersionie8","ok",{expires:1,path:"/"}),$(".prompt-ie8").fadeIn())}if($.fn.extend({setWidthHeight:function(t){var e=$.extend({},{scale:4/3},t),i=$(this),a=i.width(),n=a/e.scale;i.css("height",n),$(window).resize(function(){i.each(function(){$(this).hasClass("over")||(a=i.width(),n=a*e.h/e.w,i.css("height",n))})})}}),$(".lazyload img,.lazyload-v2 img").lazyload!=undefined)0<$(".lazyload img").length&&$(".lazyload img").lazyload({threshold:100,failure_limit:100,event:"scroll",effect:"fadeIn",container:window,data_attribute:"original",skip_invisible:!0,appear:function(){var t=$(this).parents(".lazyload");t.parents(".ebg-bg").length&&"not"!=t.parents(".ebg-bg").data("replace")&&(t.parents(".ebg-bg").css("background-image","url("+$(this).data("original")+")"),$(this).data("original",""),t.hide())},load:function(){var t=$(this).parents(".lazyload");t.parents(".ebg-bg").length&&"not"!=t.parents(".ebg-bg").data("replace")||t.css({height:"auto",background:"none"}).addClass("over")}}),0<$(".lazyload-v2 img").length&&$(".lazyload-v2 img").lazyload({threshold:100,failure_limit:100,event:"scroll",effect:"fadeIn",container:window,data_attribute:"original",skip_invisible:!0,appear:null,load:function(){$(this).parents(".lazyload-v2").css({height:"auto",background:"none"}).addClass("over")}});else{function lazyloadClearBg(t,e){var i=$(t);i.parents(".ebg-bg").length&&"not"!=i.parents(".ebg-bg").data("replace")&&(i.parents(".ebg-bg").css("background-image","url("+i.data("original")+")"),i.parents(e).hide()),i.parents(e)&&i.parents(e).css("background","none")}if(0<$(".lazyload img").length)var lazyLazy=new LazyLoad({elements_selector:".lazyload img",data_src:"original",callback_loaded:function(t){lazyloadClearBg(t,".lazyload")},callback_enter:function(t){lazyloadClearBg(t,".lazyload")}});if(0<$(".lazyload-v2 img").length)var lazyLazy=new LazyLoad({elements_selector:".lazyload-v2 img",data_src:"original",callback_loaded:function(t){lazyloadClearBg(t,".lazyload-v2")},callback_enter:function(t){lazyloadClearBg(t,".lazyload-v2")}})}!function(i){if(0||on",expand_textbox:".expand-textbox",beforeFun:"",afterFun:"",notSetHeight:!1,whiteClass:"banner-while-font",whiteBoxClass:"banner-while",resetOrderCallback:null},t),o=O(this),i=n.autoRotation,e=n.time,s=n.current,l=n.whiteClass,c=n.whiteBoxClass,a=n.resetOrderCallback,r=(n.proportion,n.proportionMobile),d=n.Resolution,h=n.isOtaku,p=n.bannerPrintHtml,u=o.find(n.bannerBox),f=o.find(n.bannerList),v=o.find(n.bannerImg),m=O("html").hasClass("LANG-sa")?o.find(n.nextBtn):o.find(n.preBtn),g=O("html").hasClass("LANG-sa")?o.find(n.preBtn):o.find(n.nextBtn),b=o.find(n.bannerPrint),w=o.find(n.expand_textbox),$=O(window).width(),y=u.width(),_=0,C=0,x="",k=v.length,z=0,M=0,L="on",S=!1,B=function(){var t=o.find(n.currentClass);if(t.length&&t.hasClass(l)?u.addClass(c):u.removeClass(c),$=O(window).width(),y=u.width(),""!=n.beforeFun&&n.beforeFun(),$<=d){for(var e=0;e1.5*Math.abs(D)?2:1;break;case 1:O("html").hasClass("LANG-sa")?I.style.marginRight=D+"px":I.style.marginLeft=D+"px";break;case 2:O("body").scrollTop(N-q)}}},!1),I.addEventListener("touchend",function(t){D=O("html").hasClass("LANG-sa")?V-E:E-V,1==R&&(Math.abs(D)<120?(O("html").hasClass("LANG-sa")?f.animate({marginRight:0},100):f.animate({marginLeft:0},100),i&&T()):S?i&&T():(S=!0,D<0?(A(f.find(".next").index()),O("html").hasClass("LANG-sa")?f.animate({marginRight:-y},100,function(){H(f.find(".next").index(),"click")}):f.animate({marginLeft:-y},100,function(){H(f.find(".next").index(),"click")})):(A(f.find(".pre").index()),O("html").hasClass("LANG-sa")?f.animate({marginRight:y},200,function(){H(f.find(".pre").index(),"click")}):f.animate({marginLeft:y},200,function(){H(f.find(".pre").index(),"click")}))))},!1))}}}(jQuery);var CAROU=function(t){new Carousel(t)},Carousel=function(t){this.defaluts={oCon:".rotator-con",oul:".rotator-ul",oList:".rotator-list",oPrev:".rotator-prev",oNext:".rotator-next",oPoint:".rotator-point",showNum:1,winWidthBanRotator:0},this._language=$("html").attr("lang"),this.opts=$.extend({},this.defaluts,t),$(window).width()>this.opts.winWidthBanRotator&&(this.oCon=$(this.opts.oCon),this.oul=$(this.opts.oul),this.oList=$(this.opts.oList),this.oPrev=$(this.opts.oPrev),this.oNext=$(this.opts.oNext),this.oPoint=$(this.opts.oPoint),this.oPointChild="",(_this=this).topic_index=0,this.con_w,this.li_point,$(window).resize(function(){_this.init()}),_this.init(),_this.clocked())};Carousel.prototype.init=function(){var t=$(window).width(),e="",i=this.oList.length;if(this.oul.css("marginLeft",0),this.oPrev.css("display","none"),this.oNext.css("display","block"),this.topic_index=0,this.con_w=this.oCon.width(),4==this.opts.showNum&&(e=1366";this.oPoint.empty().append(point_span)}this.oPointChild=$(this.opts.oPoint).find("span"),this.oPointChild.eq(0).addClass("hover"),this.oList.width(e),this.oul.width(e*i)},Carousel.prototype.clocked=function(){var e=this;if(this.oNext.on("click",function(){e.oPrev.css("display","block"),e.topic_index++,o(e.topic_index);for(var t=e.topic_index*e.opts.showNum;t<(e.topic_index+1)*e.opts.showNum;t++)e.oul.find("img").eq(t).trigger("appear")}),this.oPrev.on("click",function(){e.oNext.css("display","block"),e.topic_index--,o(e.topic_index)}),this.oPoint.on("click","span",function(){e.oPrev.css("display","block"),e.oNext.css("display","block"),e.topic_index=$(this).index(),o(e.topic_index);for(var t=e.topic_index*e.showNum;t<(e.topic_index+1)*e.showNum;t++)e.oul.find("img").eq(t).trigger("appear")}),!navigator.userAgent.match("MSIE")&&0=e.li_point-1&&(e.topic_index=e.li_point-1,e.oNext.css("display","none")),e.oul.animate({marginLeft:-e.con_w*e.topic_index}),e.oPoint.removeClass("hover").eq(Math.ceil(e.topic_index)).addClass("hover")):20=e.li_point-1?(t=e.li_point-1,e.oNext.css("display","none"),e.topic_index=t):t<=0&&(t=0,e.oPrev.css("display","none"),e.topic_index=t),"ar-SA"==e._language?e.oul.animate({marginRight:-e.con_w*t}):e.oul.animate({marginLeft:-e.con_w*t}),e.oPointChild.removeClass("hover").eq(Math.ceil(t)).addClass("hover"),e.topic_index=t}};var supportUrl=location.protocol+"//support.huawei.com",eUrl=location.protocol+"//e.huawei.com",flag=!1,hasKeyword=!1,lastCompleteAjax=null;function initSearchSubPage(){$(".Find_support").click(function(){var t=$(this).parents(".productSupportDivNew").data("type"),e=$(this).parents(".productSupportDivNew").find(".support_input_focus").val(),i=$(this).parents(".productSupportDivNew").find(".Find_Language").val();i!=undefined&&""!=i||(i="en"),"all"==t?OpenTheSearch():window.open(supportUrl+"/enterprisesearch?lang="+i+"#type=searchAll&keyword="+e);var a=$("#hidLangRegionName").val();if("cn"==a||"en"==a){var n=getCookie("search_history_kw"),o={};null!=n&&""!=n?(o=JSON.parse(n))!=undefined&&null!=o&&(o[e]=(new Date).getTime()):o[e]=(new Date).getTime(),setCookie("search_history_kw",JSON.stringify(o),null,720)}utagEvent({tealium_event:"search",eventCat:"search",eventAct:"search",eventLbl:e,search_keyword:e,content_name:e,click_name:"search",click_type:"action"})}),$(".zl-pc-searching-tip a").off().on("click",function(){$(this).parents(".nav-searchbit-box").find("#txtSearch_Navigation").val($(this).attr("title")),$(this).parents(".productSupportDivNew").find(".Find_support").trigger("click"),$(".zl-pc-searching-tip").hide()})}function EnterSupportSearch(t){if(13==(window.event||arguments.callee.caller.arguments[0]).keyCode)return $(t).parents(".productSupportDivNew").find(".ui-menu-show2").hide(),$(t).parents(".productSupportDivNew").find(".ui-menu-show1").hide(),$(t).parents(".productSupportDivNew").find(".zl-pc-searching-tip").hide(),$(t).parents(".productSupportDivNew").find(".Find_support").trigger("click"),!1}function searchClear(t){var e=$(t).parents(".productSupportDivNew").find(".inputInfohint").val(),i=$(t).parents(".productSupportDivNew").find(".support_input_focus");i.val()==e&&i.val("")}function searchShow(t){var e=$(t).parents(".productSupportDivNew").find(".inputInfohint").val(),i=$(t).parents(".productSupportDivNew").find(".support_input_focus");i.val().length<=0&&i.val(e)}function immediately(t,a){$(t).bind("input propertychange",function(){!function i(t){var e=$(t);!(t=window.event||t)||"value"!=t.propertyName&&t.propertyName||a(e)}($(this))})}function getCookie(t){var e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]*)(;|$)"));return null!=e?decodeURIComponent(e[2]):null}function setCookie(t,e,i,a){var n=new Date;n.setTime(n.getTime()+60*a*60*1e3),document.cookie=null==i||""==i?t+"="+encodeURIComponent(e)+";path=/; expires="+n.toGMTString():t+"="+encodeURIComponent(e)+";path=/; domain="+i+";expires="+n.toGMTString()}function initAutoThink(t){var e=$(t),i=$.trim(e.val()),a=e.parents(".productSupportDivNew").find(".Find_Language").val(),n=(e.parents(".productSupportDivNew").find(".inputInfohint").val(),e.parents(".productSupportDivNew"));n.length<1&&(n=$("#productSupportDivNew"));var o=60;"zh"!=a&&(o=80),querysearchProduct(e,o,i,n,n,t)}function querysearchProduct(a,n,s,o,o,l){var c=$(l).parents(".productSupportDivNew").find(".Find_Language").val(),i="en";"cn"!=c&&"zh"!=c||(i="zh");Math.round(1e4*Math.random());a.autocomplete({minChars:0,scrollHeight:40,max:10,source:function(t,o){null!=lastCompleteAjax&&lastCompleteAjax.abort();var e=$(l).data("type");lastCompleteAjax=$.ajax({url:eUrl+"/enterprisesearch/ebgSearch/getProductByKeyword",dataType:"json",type:"POST",cache:!0,data:{keyword:s,mid:e,lang:i,requestType:"ajax.json"},success:function(a){if(null!=a){if(a.length<10){associateListSize=a.length;var n=0;$.ajax({url:eUrl+"/enterprisesearch/autoComplete",dataType:"json",cache:!0,type:"GET",data:{keyword:s,lang:i,requestType:"ajax.json"},success:function(t){var e=t;if(null!=e&&e.autoCompleteList){0").data("item.autocomplete",e).append(""+(""==e.fullNodeNamePath?"":highlightKeyword(e.fullNodeNamePath.substring(0,n),s))+(e.fullNodeNamePath.length>n?"...":"")+"").appendTo(t);if($(o).append(t),flag&&($(".ui-autocomplete").prepend("
    • "+$(l).parents(".productSupportDivNew").find(".searchHint").val()+"
    • "),flag=!1),hasKeyword)if(0"+$(l).parents(".productSupportDivNew").find(".searchSuggestTerm").val()+""),hasKeyword=!1)}else $(".ui-autocomplete").children("li").eq(0).html($(l).parents(".productSupportDivNew").find(".searchSuggestTerm").val()),hasKeyword=!1;return i}}function highlightKeyword(t,e){var i=t.lastIndexOf("»");return-1==i?t.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+e.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"$1"):t.substring(0,i)+t.substring(i,t.length).replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+e.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"$1")}function product(t){var e=$("#inputInfohint").val(),i=$.trim(t);return null==i||""==$.trim(i)||e==i?(alert($("#productSearchI18n").val()),!1):!($.trim(i).length<2)||(alert($("#I18n_inputMinkey").val()),!1)}function getOs(){return 0"+$(this).val()+"")});var i=0;w.each(function(){$(this).attr("data-index",i),$(this).is(":hidden")&&(g.find("li").eq(i).remove(),$(this).removeClass("anchorpoint")),i++})}else{var a=$("#hidtemplateid").val();"{EBAD1408-BE02-465C-98E7-062918195BD1}"==a&&($("#sectionCollection").append('
    • '+$("#hidSummaryValue").val()+"
    • "),$(".wap-nav-title").html($("#hidSummaryValue").val()),w.each(function(t,e){for(var i=w[t].className.split(" "),a=0;a"+$("#hidBenefit").val()+"");break}if("js_section_3"==i[a]){$("#sectionCollection").append("
    • "+$("#hidSolutionsVideo").val()+"
    • ");break}if("js_section_4"==i[a]){$("#sectionCollection").append("
    • "+$("#hidSubSolutions").val()+"
    • ");break}if("js_section_5"==i[a]){$("#sectionCollection").append("
    • "+$("#hidTechSupport").val()+"
    • ");break}if("js_section_7"==i[a]){$("#sectionCollection").append("
    • "+$("#hidCaseStudies").val()+"
    • ");break}if("js_section_9"==i[a]){$("#sectionCollection").append("
    • "+$("#hidMoreResources").val()+"
    • ");break}if("js_section_10"==i[a]){$("#sectionCollection").append("
    • "+$("#hidRecommendDocument").val()+"
    • ");break}if("js_section_11"==i[a]){$("#sectionCollection").append("
    • "+$("#hidExpertModule").val()+"
    • ");break}if("js_section_16"==i[a]){$("#sectionCollection").append("
    • "+$("#hidRelateProduct").val()+"
    • ");break}}})),"{A2961078-DE07-4E0E-8156-A24A30D85ED2}"==a&&($("#sectionCollection").append('
    • '+$("#hidSummaryValue").val()+"
    • "),$(".wap-nav-title").html($("#hidSummaryValue").val()),w.each(function(t,e){for(var i=w[t].className.split(" "),a=0;a"+$("#hidFeatures").val()+"");break}if("js_section_3"==i[a]){$("#sectionCollection").append("
    • "+$("#hidSpecifications").val()+"
    • ");break}if("js_section_5"==i[a]){$("#sectionCollection").append("
    • "+$("#hidTechSupport").val()+"
    • ");break}if("js_section_6"==i[a]){$("#sectionCollection").append("
    • "+$("#hidRelateResource").val()+"
    • ");break}if("js_section_9"==i[a]){$("#sectionCollection").append("
    • "+$("#hidMoreResources").val()+"
    • ");break}if("js_section_10"==i[a]){$("#sectionCollection").append("
    • "+$("#hidRecommendDocument").val()+"
    • ");break}}}))}g.find("li").length<2&&u.remove();var n=u.find(".wap-nav-title").html();n!=undefined&&"undefined"!=n&&""!=n&&p<1200&&(u.find(".wap-nav-title").show(),u.find(".wap-nav-icon").show())}}(),function i(){var t=u.find(".btn .contact ul"),e=u.find(".btn .contact .more-box");e.attr("data-height",t.outerHeight(!0)),u.find(".btn .contact").hover(function(){e.height(e.attr("data-height"))},function(){e.height(2)})}(),0==f.length&&(f=$(".nav-section .nav")),0!=f.length&&(t(),a())}()},$(function(){(new Base).fixedNav()}),$(function(){$(window).width();var e=function(t,e){e=e||"active",t.addClass(e).siblings().removeClass(e)};$(".ebg-module-gblnav").on("click",".worldwide-link",function(){var t=$(this);t.hasClass("active")?t.removeClass("active"):e(t),t.hasClass("web-contact")?($(".top-nav-content").find(".worldwide-contact").slideUp(200),$(".top-nav-content").find(".web-contact").slideToggle(200)):t.hasClass("worldwide-contact")&&($(".top-nav-content").find(".web-contact").slideUp(200),$(".top-nav-content").find(".worldwide-contact").slideToggle(200))})}),$(function(){var p,u=$(window),t=u.width(),f=992"),t=$(".v2-inside-video-box-main video")[0];var e=c.data("textimg");c.find(".pic").find("img").attr("src",e),t.play()}else{var i=c.data("ie8bg"),a=c.data("ie8textimg");c.css("background","url("+i+")"),c.find(".pic").find("img").attr("src",a)}$(".v2-inside-video-box").fadeIn(),$(".js-v2-inside-video-box-clock").on("click",function(){$(".v2-inside-video-box").fadeOut(),t.pause()})})(),$.cookie(t,1,{domain:".huawei.com",expires:90,path:"/"})}()},1e3)}()}()}}()}),function(t){var e,i,a,n,o,s='',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}function c(){o||(o=!0,a())}e=function(){var t,e=document.createElement("div");e.innerHTML=s,s=null,(e=e.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",e=e,(t=document.body).firstChild?function(t,e){e.parentNode.insertBefore(t,e)}(e,t.firstChild):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(e,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),e()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=e,n=t.document,o=!1,function r(){try{n.documentElement.doScroll("left")}catch(t){return void setTimeout(r,50)}c()}(),n.onreadystatechange=function(){"complete"==n.readyState&&(n.onreadystatechange=null,c())})}(window);var qrcode=function(){var a=function(t,e){var l=t,s=b[e],d=null,h=0,a=null,c=[],u={},r=function(t,e){d=function(t){for(var e=new Array(t),i=0;i>i&1);d[Math.floor(i/3)][i%3+h-8-3]=a}for(i=0;i<18;i+=1)a=!t&&1==(e>>i&1),d[i%3+h-8-3][Math.floor(i/3)]=a},f=function(t,e){for(var i=s<<3|e,a=w.getBCHTypeInfo(i),n=0;n<15;n+=1){var o=!t&&1==(a>>n&1);n<6?d[n][8]=o:n<8?d[n+1][8]=o:d[h-15+n][8]=o}for(n=0;n<15;n+=1)o=!t&&1==(a>>n&1),n<8?d[8][h-n-1]=o:n<9?d[8][15-n-1+1]=o:d[8][15-n-1]=o;d[h-8][8]=!t},v=function(t,e){for(var i=-1,a=h-1,n=7,o=0,s=w.getMaskFunction(e),l=h-1;0>>n&1)),s(a,l-c)&&(r=!r),d[a][l-c]=r,-1==(n-=1)&&(o+=1,n=7)}if((a+=i)<0||h<=a){a-=i,i=-i;break}}},m=function(t,e,i){for(var a=y.getRSBlocks(t,e),n=_(),o=0;o8*l)throw"code length overflow. ("+n.getLengthInBits()+">"+8*l+")";for(n.getLengthInBits()+4<=8*l&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*l||(n.put(236,8),n.getLengthInBits()>=8*l));)n.put(17,8);return function(t,e){for(var i=0,a=0,n=0,o=new Array(e.length),s=new Array(e.length),l=0;l',i+="";for(var a=0;a";for(var n=0;n';i+=""}return(i+="")+""},u.createSvgTag=function(t,e,i,a){var n={};"object"==typeof t&&(t=(n=t).cellSize,e=n.margin,i=n.alt,a=n.title),t=t||2,e=void 0===e?4*t:e,(i="string"==typeof i?{text:i}:i||{}).text=i.text||null,i.id=i.text?i.id||"qrcode-description":null,(a="string"==typeof a?{text:a}:a||{}).text=a.text||null,a.id=a.text?a.id||"qrcode-title":null;var o,s,l,c,r=u.getModuleCount()*t+2*e,d="";for(c="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",d+=''+g(a.text)+"":"",d+=i.text?''+g(i.text)+"":"",d+='',d+='"},u.createDataURL=function(n,t){n=n||2,t=void 0===t?4*n:t;var e=u.getModuleCount()*n+2*t,o=t,s=e-t;return M(e,e,function(t,e){if(o<=t&&t"};var g=function(t){for(var e="",i=0;i":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=a}}return e};return u.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var e,i,a,n,o,s=1*u.getModuleCount()+2*t,l=t,c=s-t,r={"██":"█","█ ":"▀"," █":"▄"," ":" "},d={"██":"▀","█ ":"▀"," █":" "," ":" "},h="";for(e=0;e>>8),e.push(255&n)):e.push(s)}}return e}};var e,t,i,b={L:1,M:0,Q:3,H:2},w=(e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e},(t={}).getBCHTypeInfo=function(t){for(var e=t<<10;0<=i(e)-i(1335);)e^=1335<>>7-t%8&1)},put:function(t,e){for(var i=0;i>>e-i-1&1))},getLengthInBits:function(){return a},putBit:function(t){var e=Math.floor(a/8);i.length<=e&&i.push(0),t&&(i[e]|=128>>>a%8),a+=1}};return n},C=function(t){var a=t,e={getMode:function(){return 1},getLength:function(t){return a.length},write:function(t){for(var e=a,i=0;i+2>>8&255)+(255&a),t.put(a,13),i+=2}if(i>>8)},writeBytes:function(t,e,i){e=e||0,i=i||t.length;for(var a=0;a=i.length){if(0==o)return-1;throw"unexpected end of file./"+o}var t=i.charAt(a);if(a+=1,"="==t)return o=0,-1;t.match(/^\s$/)||(n=n<<6|s(t.charCodeAt(0)),o+=6)}var e=n>>>o-8&255;return o-=8,e}},s=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return e},M=function(e,i,t){for(var a=function(){var a=e,n=i,f=new Array(e*i),t={setPixel:function(t,e,i){f[e*a+t]=i},write:function(t){t.writeString("GIF87a"),t.writeShort(a),t.writeShort(n),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(a),t.writeShort(n),t.writeByte(0);var e=o(2);t.writeByte(2);for(var i=0;255>>e!=0)throw"length over";for(;8<=l+e;)s.writeByte(255&(t<>>=8-l,l=c=0;c|=t<>>c-6),c-=6},h.flush=function(){if(0>6,128|63&a):a<55296||57344<=a?e.push(224|a>>12,128|a>>6&63,128|63&a):(i++,a=65536+((1023&a)<<10|1023&t.charCodeAt(i)),e.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|63&a))}return e}(t)},function(t){"function"==typeof define&&define.amd?define("vendor/qrcode.min",[],t):"object"==typeof exports&&(module.exports=t())}(function(){return qrcode}),$(function(){$.fn.globalShare=function(){var t=this,e=($(window).width(),$(document.head)),a={url:location.href,site_url:location.origin,title:e.find("[name=title], [name=Title]").attr("content")||document.title,description:e.find("[name=description], [name=Description]").attr("content")||"",image:$("img:first").prop("src")||"",wechatQrcodeTitle:$("html").hasClass("LANG-cn")?"使用微信扫描二维码":"Use Wechat scan QR code",sites:["favorite","weibo","qq","wechat","tencent","douban","qzone","linkedin","diandian","facebook","twitter","google"],isInit:!1,email:"information@huawei.com"},o={wechat:"javascript:;",weibo:"https://service.weibo.com/share/share.php?url={{URL}}&title={{TITLE}}&pic={{IMAGE}}",linkedin:"https://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&summary={{DESCRIPTION}}&source={{TITLE}}&armin=armin",facebook:"https://www.facebook.com/sharer/sharer.php?u={{URL}}",twitter:"https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{SITE_URL}}",google:"https://plus.google.com/share?url={{URL}}",email:"mailto:{{EMAIL}}?subject={{TITLE}}&body={{URL}}"+encodeURIComponent("\n")+"{{DESCRIPTION}}",print:"javascript:window.print();void(0)"};function c(t,e){var i=o[t];for(var a in e)if(e.hasOwnProperty(a)){var n=encodeURIComponent(e[a]);i=i.replace(new RegExp("{{"+a.toUpperCase()+"}}","g"),n)}return i}!function i(){t.each(function(){var t=$(this);if(t.data("isInit"))return!0;var e=$.extend({},a,t.data()),i=function s(t,e){for(var i="",a=e.sites.split(","),n=0;n":i+=""}return i}(0,e);t.html(""),t.append(i),function l(t,e){var i=t.find("a.icon-wechat");i.append('

      '+e.wechatQrcodeTitle+'

      ');var a=qrcode(0,"H");a.addData(e.url),a.make();var n=a.getModuleCount(),o=134/n;i.find(".qrcode").html(a.createImgTag(o,2))}(t,e)})}()},$(function(){$(".share-component,.social-share").globalShare()})}),$(function(){if(1200<$(window).width()){$(".global-share .pop-up-layer").css("top",-($(".global-share .pop-up-layer").height()/2-20)),$(".global-share .J-copy-link").on("click",function(){!function e(t){0==$("#urlText").length&&t.after('"),this.videomask=$(".videomask"),this.videomask.fadeIn(200)},i.prototype.getVideoSize=function(){var t,e,i;return{x:(i=(e=980.videomask i.icon-close:hover{ transform: rotate(90deg);",a="",n="";this.opts.playInContent&&(a=i=""),n=navigator.userAgent.match(/mobile/i)?"
      "+a+"
      ":"
      "+i+"
      ";var o=this.getVideoSize();this.videomask.append(n).addClass("playing").data("url",e.jWUrl),this.btn.addClass("playing");var s=this.videomask.data("remark-btn");s&&s.addClass("playing"),$(".jWVideoFrame").css({position:"absolute",width:o.w,height:o.h,top:o.y,left:o.x}),this.close=$(".videomask .icon-close"),window.videojsLanguage=$("html").hasClass("LANG-cn")?"zh-CN":"en",this.bindClose(),$(".jWVideoFrame").click(function(t){(t=t||window.event).stopPropagation()});var l={controls:!0,autoplay:!0,preload:"none",playbackRates:[.5,1,1.5,2],fluid:!0,sources:[{src:(e=this).jWUrl,type:"video/mp4",label:"default"}],aspectRatio:"16:9",muted:!1,plugins:{},language:window.videojsLanguage,loop:!1};r()&&(l.plugins.videoJsResolutionSwitcher={"default":"low",dynamicLabel:!0}),videojs.getPlugin&&videojs.getPlugin("vjsdownload")&&(l.plugins.vjsdownload={beforeElement:"playbackRateMenuButton",textControl:"Download video",name:"downloadButton",downloadURL:e.opts.downloadPath}),(c=videojs.getPlayers()[t])&&c.dispose();var c=videojs(t,l);console.log(c),videojs.getComponent("QualitySelector")&&c.controlBar.addChild("QualitySelector",{text:"Quality"}),c.ga&&c.ga(),c.on("play",function(t){e.pausePlayVideo(!0),e.videomask.trigger("play"),$(".vjs-big-play-button").hide()}),c.on("pause",function(t){e.pauseVideo(!0),e.videomask.trigger("pause"),$(".vjs-big-play-button").show()}),c.on("canplaythrough",function(t){e.videomask.trigger("readyPlay"),$(".vjs-vjsdownload.vjs-control.vjs-button").hide()}),c.on("ended",function(t){e.pauseVideo(!0),e.videomask.trigger("complete"),$(".vjs-big-play-button").show()}),c.on("volumechange",function(t){e.videomask.trigger("volumeChange")}),this.player=c},i.prototype.initShare=function(){this.shareGroup=$("
      "),this.shareWrapBox=$("
      "),$(".jWVideoFrame").append(this.shareGroup),this.shareGroup.append(this.shareWrapBox),this.opts.downloadPath&&(this.opts.shareFunc?this.shareWrapBox.append(""):this.shareWrapBox.append("")),this.opts.shareFunc&&(this.shareBox=$("
      "),this.shareWrapBox.append(this.shareBox),this.shareBox.share?this.shareBox.share({sites:this.opts.shareFunc.split(","),url:this.opts.shareUrl,title:this.opts.shareTitle,description:this.opts.shareDescription,image:this.opts.shareImg}):alert("not find share function"))},i.prototype.bindClose=function(){var e=this;e.close.off("click.video").on("click.video",function(t){(t=t||window.event).stopPropagation(),e.closeVideo()}),e.videomask.off("click.video").on("click.video",function(t){(t=t||window.event).stopPropagation(),e.closeVideo()})},i.prototype.bindEvent=function(){var e=this;e.statusBtn.off("click.video").on("click.video",function(t){return e.btn.hasClass("playing")?(e.pauseVideo(),!1):e.btn.hasClass("pause")?(e.pausePlayVideo(),!1):void 0})},i.prototype.closeVideo=function(){this.player&&this.player.dispose(),this.player=null,this.opts.playInContent?this.videomask.removeClass("playing"):this.videomask.fadeOut(200),this.videomask&&this.videomask.off("click.video"),this.close&&this.close.off("click.video"),this.statusBtn.off("click.video"),this.btn&&this.btn.removeClass("playing").removeClass("pause");var t=this.videomask.data("remark-btn");t&&t.removeClass("playing")},i.prototype.pauseVideo=function(t){if(jWVideoFrameId&&this.btn.hasClass("playing")){t||this.player.pause(),this.videomask.removeClass("playing").addClass("pause"),this.btn.removeClass("playing").addClass("pause");var e=this.videomask.data("remark-btn");e&&e.removeClass("playing").addClass("pause")}},i.prototype.pausePlayVideo=function(t){if(jWVideoFrameId&&this.btn.hasClass("pause")){t||this.player.play(),this.videomask.removeClass("pause").addClass("playing"),this.btn.removeClass("pause").addClass("playing");var e=this.videomask.data("remark-btn");e&&e.removeClass("pause").addClass("playing")}},$(window).resize(function(){clearTimeout(i.prototype.timer),i.prototype.timer=setTimeout(function(){i.prototype.preVideo&&i.prototype.preVideo.reset()},200)});var a={videomask:".videomask",close:".videomask .icon-close",wrapSize:750};function e(){0==$("#linkVideoShareStyle").length&&(t()?$('').prependTo("head"):$('').prependTo("head"))}function n(){return $('').prependTo("head"),jQuery.loadScript("//www.huawei.com/Assets/public/js/vendor/video-js-5.20.5/ie8/videojs-ie8.min.js").then(function(t){return jQuery.loadScript("//www.huawei.com/Assets/public/js/vendor/video-js-5.20.5/video.min.js")}).then(function(t){return videojs.options.flash.swf="//www.huawei.com/Assets/public/js/vendor/video-js-5.20.5/video-js.swf",jQuery.loadScript("//cdnjs.cloudflare.com/ajax/libs/videojs-ga/0.4.2/videojs.ga.min.js"),jQuery.loadScript("//www.huawei.com/Assets/public/js/vendor/video-js-5.20.5/videojs-resolution-switcher.min.js")})}function o(){return t()?$('').prependTo("head"):$('').prependTo("head"),jQuery.loadScript("//www.huawei.com/Assets/public/js/vendor/video-js-7.5.4/video.min.js").then(function(t){return jQuery.loadScript("//cdnjs.cloudflare.com/ajax/libs/videojs-ga/0.4.2/videojs.ga.min.js"),jQuery.loadScript("//unpkg.com/videojs-vjsdownload@1.0.4/dist/videojs-vjsdownload.min.js"),jQuery.loadScript("//www.huawei.com/Assets/public/js/vendor/video-js-7.5.4/silvermine-videojs-quality-selector.min.js")})}function s(){(r()?n:o)().done(function(t){!function e(){$("body").off("click.play",".vedioplay,.J-videoPlay,.js_video_player").on("click.play",".vedioplay,.J-videoPlay,.js_video_player",function(){if(!$(this).attr("data-play-nopop")){var t=$(this).data();if(t.url=$.trim(t.url),t.url){0==t.url.indexOf("//")&&(t.url=location.protocol+t.url),t.downloadPath=$.trim(t.downloadPath);var e=$.extend({},a,{jWUrl:t.url,downloadPath:$.trim(t.downloadPath),shareFunc:$.trim(t.shareFunc),shareUrl:$.trim(t.shareUrl),shareTitle:t.shareTitle,shareDescription:t.shareDescription,shareImg:$.trim(t.shareImg),content:t.content,wapNoDialog:$.trim(t.wapnodialog),btn:$(this),specifytimepopup:t.specifytimepopup});return e.wrapSize=$(this).data("wrapsize")||$("body").data("wrapsize")||a.wrapSize,$(this).data("lockplay")||$(this).hasClass("playing")?$(this).data("lockplay",!1):(new i).init(e),"1"==t.utag&&$.ajax({url:$("#hidUtagServiceUrl").val(),data:{pagetype:"video-detail-page",itemid:$("#hidVideoId").val(),lang:$("#gLanguageCurrent").val()},async:!1,success:function(t){var e={tealium_event:"video_play",product_tag:t.product_tag,solution_tag:t.solution_tag,industry_tag:t.industry_tag,c_email:t.email,language:t.language,content_id:t.video_id,content_name:t.video_name};utag.link(e)}}),!1}}})}(),$("body").trigger("videojsReady")})}var l=!(jQuery.loadScript=function(t,e){return e=$.extend(e||{},{dataType:"script",cache:!0,url:t}),jQuery.ajax(e)});$(".vedioplay,.J-videoPlay,.js_video_player").length?(e(),s(),l=!0):$("body").off("click.play",".vedioplay,.J-videoPlay,.js_video_player").on("click.play",".vedioplay,.J-videoPlay,.js_video_player",function(){var t=$(this);if(!l)return e(),s(),void $("body").on("videojsReady.ready",function(){t.trigger("click.play"),$("body").off("videojsReady.ready"),t=null})})}),$(function(){function t(){$(".ebg-footer").find(".link-set>ul").each(function(){var t=$(this).find(">li").eq(0),e=$(this).find(">li:gt(0)");920<$(window).width()?t.off("click"):t.off("click").on("click",function(){920<$(window).width()||($(this).parent().toggleClass("active"),$(this).toggleClass("active"),e.toggleClass("active"))})})}function e(){0==$(".ebg-footer .con .right.wap").length&&$(window).width()<750&&($(".ebg-footer .link-group .con").prepend($(".ebg-footer .con .right").clone()),$(".ebg-footer .con .right").eq(0).addClass("wap"),$(".ebg-footer .con .right").eq(1).addClass("pc"),$(".ebg-footer .con .right.wap .app").remove(),$(".ebg-footer .con .right.pc .share-wrap").remove())}window.baseLib&&baseLib.resizeStack.push({fn:function(){t()}}),t(),e(),$(window).on("resize",function(){e()})});