Files
deepdata/my_ops/markitdown_parser/news_files/article-news_togC.js
沃巴蒂 ff22ed3a8b feat(deepdata): 引入修改密码、文件预览组件与清洗算子增强,deepflow 改名为 deep-flow
本次同步 09-12 至 09-28 的代码变更,主要内容:

新增功能
- 修改密码:后端新增 ChangePasswordRequest DTO 与UserController/UserService
  对应接口,前端新增 ChangePasswordDialog 并在 Header 接入入口
- 文件预览组件重构:file-preview 目录拆分出 VideoPreview(支持 blobUrl 直传)、
  ImagePreview、AudioPreview,index.tsx 统一调度各类型预览器
- 新增 my_ops 算子模块:markitdown_parser、mineru_pdf_parser、text_quality_evaluator
- 新增 tools/minio-file-server MinIO 文件服务

功能增强
- 数据清洗:cleaning_task_service/scheduler/routes 重构,
  data_juicer_executor 与 wrapper 增强,OperatorTable/LogsTable/TaskDetail 同步调整
- 数据标注:annotation sync.py、project.py 接口与schema 更新
- 数据采集、算子市场、首页与菜单路由相关页面调整
- DataJuicer 算子接入(useOperatorOperations、dj_ops_schema)

结构调整
- deepflow/ 更名为 deep-flow/(419 个文件重命名)
- 新增 helm 部署编排、GitHub Actions 之外的自建镜像构建脚本

未纳入本次提交
- scripts-backup/、runtime/python-executor-backup/、components_backup/(备份目录)
- *.backup*、__pycache__ 产物
- zh_core_web_sm-3.8.0-py3-none-any.whl(46MB 构建产物)
- DataX/(内嵌独立仓库,远程亦未收录其源码)
2026-10-03 22:44:56 +08:00

1 line
44 KiB
JavaScript

