📄 8yxqebj2wii.js
字号:
var ig_a=false,ig_=null,ig_b=true;function ig_c(a,b){var c=function(){};c.prototype=a.prototype;b.prototype=new c}function _gel(a){return document.getElementById?document.getElementById(a):ig_}function _gelstn(a){if(a=="*"&&document.all)return document.all;return document.getElementsByTagName?document.getElementsByTagName(a):[]}function _gelsbyregex(a,b){var c=_gelstn(a),d=[];for(var e=0,f;f=c[e];e++)b.test(f.id)&&d.push(f);return d}function _uc(a){return a.toUpperCase()}function _trim(a){return a.replace(/^\s*|\s*$/g,"")}function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)}var ig_d=function(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)},_unesc=ig_d;function _toggle(a){if(!a)return;if(a.style.display==""||a.style.display=="block")a.style.display="none";else if(a.style.display=="none")a.style.display="block"}function _hesc(a){a=a.replace(/</g,"<").replace(/>/g,">");a=a.replace(/"/g,""").replace(/'/g,"'");return a}function _striptags(a){return a.replace(/<\/?[^>]+>/gi,"")}var ig_e=0;function _uid(){return"obj"+ig_e++}function _min(a,b){return a<b?a:b}function _max(a,b){return a>b?a:b}function _IG_LoadScript(a,b){_sendx(a,function(c){window.eval(c);eval(b)},ig_a,ig_)}function _IG_LoadScriptXDomain(a,b,c){var d=document.createElement("script");d.src=a;document.getElementsByTagName("head")[0].appendChild(d);function e(f,g){eval(f)?g():setTimeout(function(){e(f,g)},100)}e(b,c)}function _IG_LoadCss(a){var b=document.getElementsByTagName("head")[0];if(!b)throw new Error("Document is missing <head> element. Failed to load CSS.");var c=document.createElement("style");c.type="text/css";if(c.styleSheet)c.styleSheet.cssText=a;else c.appendChild(document.createTextNode(a));b.insertBefore(c,b.firstChild)}function _log(a){var b="/ig/log?msg="+_esc(a);_sendx(b,ig_,ig_,ig_)}function _sendx(a,b,c,d){var e=ig_f();e.open(d?"POST":"GET",a,ig_b);if(b)e.onreadystatechange=function(){if(e.readyState==4)b(c&&e.responseXML?e.responseXML:e.responseText)};e.send(d)}function _uhc(a,b,c){var d="m_"+a+"_"+b,e=_gel(d);if(!e){e=document.createElement("INPUT");e.type="hidden";e.disabled=ig_b;e.name=d;_gel("m_"+a+"_form").appendChild(e)}e.value=c;e.disabled=ig_a}function ig_f(){var a=ig_;if(window.ActiveXObject){a=new ActiveXObject("Msxml2.XMLHTTP");a||(a=new ActiveXObject("Microsoft.XMLHTTP"))}else if(window.XMLHttpRequest)a=new XMLHttpRequest;return a}var _et="",_brand="",_bmod="",_source="",_ae="",_pid="",_authpath="",_prefid="",_setp_url="/ig/setp",_old_html=ig_b,_use_old_feed_styles=ig_b,ig_g=ig_,ig_h=ig_;function ig_i(a,b,c){var d=document.createElement("input");d.type="hidden";d.name=b;d.value=c;a.appendChild(d)}function ig_j(a){var b=a||document.location.href,c,d=b.indexOf("?"),e=b.indexOf("#");c=e==-1?b.substr(d+1):b.substr(d+1,e-d-1)+"&"+b.substr(e+1);return c.split("&")}function _argsUrl(a){var b={},c=ig_j(a);for(var d=0;d<c.length;d++){var e=c[d].indexOf("=");if(e==-1)continue;var f=c[d].substring(0,e),g=c[d].substring(e+1);g=g.replace(/\+/g," ");b[f]=_unesc(g)}return b}function _args(){return _argsUrl(document.location.href)}function _IG_isIE(){var a=navigator.userAgent.toLowerCase();return a.indexOf("msie")!=-1}function ig_k(a){var b={pid:1,host:1,gl:1,hl:1},c=a||_args(),d="?";for(var e in c)if(b[e])d+=e+"="+_esc(c[e])+"&";return d}var ig_l=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_m(a,b){var c=ig_l.exec(a),d=[c[1],"?",c[2]];d.push(c[2]?"&":"",b.join("&"),c[3]);return d.join("")}function ig_n(a){var b={url:document.location,et:_et,brand:_brand,bmod:_bmod,source:_source,ae:_ae,pid:_pid,ap:_authpath,prefid:_prefid};for(var c in b)ig_i(a,c,b[c])}function _submit_form(a,b){a.action=_setp_url+ig_k()+b;a.method="get";ig_n(a);a.submit()}function _fsetp(a,b,c){a.action=_setp_url;a.method="get";ig_n(a);ig_i(a,"m_"+b+"_t",c);var d=_args(),e=d.host,f=d.hl;typeof e!="undefined"&&ig_i(a,"host",e);typeof f!="undefined"&&ig_i(a,"hl",f);ig_o(a,b);return ig_b}var ig_p=[],ig_q=ig_a;function ig_r(a){var b=[];for(var c=0;c<a.length;++c){if(a[c].length!=2)continue;var d=a[c][0],e=a[c][1];e!=ig_&&e!=""&&b.push(d+"="+e)}return b.join("&")}function ig_s(){return ig_r([["et",_et],["pid",_pid],["ap",_authpath],["brand",_brand],["bmod",_bmod],["source",_source],["ae",_ae],["prefid",_prefid]])}function ig_t(){if(ig_p.length==0){ig_q=ig_a;return}ig_q=ig_b;var a=_setp_url+ig_k()+ig_s(),b=ig_p.shift(),c=a.length+b.length>=1800;if(c)_sendx(a,ig_u,ig_a,b);else{a+="&"+b;_sendx(a,ig_u,ig_a,ig_)}}function ig_u(){_IG_TriggerDelayedEvent("xsetpdone");ig_t()}function _xsetp(a){ig_p.push(a);ig_q||ig_t()}function _dlsetp(a,b){b||(b=_esc(document.location));document.location=_setp_url+ig_k()+ig_s()+"&url="+b+"&"+a}function _removeTabParam(a){return a.replace(/(\?.*\b)(t\=[^&#]*[&#]?)/g,"$1")}function _select_tab(a,b){var c=b||"/ig";window.location.href=c+ig_k()+"t="+a}function _select_tab_and_log(a,b){_sendx("/ig/ui?xp=v2&action=selectTab&t="+a,ig_,ig_a,ig_);_select_tab(a,b)}function _select_gadget_and_log(a,b){_sendx("/ig/ui?xp=v2&action=maximizeMod&from=selectMod&mid="+b,ig_,ig_a,ig_);window.location.href="/ig"+ig_k()+"t="+a+"&g="+b}function _ssbc(a,b,c){var d=_gelstn("*");for(var e=0,f;f=d[e];e++)if(f.className==a)f.style[b]=c}function ig_v(a){var b=_gelstn("*");for(var c=0,d;d=b[c];c++)for(var e=0;e<a.length;e++)if(d.className==a[e][0])d.style[a[e][1]]=a[e][2]}function _findPos(a){var b=0,c=0;while(a!=ig_){b+=a.offsetLeft;c+=a.offsetTop;a=a.offsetParent}return[b,c]}function _getGadgetContainer(a){var b=_gel("m_"+a+"_b");if(!b){b=_gel("remote_"+a);if(!b)b=document.body}return b}function _appendMaxAgeParameter(a,b){var c=/[?&]$/.test(a);return a+(c?"":"&")+"max_age="+b+(c?"&":"")}function _buildACLQuery(){var a="",b=_gel("access_profile"),c=_gel("post_updates");if(b)a+="0:"+(b.checked?"t":"f");if(c){a+=a?",":"";a+="1:"+(c.checked&&b.checked?"t":"f")}return"osacl="+a}function ig_o(a,b){var c=a.module_url.value;a.module_url.parentNode.removeChild(a.module_url);var d=a["access_profile"+b].checked,e=a["post_updates"+b].checked&&d;_makeACLXHR({moduleUrl:c,editToken:_et,accessProfile:d,postUpdates:e},ig_)}function _makeACLXHR(a,b){if(!a||!a.moduleUrl)return;var c="/ig/osacl";c+="?url="+a.moduleUrl;if(a.editToken){c+="&et="+a.editToken;var d=a.accessProfile?"t":"f",e=a.accessProfile&&a.postUpdates?"t":"f";c+="&osacl=0:"+d+",1:"+e}_sendx(c,b,ig_a,ig_a)}function _updateACLOptions(a){a=a||"";var b=_gel("access_profile"+a),c=_gel("post_updates"+a);if(b.checked)c.disabled=ig_a;else{c.checked=ig_a;c.disabled=ig_b}}(function(){function a(d){var e=window;if(d!=""){var f=d.split(".");while(f.length){var g=f.shift();if(typeof e[g]!="object")e[g]={};e=e[g]}}return e}function b(d,e){var f=a(d);for(var g=0;g<e.length;g+=2)f[e[g]]=e[g+1]}function c(d,e,f,g,h){if(g)for(var i=0;i<g.length;i+=2)f.prototype[g[i]]=g[i+1];if(h)for(var i=0;i<h.length;i+=2)f[h[i]]=h[i+1];b(d,[e,f])}b("",["_exportSymbols",b]);b("",["_exportClass",c]);b("google.gadgets.Util",["args",_args]);b("",["addParamPairsToUrl",ig_m,"xmlhttp",ig_f])})();function _preloadImages(a,b){var c=a.length,d=[];for(var e=0;e<a.length;e++){var f=new Image;d.push(f);f.src=a[e];if(f.complete){c--;ig_w(c,b,d)}else f.onload=function(){c--;ig_w(c,b,d)}}}function ig_w(a,b,c){if(a==0){b&&b();for(var d=0;d<c.length;d++){c[d].onload=ig_;c[d]=ig_}}}function _edit(a,b){var c=ig_x[a];if(c)c();else _gel("m_"+a).className="modbox_e";b&&b();_sendx("/ig/ui?action=editsettings&m="+a,ig_,ig_a,ig_);ig_y("edit","m_"+a);return ig_a}var ig_x={};function _IG_AddCustomEditHandler(a,b){ig_x[a]=b}function _cedit(a){_gel("m_"+a).className="modbox";var b=_gel("m_"+a+"_form");b.reset();_sendx("/ig/ui?action=canceledit&m="+a,ig_,ig_a,ig_);ig_y("canceledit","m_"+a);return ig_a}function _confirmDel(a,b,c,d){var e=_striptags(_gel("m_"+a+"_title").innerHTML);d=d.replace(/MODULE_TITLE/,'"'+e+'"');confirm(d)&&_del(a,b,c)}function _get_module_title(a){if(typeof a=="object")a=a.id.replace("m_","");else if(typeof a=="string")a=a.replace("m_","");var b=_gel("m_"+a+"_title");return b?_striptags(b.innerHTML):""}function _get_all_modules(){var a=ig_aa(),b=[],c=/^m_[0-9]+$/;for(var d=0;d<a.length;d++){b[d]=[];var e=b[d];for(var f=0;f<a[d].childNodes.length;f++){var g=a[d].childNodes[f];g.tagName=="DIV"&&g.style.display!="none"&&g.id&&c.test(g.id)&&e.push(g)}}if(window.gadgets&&window.gadgets.views&&window.gadgets.views.ViewManager&&window.gadgets.views.ViewManager.getCurrentMaxId){var h=window.gadgets.views.ViewManager.getCurrentMaxId();h&&b.length>0&&h&&b[0].unshift(_gel("m_"+h))}return b}function ig_aa(){var a=_gelsbyregex("DIV",/^c_[0-9]+$/),b=[];for(var c=0;c<a.length;c++)a[c].style.display!="none"&&b.push(a[c]);return b}var ig_z={},ig_A={};function _place(a,b){var c=ig_A[a];if(c){c(b);return}ig_z[a]||(ig_z[a]=[]);ig_z[a].push(b)}function _register_place(a,b){ig_A[a]=b;var c=ig_z[a];if(c){for(var d=0;d<c.length;d++)b(c[d]);ig_z[a]=ig_}}function _del(a,b,c){_xsetp("m_"+a+"_enab=0&m_"+a+"_t="+b);var d=_gel("undel_msg");if(d){_gel("undel_title").innerHTML="""+_get_module_title(a)+"" ";d.style.display="block";var e=_gel("undo_msg");if(e)e.style.display="none";e=_gel("undo_restore_msg");if(e)e.style.display="none"}var f=_gel("m_"+a);if(f)f.style.display="none";ig_g=a;ig_h=c;var g=_gel(c);if(g)g.style.display="";_mod=ig_b;ig_y("delete","m_"+a);return ig_a}function _undel(){if(ig_g==ig_)return;var a="m_"+ig_g,b=_gel(a);if(b){b.style.display="block";_xsetp("undel")}var c=_gel("undel_msg");if(c)c.style.display="none";if(ig_h!=ig_){var d=_gel(ig_h);if(d)d.style.display="none"}ig_g=ig_;ig_h=ig_;ig_y("undelete",a)}function _zm(a,b,c){var d=_gel("m_"+a+"_b");if(d){var e=d.style.display!="none";d.style.display=e?"none":"block";var f=_gel("m_"+a+"_zippy");if(f)f.className=e?f.className.replace(/minbox/,"maxbox"):f.className.replace(/maxbox/,"minbox");var g=c?"mmz":"mz";_xsetp(g+"="+a+":"+(e?"1":"0")+"&t="+b);ig_y(e?"zip":"unzip",a)}return ig_a}var ig_ba="https://www.google.com/accounts";function _enableGS(a,b){a.action=ig_ba+"/CheckCookie";a.method="get";ig_i(a,"service",b);ig_i(a,"continue",document.location);ig_i(a,"skipvpage",ig_b);return ig_b}function _reload(a,b){var c=a-(new Date).getTime();if(c>1000){setTimeout("_reload("+a+")",c);return}if(b)document.location.replace(ig_ca(document.location.href,document.location.pathname));else{document.cookie="IGREL=1";document.location.replace(document.location.href)}}var ig_da=/^([^?#]+)(?:\?([^#]*))?(#.*)?/;function ig_ca(a,b){var c=ig_da.exec(a),d=c[1];if(b=="/")d+="ig";d+="?";var e=c[2];if(e)d+=e;if(!_argsUrl(a).refresh){if(e)d+="&";d+="refresh=1"}var f=c[3];if(f)d+=f;return d}function ig_y(a,b){switch(a){case "delete":case "undelete":case "edit":case "canceledit":case "zip":case "unzip":case "mazimize":case "unmaximize":_IG_TriggerDelayedModuleEvent(b,a);_IG_TriggerDelayedEvent("module"+a,b);break}}function ig_ea(a){_xsetp("pnlo="+(a?1:0))}var _uli,_pnlo,_mpnlo,_pl,_mod,_cbp=ig_a,ig_B=ig_a,_table=ig_,_tabs=ig_;function _upc(){var a=[];_cbp||(a[a.length]=["medit","display",_uli?"":"none"]);a[a.length]=["panelo","display",_pnlo?"":"none"];a[a.length]=["panelc","display",_pnlo?"none":""];if(_mod){a[a.length]=["unmod","display","none"];a[a.length]=["mod","display",""]}else{a[a.length]=["mod","display","none"];a[a.length]=["unmod","display",""]}ig_v(a);_init_drag_drop()}function _init_drag_drop(){if(_pl)if(_cbp||_uli)if(!ig_B&&!_mpnlo){_IG_TriggerCustomEvent("initdrag",_table,_tabs);ig_B=ig_b}}var ig_C=0;function _tp(a){ig_C>0&&clearInterval(ig_C);_pnlo=a;_mod=ig_b;ig_ea(a);_upc();var b=_gel("cpnl"),c=_gel("cpnlc"),d=_gel("nhdr"),e=_gel("ehdr"),f=b.offsetWidth,g,h;if(a){g=c.offsetWidth;h="visible";e.style.display="";d.style.display="none"}else{g=1;h="hidden";e.style.display="none";d.style.display=""}b.style.overflow="hidden";var i=100,j=10,k=0;ig_C=setInterval(function(){var l=k/j,n=f+(g-f)*l;b.style.width=n+"px";k++;if(l>=1){clearInterval(ig_C);ig_C=0;b.style.width=g+"px";b.style.overflow=h}},i/j);return ig_a}function _ts(a,b){var c=_gel(a+b),d;if(c.className=="mlist_open"){c.className="mlist_closed";d="pnlsc"}else{c.className="mlist_open";d="pnlso"}_xsetp(d+"="+_esc(b));return ig_a}function _add_m(a,b){_dlsetp(a,b)}function _add_m_confirm(a,b,c){confirm(b)&&_add_m(a,c)}function _add_f(a){_add_m("n_25="+_esc("url="+_esc(a)))}var ig_D=/^_add_m(_confirm)?\(\"[^"]+\"(, *\"[^"]+\")?\)$/;function _find_feed(a){var b="acd";if(!a){var c=_gelstn("div");if(c)for(var d=0,e;e=c[d];d++)e.id&&e.id.indexOf("ps")==0&&e.className=="mlist_open"&&_ts("ps",e.id.substring(2));if(_gel("add_custom"))a=_gel("add_custom").value}if(!a||a==""){b="advdsrch";a=_gel("add_advd").value}var f=_gel("ffresults");if(f)f.style.display="none";var g=_gel("ffloading");if(g)g.style.display="block";_sendx("/ig/feeds"+ig_k()+"q="+_esc(a)+"&page="+_esc(b),ig_fa,ig_a,ig_);return ig_a}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -