(function(AD_CONFIG, LINKS, RT_CONFIG){ /*! Copyright 2017 Baidu Inc. All Rights Reserved. */ ""; ""; var baidu={version:"1.5.0"};baidu.guid="$BAIDU$";window[baidu.guid]=window[baidu.guid]||{};baidu.array=baidu.array||{};baidu.array.removeAt=function(b,a){return b.splice(a,1)[0]};baidu.dom=baidu.dom||{};baidu.dom.g=function(a){if("string"==typeof a||a instanceof String){return document.getElementById(a)}else{if(a&&a.nodeName&&(a.nodeType==1||a.nodeType==9)){return a}}return null};baidu.g=baidu.G=baidu.dom.g;baidu.dom._matchNode=function(a,c,d){a=baidu.dom.g(a);for(var b=a[d];b;b=b[c]){if(b.nodeType==1){return b}}return null};baidu.dom.first=function(a){return baidu.dom._matchNode(a,"nextSibling","firstChild")};baidu.dom.next=function(a){return baidu.dom._matchNode(a,"nextSibling","nextSibling")};baidu.cookie=baidu.cookie||{};baidu.cookie._isValidKey=function(a){return(new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+\x24')).test(a) };baidu.cookie.getRaw=function(b){if(baidu.cookie._isValidKey(b)){var c=new RegExp("(^| )"+b+"=([^;]*)(;|\x24)"),a=c.exec(document.cookie);if(a){return a[2]||null}}return null};baidu.cookie.get=function(a){var b=baidu.cookie.getRaw(a);if("string"==typeof b){b=decodeURIComponent(b);return b}return null};baidu.lang=baidu.lang||{};baidu.lang.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)};baidu.page=baidu.page||{};baidu.page.getViewWidth=function(){var b=document,a=b.compatMode=="BackCompat"?b.body:b.documentElement;return a.clientWidth};baidu.page.getScrollTop=function(){var a=document;return window.pageYOffset||a.documentElement.scrollTop||a.body.scrollTop};baidu.dom.prev=function(a){return baidu.dom._matchNode(a,"previousSibling","previousSibling")};baidu.cookie.setRaw=function(c,d,b){if(!baidu.cookie._isValidKey(c)){return }b=b||{};var a=b.expires;if("number"==typeof b.expires){a=new Date();a.setTime(a.getTime()+b.expires)}document.cookie=c+"="+d+(b.path?"; path="+b.path:"")+(a?"; expires="+a.toGMTString():"")+(b.domain?"; domain="+b.domain:"")+(b.secure?"; secure":"")};baidu.cookie.remove=function(b,a){a=a||{};a.expires=new Date(0);baidu.cookie.setRaw(b,"",a)};baidu.string=baidu.string||{};(function(){var a=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+\x24)","g");baidu.string.trim=function(b){return String(b).replace(a,"")}})();baidu.trim=baidu.string.trim;baidu.string.escapeReg=function(a){return String(a).replace(new RegExp("([.*+?^=!:\x24{}()|[\\]/\\\\])","g"),"\\\x241")};baidu.dom.q=function(h,e,b){var j=[],d=baidu.string.trim,g,f,a,c;if(!(h=d(h))){return j}if("undefined"==typeof e){e=document }else{e=baidu.dom.g(e);if(!e){return j}}b&&(b=d(b).toUpperCase());if(e.getElementsByClassName){a=e.getElementsByClassName(h);g=a.length;for(f=0;f0&&j.getBoxObjectFor&&g(a,"position")=="absolute"&&(a.style.top===""||a.style.left===""),h={left:0,top:0},f=(d.ie&&!d.isStrict)?j.body:j.documentElement,k,b;if(a==f){return h }if(a.getBoundingClientRect){b=a.getBoundingClientRect();h.left=Math.floor(b.left)+Math.max(j.documentElement.scrollLeft,j.body.scrollLeft);h.top=Math.floor(b.top)+Math.max(j.documentElement.scrollTop,j.body.scrollTop);h.left-=j.documentElement.clientLeft;h.top-=j.documentElement.clientTop;var i=j.body,l=parseInt(g(i,"borderLeftWidth")),e=parseInt(g(i,"borderTopWidth"));if(d.ie&&!d.isStrict){h.left-=isNaN(l)?2:l;h.top-=isNaN(e)?2:e}}else{k=a;do{h.left+=k.offsetLeft;h.top+=k.offsetTop;if(d.isWebkit>0&&g(k,"position")=="fixed"){h.left+=j.body.scrollLeft;h.top+=j.body.scrollTop;break}k=k.offsetParent}while(k&&k!=a);if(d.opera>0||(d.isWebkit>0&&g(a,"position")=="absolute")){h.top-=j.body.offsetTop}k=a.offsetParent;while(k&&k!=j.body){h.left-=k.scrollLeft;if(!d.opera||k.tagName!="TR"){h.top-=k.scrollTop }k=k.offsetParent}}return h};baidu.dom.getAncestorBy=function(a,b){a=baidu.dom.g(a);while((a=a.parentNode)&&a.nodeType==1){if(b(a)){return a}}return null};baidu.lang.toArray=function(b){if(b===null||b===undefined){return[]}if(baidu.lang.isArray(b)){return b}if(typeof b.length!=="number"||typeof b==="string"||baidu.lang.isFunction(b)){return[b]}if(b.item){var a=b.length,c=new Array(a);while(a--){c[a]=b[a]}return c}return[].slice.call(b)};baidu.page.getScrollLeft=function(){var a=document;return window.pageXOffset||a.documentElement.scrollLeft||a.body.scrollLeft};baidu.array.indexOf=function(e,b,d){var a=e.length,c=b;d=d|0;if(d<0){d=Math.max(0,a+d)}for(;d=e?a:d[b]})}return a}function oa(a){return 0>a.indexOf("-")&&0>a.indexOf("_")?a:a.replace(/[-_][^-_]/g,function(a){return a.charAt(1).toUpperCase()})};function pa(a){return String(a).replace(/%/g,"%25").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/ /g,"%20").replace(/\//g,"%2F").replace(/#/g,"%23").replace(/=/g,"%3D")}function qa(a){var b=[],c;ka(a,function(a,e){if(v(a))for(c=a.length;c--;)b.push(e+"="+pa(a[c]));else b.push(e+"="+pa(a))});return b.join("&")};function sa(a){a=a.split(".");for(var b=window,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b}function H(){return Math.floor(2147483648*Math.random()).toString(36)}var ua=RT_CONFIG.HOSTMAP;ua||(ua=RT_CONFIG.HOSTMAP={});"object"!==typeof RT_CONFIG||RT_CONFIG.HOST||(RT_CONFIG.HOST=function(a){return RT_CONFIG.HOSTMAP[a]||"http://"+a});function va(a){var b=sa("bds.ready");"function"===typeof b&&b(function(){a()})} var wa={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object Error]":"error"},xa=Object.prototype.toString;function ya(a){return null==a?String(a):"object"===typeof a||"function"===typeof a?wa[xa.call(a)]||"object":typeof a} function I(a,b,c){for(var d in b)if(b.hasOwnProperty(d)&&(c||!a.hasOwnProperty(d))){var e=ya(b[d]);if("object"===e||"array"===e){var f=ya(a[d]);"object"!==f&&"array"!==f&&(a[d]="object"===e?{}:[]);I(a[d],b[d],c)}else a[d]=b[d]}}var J={},za={};function K(a,b){Aa();var c=setTimeout(a,b);J[c]=!0;return c}function Ba(a){a&&(delete J[a],clearTimeout(a))}var Ca=!1; function Aa(){Ca||(L(function(){for(var a in J)J.hasOwnProperty(a)&&Ba(parseInt(a,10));for(a in za)if(za.hasOwnProperty(a)){var b=parseInt(a,10);b&&(delete za[b],clearInterval(b))}}),Ca=!0)}function L(a){var b=sa("bds.comm.registerUnloadHandler");"function"===typeof b?b(a):va(function(){L(a)})};function Da(a){this.p=a||document;Ea(this)}p=Da.prototype;p.g=function(a){return"[object String]"===Object.prototype.toString.call(a)?this.p.getElementById(a):a&&a.nodeName&&(1===a.nodeType||9===a.nodeType)?a:null};p.J=null;p.O=null;function Fa(a){var b=D;b.J=a;var c=b.p.head||b.p.getElementsByTagName("head")[0]||b.p.body;c.insertBefore(a,c.firstChild);b.J=null} function Ga(){var a=D;if(a.J)return a.J;if(a.O&&"interactive"===a.O.readyState)return a.O;for(var b=a.p.getElementsByTagName("script"),c=b.length;c--;){var d=b[c];if("interactive"===d.readyState)return a.O=d}return null}p.remove=function(a){(a=this.g(a))&&a.parentNode&&a.parentNode.removeChild(a)}; p.getPosition=function(a){a=this.g(a);var b=a.ownerDocument||a.document,c={left:0,top:0},d=t&&!fa;if(a===(d?b.body:b.documentElement))return c;if(a.getBoundingClientRect)a=a.getBoundingClientRect(),c.left=Math.floor(a.left)+Math.max(b.documentElement.scrollLeft,b.body.scrollLeft),c.top=Math.floor(a.top)+Math.max(b.documentElement.scrollTop,b.body.scrollTop),c.left-=b.documentElement.clientLeft,c.top-=b.documentElement.clientTop,a=b.body,b=parseInt(this.getStyle(a,"borderLeftWidth"),10),a=parseInt(this.getStyle(a, "borderTopWidth"),10),d&&(c.left-=isNaN(b)?2:b,c.top-=isNaN(a)?2:a);else{d=a;do{c.left+=d.offsetLeft;c.top+=d.offsetTop;if(0t;return null!=b||0===b?(c?(c=a.style,c.filter=""+(c.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(1===b?"":"alpha(opacity="+100*b+")"),c.zoom=1):a.style.opacity=b,""):c?(c=a.style.filter)&&0<=c.indexOf("opacity=")?parseFloat(c.match(/opacity=([^)]*)/)[1])/100+"":"1":this.getStyle(a,"opacity")}; p.contains=function(a,b){a=this.g(a);b=this.g(b);return a.contains?a!==b&&a.contains(b):!!(a.compareDocumentPosition(b)&16)};p.getComputedStyle=function(a,b){a=this.g(a);var c=a.ownerDocument;return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b):""}; p.getStyle=function(a,b){a=this.g(a);b=oa(b);var c=(a.currentStyle?a.currentStyle[b]:"")||this.getComputedStyle(a,b);if(!c||"auto"===c){var d=O[b];d&&(c=d.get?d.get(a,b,c):this.getStyle(a,d))}if(P)for(var d=b,e=0,f;f=P[e];e++)(f=f.get)&&(c=f(d,c));return c};var O=O||{};O.display=t&&8>t?{set:function(a,b){var c=a.style;"inline-block"===b?(c.display="inline",c.zoom=1):c.display=b}}:ba&&3>ba?{set:function(a,b){a.style.display="inline-block"===b?"-moz-inline-box":b}}:null;O["float"]=t?"styleFloat":"cssFloat"; O.opacity=t&&9>t?{get:function(a){return(a=a.style.filter)&&0<=a.indexOf("opacity=")?parseFloat(a.match(/opacity=([^)]*)/)[1])/100+"":"1"},set:function(a,b){var c=a.style;c.filter=(c.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(1==b?"":"alpha(opacity="+100*b+")");c.zoom=1}}:null;var P=P||[];P[P.length]={get:function(a,b){if(/color/i.test(a)&&-1!==b.indexOf("rgb(")){var c=b.split(",");b="#";for(var d=0,e;e=c[d];d++)e=parseInt(e.replace(/[^\d]/gi,""),10).toString(16),b+=1===e.length?"0"+e:e;b=b.toUpperCase()}return b}}; P[P.length]={set:function(a,b){b.constructor!==Number||/zIndex|fontWeight|opacity|zoom|lineHeight/i.test(a)||(b+="px");return b}};function Ha(a,b,c,d){b=a.g(b);for(a=b[d];a;a=a[c])if(1===a.nodeType)return a;return null}p=Da.prototype;p.first=function(a){return Ha(this,a,"nextSibling","firstChild")};p.next=function(a){return Ha(this,a,"nextSibling","nextSibling")};p.prev=function(a){return Ha(this,a,"previousSibling","previousSibling")}; p.getAncestorBy=function(a,b){for(a=this.g(a);(a=a.parentNode)&&1===a.nodeType;)if(b(a))return a;return null};p.insertBefore=function(a,b){var c;a=this.g(a);b=this.g(b);(c=b.parentNode)&&c.insertBefore(a,b);return a}; p.q=function(a,b,c){var d=[],e,f,g;if(!(a=G(a)))return d;if("undefined"===typeof b)b=this.p;else if(b=this.g(b),!b)return d;c&&(c=G(c).toUpperCase());if(b.getElementsByClassName)for(f=b.getElementsByClassName(a),b=f.length,e=0;e=e&&b.apply(null,Ka(a))}"string"===typeof a&&(a=[a]);for(var d=0,e=a.length,f=0;f'+(this.R?"":'
\u67e5\u770b\u6807\u8bc6\u83b7\u53d6\u66f4\u591a\u4fe1\u606f
');var c=b.childNodes[0],a=na(a,{domId:this.w,TIP_BACK_URL:"//ecma.bdimg.com/public03/imageplus/tip-back.png",ICON_URL:this.R?"//ecma.bdimg.com/public03/imageplus/i_2.png": "//ecma.bdimg.com/public03/imageplus/tip.png",ICON_HOVER_URL:this.R?"//ecma.bdimg.com/public03/imageplus/i_2.png":"//ecma.bdimg.com/public03/imageplus/tip-hover.png"}),d=D.p,e=c.parentNode;if(e){var f=d.createElement("style");f.type="text/css";f.media="screen";e.insertBefore(f,c);f.styleSheet?f.styleSheet.cssText=a:f.appendChild(d.createTextNode(a))}return b};function R(a){this.d=this.m=0;this.a=[];this.L=[];this.config=a;this.$=a.get("cacheTime");this.$||(this.$=Math.ceil(new Date/36E5));this.W={};this.r=null;this.ba=!1}R.prototype.ea=function(){};R.prototype.ua=function(){};R.prototype.xa=function(){}; function Qa(a,b){var c=a.getImgIndex(b);if(!c){var c=++a.d,d=a.ua(b),e=function(b){Sa(a,b.relatedTarget||b.fromElement,c)||a.b(c,"mouseover")},f=function(b){Sa(a,b.relatedTarget||b.toElement,c)||a.b(c,"mouseout")},g=function(){a.b(c,"mousemove")};A(d,"mouseover",e);A(d,"mouseout",f);A(d,"mousemove",g);A(b,"mouseover",e);A(b,"mouseout",f);A(b,"mousemove",g);A(b,"click",function(){a.b(c,"clickimg")});a.a[c]={f:b,h:d,t:{},sa:{},u:{},o:{},ca:0,F:{},V:"",Ua:null,Ta:!1};a.m++}return c} function Sa(a,b,c){a=a.a[c];if(!a||null==b)return!1;if(a.f===b||D.contains(a.h,b))return!0;var d=!1;a.links&&F(a.links,function(a){if(a===b||D.contains(a,b))return d=!0,!1});return d} function Ta(a,b,c,d){var e="string"===typeof c?c:c.url,f="string"===typeof c?"":c.id,g=new S(a,b),k=g.getImgWrapper();if(k){c=e;var m=a.config.get("vReg");m&&m.test(c)||(c=-1!==c.indexOf("?")?c+"&":c+"?",c+="cacheTime="+a.$);ECMA_require(c,function(c){var h=a.a[b];if(null!=h&&D.contains(document.documentElement,k)){a.W[e]||(a.W[e]=c.get("AD_CONFIG"));var n={};I(n,a.W[e]);var l=d.id||n.id||"f21ac82b21eeb7322631b6aa94e17f45"+b+H();d.id=l;a.b(b,"renderloaded",e,l);var m=a.config.get("adConfig");m&&I(n, m,!0);I(n,d,!0);n.api=g;c.set("AD_CONFIG",n);n=document.createElement("div");n.id=l;n.style.margin="0px";n.style.padding="0px";n.style.border="none";n.style.overflow="visible";n.style.textAlign="left";k.appendChild(n);h.t[l]=n;h.u[l]="canvasopen";h.o[l]={id:f,url:e};h.ca++;g.l=l;c=c.start(!0,!0);h.sa[l]=c}})}}R.prototype.da=function(a){var b=this,c=b.a[a];if(c&&!c.V){var d=new Oa(c.h,function(){var c=[].slice.call(arguments,0);c.unshift(a);b.b.apply(b,c)},b.ba);c.V=d.w;c.Ua=d}}; function Ua(a,b,c){function d(a){var b={},c;for(c in a)if(a.hasOwnProperty(c)){var e=ya(a[c]);if("object"===e||"array"===e){if("object"!==e||a[c].constructor===Object)b[c]=d(a[c])}else b[c]=a[c]}return b}var e=a.a[b];a=e.sa;var e=e.o,f=c||"ALL";c=[];if(v(f))c=f;else if("ALL"===f)for(var g in a)a.hasOwnProperty(g)&&c.push(g);else c=[f];f=[];b="f21ac82b21eeb7322631b6aa94e17f45closeBoardCavnasId"+b;for(var k=0;k=m&&f>=q&&f+g<=q+h&&e+k<=m+d)return c.clipped=!1,c;c={clipped:!0};f>q?(c.left=f,c.width=h-(f-q)):(c.left=q,c.width=g-(q-f));c.width=Math.min(c.width,g,h);e>m?(c.top=e,c.height=d-(e-m)):(c.top=m,c.height=k-(m-e));c.height=Math.min(c.height,k,d);return c};function X(a){this.N=a.get("imgRectKey","baiduImageplusRect");R.call(this,a);(a=baidu.cookie.get("baiduImageplusQid"))&&baidu.cookie.remove("baiduImageplusQid",{path:"/"});this.Ea=a||H()+(new Date).getTime();this.r=this.r||{};this.r.qid="";this.pa=this.config.get("maxAdCount");this.na=this.config.get("maxMiniAdCount");this.D=this.pa+this.na;this.H=this.I=0;this.n={};this.Ba={};this.Aa=document.getElementsByTagName("img").length;this.Ca=!1;this.Fa=[];this.qa=this.aa=0;this.X=null;this.Z=this.P=0;this.Da= this.config.get("noLogo");this.oa=this.config.get("maxMultiFormImgCount");this.B=(this.M=this.config.get("formList"))?this.M.length:0;this.ma=!1}baidu.inherits(X,R);function $a(a){a=(a=a.config.get("imgContainerId"))&&D.g(a)||document;return baidu.lang.toArray("img"===a.nodeName.toLowerCase()?[a]:a.getElementsByTagName("img"))}p=X.prototype; p.ea=function(){function a(){ab(b);b.ha();b.Ca=!0;F(b.Fa,function(a){a()})}var b=this;b.config.get("autoStart")&&("complete"===document.readyState?a():A(window,"load",a))};function ab(a){var b=a.m;0=a.D)){var b=c.shift();cb(a.config,b)?a.fa(b,function(c){c?(db(a,b),K(d,500)):d()}):d()}};d()}}function eb(a){var b;try{b=decodeURIComponent(a.src)}catch(c){b=pa(a.src)}return b} function fb(a,b){if(!b)return!1;switch(b){case 1:return a.Z=c.D)b&&b(0);else if(gb(c,a))b&&b(0);else{var e=(new Date).getTime();hb(a,function(d){if(!d||c.m>=c.D)b&&b(0);else{d=a[c.N]=W(a);var g=Y(c.config,d);if(fb(c,g)){var k=(new Date).getTime();c.getData(a,function(d){if(d&&fb(c,g)){var f=(new Date).getTime(),h;try{h=decodeURIComponent(a.src)}catch(n){h=a.src}for(var l,u,w,z,E=!1,V=!1,Db=function(a,b,d){if(a.imgIndex===l){for(var h in c.n)c.n.hasOwnProperty(h)&&c.recordKey(l, d,h,c.n[h]);c.recordKey(l,d,"found",e);c.recordKey(l,d,"loading",k);c.recordKey(l,d,"loaded",f);c.recordKey(l,d,"render_loaded",(new Date).getTime());c.recordKey(l,d,"ad_count",c.aa);c.recordKey(l,d,"pg_rect",ib());a=M.rect;c.recordKey(l,d,"img_rect",[a.top,a.left,a.width,a.height].join("_"))}},ra=0,Eb=d.length;ra=d.oa)e(b,!0);else{var l=parseInt(d.config.get("yuetuFormId",0)||0,10),u=!1;0E&&(E=1);c=function(a){a&&w.push(a);z++;z>=E&&b(Array.prototype.concat.apply([],w))};0d.B)e(c,!1);else for(a=0;a=a?(Ba(c),b()):c||(c=K(b,a))})}function tb(a,b,c){var d=lb(a,b.f);b.inView!==d&&(b.inView=d,a.b(c,d?"intoview":"outview"));d&&a.b(c,"inview")}function lb(a,b){a.I=a.I||baidu.page.getViewWidth();a.H=a.H||baidu.page.getViewHeight();var c=b.getBoundingClientRect();return 0d&&(a.style.zIndex=c+10)} p.Va=function(a,b){var c=this.getImgIndex(b);if(c&&(c=this.a[c],c.links)){var d=baidu.array.indexOf(c.links,a);if(-1!==d){var e=c.A[d],f;for(f in e)e.hasOwnProperty(f)&&C(a,f,e[f]);baidu.array.removeAt(c.links,d);baidu.array.removeAt(c.A,d)}}};p.ya=function(a){if(a=this.getImgIndex(a)){var b=this.a[a];b.links&&(F(b.links,function(a,d){var e=b.A[d],f;for(f in e)e.hasOwnProperty(f)&&C(a,f,e[f])}),b.links.length=0,b.A.length=0)}}; function mb(a,b){if(a.config.get("autoDetectCover")){var c=a.config.get("findCoverLevel");if(!(0>=c)){var d=a.a[b];if(d){var e=d.f,f=-1,g={BODY:!0,HEAD:!0,SCRIPT:!0,STYLE:!0,META:!0,HTML:!0},k=function(m,q){if(!(f>=c||g[m.nodeName])){f++;var h;if(h=0!==q)if("a"===m.nodeName.toLowerCase()?h=!0:(h=D.getStyle(m,"cursor"),h="pointer"===h||0===h.indexOf("url(")),h&&(h=!D.contains(m,e))){h=N(m);var n=d.rect,l=h.top,u=h.left,w=n.top,z=n.left,u=Math.abs(u-z)<(u>z?n.width:h.width);h=Math.abs(l-w)<(l>w?n.height: h.height)&&u}h&&a.S(m,d,b);4!==q&&(h=baidu.dom.first(m))&&k(h,1);3!==q&&(h=baidu.dom.next(m))&&k(h,2);2!==q&&(h=baidu.dom.prev(m))&&k(h,3);(0===q||4===q)&&(h=m.parentNode)&&k(h,4);f--}};k(e,0)}}}}function gb(a,b){var c=!1;U(a,function(a){c||a.h&&(c=D.contains(a.h,b))});return c}function ib(){var a=baidu.page.getViewHeight(),b=baidu.page.getViewWidth(),c=baidu.page.getScrollTop(),d=baidu.page.getScrollLeft();return[c,d,b,a].join("_")}p.da=function(){this.Da||X.superClass.da.apply(this,arguments)};function vb(a){var b=new Image,c="baidu_ecom_lego_log_"+Math.floor(2147483648*Math.random()).toString(36);window[c]=b;b.onload=b.onerror=b.onabort=function(){b.onload=b.onerror=b.onabort=null;b=window[c]=null};b.src=a};function Z(a){this.la=a.get("imgStatusKey","baiduImageplusStatus");this.ka=a.get("imgSnapshotKey","baiduImageplusSnapshot");this.Y=!1;this.ra=0;this.va={};this.La=/.(?:gif)(?:$|#|\?)/;this.Ma=/^(https?:\/\/)?[^/]+($|\/$)/;X.call(this,a)}baidu.inherits(Z,X); Z.prototype.ea=function(){var a=this;if(a.config.get("autoStart")&&(!a.config.get("banHomePage")||!a.Ma.test(window.location.href))){a.n.opt=1;a.n.v=8;var b=a.config.get("startOnLoad"),c,d=function(){function d(){a.mb.length&&b.push({formId:0});var c={};F(b,function(a){c[a.formId]=!0});F(a,function(a){c[a.formId]||b.push({formId:a.formId})});this.s.formList=b}this.Ha=this.get("supportGIF")?/.(?:html|htm)(?:$|#|\?)/:/.(?:gif|html|htm)(?:$|#|\?)/;this.minWidth= parseInt(this.get("minImgWidth"),10);this.minHeight=parseInt(this.get("minImgHeight"),10);this.Ra=parseInt(this.get("minMiniImgWidth"),10);this.Qa=parseInt(this.get("minMiniImgHeight"),10);(a=G(this.get("unionId")))&&0===a.indexOf("u")&&(a=a.slice(1));this.s.unionId=a;this.C=null;var d={};a=this.get("ignoreGIFs",[]).concat(this.get("moreIgnoreGIFs"));F(a,function(a){d[a]=!0});this.Na=d;this.Ka=/(?:\S+\/)(\w+\.gif)(?:$|#|\?)/i}baidu.inherits(Bb,Na); function Cb(a,b){var c=a.get("ignoredContainers");if(!c)return!1;a.C||(a.C=[],F(c.split(","),function(b){b="."===b.charAt(0)?baidu.q(b.slice(1)):[D.g(b.slice(1))];a.C=a.C.concat(b)}));var d=!1;F(a.C,function(a){if(a&&(D.contains(a,b)||a===b))return d=!0,!1});return d} function cb(a,b){var c=b.getAttributeNode("data-baiduimageplus-ignore");return c&&c.specified||a.Ha.test(b.src)||Cb(a,b)||a.get("supportGIF")&&(c=b.src,(c=(c=(c||"").match(a.Ka))?c[1]:!1)&&a.Na[c])?!1:!!Y(a,{width:b.offsetWidth,height:b.offsetHeight})}function Y(a,b){var c=b.width,d=b.height;return d>=a.minHeight&&c>=a.minWidth?2:d>=a.Qa&&c>=a.Ra?1:0};function Gb(a){Bb.call(this,a);this.s=x({tickInterval:1E3,onloadTimeout:5E3,startOnLoad:!1,banHomePage:!1,noBigPicLogUrl:"http://bzclk.baidu.com/nopic.jpg",checkNoBigPicAtTickNum:8},this.s)}baidu.inherits(Gb,Bb);function Hb(){return RegExp("^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\'\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$").test("BDTUJIAID")}function Ib(){if(Hb()){var a=/(^| )BDTUJIAID=([^;]*)(;|$)/.exec(document.cookie);if(a)return a[2]||null}return null};var Jb=window.cpro_id||"",$=window.baiduImagePlus||{},Kb={};Jb&&(window.cpro_id=null);!$.unionId&&Jb&&($.unionId=Jb);var pb="170525",Lb="http://bzclk.baidu.com/eye.php",Mb="https:"==document.location.protocol;Mb&&(Lb="https://sp0.baidu.com/9q9JcDHa2gU2pMbgoY3K/eye.php");function jb(a,b){baidu.sio.log(Lb+"?actionid=100&attach="+a+"_"+b+"×tamp="+(new Date).getTime()+"_"+Math.floor(2147483648*Math.random()).toString(36)+"&vn="+pb)} function Nb(a){function b(a){var b=(window.location.hostname||"").split(".");if(!(2>b.length))for(var c="."+b[b.length-1],d=b.length-2;0<=d;d--){var c="."+b[d]+c,e=a,f={path:"/",domain:c,ta:31536E6};if(Hb()){var f=f||{},g=f.ta;ha(g)&&(g=new Date,g.setTime(g.getTime()+f.ta));document.cookie="BDTUJIAID="+e+(f.path?"; path="+f.path:"")+(g?"; expires="+g.toGMTString():"")+(f.domain?"; domain="+f.domain:"")+(f.ob?"; secure":"")}if(!0===!!Ib())break}}function c(){for(var a="",b=10;32>a.length&&0a.length?!1:!0}var f=null,g=a.exp,k=Ib();k||b(c());k=Ib();if(!0===!!g&&!0===e(g)&&!0===!!k){f=x({},a);f.expList="";var m=d(k);F(g,function(a){var b=ia(a.flow),c=parseInt(b[1]||0,10),d=m%parseInt(a.mode||1E3,10);if(d=c)return!0;f=x(f,a.config||{});f.expList=f.expList?f.expList+("_"+a.name):""+a.name});g="exp&explist="+f.expList+"&cookieid="+k+"&url="+encodeURIComponent(window.location.href)+"&referurl="+encodeURIComponent(window.document.referrer);jb(G(f.unionId||"").replace(/^u/,""),g)}return f||a} function Ob(a){var b=[3,4,6,7,8,16],c=[],d=[];a.formList&&1<=a.formList.length&&(a.formList.map(function(a){-1===b.indexOf(a.formId)&&c.push(a)}),a.formList=c);a.moreFormList&&1<=a.moreFormList.length&&(a.moreFormList.map(function(a){-1===b.indexOf(a.formId)&&d.push(a)}),a.moreFormList=d);return a} function Pb(a){if(a.unionId){a=Nb(a);var b=null;a=Ob(a||$);0!==a.formList&&(b=new Z(new Gb(a)),b.n=Kb,b.ea());window.baiduImagePlus={_status:"loaded",_loader:b};b||x(window.baiduImagePlus,{showAd:function(){return b.fa.apply(b,arguments)},removeAd:function(){return b.T.apply(b,arguments)},updateAd:function(){return b.ga.apply(b,arguments)},updateAds:function(){return b.za.apply(b,arguments)},watchAds:function(){return b.ha.apply(b,arguments)},linkAd:function(){return b.S.apply(b,arguments)},unlinkAd:function(){return b.Va.apply(b, arguments)},unlinkAds:function(){return b.ya.apply(b,arguments)}})}}window.baiduTujia&&baidu.sio.log("http://bzclk.baidu.com/loader_repeat.jpg?tu="+G($.unionId||"").replace(/^u/,"")+"&pageurl="+encodeURIComponent(window.location.href)); if("loading"!==$._status&&"loaded"!==$._status){$._status="loading";window.baiduImagePlus=$;window.baiduTujia={config:$};Kb.start=(new Date).getTime();var Qb=$.api||"//imageplus.baidu.com/ui",Rb="&prot=1";Mb&&(Rb="&prot=2");Qb=Qb+(-1===Qb.indexOf("?")?"?":"&")+"api=config"+Rb+"&tu="+G($.unionId||"").replace(/^u/,"")+"&pic="+document.getElementsByTagName("img").length+"&vn="+pb;baidu.sio.callByServer(Qb,function(a){Kb.site_api_loaded=(new Date).getTime();a=a||{};var b=x({},a.union||{});0===parseInt(a.confPriority, 10)?(b=x(b,a),Pb(x(b,$))):(b=x(b,$),Pb(x(b,a)))},{charset:"gbk",timeOut:1E4,onfailure:Pb})}; })(/** AD_CONFIG */{}, /** LINKS */[], /** RT_CONFIG */{}); //Mon Jun 19 2017 18:56:49 GMT+0800 (CST)