function () {var e = function (e ) {var t = /^ [\ ],: {}\s ]*$/ , n = /\ (?: ["\\/bfnrt ]|u [0-9a-fA-F ]{4 })/g , r = /" [^"\\n\r ]*"|true|false|null|-?\d+ (?:\.\d* )? (?: [eE ][+\- ]?\d+ )?/g , a = / (?:^|:|, ) (?:\s*\ [)+/g; if ("object" == typeof e )return e; if ("string" != typeof e || !e )return null ; if ("string" == typeof e && (e = e. replace (/ (^\s*|\s*$ )/g, "" )), t. test (e. replace (n, "@" ). replace (r, " ]" ). replace (a, "" )) )return window. JsON && window.JSON.parse ? window.JSON. parse (e ) : new Function ("return " + e ) (); throw new Error ("Invalid JSON: " + e )}, t = function (t, n, r ) {var a; a = window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject ("Microsoft.xhr" ), a. open ("GET", t, !0 ), a.onreadystatechange = function () {if (4 == a.readyState ) {var t = {}; try {t = e (a.responseText )} catch (c ) {}200 == a.status ? "function" == typeof n && n (t ) : "function" == typeof r && r (t )}}, a. send ()}, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/~!@ #¥ %……&" , r = String.fromCharCode , a = function (e ) {if (e.length < 2 ) {var t = e. charCodeAt (0 ); return 128 > t ? e : 2048 > t ? r (192 | t >>> 6 ) + r (128 | 63 & t ) : r (224 | t >>> 12 & 15 ) + r (128 | t >>> 6 & 63 ) + r (128 | 63 & t )}var t = 65536 + 1024 * (e. charCodeAt (0 ) - 55296 ) + (e. charCodeAt (1 ) - 56320 ); return r (240 | t >>> 18 & 7 ) + r (128 | t >>> 12 & 63 ) + r (128 | t >>> 6 & 63 ) + r (128 | 63 & t )}, c = / [\uD800-\uDBFF ][\uDC00-\uDFFFF ]| [^\x00-\x7F ]/g , o = function (e ) {return (e + "" + Math. random ()). replace (c, a )}, i = function (e ) {var t = [0, 2, 1 ][e.length % 3 ], r = e. charCodeAt (0 ) << 16 | (e.length > 1 ? e. charCodeAt (1 ) : 0 ) << 8 | (e.length > 2 ? e. charCodeAt (2 ) : 0 ), a = [n. charAt (r >>> 18 ), n. charAt (r >>> 12 & 63 ), t >= 2 ? "=" : n. charAt (r >>> 6 & 63 ), t >= 1 ? "=" : n. charAt (63 & r )]; return a. join ("" )}, u = function (e ) {return e. replace (/ [\s\S ]{1,3 }/g, i )}, d = function () {return u (o ( (new Date ). getTime ()) )}, f = function (e, t ) {return t ? d (String (e )). replace (/ [+\/ ]/g, function (e ) {return "+" == e ? "-" : "_" }). replace (/=/g, "" ) : d (String (e )) }, h = function (e ) {var t, n; return document.cookie.length > 0 && (t = document.cookie. indexOf (e + "=" ), -1 != t ) ? (t = t + e.length + 1, n = document.cookie. indexOf (";", t ), -1 == n && (n = document.cookie.length ), decodeURI (document.cookie. substring (t, n )) ) : "" }, l = function () {var e = location.hash , t = e. indexOf ("/" ); return t > -1 ? e. substring (1, t ) : e. substring (1 )}, p = function (e ) {var t = new RegExp (e + "= ([^ #& ; ]* )","g" ), n = t. exec (location.hash ); return n ? decodeURIComponent (n [1 ]) : "" }, s = function (e, n, r, a, c ) {t (e, function (e ) {0 === e.errno && (window.cache || (window.cache = {}), cache [r ] || (cache [r ] = {}, cache [r ].writeable = !0 ), cache [r ].data || (cache [r ].data = {}), cache [r ].data [n ] ? cache [r ].data [n ][a ] instanceof Array && Array.prototype.push. Apply (cache [r ].data [n ][a ], e [c ]) : (cache [r ].data [n ] = {}, cache [r ].data [n ][a ] = e [c ]), cache [r ].data [n ].hasMore = !1, e [c ] && e [c ].length >= y && (cache [r ].data [n ].hasMore = !0 ), "undefined" == typeof e.hasMore || e.hasMore || (cache [r ].data [n ].hasMore = !1 ), window.prefetchEnable = !1, window. prefetchCallback ()) }, function () {window.prefetchEnable = !1, window. prefetchCallback ()})}, g = function (e ) {var t = "localorder_" + (e || "" ). replace (/@/g, "" ); if ("undefined" != typeof localStorage && "function" == typeof localStorage.getItem ) {var n, r = localStorage. getItem (t ), a = p ("type" ); if (a && "3" === a )return null ; if (r && 2 === r. split ("_" ).length ) {var n = r. split ("_" ), c = parseInt (n [1 ], 10 ), o = {item: n [0 ], desc: c }; return o }return null }}, w = !1 , y = 100; var window= {}window.initPrefetch = function (e, t ) {if (w === !1 ) {var n = "" , r = "" , a = l (), c = "list" , o = ""; if ("category" === a ? (n = "/api/categorylist", r = p ("type" ), n += "?category=" + encodeURIComponent (r ), o = "info" ) : a && "list" !== a || (n = "/api/list", r = p ("path" ), r = r ? r : "/", a = a ? a : "list", n += "?dir=" + encodeURIComponent (r ), o = "list" ), n ) {window.prefetchEnable = !0, window.prefetchCallback = function () {}; var i = g (t ); n += "&bdstoken=" + e, n += "&logid=" + f (h ("BAIDUID" )), n += "&num=" + y, i ? (n += "&order=" + (i.item || "time" ), n += "&desc=" + ("number" == typeof i.desc ? i.desc : 1 )) : n += "&order=time&desc=1", n += "&clienttype=0&showempty=0&web=1&page=1&channel=chunlei&web=1&app_id=250528", s (n, r, a, c, o )}w = !0 }}} ();
|