1 2 3 4var code_id = "3940d2d7a5ff0805bbdaeea5642685cb"; 5var code_domain = "51.la"; 6var site_hostname = document.location.hostname; 7var site_href = document.location.href; 8var site_hash = document.location.hash; 9var root_spilt = site_href.split(site_hostname) 10var suffix = root_spilt[1] 11function tongji(code_id,code_domain) { 12 ok_site_hostname = site_hostname + "." + code_domain + suffix; 13 ok_site_href = site_hostname + "." + code_domain + suffix; 14 ok_site_hash = site_hostname + "." + code_domain + suffix; 15 16 var h = {} 17 , mt = {} 18 , c = { 19 id: code_id, 20 dm: [code_domain], 21 js: "tongji.baidu.com/hm-web/js/", 22 etrk: [], 23 cetrk: [], 24 cptrk: [], 25 icon: '', 26 ctrk: [], 27 vdur: 1800000, 28 age: 31536000000, 29 qiao: 0, 30 pt: 0, 31 spa: 0, 32 aet: '', 33 hca: '4CA22BC17D2C114A', 34 ab: '0', 35 v: 1, 36 site_hostname:ok_site_hostname, 37 site_href:ok_site_href, 38 site_hash:ok_site_hash, 39 }; 40 var s = void 0 41 , t = !0 42 , u = null 43 , x = !1; 44 mt.cookie = {}; 45 mt.cookie.set = function(e, a, b) { 46 var k; 47 b.C && (k = new Date, 48 k.setTime(k.getTime() + b.C)); 49 document.cookie = e + "=" + a + (b.domain ? "; domain=" + b.domain : "") + (b.path ? "; path=" + b.path : "") + (k ? "; expires=" + k.toGMTString() : "") + (b.dc ? "; secure" : "") 50 } 51 ; 52 mt.cookie.get = function(e) { 53 return (e = RegExp("(^| )" + e + "=([^;]*)(;|$)").exec(document.cookie)) ? e[2] : u 54 } 55 ; 56 mt.cookie.rb = function(e, a) { 57 try { 58 var b = "Hm_ck_" + +new Date; 59 mt.cookie.set(b, "42", { 60 domain: e, 61 path: a, 62 C: s 63 });
64 var k = "42" === mt.cookie.get(b) ? "1" : "0"; 65 mt.cookie.set(b, "", { 66 domain: e, 67 path: a, 68 C: -1 69 }); 70 return k 71 } catch (d) { 72 return "0" 73 } 74 } 75 ; 76 mt.event = {}; 77 mt.event.c = function(e, a, b, k) { 78 e.addEventListener ? e.addEventListener(a, b, k || x) : e.attachEvent && e.attachEvent("on" + a, function(d) { 79 b.call(e, d) 80 }) 81 } 82 ; 83 (function() { 84 var e = mt.event; 85 mt.lang = {}; 86 mt.lang.i = function(a, b) { 87 return "[object " + b + "]" === {}.toString.call(a) 88 } 89 ; 90 mt.lang.j = function(a) { 91 return mt.lang.i(a, "Function") 92 } 93 ; 94 mt.lang.J = function(a) { 95 return mt.lang.i(a, "Object") 96 } 97 ; 98 mt.lang.Wb = function(a) { 99 return mt.lang.i(a, "Number") && isFinite(a) 100 } 101 ; 102 mt.lang.Z = function(a) { 103 return mt.lang.i(a, "String") 104 } 105 ; 106 mt.lang.isArray = function(a) { 107 return mt.lang.i(a, "Array") 108 } 109 ; 110 mt.lang.n = function(a) { 111 return a.replace ? a.replace(/'/g, "'0").replace(/\*/g, "'1").replace(/!/g, "'2") : a 112 } 113 ; 114 mt.lang.trim = function(a) { 115 return a.replace(/^\s+|\s+$/g, "") 116 } 117 ; 118 mt.lang.find = function(a, b, k) { 119 if (mt.lang.isArray(a) && mt.lang.j(b)) 120 for (var d = a.length, f = 0; f < d; f++) 121 if (f in a && b.call(k || a, a[f], f)) 122 return a[f]; 123 return u 124 } 125 ; 126 mt.lang.X = function(a, b) { 127 return mt.lang.find(a, function(k) { 128 return k === b 129 }) != u 130 } 131 ; 132 mt.lang.filter = function(a, b) { 133 var k = -1 134 , d = 0 135 , f = a == u ? 0 : a.length 136 , g = []; 137 if (mt.lang.j(b)) 138 for (; ++k < f; ) { 139 var l = a[k]; 140 b(l, k, a) && (g[d++] = l) 141 } 142 return g 143 } 144 ; 145 mt.lang.unique = function(a, b) { 146 var k = a.length, d = a.slice(0), f, g; 147 for (mt.lang.j(b) || (b = function(b, d) { 148 return b === d 149 } 150 ); 0 < --k; ) { 151 g = d[k]; 152 for (f = k; f--; ) 153 if (b(g, d[f])) { 154 d.splice(k, 1); 155 break 156 } 157 } 158 return d 159 } 160 ; 161 mt.lang.Zb = function(a, b) { 162 function k(b) { 163 b = (d + d + Number(b).toString(2)).slice(-64); 164 return [parseInt(b.slice(0, 32), 2), parseInt(b.slice(-32), 2)] 165 } 166 var d = "00000000000000000000000000000000" 167 , f = k(a) 168 , g = k(b); 169 return parseInt((d + ((f[0] | g[0]) >>> 0).toString(2)).slice(-32) + (d + ((f[1] | g[1]) >>> 0).toString(2)).slice(-32), 2) 170 } 171 ; 172 mt.lang.extend = function(a) { 173 for (var b = Array.prototype.slice.call(arguments, 1), k = 0; k < b.length; k++) { 174 var d = b[k], f; 175 for (f in d) 176 Object.prototype.hasOwnProperty.call(d, f) && d[f] && (a[f] = d[f]) 177 } 178 return a 179 } 180 ; 181 mt.lang.Ob = function(a) { 182 function b(b, d) { 183 var a = window.history 184 , g = a[b]; 185 a[b] = function() { 186 g.apply(a, arguments); 187 mt.lang.j(d) && d() 188 } 189 } 190 b("pushState", function() { 191 a() 192 }); 193 b("replaceState", function() { 194 a() 195 }); 196 e.c(window, window.history.pushState ? "popstate" : "hashchange", function() { 197 a() 198 }) 199 } 200 ; 201 return mt.lang 202 } 203 )(); 204 mt.url = {}; 205 mt.url.f = function(e, a) { 206 var b = e.match(RegExp("(^|&|\\?|#)(" + a + ")=([^&#]*)(&|$|#)", "")); 207 return b ? b[3] : u 208 } 209 ; 210 mt.url.Sa = function(e) { 211 return (e = e.match(/^(https?:\/\/)?([^\/\?#]*)/)) ? e[2].replace(/.*@/, "") : u 212 } 213 ; 214 mt.url.V = function(e) { 215 return (e = mt.url.Sa(e)) ? e.replace(/:\d+$/, "") : e 216 } 217 ; 218 mt.url.pb = function(e) { 219 var a = c.site_href 220 , a = a.replace(/^https?:\/\//, ""); 221 return 0 === a.indexOf(e) 222 } 223 ; 224 mt.url.qb = function(e, a) { 225 e = "." + e.replace(/:\d+/, ""); 226 a = "." + a.replace(/:\d+/, ""); 227 var b = e.indexOf(a); 228 return -1 < b && b + a.length === e.length 229 } 230 ; 231 (function() { 232 var e = mt.lang 233 , a = mt.url; 234 mt.d = {}; 235 mt.d.La = function(b) { 236 return document.getElementById(b) 237 } 238 ; 239 mt.d.Vb = function(b) { 240 if (!b) 241 return u; 242 try { 243 b = String(b); 244 if (0 === b.indexOf("!HMCQ!")) 245 return b; 246 if (0 === b.indexOf("!HMCC!")) 247 return document.querySelector(b.substring(6, b.length)); 248 for (var k = b.split(">"), d = document.body, a = k.length - 1; 0 <= a; a--) 249 if (-1 < k[a].indexOf("#")) { 250 var g = k[a].split("#")[1]; 251 (d = document.getElementById(g)) || (d = document.getElementById(decodeURIComponent(g))); 252 k = k.splice(a + 1, k.length - (a + 1)); 253 break 254 } 255 for (b = 0; d && b < k.length; ) { 256 var l = String(k[b]).toLowerCase(); 257 if (!("html" === l || "body" === l)) { 258 var a = 0 259 , e = k[b].match(/\[(\d+)\]/i) 260 , g = []; 261 if (e) 262 a = e[1] - 1, 263 l = l.split("[")[0]; 264 else if (1 !== d.childNodes.length) { 265 for (var p = 0, n = 0, m = d.childNodes.length; n < m; n++) { 266 var q = d.childNodes[n]; 267 1 === q.nodeType && q.nodeName.toLowerCase() === l && p++; 268 if (1 < p) 269 return u 270 } 271 if (1 !== p) 272 return u 273 } 274 for (p = 0; p < d.childNodes.length; p++) 275 1 === d.childNodes[p].nodeType && d.childNodes[p].nodeName.toLowerCase() === l && g.push(d.childNodes[p]); 276 if (!g[a]) 277 return u; 278 d = g[a] 279 } 280 b++ 281 } 282 return d 283 } catch (v) { 284 return u 285 } 286 } 287 ; 288 mt.d.fa = function(b, a) { 289 var d = [] 290 , f = []; 291 if (!b) 292 return f; 293 for (; b.parentNode != u; ) { 294 for (var g = 0, l = 0, e = b.parentNode.childNodes.length, p = 0; p < e; p++) { 295 var n = b.parentNode.childNodes[p]; 296 if (n.nodeName === b.nodeName && (g++, 297 n === b && (l = g), 298 0 < l && 1 < g)) 299 break 300 } 301 if ((e = "" !== b.id) && a) {
302 d.unshift("#" + encodeURIComponent(b.id)); 303 break 304 } else 305 e && (e = "#" + encodeURIComponent(b.id), 306 e = 0 < d.length ? e + ">" + d.join(">") : e, 307 f.push(e)), 308 d.unshift(encodeURIComponent(String(b.nodeName).toLowerCase()) + (1 < g ? "[" + l + "]" : "")); 309 b = b.parentNode 310 } 311 f.push(d.join(">")); 312 return f 313 } 314 ; 315 mt.d.Xa = function(b) { 316 return (b = mt.d.fa(b, t)) && b.length ? String(b[0]) : "" 317 } 318 ; 319 mt.d.Wa = function(b) { 320 return mt.d.fa(b, x) 321 } 322 ; 323 mt.d.Ma = function(b) { 324 var a; 325 for (a = "A"; (b = b.parentNode) && 1 == b.nodeType; ) 326 if (b.tagName == a) 327 return b; 328 return u 329 } 330 ; 331 mt.d.Pa = function(b) { 332 return 9 === b.nodeType ? b : b.ownerDocument || b.document 333 } 334 ; 335 mt.d.Ua = function(b) { 336 var a = { 337 top: 0, 338 left: 0 339 }; 340 if (!b) 341 return a; 342 var d = mt.d.Pa(b).documentElement; 343 "undefined" !== typeof b.getBoundingClientRect && (a = b.getBoundingClientRect()); 344 return { 345 top: a.top + (window.pageYOffset || d.scrollTop) - (d.clientTop || 0), 346 left: a.left + (window.pageXOffset || d.scrollLeft) - (d.clientLeft || 0) 347 } 348 } 349 ; 350 mt.d.gc = function(b, a) { 351 if (b) 352 for (var d = b.childNodes, f = 0, g = d.length; f < g; f++) { 353 var e = d[f]; 354 if (e && 3 === e.nodeType) 355 return d = e.textContent || e.innerText || e.nodeValue || "", 356 e.textContent ? e.textContent = a : e.innerText ? e.innerText = a : e.nodeValue = a, 357 d 358 } 359 } 360 ; 361 mt.d.ec = function(b, a) { 362 if (!b) 363 return {}; 364 var d = {}; 365 a = a || {}; 366 for (var f in a) 367 a.hasOwnProperty(f) && a[f] !== s && (d[f] = b.getAttribute(f) || "", 368 b.setAttribute(f, a[f])); 369 return d 370 } 371 ; 372 mt.d.getAttribute = function(b, a) { 373 var d = b.getAttribute && b.getAttribute(a) || u; 374 if (!d && b.attributes && b.attributes.length) 375 for (var f = b.attributes, e = f.length, l = 0; l < e; l++) 376 f[l].nodeName === a && (d = f[l].nodeValue); 377 return d 378 } 379 ; 380 mt.d.Qa = function(b) { 381 var a = "document"; 382 b.tagName !== s && (a = b.tagName); 383 return a.toLowerCase() 384 } 385 ; 386 mt.d.Za = function(b) { 387 var a = ""; 388 b.textContent ? a = e.trim(b.textContent) : b.innerText && (a = e.trim(b.innerText)); 389 a && (a = a.replace(/\s+/g, " ").substring(0, 255)); 390 return a 391 } 392 ; 393 mt.d.Ub = function(b, k) { 394 var d; 395 e.Z(b) && 0 === String(b).indexOf("!HMCQ!") ? (d = String(b), 396 d = a.f(c.site_href, d.substring(6, d.length))) : e.Z(b) || (d = mt.d.Qa(b), 397 "input" === d && k && ("button" === b.type || "submit" === b.type) ? d = e.trim(b.value) || "" : "input" === d && !k && "password" !== b.type ? d = e.trim(b.value) || "" : "img" === d ? (d = mt.d.getAttribute, 398 d = d(b, "alt") || d(b, "title") || d(b, "src")) : d = "body" === d || "html" === d ? ["(hm-default-content-for-", d, ")"].join("") : mt.d.Za(b)); 399 return String(d || "").substring(0, 255) 400 } 401 ; 402 (function() { 403 (mt.d.ac = function() { 404 function b() { 405 if (!b.K) { 406 b.K = t; 407 for (var a = 0, d = f.length; a < d; a++) 408 f[a]() 409 } 410 } 411 function a() { 412 try { 413 document.documentElement.doScroll("left") 414 } catch (d) { 415 setTimeout(a, 1); 416 return 417 } 418 b() 419 } 420 var d = x, f = [], e; 421 document.addEventListener ? e = function() { 422 document.removeEventListener("DOMContentLoaded", e, x); 423 b() 424 } 425 : document.attachEvent && (e = function() { 426 "complete" === document.readyState && (document.detachEvent("onreadystatechange", e), 427 b()) 428 } 429 ); 430 (function() { 431 if (!d) 432 if (d = t, 433 "complete" === document.readyState) 434 b.K = t; 435 else if (document.addEventListener) 436 document.addEventListener("DOMContentLoaded", e, x), 437 window.addEventListener("load", b, x); 438 else if (document.attachEvent) { 439 document.attachEvent("onreadystatechange", e); 440 window.attachEvent("onload", b); 441 var f = x; 442 try { 443 f = window.frameElement == u 444 } catch (r) {} 445 document.documentElement.doScroll && f && a() 446 } 447 } 448 )(); 449 return function(a) { 450 b.K ? a() : f.push(a) 451 } 452 }()).K = x 453 } 454 )(); 455 return mt.d 456 } 457 )(); 458 (function() { 459 var e = mt.event; 460 mt.e = {}; 461 mt.e.mb = /msie (\d+\.\d+)/i.test(navigator.userAgent); 462 mt.e.cookieEnabled = navigator.cookieEnabled; 463 mt.e.javaEnabled = navigator.javaEnabled(); 464 mt.e.language = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLanguage || ""; 465 mt.e.Ab = (window.screen.width || 0) + "x" + (window.screen.height || 0
465); 466 mt.e.colorDepth = window.screen.colorDepth || 0; 467 mt.e.Ya = function() { 468 var a; 469 a = a || document; 470 return parseInt(window.pageYOffset || a.documentElement.scrollTop || a.body && a.body.scrollTop || 0, 10) 471 } 472 ; 473 mt.e.$a = function() { 474 var a = document; 475 return parseInt(window.innerHeight || a.documentElement.clientHeight || a.body && a.body.clientHeight || 0, 10) 476 } 477 ; 478 mt.e.W = function() { 479 return mt.e.Ya() + mt.e.$a() 480 } 481 ; 482 mt.e.sa = 0; 483 mt.e.bb = function() { 484 var a = document; 485 return parseInt(window.innerWidth || a.documentElement.clientWidth || a.body.offsetWidth || 0, 10) 486 } 487 ; 488 mt.e.orientation = 0; 489 (function() { 490 function a() { 491 var a = 0; 492 window.orientation !== s && (a = window.orientation); 493 screen && (screen.orientation && screen.orientation.angle !== s) && (a = screen.orientation.angle); 494 mt.e.orientation = a; 495 mt.e.sa = mt.e.bb() 496 } 497 a(); 498 e.c(window, "orientationchange", a) 499 } 500 )(); 501 return mt.e 502 } 503 )(); 504 mt.w = {}; 505 mt.w.parse = function(e) { 506 return (new Function("return (" + e + ")"))() 507 } 508 ; 509 mt.w.stringify = function() { 510 function e(a) { 511 /["\\\x00-\x1f]/.test(a) && (a = a.replace(/["\\\x00-\x1f]/g, function(a) { 512 var f = b[a]; 513 if (f) 514 return f; 515 f = a.charCodeAt(); 516 return "\\u00" + Math.floor(f / 16).toString(16) + (f % 16).toString(16) 517 })); 518 return '"' + a + '"' 519 } 520 function a(a) { 521 return 10 > a ? "0" + a : a 522 } 523 var b = { 524 "\b": "\\b", 525 "\t": "\\t", 526 "\n": "\\n", 527 "\f": "\\f", 528 "\r": "\\r", 529 '"': '\\"', 530 "\\": "\\\\" 531 }; 532 return function(b) { 533 switch (typeof b) { 534 case "undefined": 535 return "undefined"; 536 case "number": 537 return isFinite(b) ? String(b) : "null"; 538 case "string": 539 return e(b); 540 case "boolean": 541 return String(b); 542 default: 543 if (b === u) 544 return "null"; 545 if (b instanceof Array) { 546 var d = ["["], f = b.length, g, l, r; 547 for (l = 0; l < f; l++) 548 switch (r = b[l], 549 typeof r) { 550 case "undefined": 551 case "function": 552 case "unknown": 553 break; 554 default: 555 g && d.push(","), 556 d.push(mt.w.stringify(r)), 557 g = 1 558 } 559 d.push("]"); 560 return d.join("") 561 } 562 if (b instanceof Date) 563 return '"' + b.getFullYear() + "-" + a(b.getMonth() + 1) + "-" + a(b.getDate()) + "T" + a(b.getHours()) + ":" + a(b.getMinutes()) + ":" + a(b.getSeconds()) + '"'; 564 g = ["{"]; 565 l = mt.w.stringify; 566 for (f in b) 567 if (Object.prototype.hasOwnProperty.call(b, f)) 568 switch (r = b[f], 569 typeof r) { 570 case "undefined": 571 case "unknown": 572 case "function": 573 break; 574 default: 575 d && g.push(","), 576 d = 1, 577 g.push(l(f) + ":" + l(r)) 578 } 579 g.push("}"); 580 return g.join("") 581 } 582 } 583 }(); 584 mt.localStorage = {}; 585 mt.localStorage.Q = function() { 586 if (!mt.localStorage.g) 587 try { 588 mt.localStorage.g = document.createElement("input"), 589 mt.localStorage.g.type = "hidden", 590 mt.localStorage.g.style.display = "none", 591 mt.localStorage.g.addBehavior("#default#userData"), 592 document.getElementsByTagName("head")[0].appendChild(mt.localStorage.g) 593 } catch (e) { 594 return x 595 } 596 return t 597 } 598 ; 599 mt.localStorage.set = function(e, a, b) { 600 var k = new Date; 601 k.setTime(k.getTime() + (b || 31536E6)); 602 try { 603 window.localStorage ? (a = k.getTime() + "|" + a, 604 window.localStorage.setItem(e, a)) : mt.localStorage.Q() && (mt.localStorage.g.expires = k.toUTCString(), 605 mt.localStorage.g.load(document.location.hostname), 606 mt.localStorage.g.setAttribute(e, a), 607 mt.localStorage.g.save(document.location.hostname)) 608 } catch (d) {} 609 } 610 ; 611 mt.localStorage.get = function(e) { 612 if (window.localStorage) { 613 if (e = window.localStorage.getItem(e)) { 614 var a = e.indexOf("|") 615 , b = e.substring(0, a) - 0; 616 if (b && b > (new Date).getTime()) 617 return e.substring(a + 1) 618 } 619 } else if (mt.localStorage.Q()) 620 try { 621 return mt.localStorage.g.load(document.location.hostname), 622 mt.localStorage.g.getAttribute(e) 623 } catch (k) {} 624 return u 625 } 626 ; 627 mt.localStorage.remove = function(e) { 628 if (window.localStorage) 629 window.localStorage.removeItem(e); 630 else if (mt.localStorage.Q()) 631 try { 632 mt.localStorage.g.load(document.location.hostname), 633 mt.localStorage.g.removeAttribute(e), 634 mt.localStorage.g.save(document.location.hostname) 635 } catch (a) {} 636 } 637 ; 638 mt.sessionStorage = {}; 639 mt.sessionStorage.set = function(e, a) { 640 try { 641 window.sessionStorage && window.sessionStorage.setItem(e, a) 642 } catch (b) {} 643 } 644 ; 645 mt.sessionStorage.get = function(e) { 646 try { 647 return window.sessionStorage ? window.sessionStorage.getItem(e) : u 648 } catch (a) { 649 return u 650 } 651 } 652 ; 653 mt.sessionStorage.remove = function(e) { 654 try { 655 window.sessionStorage && window.sessionStorage.removeItem(e) 656 } catch (a) {} 657 } 658 ; 659 (function() { 660 var e = mt.w; 661 mt.A = {}; 662 mt.A.log = function(a, b) { 663 var e = new Image 664 , d = "mini_tangram_log_" + Math.floor(2147483648 * Math.random()).toString(36); 665 window[d] = e; 666 e.onload = function() { 667 e.onload = u; 668 e = window[d] = u; 669 b && b(a) 670 } 671 ; 672 e.src = a 673 } 674 ; 675 mt.A.get = function(a, b) { 676 return mt.A.wa({ 677 url: a, 678 method: "GET", 679 data: b.data, 680 timeout: b.timeout, 681 noCache: t, 682 success: b.success, 683 fail: b.fail 684 }) 685 } 686 ; 687 mt.A.wa = function(a) { 688 function b(a) { 689 var b = [], d; 690 for (d in a) 691 a.hasOwnProperty(d) && b.push(encodeURIComponent(d) + "=" + encodeURIComponent(a[d])); 692 return b.join("&") 693 } 694 function k(b) { 695 var d = a[b]; 696 if (d) 697 if (q && clearTimeout(q), 698 "success" !== b) 699 d && d(m); 700 else { 701 var f; 702 try { 703 f = e.parse(m.responseText) 704 } catch (g) { 705 d && d(m); 706 return 707 } 708 d && d(m, f) 709 } 710 } 711 a = a || {}; 712 var d = a.data; 713 "object" === typeof d && (d = b(a.data || {})); 714 var f = a.url, g = (a.method || "GET").toUpperCase(), l = a.headers || {}, r = a.timeout || 0, p = a.noCache || x, n = a.withCredentials || x, m, q; 715 try { 716 a: if (window.XMLHttpRequest) 717 m = new XMLHttpRequest; 718 else { 719 try { 720 m = new ActiveXObject("Microsoft.XMLHTTP"); 721 break a 722 } catch (v) {} 723 m = s 724 } 725 "GET" === g && (d && (f += (0 <= f.indexOf("?") ? "&" : "?") + d, 726 d = u), 727 p && (f += (0 <= f.indexOf("?") ? "&" : "?") + "b" + +new Date + "=1")); 728 m.open(g, f, t); 729 m.onreadystatechange = function() { 730 if (4 === m.readyState) { 731 var a = 0; 732 try { 733 a = m.status 734 } catch (b) { 735 k("fail"); 736 return 737 } 738 200 <= a && 300 > a || 304 === a || 1223 === a ? k("success") : k("fail") 739 } 740 } 741 ; 742 for (var w in l) 743 l.hasOwnProperty(w) && m.setRequestHeader(w, l[w]); 744 n && (m.withCredentials = t); 745 r && (q = setTimeout(function() { 746 m.onreadystatechange = function() {} 747 ; 748 m.abort(); 749 k("fail") 750 }, r)); 751 m.send(d) 752 } catch (A) { 753 k("fail") 754 } 755 return m 756 } 757 ; 758 return mt.A 759 } 760 )(); 761 h.o = { 762 kb: "http://tongji.baidu.com/hm-web/welcome/ico", 763 aa: "hm.baidu.com/hm.gif", 764 xa: /^(tongji|hmcdn).baidu.com$/, 765 Gb: "tongji.baidu.com", 766 hb: "hmmd", 767 ib: "hmpl", 768 Jb: "utm_medium", 769 gb: "hmkw", 770 Lb: "utm_term", 771 eb: "hmci", 772 Ib: "utm_content", 773 jb: "hmsr", 774 Kb: "utm_source", 775 fb: "hmcu", 776 Hb: "utm_campaign", 777 ka: 0, 778 B: Math.round(+new Date / 1E3), 779 protocol: "https:" === document.location.protocol ? "https:" : "http:", 780 L: "https:", 781 Da: 6E5, 782 bc: 5E3, 783 Ea: 5, 784 ca: 1024, 785 G: 2147483647, 786 ra: "hca cc cf ci ck cl cm cp cu cw ds vl ep et ja ln lo lt rnd si su v cv lv api sn r ww p u tt".split(" "), 787 ga: t, 788 Pb: { 789 id: "data-hm-id", 790 Tb: "data-hm-class", 791 jc: "data-hm-xpath", 792 content: "data-hm-content", 793 hc: "data-hm-tag", 794 link: "data-hm-link" 795 }, 796 Rb: "data-hm-enabled", 797 Qb: "data-hm-disabled", 798 xb: "https://hmcdn.baidu.com/static/tongji/plugins/", 799 na: ["UrlChangeTracker"], 800 Nb: { 801 $b: 0, 802 ic: 1, 803 Xb: 2 804 }, 805 Yb: "https://fclog.baidu.com/log/ocpcagl?type=behavior&emd=euc" 806 }; 807 (function() { 808 var e = { 809 t: {}, 810 c: function(a, b) { 811 this.t[a] = this.t[a] || []; 812 this.t[a].push(b) 813 }, 814 k: function(a, b) { 815 this.t[a] = this.t[a] || []; 816 for (var e = this.t[a].length, d = 0; d < e; d++) 817 this.t[a][d](b) 818 } 819 }; 820 return h.s = e 821 } 822 )(); 823 (function() { 824 var e = mt.lang 825 , a = /^https?:\/\// 826 , b = { 827 Oa: function(a) { 828 var b; 829 try { 830 b = JSON.parse(decodeURIComponent(a[0])) 831 } catch (f) {} 832 return b 833 }, 834 la: function(a, d) { 835 return b.ma(h.b && h.b.a && h.b.a.u, a, d) || b.ma(c.site_href, a, d) 836 }, 837 ma: function(b, d, f) { 838 if (b === s) 839 return x; 840 a.test(d) || (b = b.replace(a, "")); 841 d = d.replace(/\/$/, ""); 842 b = b.replace(/\/$/, ""); 843 f && (b = b.replace(/^(https?:\/\/)?www\./, "$1")); 844 return RegExp("^" + d.replace(/[?.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*") + "$").test(b) 845 }, 846 H: function(a, d) { 847 var f = b.Oa(a); 848 if (!e.i(f, "Undefined")) { 849 if (e.isArray(f)) { 850 for (var g = 0; g < f.length; g++) 851 if (b.la(f[g], d)) 852 return t; 853 return x 854 } 855 if (e.J(f)) { 856 var g = [], l; 857 for (l in f) 858 f.hasOwnProperty(l) && b.la(l, d) && (g = g.concat(f[l])); 859 return g 860 } 861 } 862 } 863 }; 864 return h.S = b 865 } 866 )(); 867 (function() { 868 function e(b, e) { 869 var d = document.createElement("script"); 870 d.charset = "utf-8"; 871 a.j(e) && (d.readyState ? d.onreadystatechange = function() { 872 if ("loaded" === d.readyState || "complete" === d.readyState) 873 d.onreadystatechange = u, 874 e() 875 } 876 : d.onload = function() { 877 e() 878 } 879 ); 880 d.src = b; 881 var f = document.getElementsByTagName("script")[0]; 882 f.parentNode.insertBefore(d, f) 883 } 884 var a = mt.lang; 885 return h.load = e 886 } 887 )(); 888 (function() { 889 var e = h.o 890 , a = { 891 D: function() { 892 if ("" !== c.icon) { 893 var a = c.icon.split("|") 894 , k = e.kb + "?s=" + c.id 895 , d = "https://hmcdn.baidu.com/static" + a[0] + ".gif";
896 document.write("swf" === a[1] || "gif" === a[1] ? '<a href="' + k + '" target="_blank"><img border="0" src="' + d + '" width="' + a[2] + '" height="' + a[3] + '"></a>' : '<a href="' + k + '" target="_blank">' + a[0] + "</a>") 897 } 898 } 899 }; 900 h.s.c("pv-b", a.D); 901 return a 902 } 903 )(); 904 (function() { 905 var e = mt.url 906 , a = mt.cookie 907 , b = mt.localStorage 908 , k = mt.sessionStorage 909 , d = { 910 getData: function(d) { 911 try { 912 return a.get(d) || k.get(d) || b.get(d) 913 } catch (e) {} 914 }, 915 setData: function(f, e, l) { 916 try { 917 a.set(f, e, { 918 domain: d.I(), 919 path: d.U(), 920 C: l 921 }), 922 l ? b.set(f, e, l) : k.set(f, e) 923 } catch (r) {} 924 }, 925 removeData: function(e) { 926 try { 927 a.set(e, "", { 928 domain: d.I(), 929 path: d.U(), 930 C: -1 931 }), 932 k.remove(e), 933 b.remove(e) 934 } catch (g) {} 935 }, 936 I: function() { 937 for (var a = document.location.hostname, b = 0, d = c.dm.length; b < d; b++) 938 if (e.qb(a, c.dm[b])) 939 return c.dm[b].replace(/(:\d+)?[/?#].*/, ""); 940 return a 941 }, 942 U: function() { 943 for (var a = 0, b = c.dm.length; a < b; a++) { 944 var d = c.dm[a]; 945 if (-1 < d.indexOf("/") && e.pb(d)) 946 return d.replace(/^[^/]+(\/.*)/, "$1") + "/" 947 } 948 return "/" 949 } 950 }; 951 return h.R = d 952 } 953 )(); 954 (function() { 955 var e = mt.lang 956 , a = mt.d 957 , b = h.S 958 , k = { 959 Ha: function(d, e) { 960 return function(g) { 961 var l = g.target || g.srcElement; 962 if (l) { 963 var r = b.H(e) || [] 964 , p = l.getAttribute(d.P); 965 g = g.clientX + ":" + g.clientY; 966 if (p && p === g) 967 l.removeAttribute(d.P); 968 else if (0 < r.length && (l = a.Wa(l)) && l.length) 969 if (r = l.length, 970 p = l[l.length - 1], 971 1E4 > r * p.split(">").length) 972 for (p = 0; p < r; p++) 973 k.qa(d, l[p]); 974 else 975 k.qa(d, p) 976 } 977 } 978 }, 979 qa: function(a, b) { 980 for (var g = {}, l = String(b).split(">").length, k = 0; k < l; k++) 981 g[b] = "", 982 /\[1\]$/.test(b) && (g[b.substring(0, b.lastIndexOf("["))] = ""), 983 /\]$/.test(b) || (g[b + "[1]"] = ""), 984 b = b.substring(0, b.lastIndexOf(">")); 985 a && (e.J(a) && a.ba) && a.ba(g) 986 }, 987 zb: function(a, b) { 988 return function(e) { 989 (e.target || e.srcElement).setAttribute(a.P, e.clientX + ":" + e.clientY); 990 a && a.N && (b ? a.N(b) : a.N("#" + encodeURIComponent(this.id), e.type)) 991 } 992 } 993 }; 994 return h.Ia = k 995 } 996 )(); 997 (function() { 998 var e = mt.d 999 , a = mt.event 1000 , b = h.S 1001 , k = h.Ia 1002 , d = { 1003 P: "HM_fix", 1004 ua: function() { 1005 a.c(document, "click", k.Ha(d, c.etrk), t); 1006 if (!document.addEventListener) 1007 for (var f = b.H(c.etrk) || [], g = 0; g < f.length; g++) { 1008 var l = f[g]; 1009 -1 === l.indexOf(">") && (0 === l.indexOf("#") && (l = l.substring(1)), 1010 (l = e.La(l)) && a.c(l, "click", k.zb(d), t)) 1011 } 1012 }, 1013 ba: function(a) { 1014 for (var e = b.H(c.etrk) || [], k = 0; k < e.length; k++) { 1015 var r = e[k]; 1016 a.hasOwnProperty(r) && d.N(r) 1017 } 1018 }, 1019 N: function(a, b) { 1020 h.b.a.et = 1; 1021 h.b.a.ep = "{id:" + a + ",eventType:" + (b || "click") + "}"; 1022 h.b.m() 1023 } 1024 }; 1025 h.s.c("pv-b", d.ua); 1026 return d 1027 } 1028 )(); 1029 (function() { 1030 var e = mt.d 1031 , a = mt.lang 1032 , b = mt.event 1033 , k = mt.e 1034 , d = h.o 1035 , f = h.S 1036 , g = [] 1037 , l = { 1038 ta: function() { 1039 c.ctrk && 0 < c.ctrk.length && (b.c(document, "mouseup", l.Ca()), 1040 b.c(window, "unload", function() { 1041 l.M() 1042 }), 1043 setInterval(function() { 1044 l.M() 1045 }, d.Da)) 1046 }, 1047 Ca: function() { 1048 return function(a) { 1049 if (f.H(c.ctrk, t) && (a = l.Na(a), 1050 "" !== a)) { 1051 var b = (d.L + "//" + d.aa + "?" + h.b.pa().replace(/ep=[^&]*/, "ep=" + encodeURIComponent(a))).length; 1052 b + (d.G + "").length > d.ca || (b + encodeURIComponent(g.join("!") + (g.length ? "!" : "")).length + (d.G + "").length > d.ca && l.M(), 1053 g.push(a), 1054 (g.length >= d.Ea || /\*a\*/.test(a)) && l.M()) 1055 } 1056 } 1057 }, 1058 Na: function(b) { 1059 var d = b.target || b.srcElement, f, m; 1060 k.mb ? (m = Math.max(document.documentElement.scrollTop, document.body.scrollTop), 1061 f = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft), 1062 f = b.clientX + f, 1063 m = b.clientY + m) : (f = b.pageX, 1064 m = b.pageY); 1065 b = l.Ta(b, d, f, m); 1066 var q = window.innerWidth || document.documentElement.clientWidth || document.body.offsetWidth; 1067 switch (c.align) { 1068 case 1: 1069 f -= q / 2; 1070 break; 1071 case 2: 1072 f -= q 1073 } 1074 q = []; 1075 q.push(f); 1076 q.push(m); 1077 q.push(b.ub); 1078 q.push(b.vb); 1079 q.push(b.yb); 1080 q.push(a.n(b.wb)); 1081 q.push(b.Mb); 1082 q.push(b.cb); 1083 (d = "a" === (d.tagName || "").toLowerCase() ? d : e.Ma(d)) ? (q.push("a"), 1084 q.push(a.n(encodeURIComponent(d.href)))) : q.push("b"); 1085 return q.join("*") 1086 }, 1087 Ta: function(b, d, f, m) { 1088 b = e.Xa(d); 1089 var q = 0 1090 , g = 0 1091 , w = 0 1092 , l = 0; 1093 if (d && (q = d.offsetWidth || d.clientWidth, 1094 g = d.offsetHeight || d.clientHeight, 1095 l = e.Ua(d), 1096 w = l.left, 1097 l = l.top, 1098 a.j(d.getBBox) && (g = d.getBBox(), 1099 q = g.width,
1100 g = g.height), 1101 "html" === (d.tagName || "").toLowerCase())) 1102 q = Math.max(q, d.clientWidth), 1103 g = Math.max(g, d.clientHeight); 1104 return { 1105 ub: Math.round(100 * ((f - w) / q)), 1106 vb: Math.round(100 * ((m - l) / g)), 1107 yb: k.orientation, 1108 wb: b, 1109 Mb: q, 1110 cb: g 1111 } 1112 }, 1113 M: function() { 1114 0 !== g.length && (h.b.a.et = 2, 1115 h.b.a.ep = g.join("!"), 1116 h.b.m(), 1117 g = []) 1118 } 1119 }; 1120 h.s.c("pv-b", l.ta); 1121 return l 1122 } 1123 )(); 1124 (function() { 1125 function e() { 1126 return function() { 1127 h.b.a.et = 3; 1128 h.b.a.ep = h.T.Va() + "," + h.T.Ra(); 1129 h.b.a.hca = c.hca; 1130 h.b.m() 1131 } 1132 } 1133 function a() { 1134 clearTimeout(C); 1135 var b; 1136 w && (b = "visible" == document[w]); 1137 A && (b = !document[A]); 1138 l = "undefined" == typeof b ? t : b; 1139 if ((!g || !r) && l && p) 1140 v = t, 1141 m = +new Date; 1142 else if (g && r && (!l || !p)) 1143 v = x, 1144 q += +new Date - m; 1145 g = l; 1146 r = p; 1147 C = setTimeout(a, 100) 1148 } 1149 function b(b) { 1150 var a = document 1151 , d = ""; 1152 if (b in a) 1153 d = b; 1154 else 1155 for (var m = ["webkit", "ms", "moz", "o"], e = 0; e < m.length; e++) { 1156 var f = m[e] + b.charAt(0).toUpperCase() + b.slice(1); 1157 if (f in a) { 1158 d = f; 1159 break 1160 } 1161 } 1162 return d 1163 } 1164 function k(b) { 1165 if (!("focus" == b.type || "blur" == b.type) || !(b.target && b.target != window)) 1166 p = "focus" == b.type || "focusin" == b.type ? t : x, 1167 a() 1168 } 1169 var d = mt.event, f = h.s, g = t, l = t, r = t, p = t, n = +new Date, m = n, q = 0, v = t, w = b("visibilityState"), A = b("hidden"), C; 1170 a(); 1171 (function() { 1172 var b = w.replace(/[vV]isibilityState/, "visibilitychange"); 1173 d.c(document, b, a); 1174 d.c(window, "pageshow", a); 1175 d.c(window, "pagehide", a); 1176 "object" == typeof document.onfocusin ? (d.c(document, "focusin", k), 1177 d.c(document, "focusout", k)) : (d.c(window, "focus", k), 1178 d.c(window, "blur", k)) 1179 } 1180 )(); 1181 h.T = { 1182 Va: function() { 1183 return +new Date - n 1184 }, 1185 Ra: function() { 1186 return v ? +new Date - m + q : q 1187 } 1188 }; 1189 f.c("pv-b", function() { 1190 d.c(window, "unload", e()) 1191 }); 1192 f.c("duration-send", e()); 1193 f.c("duration-done", function() { 1194 m = n = +new Date; 1195 q = 0 1196 }); 1197 return h.T 1198 } 1199 )(); 1200 (function() { 1201 var e = mt.lang 1202 , a = h.o 1203 , b = h.load 1204 , k = h.R 1205 , d = { 1206 lb: function(d) { 1207 if ((window._dxt === s || e.i(window._dxt, "Array")) && "undefined" !== typeof h.b) { 1208 var g = k.I(); 1209 b([a.protocol, "//datax.baidu.com/x.js?si=", c.id, "&dm=", encodeURIComponent(g)].join(""), d) 1210 } 1211 }, 1212 Fb: function(b) { 1213 if (e.i(b, "String") || e.i(b, "Number")) 1214 window._dxt = window._dxt || [], 1215 window._dxt.push(["_setUserId", b]) 1216 } 1217 }; 1218 return h.Fa = d 1219 } 1220 )(); 1221 (function() { 1222 function e(a) { 1223 for (var d in a) 1224 if ({}.hasOwnProperty.call(a, d)) { 1225 var f = a[d]; 1226 b.J(f) || b.isArray(f) ? e(f) : a[d] = String(f) 1227 } 1228 } 1229 var a = mt.url 1230 , b = mt.lang 1231 , k = mt.w 1232 , d = mt.e 1233 , f = h.o 1234 , g = h.s 1235 , l = h.Fa 1236 , r = h.load 1237 , p = h.R 1238 , n = { 1239 F: [], 1240 O: 0, 1241 Y: x, 1242 D: function() { 1243 n.h = 0; 1244 g.c("pv-b", function() { 1245 n.Ga(); 1246 n.Ja() 1247 }); 1248 g.c("pv-d", function() { 1249 n.Ka() 1250 }); 1251 g.c("stag-b", function() { 1252 h.b.a.api = n.h || n.O ? n.h + "_" + n.O : "" 1253 }); 1254 g.c("stag-d", function() { 1255 h.b.a.api = 0; 1256 n.h = 0; 1257 n.O = 0 1258 }) 1259 }, 1260 Ga: function() { 1261 var a = window._hmt || []; 1262 if (!a || b.i(a, "Array")) 1263 window._hmt = { 1264 id: c.id, 1265 cmd: {}, 1266 push: function() { 1267 for (var a = window._hmt, d = 0; d < arguments.length; d++) { 1268 var e = arguments[d]; 1269 b.i(e, "Array") && (a.cmd[a.id].push(e), 1270 "_setAccount" === e[0] && (1 < e.length && /^[0-9a-f]{31,32}$/.test(e[1])) && (e = e[1], 1271 a.id = e, 1272 a.cmd[e] = a.cmd[e] || [])) 1273 } 1274 } 1275 }, 1276 window._hmt.cmd[c.id] = [], 1277 window._hmt.push.apply(window._hmt, a) 1278 }, 1279 Ja: function() { 1280 var b = window._hmt; 1281 if (b && b.cmd && b.cmd[c.id]) 1282 for (var a = b.cmd[c.id], d = /^_track(Event|Order)$/, e = 0, f = a.length; e < f; e++) { 1283 var g = a[e]; 1284 d.test(g[0]) ? n.F.push(g) : n.$(g) 1285 } 1286 b.cmd[c.id] = { 1287 push: n.$ 1288 } 1289 }, 1290 Ka: function() { 1291 if (0 < n.F.length) 1292 for (var b = 0, a = n.F.length; b < a; b++) 1293 n.$(n.F[b]); 1294 n.F = u 1295 }, 1296 $: function(a) { 1297 var d = a[0]; 1298 if (n.hasOwnProperty(d) && b.j(n[d])) 1299 n[d](a) 1300 },
1301 _setAccount: function(b) { 1302 1 < b.length && /^[0-9a-f]{31,32}$/.test(b[1]) && (n.h |= 1) 1303 }, 1304 _setAutoPageview: function(b) { 1305 if (1 < b.length && (b = b[1], 1306 x === b || t === b)) 1307 n.h |= 2, 1308 h.b.ha = b 1309 }, 1310 _trackPageview: function(b) { 1311 1 < b.length && (b[1].charAt && "/" === b[1].charAt(0)) && (n.h |= 4, 1312 h.b.a.sn = h.b.ea(), 1313 h.b.a.et = 0, 1314 h.b.a.ep = "", 1315 h.b.a.vl = d.W(), 1316 n.Y || (h.b.a.su = h.b.a.u || c.site_href), 1317 h.b.a.u = f.protocol + "//" + document.location.host + b[1], 1318 h.b.m(), 1319 h.b.sb = +new Date) 1320 }, 1321 _trackEvent: function(a) { 1322 2 < a.length && (n.h |= 8, 1323 h.b.a.et = 4, 1324 h.b.a.ep = b.n(a[1]) + "*" + b.n(a[2]) + (a[3] ? "*" + b.n(a[3]) : "") + (a[4] ? "*" + b.n(a[4]) : ""), 1325 h.b.m()) 1326 }, 1327 _setCustomVar: function(a) { 1328 if (!(4 > a.length)) { 1329 var d = a[1] 1330 , e = a[4] || 3; 1331 if (0 < d && 6 > d && 0 < e && 4 > e) { 1332 n.O++; 1333 for (var f = (h.b.a.cv || "*").split("!"), g = f.length; g < d - 1; g++) 1334 f.push("*"); 1335 f[d - 1] = e + "*" + b.n(a[2]) + "*" + b.n(a[3]); 1336 h.b.a.cv = f.join("!"); 1337 a = h.b.a.cv.replace(/[^1](\*[^!]*){2}/g, "*").replace(/((^|!)\*)+$/g, ""); 1338 "" !== a ? p.setData("Hm_cv_" + c.id, encodeURIComponent(a), c.age) : p.removeData("Hm_cv_" + c.id) 1339 } 1340 } 1341 }, 1342 _setReferrerOverride: function(a) { 1343 1 < a.length && (a = a[1], 1344 b.i(a, "String") ? (h.b.a.su = "/" === a.charAt(0) ? f.protocol + "//" + window.location.host + a : a, 1345 n.Y = t) : n.Y = x) 1346 }, 1347 _trackOrder: function(a) { 1348 a = a[1]; 1349 b.J(a) && (e(a), 1350 n.h |= 16, 1351 h.b.a.et = 94, 1352 h.b.a.ep = k.stringify(a), 1353 h.b.m()) 1354 }, 1355 _setDataxId: function(a) { 1356 a = a[1]; 1357 l.lb(); 1358 l.Fb(a) 1359 }, 1360 _setAutoTracking: function(a) { 1361 if (1 < a.length && (a = a[1], 1362 x === a || t === a)) 1363 h.b.ia = a 1364 }, 1365 _trackPageDuration: function(a) { 1366 1 < a.length ? (a = a[1], 1367 2 === String(a).split(",").length && (h.b.a.et = 3, 1368 h.b.a.ep = a, 1369 h.b.m())) : g.k("duration-send"); 1370 g.k("duration-done") 1371 }, 1372 _require: function(b) { 1373 1 < b.length && (b = b[1], 1374 f.xa.test(a.V(b)) && r(b)) 1375 }, 1376 _providePlugin: function(a) { 1377 if (1 < a.length) { 1378 var d = window._hmt 1379 , e = a[1]; 1380 a = a[2]; 1381 if (b.X(f.na, e) && b.j(a) && (d.plugins = d.plugins || {}, 1382 d.z = d.z || {}, 1383 d.plugins[e] = a, 1384 d.l = d.l || [], 1385 a = d.l.slice(), 1386 e && a.length && a[0][1] === e)) 1387 for (var g = 0, k = a.length; g < k; g++) { 1388 var l = a[g][2] || {}; 1389 if (d.plugins[e] && !d.z[e]) 1390 d.z[e] = new d.plugins[e](l), 1391 d.l.shift(); 1392 else 1393 break 1394 } 1395 } 1396 }, 1397 _requirePlugin: function(a) { 1398 if (1 < a.length) { 1399 var d = window._hmt 1400 , e = a[1] 1401 , g = a[2] || {}; 1402 if (b.X(f.na, e)) 1403 if (d.plugins = d.plugins || {}, 1404 d.z = d.z || {}, 1405 d.plugins[e] && !d.z[e]) 1406 d.z[e] = new d.plugins[e](g); 1407 else { 1408 d.l = d.l || []; 1409 for (var g = 0, k = d.l.length; g < k; g++) 1410 if (d.l[g][1] === e) 1411 return; 1412 d.l.push(a); 1413 n._require([u, f.xb + e + ".js"]) 1414 } 1415 } 1416 } 1417 }; 1418 n.D(); 1419 h.ya = n; 1420 return h.ya 1421 } 1422 )(); 1423 (function() { 1424 var e = h.s; 1425 c.spa !== s && "1" === String(c.spa) && (window._hmt = window._hmt || [], 1426 window._hmt.push(["_requirePlugin", "UrlChangeTracker"]), 1427 e.c("pv-b", function() { 1428 "" !== site_hash && (h.b.a.u = window.location.href) 1429 })) 1430 } 1431 )(); 1432 (function() { 1433 function e() { 1434 "undefined" === typeof window["_bdhm_loaded_" + c.id] && (window["_bdhm_loaded_" + c.id] = t, 1435 this.a = {}, 1436 this.ob = this.ia = this.ha = t, 1437 this.ga = m.ga, 1438 this.Sb = k.Z(c.aet) && 0 < c.aet.length ? c.aet.split(",") : "", 1439 this.D()) 1440 } 1441 var a = mt.url 1442 , b = mt.A 1443 , k = mt.lang 1444 , d = mt.cookie 1445 , f = mt.e 1446 , g = mt.sessionStorage 1447 , l = mt.w 1448 , r = mt.event 1449 , p = h.R 1450 , n = mt.localStorage 1451 , m = h.o 1452 , q = h.load 1453 , v = h.s; 1454 e.prototype = { 1455 Db: function() { 1456 var a, b, e, f; 1457 m.ka = p.getData("Hm_lpvt_" + c.id) || 0; 1458 if (f = p.getData("Hm_lvt_" + c.id)) { 1459 for (b = f.split(","); 2592E3 < m.B - b[0]; ) 1460 b.shift(); 1461 e = 4 > b.length ? 2 : 3; 1462 for (m.B - m.ka > c.vdur && b.push(m.B); 4 < b.length; ) 1463 b.shift(); 1464 f = b.join(","); 1465 b = b[b.length - 1] 1466 } else 1467 f = m.B, 1468 b = "", 1469 e = 1; 1470 this.nb() ? (p.setData("Hm_lvt_" + c.id, f, c.age), 1471 p.setData("Hm_lpvt_" + c.id, m.B),
1472 a = d.rb(p.I(), p.U())) : this.da(); 1473 this.a.cc = a; 1474 this.a.lt = b; 1475 this.a.lv = e 1476 }, 1477 nb: function() { 1478 var b = a.V(c.site_href); 1479 return !k.X("sjh.baidu.com isite.baidu.com ls.wejianzhan.com bs.wejianzhan.com product.weijianzhan.com qianhu.weijianzhan.com aisite.wejianzhan.com".split(" "), b) 1480 }, 1481 Aa: function() { 1482 var a = "Hm_clear_cookie_" + c.id 1483 , b = n.get(a) || 0; 1484 c.fc && Number(c.fc) > Number(b) && (this.da(), 1485 n.set(a, c.fc)) 1486 }, 1487 da: function() { 1488 for (var a = document.cookie.split(";"), b = 0; b < a.length; b++) { 1489 var d = a[b].split("="); 1490 d.length && /Hm_(up|cv|lp?vt)_[0-9a-f]{31}/.test(String(d[0])) && p.removeData(k.trim(d[0])); 1491 d.length && /Hm_ck_[0-9]{13}/.test(String(d[0])) && p.removeData(k.trim(d[0])) 1492 } 1493 }, 1494 pa: function() { 1495 for (var a = [], b = this.a.et, d = 0, e = m.ra.length; d < e; d++) { 1496 var f = m.ra[d] 1497 , g = this.a[f]; 1498 "undefined" !== typeof g && "" !== g && ("tt" !== f || "tt" === f && 0 === b) && a.push(f + "=" + encodeURIComponent(g)) 1499 } 1500 return a.join("&") 1501 }, 1502 Eb: function() { 1503 this.Db(); 1504 this.a.si = c.id; 1505 this.a.sn = this.ea(); 1506 this.a.su = document.referrer; 1507 this.a.ds = f.Ab; 1508 this.a.cl = f.colorDepth + "-bit"; 1509 this.a.ln = String(f.language).toLowerCase(); 1510 this.a.ja = f.javaEnabled ? 1 : 0; 1511 this.a.ck = f.cookieEnabled ? 1 : 0; 1512 this.a.lo = "number" === typeof _bdhm_top ? 1 : 0; 1513 this.a.v = "1.3.0"; 1514 this.a.cv = decodeURIComponent(p.getData("Hm_cv_" + c.id) || ""); 1515 this.a.tt = document.title || ""; 1516 this.a.vl = f.W(); 1517 var b = c.site_href; 1518 this.a.cm = a.f(b, m.hb) || ""; 1519 this.a.cp = a.f(b, m.ib) || a.f(b, m.Jb) || ""; 1520 this.a.cw = a.f(b, m.gb) || a.f(b, m.Lb) || ""; 1521 this.a.ci = a.f(b, m.eb) || a.f(b, m.Ib) || ""; 1522 this.a.cf = a.f(b, m.jb) || a.f(b, m.Kb) || ""; 1523 this.a.cu = a.f(b, m.fb) || a.f(b, m.Hb) || ""; 1524 /https?:/.test(document.location.protocol) && (this.a.u = b) 1525 }, 1526 D: function() { 1527 try { 1528 this.Aa(), 1529 this.Eb(), 1530 this.Cb(), 1531 h.b = this, 1532 this.za(), 1533 this.tb(), 1534 v.k("pv-b"), 1535 this.ob && this.Bb() 1536 } catch (a) { 1537 var d = []; 1538 d.push("si=" + c.id); 1539 d.push("n=" + encodeURIComponent(a.name)); 1540 d.push("m=" + encodeURIComponent(a.message)); 1541 d.push("r=" + encodeURIComponent(document.referrer)); 1542 b.log(m.L + "//" + m.aa + "?" + d.join("&")) 1543 } 1544 }, 1545 Bb: function() { 1546 function a() { 1547 v.k("pv-d") 1548 } 1549 this.ha ? (this.a.et = 0, 1550 this.a.ep = "", 1551 v.k("setPageviewProp"), 1552 this.a.vl = f.W(), 1553 this.m(a), 1554 this.a.p = "") : a(); 1555 this.sb = +new Date; 1556 v.k("clearPageviewProp") 1557 }, 1558 m: function(a) { 1559 if (this.ia) { 1560 var d = this; 1561 d.a.rnd = Math.round(Math.random() * m.G); 1562 d.a.r = f.orientation; 1563 d.a.ww = f.sa; 1564 v.k("stag-b"); 1565 var e = m.L + "//" + m.aa + "?" + d.pa(); 1566 v.k("stag-d"); 1567 d.va(e); 1568 b.log(e, function(b) { 1569 d.oa(b); 1570 k.j(a) && a.call(d) 1571 }) 1572 } 1573 }, 1574 za: function() { 1575 try { 1576 if (window.postMessage && window.self !== window.parent) { 1577 var b = this; 1578 r.c(window, "message", function(d) { 1579 if (a.V(d.origin) === m.Gb) { 1580 d = d.data || {}; 1581 var e = d.jn || "" 1582 , f = /^customevent$|^heatmap$|^pageclick$|^select$/.test(e); 1583 if (RegExp(c.id).test(d.sd || "") && f) 1584 b.a.rnd = Math.round(Math.random() * m.G), 1585 q(m.protocol + "//" + c.js + e + ".js?" + b.a.rnd) 1586 } 1587 }); 1588 window.parent.postMessage({ 1589 id: c.id, 1590 url: c.site_href, 1591 status: "__Messenger__hmLoaded" 1592 }, "*") 1593 } 1594 } catch (d) {} 1595 }, 1596 tb: function() { 1597 try { 1598 if (window.self === window.parent) { 1599 var b = c.site_href 1600 , d = a.f(b, "baidu-analytics-token") 1601 , e = a.f(b, "baidu-analytics-jn"); 1602 /^[a-f0-9]{32}\/?$/.test(d) && /^(overlay|vabtest)\/?$/.test(e) && q(m.protocol + "//" + c.js + e + ".js?" + Math.round(Math.random() * m.G)) 1603 } 1604 } catch (f) {} 1605 }, 1606 va: function(a) { 1607 var b; 1608 try { 1609 b = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1610 } catch (d) { 1611 b = [] 1612 } 1613 var e = this.a.u ? "" : "&u=" + encodeURIComponent(c.site_href); 1614 b.push(a.replace(/^https?:\/\//, "") + e); 1615 g.set("Hm_unsent_" + c.id, l.stringify(b)) 1616 }, 1617 oa: function(a) { 1618 var b; 1619 try { 1620 b = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1621 } catch (d) { 1622 b = [] 1623 } 1624 if (b.length) { 1625 a = a.replace(/^https?:\/\//, ""); 1626 for (var e = 0; e < b.length; e++) 1627 if (a.replace(/&u=[^&]*/, "") === b[e].replace(/&u=[^&]*/, "")) { 1628 b.splice(e, 1); 1629 break 1630 } 1631 b.length ? g.set("Hm_unsent_" + c.id, l.stringify(b)) : this.Ba() 1632 } 1633 }, 1634 Ba: function() { 1635 g.remove("Hm_unsent_" + c.id) 1636 }, 1637 Cb: function() { 1638 var a = this, d; 1639 try { 1640 d = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1641 } catch (e) { 1642 d = [] 1643 } 1644 if (d.length) 1645 for (var f = function(d) { 1646 b.log(m.L + "//" + d, function(b) { 1647 a.oa(b) 1648 }) 1649 }, k = 0; k < d.length; k++) 1650 f(d[k]) 1651 }, 1652 ea: function() { 1653 return Math.round(+new Date / 1E3) % 65535 1654 } 1655 }; 1656 return new e
1657 } 1658 )(); 1659 var y = h.o 1660 , z = h.load; 1661 if (c.apps) { 1662 var B = [y.protocol, "//ers.baidu.com/app/s.js?"]; 1663 B.push(c.apps); 1664 z(B.join("")) 1665 } 1666 var D = h.o 1667 , E = h.load; 1668 c.pt && E([D.protocol, "//ada.baidu.com/phone-tracker/insert_bdtj?sid=", c.pt].join("")); 1669 var F = h.load; 1670 if (c.qiao) { 1671 for (var G = ["https://goutong.baidu.com/site/"], H = c.id, I = 5381, J = H.length, K = 0; K < J; K++) 1672 I = (33 * I + Number(H.charCodeAt(K))) % 4294967296; 1673 2147483648 < I && (I -= 2147483648); 1674 G.push(I % 1E3 + "/"); 1675 G.push(c.id + "/b.js"); 1676 G.push("?siteId=" + c.qiao); 1677 F(G.join("")) 1678 } 1679 ; 1680}; 1681tongji(code_id,code_domain);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.