PageSourceSearch

https://peoplemedia.tw/javascripts/application.min.js

js peoplemedia.tw collected 2026-10-02 12:00:23 UTC 38,813 bytes, 1 lines download raw bytes

1function runSetWidthArray(){var e=$(window).width(),t=getBrowserInfo();if((e=e<480&&("iOS"==t.os||"Android"==t.os)?320:e<660?660:960<e?Math.floor((e-300)/SetWidth_widthColumn)*SetWidth_widthColumn+300:Math.floor(e/SetWidth_widthColumn)*SetWidth_widthColumn)!=SetWidth_lastWidth)for(var n=0;SetWidthArray.length>n;n++)SetWidthArray[n](e)}function runGetTrekArray(e){for(var t=0;GetTrekArray.length>t;t++)GetTrekArray[t](e)}function showLoading(e){$(e).html('<div class="loading"/>')}function showLoading1(e){var e=$(e),t=Math.round(e.height()/3),n=Math.round(t/4),r=Math.round(e.width()/2)-4*n,i="",i=(i+=['<style type="text/css">',"\t.loading_block {","\t\tbackground-color: #9fc0ff;","\t\tborder: 2px solid #3b5998;","\t\tfloat: left;","\t\theight: "+t+"px;","\t\tmargin-top: "+t+"px;","\t\tmargin-left: "+n/2+"px;","\t\twidth: "+n+"px;","\t\topacity: 0.1;","\t\t-webkit-transform: scale(0.);","\t\t-webkit-animation-name: loading_FBstyle;","\t\t-webkit-animation-duration: 1s;","\t\t-webkit-animation-iteration-count: infinite;","\t\t-webkit-animation-direction: linear;","\t}","\t@-webkit-keyframes loading_FBstyle {","\t\t0% {","\t\t\t-webkit-transform: scale(1.2);","\t\t\topacity:1;","\t\t}","\t\t100% {","\t\t\t-webkit-transform: scale(0.7);","\t\t\topacity: 0.1;","\t\t}","\t}","</style>"].join("\n"))+['<div class="loading" style="float:left; margin-left:'+r+'px;">','  <div class="loading_block" style="-webkit-animation-delay:.3s;"></div>','  <div class="loading_block" style="-webkit-animation-delay:.4s;"></div>','  <div class="loading_block" style="-webkit-animation-delay:.5s;"></div>',"</div>"].join("\n");e.html(i)}function getStyle(e){for(var t=0;document.styleSheets.length>t;t++)for(var n=document.styleSheets[t].cssRules||document.styleSheets[t].rules,r=0;n.length>r;r++)if(n[r].selectorText==e)return n[r].style;return null}function fitImageEvent(e){fitImage(e.currentTarget||e.srcElement)}function fitImage(e){var t,n,r,i,a;e&&void 0!==$(e).attr("src")&&(i=(t=$(e).parent().width())/(a=$(e).parent().height()),(r=new Image).src=$(e).attr("src"),r=i<(i=r.width/r.height)?(n=Math.floor(i*a),a):(n=t,Math.floor(t/i)),i=Math.floor((a-r)/5),a=Math.floor((t-n)/2),$(e).css({position:"relative",width:n+"px",height:r+"px",left:a+"px",top:i+"px",visibility:"visible"}),$(e).fadeIn())}function setNavigation(e){for(var t=-1,n=0;arrMenu.length>n;n++)if(-1!=arrMenu[n].indexOf(e)){t=n;break}showNavigation(t)}function showNavigation(n){function e(e){var t;return void 0===arrMenu[e]?"":0==arrMenuShow[arrMenu[e]]?(r++,""):(t="",t=(t=(t+=e==n?'<li class="selected" data-index="'+e+'">':'<li data-index="'+e+'">')+(void 0!==arrCustomLink[e]&&0<arrCustomLink[e].length?'<a class="navigation_item" href="'+arrCustomLink[e]+'">':'<a class="navigation_item" href="/list/'+arrMenu[e]+'">'))+'<div class="text">'+arrMenu[e]+"</div>",arrMenu.length-r+2>e&&(t+='<div class="sep"/>'),(t=t+'<div class="navigation_top10_angle"/>'+"</a>")+"</li>")}for(var r=0,t="",i=0;MENU_COLUMNS>i-r;i++)t+=e(i);$(".navigation_menu#menu1").html(t);for(t="",i=MENU_COLUMNS+r;arrMenu.length>i;i++)t=e(i)+t;$(".navigation_menu#menu2").html(t),showTop10(),$("#navigation").fadeIn()}function showTop10(){for(var e=0;arrMenu.length>e;e++){var t="";if(void 0!==arrTop10List[arrMenu[e]]){t+='<ul class="navigation_top10">';for(var n=0;arrTop10List[arrMenu[e]].length>n&&n<10;n++)t=(t=(t=t+sprintf('<a href="/news/%s">',arrTop10List[arrMenu[e]][n].EID)+(0==n%2?'<li style="margin-right: 50px;">':"<li>"))+arrTop10List[arrMenu[e]][n].TITLE)+"</li>"+"</a>";t+="</ul>",$("ul.navigation_menu li[data-index="+e+"]").append(t)}}}function applyStyle(e,t){if(t.sort(function(e,t){return e.from>t.from?1:t.from>e.from?-1:0}),0<t.length){for(var n=[],r=t.length-1;0<=r;r--)r==t.length-1?n.unshift(e.substring(t[r].to)):0!=r&&n.unshift(e.substring(t[r].to,t[r+1].from)),n.unshift("</span>"),n.unshift(e.substring(t[r].from,t[r].to)),n.unshift('<span style="color:'+t[r].color+'">'),0==r?n.unshift(e.substring(0,t[r].from)):2!=t.length&&r==t.length-1||n.unshift(e.substring(t[r-1].to,t[r].from));return n.join("")}return e}function renderRealtime(e,t,n,r){void 0===r&&(r=!1);for(var i="",a=t.length>n?n:t.length,o=0;o<a;o++){var s=t[o],i=(i+='<a href="/news/'+s.EID+'">')+(r?'<div class="index_realtime index_realtime_right">':'<div class="index_realtime">')+'<div class="info">';void 0!==s.CATEGORY&&""!=s.CATEGORY&&(i+='<div class="category">'+s.CATEGORY+"</div>"),i=(i=(i=(i=i+('<div class="date">'+s.PUBTIME.substring(0,10)+"</div>")+"</div>")+('<div class="title" title="'+s.TITLE+'">'+s.TITLE+"</div>"))+(0!=a%2||$(window).width()<768?o<a-1?"<hr/>":"":o<a-2?"<hr/>
1":""))+"</div>"+"</a>"}i+='<div style="clear: left;"/>',$(e).html(i)}function renderTopRanking(e,t,n,r){void 0===r&&(r=!1);for(var i="",a=0;a<n&&t.length>a;a++){var o=t[a],s=o.PUBTIME.substring(0,10)+"&#12288"+o.AUTHOR;i+='<a href="/news/'+o.EID+'" title="'+s+'">',r?i=i+'<div class="index_topranking index_topranking_right">'+('<div class="ordering">'+(a+1)+"</div>"):i+='<div class="index_topranking">',i+='<div class="title" title="'+o.TITLE+'">'+o.TITLE,a!=n-1&&a!=t.length-1&&(i+="<hr/>"),i=(i+="</div>")+"</div>"+"</a>"}i+='<div style="clear: left;"/>',$(e).html(i)}function renderRelated(e,t,n,r){for(var i="",a=0;a<n&&t.length>a;a++){2==a&&r&&(i=(i=i+'<div id="rtb_ads" style="display: none">'+'<ins class="rmax" data-rmax-space-id="2e5784f5ac344cea" data-rmax-space-type="NATIVE" data-target-id="#rtb_ads" data-target-index="0" data-target-pos="REPLACE"></ins>')+'<script async="async" src="//tenmax-static.cacafly.net/ssp/adsbytenmax.js"><\/script>'+"</div>");var o=t[a],i=(i=(i=i+('<a href="/page/'+o.EID+'" data-rel="page" data-transition="slide">')+'<div class="index_realtime index_related">')+('<div class="title">'+o.TITLE+"</div>")+"<hr/>")+"</div>"+"</a>"}i+='<div style="clear: left;"/>',$(e).html(i)}function renderPick(e,t,n){for(var r="",i=0;i<n&&t.length>i;i++){var a,o=t[i];o&&(r=(r+='<div class="index_pick">')+('<a href="/news/'+o.EID+'">'),void 0!==o.THUMBLINK&&""!=o.THUMBLINK?r=(r=r+'<div class="image">'+'<div class="image_inner">')+('<img src="'+o.THUMBLINK+'" onload="fitImageEvent(event);" onerror="this.src=\'images/default.png\';"/>'):r=(r=(r=(r=r+'<div class="image">'+'<div class="image_grid">')+'<div class="image_text">'+'<div class="inner_text">')+o.TITLE.replace(/\s+/g,"").substring(0,15))+"</div>"+"</div>",r=(r=r+"</div>"+"</div>")+('<div class="title" title="'+o.TITLE+'">'+o.TITLEDISPLAY.replace("\n"," ")+"</div>"),void 0!==o.AUTHOR&&""!=o.AUTHOR&&(r+='<div class="author">'+o.AUTHOR+"</div>"),r=r+"</a>"+"</div>",0==i)&&(a="",a=(a+='<div class="index_pick">')+'<a href="/news/'+o.EID+'">',void 0!==o.THUMBLINK&&""!=o.THUMBLINK?a=(a+='<div class="image_inner">')+('<img src="'+o.THUMBLINK+'" onerror="this.src=\'images/default.png\';"/>'):a=(a=(a=(a=a+'<div class="image">'+'<div class="image_grid">')+'<div class="image_text">'+'<div class="inner_text">')+o.TITLE.replace(/\s+/g,"").substring(0,15)+"</div>")+"</div>"+"</div>",a=(a+="</div>")+'<div class="title" title="'+o.TITLE+'">'+o.TITLEDISPLAY.replace("\n"," ")+"</div>",void 0!==o.AUTHOR&&""!=o.AUTHOR&&(a+='<div class="author">'+o.AUTHOR+"</div>"),a+="</a></div>",$(e+"_xs").html(a))}$(e).html(r)}function renderForum(e,t,n,r){void 0===r&&(r=!1);for(var i="",a=t.length>n?n:t.length,o=0;o<a;o++)var s=t[o],i=(i=(i=(i=(i=(i=i+('<a href="/news/'+s.EID+'">')+(r?'<div class="index_forum index_forum_right">':'<div class="index_forum">'))+('<div class="title" title="'+s.TITLE+'">'+s.TITLE+"</div>")+'<div class="info">')+('<div class="author">'+s.AUTHOR+"</div>"))+('<div class="date">'+s.PUBTIME.substring(0,10)+"</div>"))+"</div>"+(0==a%2?o<a-2?"<hr/>":"":o<a-1?"<hr/>":""))+"</div>"+"</a>";i+='<div style="clear: left;"/>',$(e).html(i)}function renderNeighbor(e,t,n,r,i,a){var o="";0<t.length&&(o=(o=(o=o+'<div id="news_neighbors_left" style="text-align: left;">'+('<a id="news_neighbors_link" rel="prev" href="/news/'+t+"?m="+a+'">'))+"◄&nbsp;"+n)+"</a>"+"</div>"),0<r.length&&(o=(o=(o=o+'<div id="news_neighbors_right" style="text-align: right;">'+('<a id="news_neighbors_link" rel="prev" href="/news/'+r+"?m="+a+'">'))+i+"&nbsp;►")+"</a>"+"</div>"),e.html(o=""!=o?'<div class="news_separator"></div>'+o:o)}function changeFont(e){var t=parseInt($.cookie("news_font"))||2;1==e?num_font_types<++t&&(t=num_font_types):--t<1&&(t=1),$.cookie("news_font",t),showFont(t)}function showFont(e){var t=$("#font_decrease"),n=$("#font_increase");switch(e<=1?t.hide("fast"):t.show("fast"),num_font_types<=e?n.hide("fast"):n.show("fast"),$("#newsbrief p").attr("class","news_font0"),e){case 1:$("#newscontent p").attr("class","news_font1");break;case 2:$("#newscontent p").attr("class","news_font2");break;case 3:$("#newscontent p").attr("class","news_font3");break;case 4:$("#newscontent p").attr("class","news_font4")}}function getBrowserInfo(){var e="Unknown OS";-1!=navigator.appVersion.indexOf("Win")?e="Windows":navigator.appVersion.match(/(iPad|iPhone|iPod)/g)?e="iOS":-1!=navigator.appVersion.indexOf("Mac")?e="MacOS":-1!=navigator.appVersion.indexOf("Android")?e="Android":-1!=navigator.appVersion.indexOf("X11")?e="UNIX":-1!=navigator.appVersion.indexOf("Linux")&&(e="Linux"),navigator.appVersion;var t,n,r=navigator.userAgent,i=navigator.appName,a=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10);return-1!=(t=r.indexOf("Opera"))?(i="Opera",a=r.substring(t+6),-1!=(t=r.indexOf("Version"))&&(a=r.substring(t+8))):-1!=(t=r.indexOf("MSIE"))?(i="MSIE",a=r.substring(t+5)):-1!=(t=r.indexOf("Chrome"))?(i="Chrome",a=r.substring(t+7)):-1!=(t=r.indexOf("Safari"))?(i="Safari",a=r.
1substring(t+7),-1!=(t=r.indexOf("Version"))&&(a=r.substring(t+8))):-1!=(t=r.indexOf("Firefox"))?(i="Firefox",a=r.substring(t+8)):(t=r.lastIndexOf("/"))>(n=r.lastIndexOf(" ")+1)&&(i=r.substring(n,t),a=r.substring(t+1),i.toLowerCase()==i.toUpperCase())&&(i=navigator.appName),-1!=(n=(a=-1!=(n=a.indexOf(";"))?a.substring(0,n):a).indexOf(" "))&&(a=a.substring(0,n)),o=parseInt(""+a,10),isNaN(o)&&(a=""+parseFloat(navigator.appVersion),o=parseInt(navigator.appVersion,10)),{os:e,browser:i,version:o,versionFull:a}}function getInternetExplorerVersion(){var e,t=-1;return t="Microsoft Internet Explorer"==navigator.appName&&(e=navigator.userAgent,null!=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e))?parseFloat(RegExp.$1):t}function preventFormDefaultAction(e){e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)}function getKeyModifier(e){return e.modifiers||e.shiftKey<<2|e.ctrlKey<<1|e.altKey}function genUUID(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=0|16*Math.random();return("x"==e?t:8|3&t).toString(16)})}function debugLog(e){if(flagLog)try{console.log(e)}catch(e){}}function initAdmonitus(e){contextAdmonitus=e}function initService(e){contextService=e}function requestAdmonitus(r,e,t){var n={qt:"admonitus",wt:"json",service:encodeURI(r),argument:JSON.stringify(e)};flagLog&&debugLog("Admonitus "+r+Array(21-r.length).join(" ")+JSON.stringify(e)),$.ajax({type:"GET",url:contextAdmonitus,data:n,dataType:"json",timeout:2e4,tryCount:0,retryLimit:3,success:function(e){null!=t&&null!=e.content&&t(jQuery.parseJSON(e.content))},error:function(e,t,n){flagLog&&debugLog("Admonitus "+r+" Error:"),handleError(e,t,n)}})}function requestInternal(r,t){r.qt="internal",flagLog&&debugLog("Internal  "+r.method+Array(21-r.method.length).join(" ")+JSON.stringify(JSON.stringify(r))),$.ajax({type:"GET",url:contextService,data:r,timeout:2e4,tryCount:0,retryLimit:3,success:function(e){t&&e&&t(e)},error:function(e,t,n){flagLog&&debugLog("Internal  "+r.method+" Error:"+JSON.stringify(r)),handleError(e,t,n)}})}function handleError(e,t,n){"timeout"==t?(this.tryCount++,this.retryLimit>=this.tryCount?$.ajax(this):flagLog&&debugLog("We have tried "+this.retryLimit+" times and it is still not working. Give it up, sorry.")):500==e.status?flagLog&&debugLog("Oops! There seems to be a server problem, please try again later."):flagLog&&debugLog("Oops! There was a problem, sorry: "+n)}function CreateCorpus(e,t){requestAdmonitus("CreateCorpus",{corpus:e,category:"Manual",subcategory:""},t)}function DeleteCorpus(e,t){requestAdmonitus("DeleteCorpus",{corpus:e},t)}function GetCorpus(e,t){requestAdmonitus("GetCorpus",{prefix:e},t)}function GetNumLikeEntity(e,t){requestAdmonitus("GetNumLikeEntity",{eid:encodeURI(e)},t)}function GetUserLikeEntity(e,t,n){requestInternal({method:"GetUserLikeEntity",argument:{uid:encodeURI(e),eid:encodeURI(t)}},n)}function GetUserHitEntity(e,t,n){requestInternal({method:"GetUserHitEntity",argument:{uid:encodeURI(e),eid:encodeURI(t)}},n)}function GetLatest(e,t,n,r){t=t||"ALL",requestInternal({method:"GetEntityList",argument:null==e?{category:t,num:encodeURI(n)}:{uid:encodeURI(e),category:t,num:encodeURI(n)}},r)}function GetPopularKeyword(e,t,n){requestAdmonitus("GetPopularKeyword",{category:e,num:encodeURI(t)},n)}function GetEntityRanking(e,t,n,r){requestInternal({method:"GetEntityRanking",argument:{action:encodeURI(e),category:t,num:encodeURI(n)}},r)}function GetCoOccurKeyword(e,t,n){requestAdmonitus("GetCoOccurKeyword",{term:e,num:encodeURI(t)},n)}function SetUserLikeEntity(e,t,n){requestInternal({method:"SetUserLikeEntity",argument:{uid:encodeURI(e),eid:encodeURI(t)}},n)}function SetUserUnlikeEntity(e,t,n){requestInternal({method:"SetUserUnlikeEntity",argument:{uid:encodeURI(e),eid:encodeURI(t)}},n)}function SetUserHitEntity(e,t,n){requestInternal({method:"SetUserHitEntity",argument:{uid:encodeURI(e),eid:encodeURI(t)}},n)}function RecmdEntityByEntity(e,t,n){requestInternal({method:"RecmdEntityByEntity",argument:{eid:encodeURI(e),num:encodeURI(t)}},n)}function RecmdEntityByUser(e,t,n,r){requestInternal({method:"RecmdEntityByUser",argument:{uid:encodeURI(e),category:t,applyClustering:"true",num:encodeURI(n)}},r)}function LogPV(e,t){var n,r;
1_gaq.push(["_setAccount","UA-46712761-1"]),_gaq.push(["_trackPageview"]),_gaq.push(["_trackPageLoadTime"]),(n=document.createElement("script")).type="text/javascript",n.async=!0,n.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js",(r=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,r),requestInternal({method:"Logger",argument:JSON.stringify(e)},t)}function utf8_count(e,t){if(null==e)return 0;for(var n=0;0<t&&e.length>n;t--){var r=e[n].charCodeAt();127<r&&(192<=r&&r<=223?n++:224<=r&&r<=239?n+=2:240<=r&&r<=247&&(n+=3)),n++}return n}function utf8_substr(e,t,n){return null==e?"":(t=utf8_count(e=e.trim(),t),n=utf8_count(e,n),e.substring(t,n))}function utf8_zhNum(e){arrNum="零,一,二,三,四,五,六,七,八,九,十".split(","),arrUnit=",十,百,千,".split(","),arr4Unit=",萬,億,兆,京,垓,秭,穰,溝,澗,正,載,極".split(",");for(var t,n="",r="",i=0,a=(a=""+e).split("");a.length>i;)t=r,t="0"==(r=a[a.length-1-i])?1!=a.length&&("0"==t||0==i)?"":arrNum[r]:"1"==r&&1==i&&2==a.length?"":arrNum[r],n=(t+="0"==r?"":arrUnit[i%4])+(0==i%4?arr4Unit[i/4]:"")+n,i++;return n}function utf8_today(){}function utf8_truncate(e,t){var n=null;"中央社"==e?n=Array("(中央社[\\S].*電)","(中央社[\\S].*報導)"):"軍聞社"==e?n=Array("(軍聞社記者[\\S].*電)"):"財訊快報"==e?n=Array("【[\\S].*】"):"新頭殼"==e?n=Array("新頭殼[\\S].*報導"):"MoneyDJ"==e?n=Array("精實新聞[\\S].*報導"):"環資中心"==e?n=Array("台北訊[\\S].*報導","摘譯[\\S].*報導","本報[\\S].*審校","本報[\\S].*報導","特約記者[\\S].*報導","「環境報導」[\\S].*報導","摘錄[\\S].*審校"):"NOWnews"==e?n=Array("政治中心[\\S].*報導","國際中心[\\S].*報導","娛樂中心[\\S].*報導","社會中心[\\S].*報導","大陸新聞中心[\\S].*報導","旅遊中心[\\S].*報導","生活中心[\\S].*報導","特約[\\S].*編譯","特約[\\S].*報導","體育中心[\\S].*報導","〔[\\S].*〕","〔生活中心[\\S].*報導〕","記者[\\S].*報導","記者[\\S].*攝影","記者[\\S].*專訪","記者[\\S].*綜合報導"):"欣傳媒"==e?n=Array("欣傳媒[\\S].*報導","欣傳媒 | "):"住展房屋網"!=e&&"住展雜誌"!=e||(n=Array("【[\\S].*報導】"));for(var r=t,i=0;null!=n&&n.length>i;i++){var a=RegExp(n[i],"i");if(a.test(t)){r=t.replace(a,"");break}}return r}(function(i,n){function d(e,t,n){this._d=e,this._isUTC=!!t,this._a=e._a||null,e._a=null,this._lang=n||!1}function a(e){var t=this._data={},n=e.years||e.y||0,r=e.months||e.M||0,i=e.weeks||e.w||0,a=e.days||e.d||0,o=e.hours||e.h||0,s=e.minutes||e.m||0,d=e.seconds||e.s||0,e=e.milliseconds||e.ms||0;this._milliseconds=e+1e3*d+6e4*s+36e5*o,this._days=a+7*i,this._months=r+12*n,t.milliseconds=e%1e3,d+=u(e/1e3),t.seconds=d%60,s+=u(d/60),t.minutes=s%60,o+=u(s/60),t.hours=o%24,a+=u(o/24),t.days=(a+=7*i)%30,r+=u(a/30),t.months=r%12,n+=u(r/12),t.years=n,this._lang=!1}function u(e){return e<0?Math.ceil(e):Math.floor(e)}function t(e,t){for(var n=e+"";t>n.length;)n="0"+n;return n}function r(e,t,n){var r=t._milliseconds,i=t._days,t=t._months;r&&e._d.setTime(+e+r*n),i&&e.date(e.date()+i*n),t&&(r=e.date(),e.date(1).month(e.month()+t*n).date(Math.min(r,e.daysInMonth())))}function o(e){return"[object Array]"===Object.prototype.toString.call(e)}function l(e,t){for(var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,a=0;a<n;a++)~~e[a]!=~~t[a]&&i++;return i+r}function f(e,t){for(var n,r=1;r<7;r++)e[r]=null==e[r]?2===r?1:0:e[r];return e[7]=t,n=new i(0),t?(n.setUTCFullYear(e[0],e[1],e[2]),n.setUTCHours(e[3],e[4],e[5],e[6])):(n.setFullYear(e[0],e[1],e[2]),n.setHours(e[3],e[4],e[5],e[6])),n._a=e,n}function s(e,t){var n,r,i=[];for(!t&&T&&(t=require("./lang/"+e)),n=0;S.length>n;n++)t[S[n]]=t[S[n]]||w.en[S[n]];for(n=0;n<12;n++)r=_([2e3,n]),i[n]=RegExp("^"+(t.months[n]||t.months(r,""))+"|^"+(t.monthsShort[n]||t.monthsShort(r,"")).replace(".",""),"i");return t.monthsParse=t.monthsParse||i,w[e]=t}function h(e){e="string"==typeof e&&e||e&&e._lang||null;return e?w[e]||s(e):_}function c(e){return O[e]?"'+("+O[e]+")+'":e.replace(F,"").replace(/\\?'/g,"\\'")}function C(e){return h().longDateFormat[e]||e}function g(n,r){for(var e,i=h(n);A.test(r);)r=r.replace(A,C);return U[r]||(U[r]=(e="var a,b;return '"+(e=r).replace(M,c)+"';",new Function("t","v","o","p","m",e))),U[r](n,function(e,t){return i[e].call?i[e](n,r):i[e][t]},i.ordinal,t,i.meridiem)}function m(e){switch(e){case"DDDD":return z;case"YYYY":return G;case"S":case"SS":case"SSS":case"DDD":return j;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":case"a":case"A":return P;case"Z":case"ZZ":return L;case"T":return W;case"MM":case"DD":case"YY":case"HH":case"hh":case"mm":case"ss":case"M":case"D":case"d":case"H":case"h":case"m":case"s":return H;default:return RegExp(e.replace("\\",""))}}function p(e,t){for(var n,r,i=[0,0,1,0,0,0,0],a={tzh:0,tzm:0},o=t.match(M),s=0;o.length>s;s++){n=(m(o[s]).exec(e)||[])[0],e=e.replace(m(o[s]),""),r=c=l=u=d=void 0;var d=o[s],u=n,l=i,c=a;switch(d){case"M":case"MM":l[1]=null==u?0:~~u-1;break;case"MMM":case"MMMM":for(r=0;r<12;r++)if(h().monthsParse[r].test(u)){l[1]=r;break}break;case"D":case"DD":case"DDD":case"DDDD":null!=u&&(l[2]=~~u);break;case"YY":l[0]=(u=~~u)+(70<u?1900:2e3);break;case"YYYY":l[0]=~~Math.abs(u);break;case"a":case"A":c.isPm="pm"===(u+"").toLowerCase();break;case"H":case"HH":case"h":case"hh":l[3]=~~u;break;case"m":case"mm":l[4]=~~u;break;case"s":case"ss":l[5]=~~u;break;case"S":case"SS":case"SSS":l[6]=~~(1e3*("0."+u));break;case"Z":case"ZZ":c.isUTC=!0,(r=(u+"").match(B))&&r[1]&&(c.tzh=~~r[1]),r&&r[2]&&(c.tzm=~~r[2]),r&&"+"===r[0]&&(c.tzh=-c.tzh,c.tzm=-c.tzm)}}return a.isPm&&i[3]<12&&(i[3]+=12),!1===a.isPm&&12===i[3]&&(i[3]=0),i[3]+=a.tzh,i[4]+=a.tzm,f(i,a.isUTC)}function $(e,t,n){var r=x(Math.abs(e)/1e3),i=x(r/60),a=x(i/60),o=x(a/24),s=x(o/365),r
1=(r<45?["s",r]:1===i&&["m"])||(i<45?["mm",i]:1===a&&["h"])||(a<22?["hh",a]:1===o&&["d"])||(o<=25?["dd",o]:o<=45&&["M"])||(o<345?["MM",x(o/30)]:1===s&&["y"])||["yy",s];return r[2]=t,r[3]=0<e,r[4]=n,function(e,t,n,r,i){return"function"==typeof(i=i.relativeTime[e])?i(t||1,!!n,e,r):i.replace(/%d/i,t||1)}.apply({},r)}function e(e,n){_.fn[e]=function(e){var t=this._isUTC?"UTC":"";return null!=e?(this._d["set"+t+n](e),this):this._d["get"+t+n]()}}function y(e,t){_.duration.fn["as"+e]=function(){return+this/t}}for(var _,v,x=Math.round,w={},b="en",T="undefined"!=typeof module&&module.exports,S="months|monthsShort|weekdays|weekdaysShort|weekdaysMin|longDateFormat|calendar|relativeTime|ordinal|meridiem".split("|"),N=/^\/?Date\((\-?\d+)/i,M=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|SS?S?|zz?|ZZ?)/g,A=/(LT|LL?L?L?)/g,F=/(^\[)|(\\)|\]$/g,k=/([0-9a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)/gi,H=/\d\d?/,j=/\d{1,3}/,z=/\d{3}/,G=/\d{1,4}/,P=/[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+/i,L=/Z|[\+\-]\d\d:?\d\d/i,W=/T/i,q=/^\s*\d{4}-\d\d-\d\d(T(\d\d(:\d\d(:\d\d(\.\d\d?\d?)?)?)?)?([\+\-]\d\d:?\d\d)?)?/,E=[["HH:mm:ss.S",/T\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/T\d\d:\d\d:\d\d/],["HH:mm",/T\d\d:\d\d/],["HH",/T\d\d/]],B=/([\+\-]|\d\d)/gi,D="Month|Date|Hours|Minutes|Seconds|Milliseconds".split("|"),I={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},U={},O={M:"(a=t.month()+1)",MMM:'v("monthsShort",t.month())',MMMM:'v("months",t.month())',D:"(a=t.date())",DDD:"(a=new Date(t.year(),t.month(),t.date()),b=new Date(t.year(),0,1),a=~~(((a-b)/864e5)+1.5))",d:"(a=t.day())",dd:'v("weekdaysMin",t.day())',ddd:'v("weekdaysShort",t.day())',dddd:'v("weekdays",t.day())',w:"(a=new Date(t.year(),t.month(),t.date()-t.day()+5),b=new Date(a.getFullYear(),0,4),a=~~((a-b)/864e5/7+1.5))",YY:"p(t.year()%100,2)",YYYY:"p(t.year(),4)",a:"m(t.hours(),t.minutes(),!0)",A:"m(t.hours(),t.minutes(),!1)",H:"t.hours()",h:"t.hours()%12||12",m:"t.minutes()",s:"t.seconds()",S:"~~(t.milliseconds()/100)",SS:"p(~~(t.milliseconds()/10),2)",SSS:"p(t.milliseconds(),3)",Z:'((a=-t.zone())<0?((a=-a),"-"):"+")+p(~~(a/60),2)+":"+p(~~a%60,2)',ZZ:'((a=-t.zone())<0?((a=-a),"-"):"+")+p(~~(10*a/6),4)'},Y="DDD w M D d".split(" "),R="M D H h m s w".split(" ");Y.length;)v=Y.pop(),O[v+"o"]=O[v]+"+o(a)";for(;R.length;)v=R.pop(),O[v+v]="p("+O[v]+",2)";for(O.DDDD="p("+O.DDD+",3)",(_=function(e,t){return null===e||""===e?null:_.isMoment(e)?new d(new i(+e._d),e._isUTC,e._lang):(t=t?(o(t)?function(e,t){for(var n,r,i,a=e.match(k)||[],o=99,s=0;t.length>s;s++)(i=l(a,g(new d(r=p(e,t[s])),t[s]).match(k)||[]))<o&&(o=i,n=r);return n}:p)(e,t):(t=N.exec(e),e===n?new i:t?new i(+t[1]):e instanceof i?e:o(e)?f(e):"string"==typeof e?function(e){var t,n="YYYY-MM-DDT";if(q.exec(e)){for(t=0;t<4;t++)if(E[t][1].exec(e)){n+=E[t][0];break}return L.exec(e)?p(e,n+" Z"):p(e,n)}return new i(e)}(e):new i(e)),new d(t))}).utc=function(e,t){return o(e)?new d(f(e,!0),!0):("string"==typeof e&&!L.exec(e)&&(e+=" +0000",t)&&(t+=" Z"),_(e,t).utc())},_.unix=function(e){return _(1e3*e)},_.duration=function(e,t){var n=_.isDuration(e),r="number"==typeof e,i=n?e._data:r?{}:e;return r&&(t?i[t]=e:i.milliseconds=e),r=new a(i),n&&(r._lang=e._lang),r},_.humanizeDuration=function(e,t,n){return _.duration(e,!0===t?null:t).humanize(!0===t||n)},_.version="1.7.0",_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",_.lang=function(e,t){var n;if(!e)return b;if(!t&&w[e]||s(e,t),w[e]){for(n=0;S.length>n;n++)_[S[n]]=w[e][S[n]];_.monthsParse=w[e].monthsParse,b=e}},_.langData=h,_.isMoment=function(e){return e instanceof d},_.isDuration=function(e){return e instanceof a},_.lang("en",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},meridiem:function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th"}}),_.fn=d.prototype={clone:function(){return _(this)}
1,valueOf:function(){return+this._d},unix:function(){return Math.floor(+this._d/1e3)},toString:function(){return""+this._d},toDate:function(){return this._d},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds(),!!this._isUTC]},isValid:function(){return this._a?!l(this._a,(this._a[7]?_.utc(this):this).toArray()):!isNaN(this._d.getTime())},utc:function(){return this._isUTC=!0,this},local:function(){return this._isUTC=!1,this},format:function(e){return g(this,e||_.defaultFormat)},add:function(e,t){return r(this,t?_.duration(+t,e):_.duration(e),1),this},subtract:function(e,t){return r(this,t?_.duration(+t,e):_.duration(e),-1),this},diff:function(e,t,n){var e=this._isUTC?_(e).utc():_(e).local(),r=6e4*(this.zone()-e.zone()),r=this._d-e._d-r,i=this.year()-e.year(),a=this.month()-e.month(),e=this.date()-e.date(),i="months"===t?12*i+a+e/30:"years"===t?i+(a+e/30)/12:"seconds"===t?r/1e3:"minutes"===t?r/6e4:"hours"===t?r/36e5:"days"===t?r/864e5:"weeks"===t?r/6048e5:r;return n?i:x(i)},from:function(e,t){return _.duration(this.diff(e)).lang(this._lang).humanize(!t)},fromNow:function(e){return this.from(_(),e)},calendar:function(){var e=this.diff(_().sod(),"days",!0),t=this.lang().calendar,n=t.sameElse,e=e<-6?n:e<-1?t.lastWeek:e<0?t.lastDay:e<1?t.sameDay:e<2?t.nextDay:e<7?t.nextWeek:n;return this.format("function"==typeof e?e.apply(this):e)},isLeapYear:function(){var e=this.year();return 0==e%4&&0!=e%100||0==e%400},isDST:function(){return _([this.year()]).zone()>this.zone()||_([this.year(),5]).zone()>this.zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null==e?t:this.add({d:e-t})},startOf:function(e){switch(e.replace(/s$/,"")){case"year":this.month(0);case"month":this.date(1);case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return this},endOf:function(e){return this.startOf(e).add(e.replace(/s?$/,"s"),1).subtract("ms",1)},sod:function(){return this.clone().startOf("day")},eod:function(){return this.clone().endOf("day")},zone:function(){return this._isUTC?0:this._d.getTimezoneOffset()},daysInMonth:function(){return _.utc([this.year(),this.month()+1,0]).date()},lang:function(e){return e===n?h(this):(this._lang=e,this)}},v=0;D.length>v;v++)e(D[v].toLowerCase(),D[v]);for(v in e("year","FullYear"),_.duration.fn=a.prototype={weeks:function(){return u(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+2592e6*this._months},humanize:function(e){var t=+this,n=this.lang().relativeTime,r=$(t,!e,this.lang());return r=e?(t<=0?n.past:n.future).replace(/%s/i,r):r},lang:_.fn.lang},I)I.hasOwnProperty(v)&&(y(v,I[v]),function(e){_.duration.fn[e]=function(){return this._data[e]}}(v.toLowerCase()));y("Weeks",6048e5),T&&(module.exports=_),"undefined"==typeof ender&&(this.moment=_),"function"==typeof define&&define.amd&&define("moment",[],function(){return _})}).call(this,Date),function(){var e={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT"},meridiem:function(e,t){return e<9?"早上":e<11&&t<30?"上午":e<13&&t<30?"中午":e<18?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1分鐘",mm:"%d分鐘",h:"1小時",hh:"%d小時",d:"1天",dd:"%d天",M:"1個月",MM:"%d個月",y:"1年",yy:"%d年"},ordinal:function(){return""}};"undefined"!=typeof module&&module.exports&&(module.exports=e),"undefined"!=typeof window&&this.moment&&this.moment.lang&&this.moment.lang("zh-tw",e)}(),function(u,l){function c(e){return e}function f(e){return decodeURIComponent(e.replace(t," "))}var t=/\+/g,h=u.cookie=function(e,t,n){var r,i;if(void 0!==t)return n=u.extend({},h.defaults,n),null===t&&(n.expires=-1),"number"==typeof n.expires&&(r=n.expires,(i=n.expires=new Date).setDate(i.getDate()+r)),t=h.json?JSON.stringify(t):t+"",l.cookie=[encodeURIComponent(e),"=",h.raw?t:encodeURIComponent(t),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("");for(var a,o=h.raw?c:f,s=l.cookie.split("; "),d=0;a=s[d]&&s[d].split("=");d++)if(o(a.shift())===e)return a=o(a.join("=")),h.json?JSON.parse(a):a;return null};h.defaults={},u.removeCookie=function(e,t){return null!==u.cookie(e)&&(u.cookie(e,null,t),!0)}}(jQuery,document),function(a,o,n,s){var d=a(o);a.fn.lazyload=function(e){function t(){var t=0;r.each(function(){var e=a(this);if((!i.skip_invisible||e.is(":visible"))&&!a.abovethetop(this,i)&&!a.leftofbegin(this,i))if(a.belowthefold(this,i)||a.rightoffold(this,i)){if(++t>i.failure_limit)return!1}else e.trigger("appear"),t=0})}var r=this,i={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:o,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return e&&(s!==e.failurelimit&&(e.failure_limit=e.failurelimit,delete e.failurelimit),s!==e.effectspeed&&(e.effect_speed=e.effectspeed,delete e.effectspeed),a.extend(i,e)),e=i.container===s||i.container===o?d:a(i.container),0===i.event.indexOf("scroll")&&e.bind(i.event,t),this.each(function(){var t=this,n=a(t);t.loaded=!1,n.attr("src")!==s&&!1!==n.attr("src")||!n.is("img")||n.attr("src",i.placeholder),n.one("appear",function(){var e;this.loaded||(i.appear&&(e=r.length,i.appear.call(t,e,i)),a("<img />").bind("load",function(){var e=n.attr("data-"+i.data_attribute),e=(n.hide(),n.is("img")?n.attr("src",e):n.css("background-image","url('"+e+"')"),n[i.effect](i.effect_speed),t.loaded=!0,a.grep(r,function(e){return!e.loaded}));r=a(e),i.load&&(e=r.length,i.load.call(t,e,i))}).attr("src",n.attr("data-"+i.data_attribute)))}),0!==i.event.indexOf("scroll")&&n.bind(i.event,function(){t.loaded||n.trigger("appear")})}),d.bind("resize",function(){t()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&d.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&r.each(function(){a(this).trigger("appear")})}),a(n).ready(function(){t()}),this},a.belowthefold=function(e,t){var n=t.container===s||t.container===o?(o.innerHeight||d.height())+d.scrollTop():a(t.container).offset().top+a(t.container).height();return a(e).offset().top-t.threshold>=n},a.rightoffold=function(e,t){var n=t.container===s||t.container===o?d.width()+d.scrollLeft():a(t.container).offset().left+a(t.container).width();return a(e).offset().left-t.threshold>=n},a.abovethetop=function(e,t){return(t.container===s||t.container===o?d.scrollTop():a(t.container).offset().top)>=a(e).offset().top+t.threshold+a(e).height()},a.leftofbegin=function(e,t){return(t.container===s||t.container===o?d.scrollLeft():a(t.container).offset().left)>=a(e).offset().left+t.threshold+a(e).width()},a.inviewport=function(e,t){return!(a.rightoffold(e,t)||a.leftofbegin(e,t)||a.belowthefold(e,t)||a.abovethetop(e,t))},a.extend(a.expr[":"],{"below-the-fold":function(e){return a.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!a.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return a.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!a.rightoffold(e,{threshold:0})}
1,"in-viewport":function(e){return a.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!a.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return a.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!a.rightoffold(e,{threshold:0})}})}(jQuery,window,document),function(e){function g(){var e=arguments[0],t=g.cache;return t[e]&&t.hasOwnProperty(e)||(t[e]=g.parse(e)),g.format.call(null,t[e],arguments)}function m(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t,n){return(n=(t||[]).slice(0)).splice(0,0,e),g.apply(null,n)}var p={not_string:/[^s]/,number:/[dief]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fiosuxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};g.format=function(e,t){for(var n,r,i,a,o,s,d=1,u=e.length,l=[],c=!0,f="",h=0;h<u;h++)if("string"===(o=m(e[h])))l[l.length]=e[h];else if("array"===o){if((i=e[h])[2])for(n=t[d],r=0;i[2].length>r;r++){if(!n.hasOwnProperty(i[2][r]))throw Error(g("[sprintf] property '%s' does not exist",i[2][r]));n=n[i[2][r]]}else n=i[1]?t[i[1]]:t[d++];if("function"==m(n)&&(n=n()),p.not_string.test(i[8])&&"number"!=m(n)&&isNaN(n))throw new TypeError(g("[sprintf] expecting number but found %s",m(n)));switch(p.number.test(i[8])&&(c=0<=n),i[8]){case"b":n=n.toString(2);break;case"c":n=String.fromCharCode(n);break;case"d":case"i":n=parseInt(n,10);break;case"e":n=i[7]?n.toExponential(i[7]):n.toExponential();break;case"f":n=i[7]?parseFloat(n).toFixed(i[7]):parseFloat(n);break;case"o":n=n.toString(8);break;case"s":n=(n+="")&&i[7]?n.substring(0,i[7]):n;break;case"u":n>>>=0;break;case"x":n=n.toString(16);break;case"X":n=n.toString(16).toUpperCase()}!c||p.number.test(i[8])&&i[3]?(f=c?"+":"-",n=(""+n).replace(p.sign,"")):f="",o=i[4]?"0"===i[4]?"0":i[4].charAt(1):" ",a=i[6]-(f+n).length,a=i[6]?(s=o,Array(a+1).join(s)):"",l[l.length]=i[5]?f+n+a:"0"===o?f+a+n:a+f+n}return l.join("")},g.cache={},g.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=p.text.exec(t)))r[r.length]=n[0];else if(null!==(n=p.modulo.exec(t)))r[r.length]="%";else{if(null===(n=p.placeholder.exec(t)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){i|=1;var a=[],o=n[2],s=[];if(null===(s=p.key.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a[a.length]=s[1];""!==(o=o.substring(s[0].length));){if(null===(s=p.key_access.exec(o))&&null===(s=p.index_access.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");a[a.length]=s[1]}n[2]=a}else i|=2;if(3===i)throw Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r[r.length]=n}t=t.substring(n[0].length)}return r};void 0!==exports?(exports.sprintf=g,exports.vsprintf=t):(e.sprintf=g,e.vsprintf=t,"function"==typeof define&&define.amd&&define(function(){return{sprintf:g,vsprintf:t}}))}("undefined"==typeof window?this:window),$.ajaxSetup({cache:!1});var data_count,uri,exports,SetWidthArray=Array(),SetWidth_lastWidth=1280,SetWidth_widthColumn=220,GetTrekArray=($(window).bind("resize",runSetWidthArray),Array()),num_font_types=(0<$(".area_right_topranking").length&&(uri=DATASOURCE_URL+"/resource/gallerylists/TOPRANKING",$.ajax(uri,{type:"GET",dataType:"json",cache:!1,timeout:1e4,success:function(e){void 0===e.data_list||0==e.data_list.length?$(".area_right_topranking").parent().hide():renderTopRanking(".area_right_topranking",e=e.data_list,6,!0)}})),0<$(".area_right_gallery").length&&(uri=DATASOURCE_URL+"/resource/lists/TAIWANPHOTOS/"+encodeURI(""),$.ajax(uri,{type:"GET",dataType:"json",cache:!1,timeout:1e4,success:function(e){var t;void 0===e.data_list||0==e.data_list.length?$("#area_right_gallery").parent().hide():(t=(t=(t=(t="")+'<div class="index_gallery_right"><a href="/news/'+(e=e.data_list[0]).EID+'">')+'<div class="title" title="'+e.TITLE+'">'+e.TITLE+'</div><div class="image">')+'<img alt="'+e.TITLE+'" src="'+e.IMAGELINK+'" onload="fitImageEvent(event);" onerror="this.src=\'/images/default.png\';"/></div></a></div>',$(".area_right_gallery").html(t))}})),0<$("#area_right_selected").length&&(uri=DATASOURCE_URL+"/resource/gallerylists/SELECTED",data_count=0,$.ajax(uri,{type:"GET",dataType:"json",cache:!1,timeout:1e4,success:function(e){e=e.data_list,data_count=e.length,renderRealtime("#area_right_selected",e,5,!0)},complete:function(){data_count<=0&&$("#area_right_selected").parent().hide()}})),0<$(".area_right_realtime").length&&(uri=DATASOURCE_URL+"/resource/lists/NEWS",$.ajax(uri,{type:"GET",dataType:"json",cache:!1,timeout:1e4,success:function(e){renderRealtime(".area_right_realtime",e=e.data_list,5,!0)}})),0<$("#area_right_forum").length&&(uri=DATASOURCE_URL+"/resource/lists/FORUM",$.ajax(uri,{type:"GET",dataType:"json",cache:!1,timeout:1e4,success:function(e){renderForum("#area_right_forum",e=e.data_list,5,!0)}})),4),getIEVer=(Object.keys=Object.keys||function(){var i=Object.prototype.hasOwnProperty,a=!{toString:null}
1.propertyIsEnumerable("toString"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=o.length;return function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t,n=[];for(t in e)i.call(e,t)&&n.push(t);if(a)for(var r=0;r<s;r++)i.call(e,o[r])&&n.push(o[r]);return n}}(),getInternetExplorerVersion),flagLog=($(".search_button").on("click",function(){$("#search_panel").slideDown()}),$("#search_close").on("click",function(){$("#search_panel").slideUp()}),$(".searchbar").on("keypress",function(e){13!=e.which&&13!=e.keyCode||$(this).parent().submit()}),!1),contextAdmonitus=(void 0===flagLog&&(flagLog=!0),"/admonitus"),contextService="/service",_gaq=_gaq||[],TREK={init:function(t){$.cookie("cookieId")?(TREK.log(),t&&t($.cookie("cookieId"))):TREK.get(function(e){$.cookie("cookieId",e,{path:"/",expires:365}),TREK.log(),t&&t($.cookie("cookieId"))})},get:function(e){requestInternal({method:"GetTrekId"},e)},link:function(e,t,n){requestInternal({method:"LinkTrekId",type:t,id:e},n)},log:function(e){requestInternal({method:"LogTrekId"},e)}};"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),(exports=void 0===exports?this.mymodule={}:exports).truncate=utf8_truncate,exports.substr=utf8_substr,exports.zhNum=utf8_zhNum;

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.