getComputedStyle(c,q).opacity||1)}catch(n){}h*=e/100}c=c.parentNode}return 0===h?0:h||100}return{ab:c,$a:k,r:function(a){var c=b.c(a);if(!c)return r;a=k(c);c=b.A(c);if(!c)return a;for(var d=0;c!==c.parent&&10>d++&&!b.C(c)&&c.frameElement;){var e=k(c.frameElement);a.left+=e.left;a.top+=e.top;c=c.parent}return a},
Ya:f,N:function(a,c){var d=b.c(a),e=d.offsetWidth;c&&(e+=f(d,"Left")+f(d,"Right"));return e},M:function(a,c){var d=b.c(a),e=d.offsetHeight;c&&(e+=f(d,"Top")+f(d,"Bottom"));return e},Za:g,xa:function(a){for(var c=b.c(a),a=b.A(c),c=g(c),d=0;10>d++&&b.t(a)&&!b.C(a);){var e=a.frameElement?g(a.frameElement):100,c=c*(e/100);a=a.parent}return c},ca:function(a){try{var c=b.j(a||window).scrollWidth;if(c||0===c)return c}catch(d){}return-1},ba:function(a){try{var c=b.j(a||window).scrollHeight;if(c||0===c)return c}catch(d){}return-1},
p:function(a){try{var c=b.j(a||window).clientWidth;if(c||0===c)return c}catch(d){}return-1},o:function(a){try{var c=b.j(a||window).clientHeight;if(c||0===c)return c}catch(d){}return-1},Ba:function(a){var c=b.j(a);return a.pageYOffset||c.scrollTop},Aa:function(a){var c=b.j(a);return a.pageXOffset||c.scrollLeft}}});
R("util/url",["util/dom"],function(a){return{aa:function(a,d,c){a=a.match(RegExp("(\\?|&|#)"+d+"=([^&#]*)(&|#)?"));d="";a&&(d=a[2]);c&&(d=decodeURIComponent(d));return d},O:function(b){var b=a.L(b),d="";a.t(b)&&(d=b.document.referrer);return d=d||b.location.href}}});
R("util/event",["util/dom"],function(a){return{bind:function(b,d,c){if(b=a.Ga(b)?b:a.c(b))if(b.addEventListener)b.addEventListener(d,c,r);else if(b.attachEvent)b.attachEvent("on"+d,c);else{var k=b["on"+d];b["on"+d]=function(){k&&k.apply(this,arguments);c.apply(this,arguments)}}return b}}});
R("util/cookie",["util/lang"],function(a){return{get:function(a,d){var c=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie);return c?d?decodeURIComponent(c[2]):c[2]:""},set:function(b,d,c,k){var f=c.expires;"number"===a.b(f)&&(f=new Date,f.setTime(+f+c.expires));document.cookie=b+"="+(k?encodeURIComponent(d):d)+(c.path?"; path="+c.path:"")+(f?"; expires="+f.toGMTString():"")+(c.domain?"; domain="+c.domain:"")}}});
R("util/data",["util/lang","util/dom"],function(a,b){function d(c,b,e){var e=e?i:f,d;if("string"===a.b(c)){for(c=c.split(".");c.length;)d=c.shift(),e[d]=c.length?e[d]!==l?e[d]:{}:b,e=e[d];d=b}return d}function c(c,b){var e=b?i:f,d;"string"===a.b(c)&&(d=a.getAttribute(e,c));return d}function k(a,b,e){if(!a||!b)return r;var i=c(a)||{};switch(e){case "+1":e=i[b]||0;i[b]=++e;break;default:i[b]=parseInt(e,10)}d(a,i);return i[b]}var f={},g=b.L(),i=g.BAIDU_DUP_info||(g.BAIDU_DUP_info={});return{m:function(a,
c){var b=window;return b[a]?b[a]:b[a]=c},q:function(a){var c=window,b=c[a];c[a]=l;return b},f:d,d:c,ha:function(c,b){var d=b?i:f;switch(a.b(c)){case "string":for(var g=c.split(".");g.length;){var n=g.shift();if(g.length&&d[n]!==l)d=d[n];else return delete d[n],m}}return r},U:function(a,c,b){return b?(this.e=this.e||{},this.e[b]=this.e[b]||0,!this.e[b]&&document.getElementById(b)&&(this.e[b]=1),this.e[b]):k(a,c,"+1")},fb:function(a,c,b){return k(a,c,b)},count:k,ua:function(a,b,d){return d?(this.e=
this.e||{},this.e[d]=this.e[d]||0,document.getElementById(d)||delete this.e[d],this.e[d]||0):!a||!b?r:(c(a)||{})[b]||0},Oa:function(a,b){if(!a||!b)return r;var i=c("pageConfig")||{};i[a]=b;d("pageConfig",i);return m},ta:function(a){return!a?r:(c("pageConfig")||{})[a]}}});
R("util/storage",[],function(){function a(a,c,b){if(d)try{d.setItem(a,b?encodeURIComponent(c):c)}catch(i){}}function b(a,c){if(d){var b=d.getItem(a);return c&&b?decodeURIComponent(b):b}return q}var d;try{d=window.localStorage}catch(c){}return{pa:function(){var c=r;try{d.removeItem("BAIDU_DUP_storage_available"),a("BAIDU_DUP_storage_available","1"),b("BAIDU_DUP_storage_available")&&(c=m),d.removeItem("BAIDU_DUP_storage_available")}catch(f){}return c},setItem:a,getItem:b,la:function(c,f,g){if(d){f=
g?encodeURIComponent(f):f;g=b(c)||"";try{a(c,g+((g&&"|")+f))}catch(i){}}},ka:function(c,f,g){if(d)if(f=g?encodeURIComponent(f):f,g=b(c)||"",g=g.replace(RegExp(f+"\\|?","g"),"").replace(/\|$/,""))try{a(c,g)}catch(i){}else d.removeItem(c)}}});
R("util/log",["util/lang","util/event","util/storage"],function(a,b,d){function c(a,c){var b=new Image,d="BAIDU_DUP_log_"+Math.floor(2147483648*Math.random()).toString(36);window[d]=b;b.onload=b.onerror=b.onabort=function(){b.onload=b.onerror=b.onabort=q;b=window[d]=q;c&&c(k,a,m)};b.src=a}var k="BAIDU_DUP_log_storage";return{bb:c,gb:function(){var a=d.getItem(k);if(a)for(var a=a.split("|"),b=0,i=a.length;b<i;b++)c(decodeURIComponent(a[b]),d.ka)},H:function(f){var f="object"===a.b(f)?f:{},g=f.url||
"http://cbjslog.baidu.com/log",i=f.option||"now",f=a.ia(f.data||{}),g=g+((0<=g.indexOf("?")?"&":"?")+f+(f?"&":"")+"rdm="+ +new Date);switch(i){case "now":c(g);break;case "block":break;default:d.la(k,g,m),b.bind(window,"unload",function(){c(g,d.ka)})}}}});R("util","util/lang,util/dom,util/style,util/url,util/event,util/cookie,util/data,util/storage,util/log,util/browser".split(","),function(a,b,d,c,k,f,g,i,j,h){return{lang:a,a:b,style:d,url:c,event:k,cookie:f,data:g,jb:i,log:j,W:h}});
R("biz",["util","slot"],function(a,b){function d(c,b){var d=/^[0-9a-zA-Z]+$/;return!c||!d.test(c)||!b?[]:b="array"===a.lang.b(b)?b:Array.prototype.slice.call(arguments,1)}function c(c,b,d){if(!b||!b.length)return r;var d=d||{T:r,ea:r,ga:r},h=d.ea?a.data.d(k):{},e=d.T?f:k,h=d.ga?{}:a.data.d(e)||h,d={},o;for(o in h)a.lang.B.call(h,o)&&(d[o]="array"===a.lang.b(h[o])?h[o].slice():h[o]);var h=d[c]||[],n=b.length;for(o=0;o<n;o++){var p=b[o];"string"===typeof p&&(p=encodeURIComponent(p),100>=p.length&&(h[h.length]=
p))}if(!h.length)return r;d[c]=a.lang.unique(h);a.data.f(e,d);return m}var k="bizOrientations",f="bizUrgentOrientations";return{V:function(a,b){var f=d.apply(this,arguments);return c(a,f)},ma:function(a,b){var f=d.apply(this,arguments);return c(a,f,{T:m,ea:m})},Ra:function(a,b){var f=d.apply(this,arguments);return c(a,f,{T:m,ga:m})},ya:function(c){var c=Math.max(0,Math.min(c||500,500)),b=[],d=a.data.d(f)||a.data.d(k)||{};if("object"===a.lang.b(d))for(var h in d)a.lang.

Prev | Next
Pg.: 1 2 3 4 5 6


Back to home | File page

Subscribe | Register | Login | N