!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="//simg.sinajs.cn/products/news/items/2017/pc_news_article/",e(e.s=27)}([function(t,e){!function(){function e(t,e){return(/string|function/.test(typeof e)?c:r)(t,e)}function n(t,e){return"string"!=typeof t&&(e=typeof t,"number"===e?t+="":t="function"===e?n(t.call(t)):""),t}function i(t){return p[t]}function o(t){return n(t).replace(/&(?![\w#]+;)|[<>"']/g,i)}function a(t,e){if(m(t))for(var n=0,i=t.length;i>n;n++)e.call(t,t[n],n,t);else for(n in t)e.call(t,t[n],n)}function s(t,e){var n=/(\/)[^\/]+\1\.\.\1/,i=("./"+t).replace(/[^\/]+$/,""),o=i+e;for(o=o.replace(/\/\.\//g,"/");o.match(n);)o=o.replace(n,"/");return o}function r(t,n){var i=e.get(t)||d({filename:t,name:"Render Error",message:"Template not found"});return n?i(n):i}function c(t,e){if("string"==typeof e){var n=e;e=function(){return new u(n)}}var i=l[t]=function(n){try{return new e(n,t)+""}catch(t){return d(t)()}};return i.prototype=e.prototype=h,i.toString=function(){return e+""},i}function d(t){var e="{Template Error}",n=t.stack||"";if(n)n=n.split("\n").slice(0,2).join("\n");else for(var i in t)n+="<"+i+">\n"+t[i]+"\n\n";return function(){return"object"==typeof console&&console.error(e+"\n\n"+n),e}}var l=e.cache={},u=this.String,p={"<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","&":"&#38;"},m=Array.isArray||function(t){return"[object Array]"==={}.toString.call(t)},h=e.utils={$helpers:{},$include:function(t,e,n){return t=s(n,t),r(t,e)},$string:n,$escape:o,$each:a},f=e.helpers=h.$helpers;e.get=function(t){return l[t.replace(/^\.\//,"")]},e.helper=function(t,e){f[t]=e},t.exports=e}()},function(t,e,n){"use strict";t.exports={getNode:function(t){return $('[node-type="'+t+'"]')},cookie:function(){var t={};return t.getCookie=function(t){t=t.replace(/([\.\[\]\$])/g,"\\$1");var e=new RegExp(t+"=([^;]*)?;","i"),n=document.cookie+";",i=n.match(e);return i?unescape(i[1])||"":""},t.setCookie=function(t,e,n,i,o,a){var s=[];if(s.push(t+"="+escape(e)),n){var r=new Date,c=r.getTime()+36e5*n;r.setTime(c),s.push("expires="+r.toGMTString())}i&&s.push("path="+i),o&&s.push("domain="+o),a&&s.push(a),document.cookie=s.join(";")},t.deleteCookie=function(t){document.cookie=t+"=;expires=Fri, 31 Dec 1999 23:59:59 GMT;"},t}(),addAnimate:function(t,e,n){var i=e||"",o=["animation","WebkitAnimation","OAnimation","msAnimation","MozAnimation"],a=function(){for(var e,n=o.length,i=0;i<n;i++)if(e=o[i],void 0!==t[0].style[e])return e;return!1}(),s={animation:"animationend",WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",MozAnimation:"mozAnimationEnd"}[a];a in t[0].style?(t.addClass(i),t.on(s,function(){t.off(s),t.removeClass(i),n&&n()})):n&&n()}}},function(t,e,n){"use strict";var i=n(1),o=function(t){var e={wrap:"",start:"",end:"",fixedClass:"",onFixed:function(){},onUnFixed:function(){}};this.options=$.extend(e,t),this.init()};o.prototype={init:function(){var t=this,e=t.options;t.obj=$("#"+e.wrap),t.startObj=$("#"+e.start),""!=e.end&&(t.endObj=$("#"+e.end)),this.bindEvent()},bindEvent:function(){var t=this,e=t.options;$(window).on("scroll",function(){var n=$(window).scrollTop(),o=t.startObj.offset().top;if(""!=e.end){var a=t.endObj.offset().top;t.endObj.offset().top,t.obj.height()}""!=e.end&&a>o?n<o?(t.obj.removeClass(e.fixedClass),t.obj.attr("data-isFix","0"),e.onUnFixed&&e.onUnFixed.call(t)):n>=o&&n<=a?"1"!=t.obj.attr("data-isFix")&&(t.obj.attr("data-isFix","1"),setTimeout(function(){$(window).scrollTop()>=o&&$(window).scrollTop()<=a&&(t.obj.addClass(e.fixedClass),e.onFixed&&e.onFixed.call(t),i.addAnimate(t.obj,"fadeInTop",function(){}))},600)):n>a&&(t.obj.attr("data-isFix","0"),i.addAnimate(t.obj,"fadeOutTop",function(){t.obj.removeClass(e.fixedClass)}),e.onUnFixed&&e.onUnFixed.call(t)):""==e.end&&(n>=o?(t.obj.addClass(e.fixedClass),e.onFixed&&e.onFixed.call(t)):(t.obj.removeClass(e.fixedClass),e.onUnFixed&&e.onUnFixed.call(t)))})}},t.exports=o},function(t,e,n){"use strict";var i=n(0);i.helper("dateFormat",function(t,e){t=new Date(t);var n={M:t.getMonth()+1,d:t.getDate(),h:t.getHours(),m:t.getMinutes(),s:t.getSeconds(),q:Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};return e=e.replace(/([yMdhmsqS])+/g,function(e,i){var o=n[i];return void 0!==o?(e.length>1&&(o="0"+o,o=o.substr(o.length-2)),o):"y"===i?(t.getFullYear()+"").substr(4-e.length):e})}),i.helper("titleFormat",function(t,e){var n="",i=2*e;return t+="",e-=0,"[object Number]"===Object.prototype.toString.call(i)&&!isNaN(i)&&t.replace(/[^\x00-\xff]/g,"01").length>i?(Array.prototype.forEach.call(t.split(""),function(t){i<=1||(/[^\x00-\xff]/.test(t)?i-=2:i--,n+=t)}),n+"..."):t}),i.helper("resizeImg",function(t,e){return t?"//img.mix.sina.com.cn/auto/resize?img="+encodeURIComponent(t)+"&size="+e+"_0":""})},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";n(8);var i=n(9);t.exports={init:function(){new i("search_type","search_type_div");var t=document.cheadSearchForm;if(t){var e=t.c,n=t.q,o=function(){t.submit()},a=function(){return"news"===e.value};new searchsUggest({input:n,maxLen:10,placeholderStr:"请输入关键词",showHotList:a,showSuggestList:a,onSelect:o}),t.onsubmit=function(){var t=this.q.value;if(!t||"请输入关键词"==t)return alert("请输入搜索关键词!"),this.q.focus(),!1}}}}},function(t,e){},function(module,exports,__webpack_require__){"use strict";function DivSelect(t,e,n){if(this.id=t,this.divId=e,this.divClassName=n||"selectView",this.ele=this.$(this.id),this.ele){var i=this;for(this.status="close",this.parentObj=this.ele.parentNode;"block"!=this.readStyle(this.parentObj,"display")&&this.parentObj.parentNode;)this.parentObj=this.parentObj.parentNode;this.parentObj.style.position="relative";var o=this.absPosition(this.ele,this.parentObj);this.ele.style.visibility="hidden",this.__div=document.createElement("div"),e&&(this.__div.id=e),this.divClassName&&(this.__div.className=this.divClassName),this.parentObj.appendChild(this.__div),this.__div.style.width=this.ele.offsetWidth+"px",this.__div.style.position="absolute",this.__div.style.left=o.left+"px",this.__div.style.top=o.top+"px",this.__div.onclick=function(){i.click()},this.__div_count=document.createElement("div"),this.__div.appendChild(this.__div_count),this.__div_count.className="ds_cont",this.__div_title=document.createElement("div"),this.__div_count.appendChild(this.__div_title),this.__div_title.className="ds_title",this.__div_button=document.createElement("div"),this.__div_count.appendChild(this.__div_button),this.__div_button.className="ds_button",this.__div_list=document.createElement("div"),this.__div.appendChild(this.__div_list),this.__div_list.className="ds_list",this.__div_list.style.display="none",this.__div_listCont=document.createElement("div"),this.__div_list.appendChild(this.__div_listCont),this.__div_listCont.className="dsl_cont",this.list=[];for(var a,s=0;s<this.ele.options.length;s++)a=document.createElement("p"),this.list.push(a),this.__div_listCont.appendChild(a),a.innerHTML=this.ele.options[s].innerHTML,this.ele.selectedIndex==s&&(this.__div_title.innerHTML=a.innerHTML),a.num=s,a.onmouseover=function(){i.showSelectIndex(this.num)},a.onclick=function(){i.select(this.innerHTML)}}}DivSelect.prototype={showSelectIndex:function(t){void 0===t&&(t=this.ele.selectedIndex),void 0!==this.showIndex&&(this.list[this.showIndex].className=""),this.showIndex=t,this.list[this.showIndex].className="selected"},select:function(t){for(var e=0;e<this.ele.options.length;e++)if(this.ele.options[e].innerHTML==t){this.ele.selectedIndex=e,this.ele.onchange&&this.ele.onchange(),this.__div_title.innerHTML=t;break}},setIndex:function(t){t<0||t>=this.list.length||(this.ele.selectedIndex=t,this.ele.onchange&&this.ele.onchange(),this.__div_title.innerHTML=this.list[t].innerHTML)},clickClose:function(t){var e=t.target?t.target:event.srcElement,n=this;do{if(e==n.__div)return;if("BODY"==e.tagName)break;e=e.parentNode}while(e.parentNode);n.close()},keyDown:function(t){var e=this.showIndex;38==t.keyCode&&(e--,e<0&&(e=this.list.length-1),this.showSelectIndex(e),this.stopDefault(t)),40==t.keyCode&&(e++,e>=this.list.length&&(e=0),this.showSelectIndex(e),this.stopDefault(t)),13!=t.keyCode&&9!=t.keyCode||(this.setIndex(e),this.stopDefault(t),this.close()),27==t.keyCode&&this.close()},open:function(){var t=this;this.showSelectIndex(),this.__div_list.style.display="block",this.status="open",this.__closeFn=function(e){t.clickClose(e)},this.__keyFn=function(e){t.keyDown(e)},this.addEvent(document,"click",this.__closeFn),this.addEvent(document,"keydown",this.__keyFn)},close:function(){this.__div_list.style.display="none",this.status="close",this.delEvent(document,"click",this.__closeFn),this.delEvent(document,"keydown",this.__keyFn)},click:function(){"open"==this.status?this.close():this.open()},$:function $(objName){return document.getElementById?eval('document.getElementById("'+objName+'")'):eval("document.all."+objName)},addEvent:function(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n,!1)},delEvent:function(t,e,n){t.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener(e,n,!1)},readStyle:function(t,e){if(t.style[e])return t.style[e];if(t.currentStyle)return t.currentStyle[e];if(document.defaultView&&document.defaultView.getComputedStyle){return document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}return null},absPosition:function(t,e){var n=t.offsetLeft,i=t.offsetTop,o=t.offsetParent,a="";try{for(;o.id!=document.body&&o.id!=document.documentElement&&o!=e&&null!=o;)a+=o.tagName+" , ",o=o.offsetParent,n+=o.offsetLeft,i+=o.offsetTop}catch(t){}return{left:n,top:i}},stopDefault:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1}},module.exports=DivSelect},function(t,e,n){"use strict";var i=n(11),o=n(12),a=n(2);t.exports={init:function(){new i({docid:SINA_TEXT_PAGE_INFO.docID}),new o,new a({wrap:"top_bar",start:"top_bar_wrap",end:"article-bottom",fixedClass:"top—bar-fixed"})}}},function(t,e,n){"use strict";var i=n(1),o=function(t){var e={btnNode:"add-fav",docId:"",addedClass:"favorited",checkApi:"//fav.mix.sina.com.cn/api/fav/check",addApi:"//fav.mix.sina.com.cn/api/fav/add",onClick:function(){},afterCheck:function(){},afterAdd:function(){}};this.options=$.extend(e,t),this.init()};o.prototype={init:function(){var t=this,e=t.options;t.btnAdd=i.getNode(e.btnNode),t.bindEvent(),t.check()},bindEvent:function(){var t=this,e=t.options;t.btnAdd.on("click",function(n){if(e.onClick.call(this,n),!t.favorited)if(window.SINA_OUTLOGIN_LAYER&&SINA_OUTLOGIN_LAYER.isLogin())t.favorited||(t.add(),n.preventDefault());else if(window.SINA_USER_PANEL){var i=SINA_USER_PANEL;try{i.setOutLoginMiddle(),i.getOutLogin().show()}catch(t){e.error({type:"no_login_init",msg:"user_panel is not inited!"})}}else e.error({type:"no_login_panel",msg:"user_panel is not loaded!"})})},triggerToggle:function(){var t=this,e=t.btnAdd,n=t.options;t.favorited?(e.addClass(n.addedClass).attr("href","http://my.sina.com.cn/#location=fav"),e.attr("target","_blank")):(e.removeClass(n.addedClass).attr("href","javascript:;"),e.attr("target",""))},check:function(){var t=this,e=t.options,n=document.domain;document.domain="sina.com.cn",t.iframePost(e.checkApi,{docid:e.docid,category:"1",source:"1"},function(e){var i=!1;e&&e.result&&e.result.status&&12===e.result.status.code&&(i=!0,t.favorited=i,t.triggerToggle(),t.opt.afterCheck.call(t),document.domain=n)},"scCheckCallback")},add:function(){var t=this,e=t.options,n=document.domain;document.domain="sina.com.cn",t.iframePost(e.addApi,{docid:e.docid,category:"1",source:"1"},function(e){var i=!1;e&&e.result&&e.result.status&&0===e.result.status.code&&(i=!0,t.favorited=i,t.triggerToggle(),t.opt.afterAdd.call(t),document.domain=n)},"scAddCallback")},iframePost:function(t,e,n,i){var o=$("body"),a=Math.abs((new Date).getTime())+"_"+Math.round(1e8*Math.random()),s="ijax_iframe_"+a,r=$('<iframe style="position:absolute;top:-9999px;height:0px;overflow:hidden;" frameborder="0" name="'+s+'" id="'+s+'"></iframe>'),c=function(t){var e=[];for(var n in t){var i=t[n];e.push('<input type="hidden" name="'+n+'" value="'+i+'" />')}return e.join("")}(e);i=i||"ijax_"+a,window[i]=function(t){"function"==typeof n&&n(t),setTimeout(function(){d.remove(),r.remove()},1e3)};var d=$('<form action="'+t+"?callback="+i+'" method="post" target="'+s+'">'+c+"</form>");o.append(r),o.append(d),d.submit()}},t.exports=o},function(t,e,n){"use strict";var i=n(1),o=function(t){var e={currentSize:18,article:"article_content",adjustFontSizeUp:"increase-fs",adjustFontSizeDown:"decrease-fs",cookieKey:"NewsArtiFSize",normalClass:"article-18",upClass:"article-20",downClass:"article-16"};this.options=$.extend(e,t),this.init()};o.prototype={init:function(){var t=this,e=t.options;t.articleBody=$("#"+e.article),t.UpBtn=i.getNode(e.adjustFontSizeUp),t.DownBtn=i.getNode(e.adjustFontSizeDown);var n=i.cookie.getCookie(e.cookieKey);n=window.parseInt(n),n||(n=18),t.options.currentSize=n,t._render(),this._bindEvent()},_render:function(){var t=this,e=t.options;switch(t.articleBody.removeClass(e.upClass).removeClass(e.downClass).removeClass(e.normalClass).addClass("article-"+t.options.currentSize),t.options.currentSize){case 20:t.DownBtn.removeClass("disable").attr("title","减小字号"),t.UpBtn.addClass("disable").attr("title","");break;case 18:t.DownBtn.removeClass("disable").attr("title","减小字号"),t.UpBtn.removeClass("disable").attr("title","");break;case 16:t.DownBtn.addClass("disable").attr("title","减小字号"),t.UpBtn.removeClass("disable").attr("title","")}},_bindEvent:function(){var t=this;t.UpBtn.on("click",function(e){var n=$(this),o=n.attr("ani-click");t.options.currentSize<20&&(t.options.currentSize+=2,i.cookie.setCookie(t.options.cookieKey,t.options.currentSize,240,"/","news.sina.com.cn"),i.addAnimate($(this),"ani "+o,function(){t._render()})),e.preventDefault()}),t.DownBtn.on("click",function(e){var n=$(this),o=n.attr("ani-click");t.options.currentSize>16&&(t.options.currentSize-=2,i.cookie.setCookie(t.options.cookieKey,t.options.currentSize,240,"/","news.sina.com.cn"),i.addAnimate($(this),"ani "+o,function(){t._render()})),e.preventDefault()})}},t.exports=o},function(t,e,n){"use strict";t.exports={init:function(){$('[node-type="toTop"]').on("click",function(){$("body,html").animate({scrollTop:0},500)}),$('[node-type="toRelated"]').on("click",function(){var t=$("#tab_related").offset().top;$("body,html").animate({scrollTop:t},500)}),$(window).on("scroll",function(){$(document).scrollTop()>=800?($('[node-type="sittingA"]').hide(),$('[node-type="toTop"]').removeClass("fadeOut")):($('[node-type="sittingA"]').show(),$('[node-type="toTop"]').addClass("fadeOut"))})}}},function(t,e,n){"use strict";var i=n(15);if(document.getElementById("artibody"))var o=document.getElementById("artibody").getElementsByTagName("img")[0];var a=$(".main-title").html().replace(/<[^<>]*?font[^<>]*?>/gi,""),s=$('meta[name="mobile-agent"]').eq(0).attr("content").split("=")[2]||window.location.href;new i("#top_bar",{url:s,wxurl:s,img:o?o.src:"",title:a});$('[node-type="comment"]').on("click",function(){var t=$("#bottom_sina_comment").offset().top;$("body,html").animate({scrollTop:t},500)})},function(t,e,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function e(){var t,e;return void 0===arguments[1]?(t=document,e=arguments[0]):(t=arguments[0],e=arguments[1]),document.querySelector?t.querySelector(e):e.indexOf("#")>=0?document.getElementById(e.slice(1)):e.indexOf(".")>=0?n(e.slice(1),t)[0]:t.getElementsByTagName(e)[0]}function n(t,e,n){if(!t)return[];e=e?"[object String]"===Object.prototype.toString.call(e)?document.getElementById(e):e:document.body,n=n||"*";for(var i,o,a=[],s=e.getElementsByTagName(n),r=0,c=s.length;r<c;r++){i=s[r],o=i.className.split(" ");for(var d=0,l=o.length;d<l;d++)if(o[d]===t){a.push(i);break}}return a}function o(t,e){var n=t.style;for(var o in e)void 0!==i(e[o])&&(n[o]=e[o])}function a(t,e,n,i,o){i=!!i;for(var a={add:["addEventListener","attachEvent"],remove:["removeEventListener","detachEvent"]},s=a[o][0],r=a[o][1],c=!!document[s],d=e.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").split(" "),l=[].concat(t),u=0,p=l.length;u<p;u++)for(var m=l[u],h=0,f=d.length;h<f;h++)c?m[s](d[h],n,i):m[r]("on"+d[h],n)}function s(t,e,n,i){a(t,e,n,i,"add")}function r(t,e,n,i){a(t,e,n,i,"remove")}function c(t){var e=t||window.event;e.preventDefault?e.preventDefault():e.returnValue=!1}function d(t){return function(e){return Object.prototype.toString.call(e)==="[object "+t+"]"}}function l(t){try{return Array.prototype.slice.call(t)}catch(o){for(var e=[],n=0,i=t.length;n<i;n++)e[n]=t[n];return e}}function u(){var t=(new Date).getTime(),e=Math.random();return Math.ceil(t*e)}function p(){return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight]}var m={isString:d("String"),isArray:Array.isArray||d("Array"),isFunction:d("Function"),isObject:d("Object"),returnArr:l},h={querySelector:e,byClass:n,addStyles:o},f={addEvent:s,removeEvent:r,preventDefault:c},g={random:u,getInner:p},v=function(t,e){var n=this;if(!t&&m.isString(t))return void console.error("请配置分享组件的父容器 :)");if(e&&"object"!==(void 0===e?"undefined":i(e)))return void console.error("第二个参数请输入规定对象 :)");if(this.EL=h.querySelector(t),this.shareList=["qq","weibo","renren","qzone","weixin","linkedin","youdao","jubao"],this.config={def:!!e&&(e.def||!1),url:e?e.url||window.location.href:window.location.href,wxurl:e?e.wxurl||e.url||window.location.href:window.location.href,title:e?e.title||document.title:document.title,summary:e?e.summary||"":"",desc:e?e.desc||"":"",img:e?e.img||"":"",flash:e?e.flash||"":"",site:e?e.site||"":"",appkey:e?e.appkey||"":"",security:e?e.security||"https":"https"},this.config.def);else{var o=document.createElement("span");o.setAttribute("class","tool-icon tool-tip-off first"),o.setAttribute("data-sudaclick","content_tip_off"),o.innerHTML="<a ani-click='bounceFromTop' node-type='share-jubao' href='javascript:;' data-share='jubao' title='打开举报页'>举报</a>";var a=o.firstChild;a.style["background-image"]="url(//n.sinaimg.cn/default/2086ad4f/20210802/JuBaoicon-ChangGui@3x.png)",a.style["background-size"]="contain",a.style["background-repeat"]="no-repeat",a.style["background-position-y"]="center",a.style.width="26px",a.style.height="26px",a.onmouseover=function(){a.style["background-image"]="url(//n.sinaimg.cn/default/2086ad4f/20210802/JuBaoicon-hover@3x.png)"},a.onmouseout=function(){a.style["background-image"]="url(//n.sinaimg.cn/default/2086ad4f/20210802/JuBaoicon-ChangGui@3x.png)"};var s=document.getElementsByClassName("page-tools");s[0].childNodes[1].classList.remove("first"),s[0].insertBefore(o,s[0].childNodes[0]),this.config.security&&"object"!==("undefined"==typeof QRCode?"undefined":i(QRCode))?n._loadScript({url:"//n.sinaimg.cn/finance/share_component/qrcode.min.js",success:function(){n._createOrder(n.config)}}):this._createOrder(this.config)}};v.prototype={constructor:v,_createHref:function(t){switch(t){case"weibo":return"http://service.weibo.com/share/share.php?url="+encodeURIComponent(this.config.url)+"&title="+encodeURIComponent(this.config.title)+"&pic="+encodeURIComponent(this.config.img);case"qzone":return"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(this.config.url)+"&title="+encodeURIComponent(this.config.title)+"&desc="+encodeURIComponent(this.config.desc)+"&summary="+encodeURIComponent(this.config.summary)+"&pics="+encodeURIComponent(this.config.img);case"weixin":return"//comet.blog.sina.com.cn/qr?"+this.config.wxurl;case"qq":return"http://connect.qq.com/widget/shareqq/index.html?url="+encodeURIComponent(this.config.url)+"&desc="+encodeURIComponent(this.config.desc)+"&title="+encodeURIComponent(this.config.title)+"&summary="+encodeURIComponent(this.config.summary)+"&pics="+encodeURIComponent(this.config.img)+"&flash="+encodeURIComponent(this.config.img)+"&site="+encodeURIComponent(this.config.site);case"renren":return"http://widget.renren.com/dialog/share?resourceUrl="+encodeURIComponent(this.config.url)+"&srcUrl="+encodeURIComponent(this.config.url)+"&title="+encodeURIComponent(this.config.title)+"&description="+encodeURIComponent(this.config.desc)+"&images="+encodeURIComponent(this.config.img);case"linkedin":return"http://www.linkedin.com/shareArticle?mini=true&title="+encodeURIComponent(this.config.title)+"&url="+encodeURIComponent(this.config.url)+"&summary="+encodeURIComponent(this.config.summary);case"youdao":return"http://note.youdao.com/memory/?title="+encodeURIComponent(this.config.title)+"&url="+encodeURIComponent(this.config.url)+"&summary="+encodeURIComponent(this.config.summary)+"&pic="+encodeURIComponent(this.config.img)}},_loadScript:function(t){var e=document.getElementsByTagName("head")[0],n=document.createElement("script"),i=t.success,o=t.url;n.src=o,n.type="text/javascript",n.charset="utf-8",e.appendChild(n),n.onload=n.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||i()}},_createOrder:function(t){for(var e,n=this,i=m.returnArr(n.EL.querySelectorAll("[data-share]")),o=0;o<i.length;o++){if(""===i[o].getAttribute("data-share")||!i[o].getAttribute("data-share"))return void console.warn("存在不符合要求的a标签");if(-1===n.shareList.toString().indexOf(i[o].getAttribute("data-share")))return void console.warn("不存在当前share种类");if("weixin"!==i[o].getAttribute("data-share"))if("jubao"===i[o].getAttribute("data-share")){var a=document.getElementsByTagName("meta").publishid.content;i[o].setAttribute("href","//news.sina.com.cn/blank/report_news.shtml?docId="+a),i[o].setAttribute("target","_blank")}else i[o].setAttribute("href",n._createHref(i[o].getAttribute("data-share"))),i[o].setAttribute("target","_blank");else"https"===t.security?f.addEvent(i[o],"click",function(t){f.preventDefault(t),n._wxPopup()}):(e=n._createHref("weixin"),f.addEvent(i[o],"click",function(t){f.preventDefault(t),n._wxPopup(e)}))}},_createdefault:function(){var t=this,e=document.createElement("div"),n="shareBox"+g.random(),i=n+"weibo",o=n+"qzone",a=n+"weixin";e.id=n;var s='<a href="'+t._createHref("weibo")+'" target="_blank" id="'+i+'" data-share="weibo" title="分享到新浪微博"></a><a href="'+t._createHref("qzone")+'" target="_blank" id="'+o+'" data-share="qzone" title="分享到QQ空间"></a><a href="" target="_blank" id="'+a+'" data-share="weixin" title="分享到微信"></a>';e.innerHTML=s;var r=(document.getElementById(i),document.getElementById(o),document.getElementById(r));t.EL.appendChild(e)},_wxPopupStyle:function(t,e){var n,i=t.getElementsByTagName("p")[0],o=t.getElementsByTagName("img")[0]||"",a=g.getInner();n=navigator.userAgent.indexOf("MSIE 8.0")>0?"absolute":"fixed",h.addStyles(t,{zIndex:"100",backgroundColor:"#ffffff",display:"none",position:n,width:"250px",height:"280px",margin:"0",padding:"0",border:"5px solid #666666",top:parseInt(a[1])/2-143+"px",left:parseInt(a[0])/2-128+"px"}),o&&h.addStyles(o,{display:"block",width:"220px",height:"220px",margin:"0 auto",marginTop:"10px"}),h.addStyles(i,{margin:"0",padding:"0",textAlign:"center",background:"#f2f2f2",height:"40px",lineHeight:"40px",fontSize:"18px"}),h.addStyles(e,{padding:"0",margin:"0",backgroundImage:'url("//n.sinaimg.cn/finance/share_component/close.png")',width:"32px",height:"32px",display:"block",position:"absolute",top:"0px",right:"0px",cursor:"pointer"})},_wxPopupKey:!1,_wxisPop:!1,_wxPopup:function(t){var e,n=this,i="wxPopBox",o="";o=t?'<p>微信扫描二维码分享</p><span id="wxPopBoxx"></span><img src="'+t+'" alt="二维码" width="160px"/>':'<p>微信扫描二维码分享</p><span id="wxPopBoxx"></span><div id="wxPopBoximgBox"></div>';var a;document.getElementById(i)?(e=document.getElementById(i),e.innerHTML=o):(e=function(t){var e=document.createElement("div");return e.id="wxPopBox",e.className="weixin-popup",document.body.appendChild(e),e}(i),e.innerHTML=o),a=document.getElementById("wxPopBoxx"),n._wxPopupStyle(e,a),e.style.display="block",document.getElementById("wxPopBoximgBox")&&(new QRCode(document.getElementById("wxPopBoximgBox"),{text:n.config.wxurl,width:220,height:220,colorDark:"#000000",colorLight:"#ffffff"}),h.addStyles(document.getElementById("wxPopBoximgBox"),{width:"220px",height:"220px",marginTop:"10px",marginLeft:"auto",marginRight:"auto"})),f.addEvent(a,"click",function(){e.style.display="none",n._wxisPop=!1})},weibo:function(t){window.open(this._createHref("weibo"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()},qzone:function(t){window.open(this._createHref("qzone"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()},weixin:function(){var t,e=this;"https"===e.config.security?e._wxPopup():(t=e._createHref("weixin"),e._wxPopup(t))},qq:function(t){window.open(this._createHref("qq"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()},renren:function(t){window.open(this._createHref("renren"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()},linkedin:function(t){window.open(this._createHref("linkedin"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()},youdao:function(t){window.open(this._createHref("youdao"),"_blank","height=400,width=600"),t&&"function"==typeof t&&t&&t()}},t.exports=v}()},function(t,e,n){"use strict";n(3);var i=n(17);t.exports={recommendHuman:"//interface.sina.cn/news/article/rec.json",init:function(){this.renderRecommendHuman()},renderRecommendHuman:function(){var t=this,e=[{channelUrl:"https://news.sina.com.cn/",channel:"新闻"},{channelUrl:"https://mil.news.sina.com.cn/",channel:"军事"},{channelUrl:"https://finance.sina.com.cn/",channel:"财经"},{channelUrl:"http://sports.sina.com.cn/",channel:"体育"},{channelUrl:"http://ent.sina.com.cn/",channel:"娱乐"},{channelUrl:"https://tech.sina.com.cn/",channel:"科技"},{channelUrl:"http://edu.sina.com.cn/",channel:"教育"}];SinaPage.loadWidget({require:[],onAfterLoad:function(){var n=new Date,o=n.getTime();$.ajax({type:"GET",url:t.recommendHuman,dataType:"jsonp",timeout:4500,success:function(t){if(0==t.status.code){for(var n=t.data.list,o=0;o<n.length;o++)n[o].channelUrl=e[o].channelUrl,n[o].channel=e[o].channel;$("#recommendB .interfaceData").append(i({list:n,wordLen:18}))}else $("#recommendB .botData").show()},error:function(t){window["jQueryRandom_"+o]=function(){window["jQueryRandom_"+o]=null},$("#recommendB .botData").show()}})}})}}},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/recommend_news/tpl/recomB",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.$index,n.$escape),r=t.wordLen,c="";return c+='<ul class="recommend_news2"> ',o(a,function(t,e){c+=' <li> <span>【<a class="tlt" href="',c+=s(t.channelUrl),c+='" target="_blank">',c+=s(t.channel),c+='</a>】</span> <a href="',c+=s(t.url),c+='" target="_blank">',c+=s(i.titleFormat(t.title,r)),c+="</a> </li> "}),c+=" </ul>",new String(c)})},function(t,e){},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/img-video/tpl/img",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.i,n.$escape),r=t.wordLen,c="";return c+='<div class="img-video-box"> ',o(a,function(t,e){c+=" ",1==e?(c+=' <div class="img-video-text"> <a href="',c+=s(t.url),c+='" target="_blank" suda-uatrack="key=news_sohuhl&value=textpage-photonews"> <span class="img-span"> <img src="',c+=s(t.pic),c+='" width="150" alt="',c+=s(t.title),c+='" class="img-hover" /> </span> <span class="text-span">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </div> "):(c+=' <div class="img-video-text"> <a href="',c+=s(t.url),c+='" target="_blank"> <span class="img-span"> <img src="',c+=s(t.pic),c+='" width="150" height="100" alt="',c+=s(t.title),c+='" class="img-hover" /> </span> <span class="text-span">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </div> "),c+=" "}),c+=" </div> ",new String(c)})},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/img-video/tpl/video",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.$index,n.$escape),r=t.wordLen,c="";return c+='<div class="img-video-box"> ',o(a,function(t,e){c+=' <div class="img-video-text"> <a href="',c+=s(t.url),c+='" target="_blank"> <span class="img-span"> <img src="',c+=s(t.pic),c+='" width="150" height="100" alt="',c+=s(t.title),c+='" class="img-hover" /> <i class="icon-video"></i> </span> <span class="text-span">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </div> "}),c+=" </div>",new String(c)})},function(t,e,n){"use strict";n(22);var i=n(2);SinaPage.loadWidget({trigger:{id:"tab_related"},require:[[{url:"//sjs0.sinajs.cn/video/sinaplayer/js/page/player_v1.js?20171027"},{url:"//h5.sinaimg.cn/m/videoPlayer/js/ty.e56f55e8.js"},{url:"//n.sinaimg.cn/finance/pctianyi_wdg/external/sima.js"},{url:"//n.sinaimg.cn/finance/page/ent/js/pageTools.v0921.js"}],{url:"//news.sina.com.cn/js/pctianyi/tianyi.js"},{url:"//n.sinaimg.cn/finance/pctianyi_wdg/apps/news-atc-feed/js/feed-app.js"},{url:"//n.sinaimg.cn/finance/page/ent/js/weiboList.js"},{url:"//n.sinaimg.cn/finance/fe/Tab-min.js"}],onAfterLoad:function(){new i({wrap:"tab_related_btn",start:"tab_related",fixedClass:"tab-related-fixed"})}})},function(t,e){},function(t,e,n){"use strict";n(24);var i=window.SINA_TEXT_PAGE_INFO,o=window.___sinacMNT___,a={channel:i.channel,newsid:i.newsid,allNewsid:"",parent:"",encoding:"utf-8",commented:function(t,e){},share_url:location.href.split("#")[0],video_url:"",img_url:"",postTip:"我有话要说...",autoGrow:!1,content:""},s={url:"",channel:i.channel,newsid:i.newsid,group:0,encoding:"utf-8",hotPageNum:3,latestPageNum:3,replyShowNum:3,replyPageNum:15,replyClickMoreTimes:3,clickMoreTimes:0,maxWordCount:200,loaded:function(t){if("N_CLOSE"==t.data.news.status)$("span.tool-cmt").hide();else{if(t.data&&t.data.count&&t.data.count.total){var e=function(t){t+="";for(var e=/(-?\d+)(\d{3})/;e.test(t);)t=t.replace(e,"$1,$2");return t}(t.data.count.total);$('[node-type="comment-num"]').html(e)}else $('[node-type="comment-num"]').html("");$(".sina-comment-form").attr("data-sudaclick","comment_1-1"),$(".sina-comment-list").attr("data-sudaclick","comment_1-2")}},beforeLoad:function(){}},r={isBBS:0,hideList:SINA_TEXT_PAGE_INFO.hideCommentList,hideComment:SINA_TEXT_PAGE_INFO.hideComment};window.bottom_comment=new o.cmnt.FormList("bottom_sina_comment",a,s,r)},function(t,e){},function(t,e,n){"use strict";var i=n(2);SinaPage.loadWidget({trigger:{id:"last_side_ad"},require:[],triggerAhead:!1,onAfterLoad:function(){new i({wrap:"last_side_ad",start:"last_ad_wrap",fixedClass:"last_ad_fixed",onFixed:function(){$("#top_bar").hasClass("top—bar-fixed")&&this.obj.addClass("com-fixed-02")}})}})},,function(t,e,n){"use strict";n(4),n(5),n(6),n(28),n(18),n(29),n(30),n(7).init(),n(10).init(),n(13).init();var i=$(window).height();n(31).init(i),n(34).init(i),window.__SinaTopBar__.user.init(document.getElementById("SI_User"),{entry:"ent",login_success:function(){SINA_TEXT_PAGE_INFO.uid=SINA_OUTLOGIN_LAYER.getSinaCookie().uid,$("#my_favor").show()},logout_success:function(){$("#my_favor").hide()}});n(14);n(21),n(23),n(16).init(),n(25)},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";n(3);var i=n(32),o=n(33);t.exports={init:function(t){if(!($("#read-comment").length<=0)){var e=new Date,n=e.getFullYear(),i=e.getMonth()+1,o=i>9?i:"0"+i,a=e.getDate()>9?e.getDate():"0"+e.getDate();this.time=n+""+o+a,this.$winHeight=t,this.tabFunc(),this.renderComment(),this.renderNews()}},tabFunc:function(){$("#read-comment .tlt a").hover(function(){var t=$(this).index();$(this).addClass("cur"),$(this).siblings("a").removeClass("cur"),$("#read-comment .rc-context").hide(),$("#read-comment .rc-context").eq(t).show()})},renderComment:function(){var t=this;SinaPage.loadWidget({trigger:{height:$("#read-comment").offset().top-t.$winHeight},triggerAhead:!1,require:[{url:"//top.news.sina.com.cn/ws/GetTopDataList.php?top_type=day&top_cat=xwzxpl&top_time="+t.time+"&top_show_num=5&top_order=DESC&js_var=xwzxpl_1_data&call_back=showContent"}],onAfterLoad:function(){var t=xwzxpl_1_data.data,e=[];t&&t.map(function(t,n){var i={title:t.title,url:t.url,top_num:t.top_num};e.push(i)}),e.length>0?$("#read-comment .comment-context .interfaceData").html(i({list:e,wordLen:28})):$("#read-comment .comment-context .botData").show()}})},renderNews:function(){var t=this;SinaPage.loadWidget({trigger:{height:$("#read-comment").offset().top-t.$winHeight},triggerAhead:!1,require:[{url:"//top.news.sina.com.cn/ws/GetTopDataList.php?top_type=day&top_cat=news_all_suda_suda&top_time="+t.time+"&channel=news&top_order=DESC"}],onAfterLoad:function(){var t=data.data,e=[];t&&t.map(function(t,n){if(n<5){var i={index:n+1,title:t.title,url:t.url};e.push(i)}}),e.length>0?$("#read-comment .read-context .interfaceData").html(o({list:e,wordLen:28})):$("#read-comment .read-context .botData").show()}})}}},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/hot-news/tpl/hot-comments",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.value,t.i,n.$escape),r=t.wordLen,c="";return c+=' <ul class="hot-news-ul"> ',o(a,function(t,e){c+=' <li> <span class="rankLeft"> ',e+1<=3?(c+=' <span class="rankNum color-red">0',c+=s(e+1),c+="</span> "):e+1>9?(c+=' <span class="rankNum">',c+=s(e+1),c+="</span> "):(c+=' <span class="rankNum">0',c+=s(e+1),c+="</span> "),c+=' </span> <span class="text-1"><a href="',c+=s(t.url),c+='" target="_blank">',c+=s(i.titleFormat(t.title,r)),c+="</a></span> ",e+1<=3?(c+=' <span class="total color-red">',c+=s(t.top_num),c+="</span> "):(c+=' <span class="total">',c+=s(t.top_num),c+="</span> "),c+=" </li> "}),c+=" </ul>",new String(c)})},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/hot-news/tpl/hot-news",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.$index,n.$escape),r=t.wordLen,c="";return c+='<ul class="hot-news-ul"> ',o(a,function(t,e){c+=' <li> <span class="rankLeft"> ',t.index<=3?(c+=' <span class="rankNum color-red">0',c+=s(t.index),c+="</span> "):t.index>9?(c+=' <span class="rankNum">',c+=s(t.index),c+="</span> "):(c+=' <span class="rankNum">0',c+=s(t.index),c+="</span> "),c+=' </span> <span class="text"><a href="',c+=s(t.url),c+='" target="_blank">',c+=s(i.titleFormat(t.title,r)),c+="</a></span> </li> "}),c+=" </ul>",new String(c)})},function(t,e,n){"use strict";n(3);var i=n(35),o=n(19),a=n(37),s=n(20),r=n(38),c=n(39);t.exports={imgUrl:"//interface.sina.cn/news/article/imgnews.json?size=4&sohu=1",videoUrl:"//interface.sina.cn/news/article/video.json?size=4",newlabs:"//interface.sina.cn/news/article/newslib.json?size=4",pictureStory:"//interface.sina.cn/news/article/imgstory.json?size=4&sohu=1",miaoPai:"//interface.sina.cn/news/article/miaopai.json?size=4",hotBlog:"//interface.sina.cn/news/article/blog.json?size=7",init:function(t){this.renderImgs(t),this.renderVideos(t),this.renderNewlabs(t),this.renderImgStory(t),this.rendermiaoPai(t),this.tabFunc()},tabFunc:function(){$("#video-miaopai").length<=0||$("#video-miaopai .tlt a").hover(function(){var t=$(this).index();$(this).addClass("cur"),$(this).siblings("a").removeClass("cur"),$("#video-miaopai .rc-context").hide(),$("#video-miaopai .rc-context").eq(t).show()})},renderImgs:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#news-photo").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.imgUrl,dataType:"jsonp",jsonpCallback:"jQueryRandom_"+n,timeout:4500,success:function(t){0==t.status.code?($("#news-photo .interfaceData").append(o({list:t.data.list.slice(0,2),wordLen:30})),$("#news-photo .interfaceData").append(a({list:t.data.list.slice(2,3),wordLen:30}))):$("#news-photo .botData").show()},error:function(t){window["jQueryRandom_"+n]=function(){window["jQueryRandom_"+n]=null},$("#news-photo .botData").show()}})}})},renderVideos:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#video-miaopai").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.videoUrl,dataType:"jsonp",jsonpCallback:"jQueryRandom_"+n,timeout:4500,success:function(t){0==t.status.code?($("#video-miaopai .video-context .interfaceData").append(s({list:t.data.list.slice(0,2),wordLen:30})),$("#video-miaopai .video-context .interfaceData").append(s({list:t.data.list.slice(2,4),wordLen:30}))):$("#video-miaopai .video-context .botData").show()},error:function(t){window["jQueryRandom_"+n]=function(){window["jQueryRandom_"+n]=null},$("#video-miaopai .video-context .botData").show()}})}})},rendermiaoPai:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#video-miaopai").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.miaoPai,jsonpCallback:"jQueryRandom_miaopai"+n,timeout:4500,dataType:"jsonp",success:function(t){0==t.status.code?($("#video-miaopai .miaopai-context .interfaceData").append(s({list:t.data.list.slice(0,2),wordLen:28})),$("#video-miaopai .miaopai-context .interfaceData").append(s({list:t.data.list.slice(2,4),wordLen:28}))):$("#video-miaopai .miaopai-context .botData").show()},error:function(t){window["jQueryRandom_miaopai"+n]=function(){window["jQueryRandom_miaopai"+n]=null},$("#video-miaopai .miaopai-context .botData").show()}})}})},renderNewlabs:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#new-media-lab").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.newlabs,jsonpCallback:"jQueryRandom_"+n,timeout:4500,dataType:"jsonp",success:function(t){0==t.status.code?$("#new-media-lab .interfaceData").append(r({list:t.data.list,wordLen:20})):$("#new-media-lab .botData").show(),e.initNewLabsFocus()},error:function(t){window["jQueryRandom_"+n]=function(){window["jQueryRandom_"+n]=null},$("#new-media-lab .botData").show(),e.initNewLabsFocus()}})}})},renderImgStory:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#img-story").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.pictureStory,dataType:"jsonp",jsonpCallback:"jQueryRandom_"+n,timeout:4500,success:function(t){0==t.status.code?$("#img-story .interfaceData").append(r({list:t.data.list,wordLen:20})):$("#img-story .botData").show(),e.initImgStoryFocus()},error:function(t){window["jQueryRandom_"+n]=function(){window["jQueryRandom_"+n]=null},$("#img-story .botData").show(),e.initImgStoryFocus()}})}})},renderHotBlog:function(t){var e=this;SinaPage.loadWidget({trigger:{height:$("#hot-blog").offset().top-t},triggerAhead:!1,require:[],onAfterLoad:function(){var t=new Date,n=t.getTime();$.ajax({type:"GET",url:e.hotBlog,dataType:"jsonp",jsonpCallback:"jQueryRandom_hotblog"+n,timeout:4500,success:function(t){0==t.status.code?$("#hot-blog .interfaceData").append(c({list:t.data.list,wordLen:20})):$("#hot-blog .botData").show()},error:function(t){window["jQueryRandom_hotblog"+n]=function(){window["jQueryRandom_hotblog"+n]=null},$("#hot-blog .botData").show()}})}})},initNewLabsFocus:function(){var t={BoxId:$("#new-media-lab"),leftBtn:$("#new-media-lab .btn_l"),rightBtn:$("#new-media-lab .btn_r"),transitionTime:3e3,pointsBox:$("#new-media-lab .num"),autoPlay:!1};i.init(t)},initImgStoryFocus:function(){var t={BoxId:$("#img-story"),leftBtn:$("#img-story .btn_l"),rightBtn:$("#img-story .btn_r"),transitionTime:3e3,pointsBox:$("#img-story .num"),autoPlay:!1};i.init(t)}}},function(t,e,n){"use strict";var i=n(36),o={init:function(t){function e(){n==l&&(o.find(".img").css({left:0}),n=1),-1==n&&(o.find(".img").css({left:-(l-1)*p}),n=l-2),o.find(".img").stop().animate({left:-n*p},500),n==l-1?c.find("li").eq(0).addClass("on").siblings().removeClass("on"):c.find("li").eq(n).addClass("on").siblings().removeClass("on")}var n=0,o=t.BoxId;if(void 0!==o){var a=t.leftBtn,s=t.rightBtn,r=t.transitionTime,c=t.pointsBox,d=!0;void 0!==t.autoPlay&&(d=!1),i.IPAD&&(d=!1);var l,u,p=o.css("width").replace("px","");if(o.find(".interfaceData li").length){u=o.find(".interfaceData li");var m=u.first().clone();o.find(".interfaceData").append(m),l=o.find(".interfaceData li").size()}else{u=o.find(".botData li");var m=u.first().clone();o.find(".botData").append(m),l=o.find(".botData li").size()}o.width=l*p,o.find(".img").width(l*p);for(var h=0;h<l-1;h++)c.append("<li></li>");c.find("li").first().addClass("on"),function(){if(d)var t=setInterval(function(){n++,e()},r||3e3);i.IPAD?(a.addClass("show"),s.addClass("show")):o.hover(function(){void 0!==a&&a.show(),void 0!==s&&s.show(),clearInterval(t)},function(){d&&(t=setInterval(function(){n++,e()},r||3e3)),void 0!==a&&"block"===a.css("display")&&a.hide(),void 0!==s&&"block"===s.css("display")&&s.hide()}),c.find("li").hover(function(){var t=Math.abs(o.find(".img").css("left").replace("px","")),i=$(this).index();t==(l-1)*p&&0==i||(n=i,e(),$(this).addClass("on").siblings().removeClass("on"))},function(){var t=Math.abs(o.find(".img").css("left").replace("px","")),e=$(this).index();t==(l-1)*p&&0==e&&o.find(".img").stop().css({left:0})}),void 0!==a&&a.on("click",function(){n--,e()}),void 0!==s&&s.on("click",function(){n++,e()})}()}}};t.exports=o},function(t,e,n){"use strict";var i,o,a,s,r,c=navigator.userAgent.toLowerCase(),d=window.external||"",l=function(t){var e=0;try{e=parseFloat(t.replace(/\./g,function(){return 1==e++?"":"."}))}catch(t){}return e};try{/windows|win32/i.test(c)?r="windows":/macintosh/i.test(c)?r="macintosh":/rhino/i.test(c)?r="rhino":/like mac os x/i.test(c)?r="ios":/android/.test(c)&&(r="android"),(o=c.match(/applewebkit\/([^\s]*)/))&&o[1]?(i="webkit",s=l(o[1])):(o=c.match(/presto\/([\d.]*)/))&&o[1]?(i="presto",s=l(o[1])):(o=c.match(/msie\s([^;]*)/))?(i="trident",s=1,(o=c.match(/trident\/([\d.]*)/))&&o[1]&&(s=l(o[1]))):/gecko/.test(c)&&(i="gecko",s=1,(o=c.match(/rv:([\d.]*)/))&&o[1]&&(s=l(o[1]))),/world/.test(c)?a="world":/360se/.test(c)?a="360":/maxthon/.test(c)||"number"==typeof d.max_version?a="maxthon":/tencenttraveler\s([\d.]*)/.test(c)?a="tt":/se\s([\d.]*)/.test(c)&&(a="sogou")}catch(t){}var u={UA:c,OS:r,CORE:i,Version:s,EXTRA:a||!1,IE:/msie/.test(c),OPERA:/opera/.test(c),MOZ:/gecko/.test(c)&&!/(compatible|webkit)/.test(c),IE5:/msie 5 /.test(c),IE55:/msie 5.5/.test(c),IE6:/msie 6/.test(c),IE7:/msie 7/.test(c),IE8:/msie 8/.test(c),IE9:/msie 9/.test(c),IE10:/msie 10/.test(c),CHROME:/(chrome|crios)\/([\d.]*)/.test(c),IPAD:/\(ipad/i.test(c),IPHONE:/\(iphone/i.test(c),ITOUCH:/\((itouch|ipod)/i.test(c),MOBILE:/mobile/i.test(c),WX:/MicroMessenger/i.test(c),UC:/UCBrowser/i.test(c),WB:/Weibo/i.test(c)};u.SAFARI=!u.UC&&!u.CHROME&&/([\w.]*) safari/.test(c),t.exports=u},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/img-video/tpl/img-1",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.$index,n.$escape),r=t.wordLen,c="";return c+='<div class="img-video-box"> ',o(a,function(t,e){c+=' <div class="img-video-text"> <a href="',c+=s(t.url),c+='" target="_blank"> <span class="img-span"> <img src="',c+=s(t.pic),c+='" width="150" height="100" alt="',c+=s(t.title),c+='" class="img-hover" /> </span> <span class="text-span">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </div> "}),c+=' <div class="img-video-text video-others"> <ins class="sinaads" data-ad-pdps = "E5580649F57B"></ins> <script>(sinaads = window.sinaads || []).push({ params:{ sinaads_ad_width : 150, sinaads_ad_height : 160 } });<\/script> </div> </div> ',new String(c)})},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/img-video/tpl/newlabs",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.i,n.$escape),r=t.wordLen,c="";return o(a,function(t,e){c+=" ",1==e?(c+=' <li> <a href="',c+=s(t.url),c+='" target="_blank" suda-uatrack="key=news_sohuhl&value=textpage-photostory"> <span class="img-span"><img src="',c+=s(t.pic),c+='" width="320" alt="',c+=s(t.title),c+='" class="img-hover" /></span> <span class="title">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </li> "):(c+=' <li> <a href="',c+=s(t.url),c+='" target="_blank"> <span class="img-span"><img src="//img.mix.sina.com.cn/api/auto/resize?size=320_0&img=',c+=s(t.pic),c+='" width="320" height="213" alt="',c+=s(t.title),c+='" class="img-hover" /></span> <span class="title">',c+=s(i.titleFormat(t.title,r)),c+="</span> </a> </li> "),c+=" "}),new String(c)})},function(t,e,n){var i=n(0);t.exports=i("pages/js/mods/ui/img-video/tpl/hotBlog",function(t,e){"use strict";var n=this,i=n.$helpers,o=n.$each,a=t.list,s=(t.$value,t.$index,n.$escape),r=t.wordLen,c="";return c+='<ul class="right-text-ul"> ',o(a,function(t,e){c+=' <li><a href="',c+=s(t.url),c+='" target="_blank">',c+=s(i.titleFormat(t.title,r)),c+="</a></li> "}),c+=" </ul>",new String(c)})}]);