console.log("Mood index--");var throttle=function(t,o,n){var i=null;return function(){var e=arguments;clearTimeout(i),setTimeout(function(){t.apply(o,e)},n||100)}};MOOD.interface={callExt:function(t,o){var n=this;QZFL.lang.isArray(o)||(o=[o]),seajs.use("app/mood_v6/script/msglist_ext",function(e){throttle(function(){e[t].apply(n,o)},e,200)()})}},QZFL.object.extend(MOOD.util,{goProfile:function(e,t){if(e)switch(t+""){case"3":var o="http://rc.qzone.qq.com/myhome/weibo/profile/"+e;window.open(o,"_blank");break;case"1":default:30'].join(""),i={timeout:-1,backgroundColor:QZONE.FP._t.g_OFPLite?"#F5F6F6":"#FFFDF4",contentPadding:1,noQueue:!0,id:"TipsPopup",arrowPoint:1,arrowEdge:1,closeButtonSize:14,closeButtonColor:"red",width:302,height:202,x:-14,y:3},a=QZFL.dom.getXY(frameElement.parentNode),t=QZFL.dom.getXY(e),o=QZONE.FP._t.QZFL.dom.getClientHeight();a[1]+t[1]+220>o+QZONE.FP.getScrollTop()&&(i.arrowPoint=4,i.arrowEdge=3),r.popupId=QZFL.widget.tips.show(n,e,i),setTimeout(function(){QZFL.event.addEvent(document.body,"click",r.hide)},100)},hide:function(){var e=QZFL.widget.tips.instances[r.popupId];QZFL.widget.tips.close(e),QZFL.event.removeEvent(document.body,"click",r.hide),r.popupId=null}};var r=MOOD.mapTips}(),QZFL.object.extend(MOOD.util,{Forward:function(e){QZFL.imports("http://"+siDomain+"/qzone/app/controls/forwardingBox/forwardingBoxFacade.js",function(){QZONE.ICFeeds.App.ForwardingBox.bootstrap("",e),MOOD.sendEvent("retweet")},{charset:"utf-8"})}}),MOOD.getStatPackage=function(){return(window.QZONE&&window.QZONE.FP&&window.QZONE.FP.getStatPackage?QZONE:top.QZONE).FP.getStatPackage()},MOOD.sendPV=function(o){o&&setTimeout(function(){var e="taotao.qzone.qq.com",t=o;if("pengyou.com"==document.domain)switch(e="xiaoyou.qq.com",o){case"title":t="index/twitterv2.php";break;case"mytitle":t="index/twitterv2.php",QZONE.PY&&QZONE.PY.hasLeftBar&&QZONE.PY.hasLeftBar()&&(t="index/twitterv2/tab.php");break;case"guesttitle":t="index/twitterv2/tab.php";break;case"detail":t="index/twitterv2/detail.php";break;case"setting":t="index/twitterv2/setting.php";break;default:t=o}MOOD.getStatPackage().pv(e,"/"+t)},0)},MOOD.TCISDClick=function(e,t,o){t=t||"/",o=o||"taotaoact.qzone.qq.com",window.console&&console.log("TCISD:",e,t,o);try{QZONE.FP._t.TCISD.hotClick(e,o,t)}catch(e){}},MOOD.TCISDClick.batchBind=function(e,o){o=QZFL.object.extend({eventType:"mousedown",url:null,domain:null,container:document},o||{});var n={};QZFL.each(e,function(e,t){n[t]=function(){MOOD.TCISDClick(e,o.url,o.domain)}}),MOOD.batchDelegate(n,o.container,o.eventType,!0)},MOOD.batchDelegate=function(e,t,s,c){s=s||"click",t=t||document,QZFL.each(e,function(a,r){QZFL.event.delegate(t,r,s,function(e){var t,o,n=QZFL.event.getButton(e),i=QZFL.event.getTarget(e);t=i,$e(r).each(function(e){if(!o&&(e==t||QZFL.dom.isAncestor(e,t)))return o=e,!1}),(i=o)&&("click"==s&&0!=n&&((n=i)&&"A"==n.tagName&&0==(n.href||"").indexOf("http://"))||(a(i),"A"!=i.tagName||c||QZFL.event.preventDefault(e)))})})},MOOD.sendEvent=function(e){e&&(e=e+"/v"+MOOD.version,setTimeout(function(){MOOD.getStatPackage().pv("taotaoact.qzone.qq.com","/"+e)},0))},MOOD.sendHotClick=function(e){e&&setTimeout(function(){MOOD.getStatPackage().hotClick(e,"taotaoact.qzone.qq.com")},0)},MOOD.pageStart=function(e){e(),MOOD.event.init()};var mood=mood||{};function searchHot(e){13==QZFL.event.getEvent().keyCode&&(QZONE.FP.sendPV("taotao.qzone.qq.com","search"),MOOD.topic.search(e.value))}mood.jumpPage=MOOD.jumpPage=function(e,t){MOOD.sendEvent("clickname"),MOOD.util.goProfile(e,t)},MOOD.jumpToAudit=function(){window.open("http://user.qzone.qq.com/"+QZONE.FP.getQzoneConfig("loginUin")+"/mood/jumpToAudit","_blank")},MOOD.resizeImage=function(e,t,o){var n;1!=e.loaded&&(e.loaded=!0,(n=new Image).onload=function(){n.width>t?(e.width=t,e.style.width=t+"px"):(e.width=n.width,e.style.width=n.width+"px"),e.style.height="auto",e.style.display="block"},n.src=e.src)},MOOD.Music=MOOD.Music||{},MOOD.Music.getAlbumImage=function(e){return 0<(e=e||0)?["//edu.qzs.qq.com/music/photo/album/",e%100,"/150_albumpic_",e,"_0.jpg"].join(""):"//music.qq.com/musicbox/img/uccpic_error.jpg"},MOOD.Setting=function(e,o,n,i){for(var a,r=["sign_sync_ss","ss_sync_sign","ss_sync_tweet","ss_sync_share","sync_view"],s={},c=0;cqboss_ad_image',img_pid:"",img_container:null,img_close_btn:null,img_onload:t,img_onclose:t,text_pid:"",text_container:null,text_onload:t,board_id:2096,support_multi:!1},e=e||{},QZFL.object.extend(this.config,e)}e.prototype.addImgOnLoadListener=function(e){"function"==typeof e&&(this.config.img_onload=e)},e.prototype.addTextOnLoadListener=function(e){"function"==typeof e&&(this.config.text_onload=e)},e.prototype.show=function(){var c=this,t=this.config.board_id,e={uin:QZONE.FP.getQzoneConfig("loginUin"),board_id:t},e=new QZFL.JSONGetter("http://boss.qzone.qq.com/fcg-bin/fcg_get_strategy",null,e,"utf-8");e.onSuccess=function(e){0==(e=e||{}).code&&e.data[t]&&0●"),i[r].objExtData=new Function("return "+i[r].extdata)(),i[r].objExtData.bosstrace=i[r].bosstrace;function s(){$e(".pop_apps_wrap div.switcher span").each(function(e,t){t==o?$e(e).addClass("current"):$e(e).removeClass("current")})}a.push('
'),$e(".pop_apps_wrap div.switcher").setHtml(a.join("")),s(),c.switchTimer=setInterval(function(){++o>i.length-1&&(o=0),c.config.img_container.innerHTML=format(t,i[o].objExtData),s()},5e3)}else $e(".pop_apps_wrap div.switcher").setHtml("");c.config.img_onload()}}(e.data[t].items)},e.send("_Callback")},window.Sponsors=e,$("qzone_shuoshuo_img_1"),$("qzone_shuoshuo_close_1"),$("qzone_shuoshuo_imgtxt_1"),$("bottom-sponsor-img"),$("bottom-sponsor-close")}(),MOOD.topic={updateCount:function(e,t){for(var o=(t=t||[]).length,i=[],n=0;n)+?#)/g),c="",l="",d=0;d)+?)#/g,function(e,t,o){n=!0;return'#'+escHTML(t)+"#"}),!n){t="",mentions=l.split(/(@(?!^\{)[\{]uin\:[a-z\d]+\,nick\:[^}]*[\}])/g);for(var m=0;m{name}',{uin:t,name:escHTML(o)})):escHTML(e)}),i||(mention=mention.replace(/((?:https|ftp|http):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,'$1')),o+=mention;t=o}c+=t}return QZFL.FP.removeUBB(c)},getContent:function(e,t,o,n,i,a){var r=MOOD.util.getContent;return r.tmpFn=r.tmpFn||tmpl(MOOD.tmp.content),r.tmpFn({items:e,tid:o,uin:n,certified:i,nosafecheck:a||0})||MOOD.util.HTML(t)},parseContent:function(e){for(var t=(e=(e||"")+"").split(/(#(?:.|)+?#)/g),i=!1,o="",n="",a=0;a)+?)#/g,function(e,t,o){i=!0;var n=QZONE.FP.removeUBB(QZONE.FP.replaceIconTag(escHTML(t)));return'#'+n+"#"}),i||(o=QZONE.FP.removeUBB(QZONE.FP.replaceIconTag(escHTML(tag)))),n+=o;return n},getRemark:function(e,t){var o;return QZONE.FP.getRemarkList(function(e){o=e,$e(".remarkUin").each(function(){var e=$e(this),t=e.getAttr("uin");o[t]&&e.setHtml(escHTML(restHTML(o[t])))})}),this.getRemark=function(e,t){return o&&o[e]?escHTML(restHTML(o[e]||t||e)):['',escHTML(t||e),""].join("")},this.getRemark(e,t)},applyAccess:function(e){var t="http://"+QZONE.FP._t.g_W_Domain+"/cgi-bin/tfriend/applyentryright.cgi",e=new QZONE.FormSender(t,"POST",{vUin:QZONE.FP._t.g_iLoginUin,hUin:e,fupdate:1,rd:Math.random()},"utf-8");e.onSuccess=function(e){"succ"==e.ret||0==e.code?QZONE.FP.showMsgbox('申请已发送,请注意查看“好友消息通知"',4,2e3):QZONE.FP.showMsgbox(e.msg||e.message,1,2e3)},e.onError=function(){QZONE.FP.showMsgbox("很抱歉,当前使用的人数过多,请休息一会儿再来",1,2e3)},e.send()}}),function(e){function o(e,t){return e=/\W/.test(e)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+e.replace(/[\r\t\n]/g," ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');"):n[e]=n[e]||o(document.getElementById(e).innerHTML),t?e(t):e}var n={};e.tmpl=o}(window),function(){var d;d||((d=function(e,t,o){if("[object RegExp]"!==Object.prototype.toString.call(t))return d._nativeSplit.call(e,t,o);var n,i,a,r,s=[],c=0,l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":""),t=RegExp(t.source,l+"g");if(e+="",d._compliantExecNpcg||(n=RegExp("^"+t.source+"$(?!\\s)",l)),void 0===o||+o<0)o=1/0;else if(!(o=Math.floor(+o)))return[];for(;(i=t.exec(e))&&!(c<(a=i.index+i[0].length)&&(s.push(e.slice(c,i.index)),!d._compliantExecNpcg&&1=o));)t.lastIndex===i.index&&t.lastIndex++;return c===e.length?!r&&t.test("")||s.push(""):s.push(e.slice(c)),s.length>o?s.slice(0,o):s})._compliantExecNpcg=void 0===/()??/.exec("")[1],d._nativeSplit=String.prototype.split),String.prototype.split=function(e,t){return d(this,e,t)}}();var resizeImage=function(e,t,o){var n;1!=e.loaded&&(e.loaded=!0,(n=new Image).onload=function(){n.width>t?(e.width=t,e.style.width=t+"px"):(e.width=n.width,e.style.width=n.width+"px"),e.style.height="auto",e.style.display="block"},console.log("resizeImage",this),n.src=e.src)},resizeImageHandler=function(){var o,n,i,a=this,e=this.getAttribute("data-src"),t=(this.getAttribute("data-limit")||"").split(",");this.width,this.height;2==t.length&&(o=parseInt(t[0],10),n=parseInt(t[1],10),(i=new Image).onload=function(){var e=this.width/this.height,t=o/n;this.width>o&&this.height>n&&(e<=t?a.width=o:a.height=n),a.style.display="block",i.onload=null},i.src=e)};!function(){window.controller={tab:MOOD.env.tab,uin:MOOD.env.uin,login_uin:""+QZONE.FP.getQzoneConfig("loginUin"),login_name:""+QZONE.FP.getQzoneConfig("loginUin"),updateLoginInfo:function(e){console.log("updateLoginInfo",e),e&&"object"==typeof e.logininfo&&(this.login_name=e.logininfo.name,this.login_uin=e.logininfo.uin)},getTitle:function(){return""},updateTitle:function(e){e&&e.usrinfo&&e.usrinfo.uin!=QZONE.FP.getQzoneConfig("loginUin")&&(e=escHTML(e.usrinfo.name)+"的说说",$e(".mod_tab .friend_feed_head").setHtml(e).show())},getDetailSuc:function(e){if(e.code<0)return{code:e.code,msg:e.message};var t={};return t.source_name="朋友网"!=e.source_name&&"QQ空间"!=e.source_name||isQzone?e.source_name:"",t.rt_source_name=("朋友网"!=e.rt_source_name&&"QQ空间"!=e.rt_source_name||isQzone)&&e.rt_source_name||"",t.auth_flag=e.auth_flag||0,t.right=e.right||1,t.commentlist=e.commentlist||[],t.replies=e.replies||e.msgTotal||t.commentlist.length,t.total=1,t.msglist=[e],o.updateTitle(e),t},getProfileHtml:function(){var e=window._preloadCache;return e&&e.usrinfo?(e.usrinfo.msgnum=e.usrinfo.msgnum||0,tmpl(MOOD.tmp.profile)(e.usrinfo)):""},getLastCommentHtml:function(){}};var o=controller}();var t=t||controller;controller.image_displayDetail=function(e){var t=e.comment.getTopic();QZONE.FP.openViewer({appid:311,from:"shuoshuo",ownerUin:t.getHostUin(),topicId:t.getId()+"_1",picKey:t.getId().split("_")[1]+","+e.id,pre:e.url,timeStamp:new Date})},QZFL.object.extend(controller,{commentModuleConfig:{commentListConfig:{pageSize:5,showPaginationForm:!1,showAllLinkConfig:{innerTemplate:'查看全部条评论',urlTemplate:function(e){var t="";return e.getPlatform&&(t=e.getPlatform()),e?"qq.com"==document.domain?"http://user.qzone.qq.com/"+e.getByPath("poster.id")+"/mood/"+e.getId()+"."+t:"http://baseapp.pengyou.com/"+e.getByPath("poster.id")+"/mood/"+e.getId()+"."+t:""},onClick:function(e){e=e.topic;if("detail"==t.tab)return e.setByPath("comments.pageNum",1),!1;e="//qzs.qq.com/qzone/app/mood_v6/html/index.html?uin="+e.getByPath("poster.id")+"&tid="+e.getId().split("_").pop()+"&need_cmt=1&source="+e.getByPath("platform")||0;return-1',escHTML(e),""].join(""):""}}}},commentBoxConfig:{contentMaxLength:500,emoticonSupported:!0,presentTargetUin:0,checkBoxConfig:[],needPrivateComment:1},appid:311},updateFeeds:function(e){QZFL.lang.isArray(e)?QZFL.each(e,function(e){t.updateFeed(e)}):t.updateFeed(e)},updateFeed:function(e){var o="mood_"+e.tid;if(MOOD.DataStorage.get(e.tid))QZFL.console.print(o+" existed.");else{QZFL.console.print("updateFeed: "+o),e.created_time=(new Date).valueOf(),e.source_name="朋友网"!=e.source_name&&"QQ空间"!=e.source_name||isQzone?e.source_name:"",e.rt_source_name="朋友网"!=e.rt_source_name&&"QQ空间"!=e.rt_source_name||isQzone?e.rt_source_name:"";var n=MOOD.DataStorage.set(e.tid,e),o=document.createElement("div");o.innerHTML=n.getItemHTML();n=$e(o).find("li").elements[0],o=$("msgList");o.childNodes[0]?o.insertBefore(n,o.childNodes[0]):o.appendChild(n),t.initCommentModule(e),t.loadVisiableItems();try{var i=$e(".feed_num a").getHtml(),i=parseInt(i,10);i++,$e(".feed_num a").setHtml(i),$e(".empty_pic_message").hide()}catch(e){}}},renderLikeButton:function(e){$e(".mod_feed_lst#msgList li.feed").each(function(){var e=this.getAttribute("data-tid"),e=MOOD.DataStorage.get(e);e&&t.likeButton(e)})},likeButton:function(e){var t,o,n,i,a,r,s,c=$("like_btn_"+e.data.tid);c&&1!=c.getAttribute("data-handled")&&(t=c,a=(i=e).data,s=r="",(e=1==a.pictotal)&&(o=a.pic[0].unilikekey,n=a.pic[0].curlikekey),s=a.rt_tid&&a.rt_nosrc?(r=["http://user.qzone.qq.com/119/mood/",a.rt_tid,".",a.rt_source].join(""),["http://user.qzone.qq.com/",a.uin,"/mood/",a.tid,".",a.t1_source].join("")):a.rt_tid?(r=["http://user.qzone.qq.com/",a.rt_uin,"/mood/",a.rt_tid,".",a.rt_source].join(""),["http://user.qzone.qq.com/",a.uin,"/mood/",a.tid,".",a.t1_source].join("")):e&&(o||n)?(r=o||n,n||o):r=["http://user.qzone.qq.com/",a.uin,"/mood/",a.tid,".",a.t1_source].join(""),s={key:["http://user.qzone.qq.com/",a.owneruin||a.uin,"/mood/",a.tid].join(""),uniKey:r,curKey:s},s=i.getLikeKeys(),QZONE.FP.addUGCLike(t,{uniKey:s.uniKey,curKey:s.curKey},{btnStyle:3,template:{keepInSameRow:!0,refreshTipBack:function(e,t){var o;!document||(o=document.getElementById("feed_like_"+a.tid))&&(t?(o.innerHTML=t,o.style.display=""):o.style.display="none")},TIP:['','"0"?>我','"0"?>"0"?>和','{shortNick} ',"{etc}",'"0"?>','","{peopleCount}","",'"0"?>觉得很赞',""].join("")},onLike:function(){try{MOOD.sendEvent("like"+location.pathname)}catch(e){}},onCancelLike:function(){try{MOOD.sendEvent("unlike"+location.pathname)}catch(e){}}}),c.setAttribute("data-handled",1))},isAbleTo:function(e,t){var o=t.getByPath("poster.uin"),n=QZONE.FP.getQzoneConfig("loginUin"),t=t.getByPath("topic.poster.id");return"reportComment"==e?o!=n:"reportReply"!=e&&("removeComment"==e||"removeReply"==e?t==n||o==n:"postReply"==e)},isAbleTo4Share:function(e,o){return"reportComment"!=e&&"reportReply"!=e&&t.isAbleTo(e,o)},extendCommentSync:function(e){if(4<=e.ugc_right)return[];var t=[{checkBoxChecked:0,checkBoxLabel:"同时转发",checkBoxLocalKey:"with_fwd",showCheckBox:1}];return(e.to_tweet||e.wbid)&&QZONE.FP.getUserBitmap(41)&&QZONE.FP.getLoginBitmap(41)&&t.push({checkBoxChecked:0,checkBoxLabel:"点评到微博",checkBoxLocalKey:"to_tweet",showCheckBox:1}),t},adaptMoodCommentData:function(e){for(var t={},o=[],n=0;na/r?c.height=r:c.width=a,void(c.src=ra/r?c.height=r:c.width=a,c.src=this.src},l.src=s?e:d)),$e(this).hasClass("lazyload")&&($e(this).removeClass("lazyload"),this.hasAttribute("data-isvideo")?(m=this.getAttribute("data-src")||"",this.setAttribute("src",m)):(d=this.getAttribute("data-src"),m=this.getAttribute("data-isphoto"),-1t._min_scroll_time&&(o=0),t._scroll_timer=window.setTimeout(function(){t._last_scroll_time=(new Date).getTime(),t.loadVisiableItems();var e=QZONE.FP._t.QZFL.dom.getClientHeight(),o=QZONE.FP._t.QZFL.dom.getScrollTop(),n=QZONE.FP._t.QZFL.dom.getScrollHeight();"feedlist"==t.tab&&n-200t._last_scroll_top&&(t._last_scroll_top=o,t.mmc&&(t.mmc.fetch(),console.log("滚动加载哦")),console.log(n,e+o,e,o)),t._scroll_timer=null},o))},fixNum:function(){seajs.use("app/v8/requests/mood_request/1.0",function(e){e.get({id:"shuoshuoinfo_v6",data:{uin:t.uin},onSuccess:function(e){e&&0<=e.total&&$e(".feed_num a").setHtml(e.total)},onError:function(e){}})})},loadBanner:function(){t.MenuHandler(),isOwner&&QZFL.imports("/qzone/v6/v6_config/moodbanner.js")},updateMenu:function(e){switch(e){case"detail":$e(".feed_wrap .feed_head").show();break;case"weibo":$e(".feed_wrap .feed_head").hide(),$e(".nav_weibo").find("a").addClass("selected");break;case"feedlist":case"mine":case"schedule":$e(".feed_wrap .feed_head").show(),$e(".nav_my").find("a").addClass("selected");break;case"index":$e(".feed_wrap .feed_head").hide(),$e(".nav_home").find("a").addClass("selected");break;case"hot":$e(".feed_wrap .feed_head").hide(),$e(".nav_hot").find("a").addClass("selected");break;default:$e(".feed_wrap .feed_head").hide()}},MenuHandler:function(){QZONE.FP.getUserBitmap(41)&&QZONE.FP.getQzoneConfig("loginUin")||$e(".nav_weibo").addClass("none"),$e(".shuoshuo_menu ul li a").onClick(function(e){var o=QZFL.event.getTarget(e);if("menu_wall"==o.getAttribute("id")||"menu_wall"==o.parentNode.getAttribute("id"))return!0;QZFL.event.preventDefault(e);e=$e(this).getAttr("data-tab");return $e(".shuoshuo_menu ul li a").removeClass("selected"),$e(this).addClass("selected"),t.tab=e,isQzone||"feedlist"!=t.tab||(t.tab="mine"),"hot"==t.tab?t.getHotList(1,function(){t.load(t.tab)}):t.load(t.tab),t.updateMenu(t.tab),t.updateTitle(),t.resetScrollHandler(),!1}),t.updateMenu(t.tab)},userTracker:function(e){var t;"qq.com"==document.domain&&(t={uin:"",mod:0,src:9,id:""},QZFL.object.extend(t,e),(t=new QZFL.FormSender("http://g.qzone.qq.com/cgi-bin/friendshow/cgi_content_visitor","POST",t,"utf-8")).onSuccess=function(e){},t.send())}});var t=t||controller;QZFL.object.extend(controller,{load:function(i,e){window._preloadCache&&9999==window._preloadCache.code?window._preloadCache=null:window._preloadCache&&0==window._preloadCache.code&&(window._preloadCache.msglist=window._preloadCache.msglist||window._preloadCache.posts),t.updateTitle(window._preloadCache),t.updateCurrentTabStyle(i),MOOD.commentModule={},MOOD.load("*",function(e){t.mmc=new e.MoodModelCollection({uin:t.uin,type:i,hostUin:t.uin,initialData:window._preloadCache,success:function(e){if(!window._preloadCache){e.setConfig({mood:{comment:{max_comments_count:0}}});var o=document.getElementById("msgList"),n=e.getPagination();if("feedlist"==t.tab&&1',"

{text}

","",'
','
','','播放',"
","
"].join(""),e=format(e,t),$("rec_vedio").innerHTML=e,$e("#rec_vedio").removeClass("none"))},e.onError=function(e){},e.send("_Callback")},dolike:function(t){var e,o=t&&t.getAttribute("key");o&&(e="http://"+top.g_W_Domain+"/cgi-bin/likes/internal_dolike_app",sd=new QZFL.FormSender(e,"post",{opuin:top.g_iLoginUin,unikey:o,curkey:o,from:0},"gb2312"),sd.onSuccess=function(e){0==e.ret&&(e='看详情',e=format('看详情',{key:o}),$e(t).find(".topic_op").setHtml(e))},sd.send())},getEmptyPageTip:function(){var e="";switch(t.tab){case"weibo":e='';break;case"index":e='';break;case"feedlist":case"mine":e=isOwner?'':'';break;case"schedule":e='';break;case"detail":e="该条说说已被删除"}return e},reportPV:function(){switch(t.isIndex=!1,t.tab){case"detail":MOOD.sendPV("detail");break;case"list":MOOD.sendPV("microblog");break;case"mine":isOwner?MOOD.sendPV("mytitle"):MOOD.sendPV("guesttitle");break;case"timer":MOOD.sendPV("timer");break;case"index":MOOD.sendPV("title");break;default:MOOD.sendPV(t.tab)}},reportSpeed:function(e){var t,o;function n(e){var t,o=[];for(t in e)e.hasOwnProperty(t)&&""!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]));return o.join("&")}(e=e||{}).points=e.points||{},e.points.siteName&&e.points.pageName&&e.points[24]?(e.points.flag5=1,t=n({appid:e.appid||"20141",appkey:e.appkey||"c373ba4a1ce77b27601e887e9f8eb3f4",speedparams:n(e.points),apn:e.apn||"wifi",device:e.device||"iPhone",platform:e.platform||"ios",app:e.app||"qq",_:Math.random()}),(new Image).src="https://huatuo.weiyun.com/report.cgi?"+t,window.isAlpha&&((o=new XMLHttpRequest).open("POST","https://h5.qzone.qq.com/log/post/speedlog",!0),o.setRequestHeader("Content-Type","text/plain"),o.withCredentials=!0,o.send("speedlog"+e.points.pageName+": "+JSON.stringify(e.points,null,2)+"\r\n"),(new Image).src="https://h5.qzone.qq.com/log/post/speedlog?"+t),console.log("上报成功:"),console.log(e.points)):console.log("需要siteName,pageName,24号上报点")},showReview:function(){var e=window._preloadCache,t=$("censor_count");t&&e&&(t.innerHTML="当前待审核评论 ("+(e.censor_count||0)+")")},getLocalDb:function(e){if(QZONE.FP.noShareDb)try{return QZONE.FP.noShareDb.get(e)}catch(e){}return""},setLocalDb:function(e,t){if(QZONE.FP.noShareDb)try{return QZONE.FP.noShareDb.set(e,t),!0}catch(e){}return!1},getHotPageNum:function(){var e=t.getLocalDb("mood_hot_page_time");if(e){function o(e){return Math.floor((e-18e5)/864e5)}var n=QZONE.FP.getSvrTime();if(o(parseInt(e))==o(n.getTime())){n=t.getLocalDb("mood_hot_page_num");return(n=parseInt(n))?n+1:1}}return 1},getHotList:function(a,r){var s=t.getHotPageNum(),e=OOP.tpl.format("//{{siDomain}}/qzone_v6/act/hotTopic/top20_{{random}}.js",{siDomain:siDomain,random:s}),e=new QZFL.JSONGetter(e,null,{},"utf-8");e.onSuccess=function(e){for(var o=[],n=window._LocalCacheCallbackData=e,i=0;i"),rd:Math.random()},e=new QZFL.JSONGetter("http://rsh.qzone.qq.com/cgi-bin/user/qz_opcnt2_sh",null,e,"utf-8");e.onSuccess=function(e){if(0==e.code){e.data=e.data||[];for(var t=0;t