var TEMPLATE=TEMPLATE||{},screen_width=window.screen.width||window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;try{TEMPLATE={label_color:function(e){var i=new Array;return i[1]="red",i[6]="green",i[30]="gray",i[39]="orange",i[e]},paginate:function(e,i){var t=new Array;return 0!==i?(t.offset=i-1,t.limit=e+i):(t.offset=0,t.limit=e),t},round_up:function(e,t,a){var s=new Array,l="";for(l=736>screen_width?e.mobile_showbiz_round_up:e.showbiz_round_up,i=0;i<l.length;i++)"news"==l[i].article_section.section_slug&&"local"==l[i].article_subsection.section_slug||"foreign"==l[i].article_subsection.section_slug?s[i]="":("news"!=l[i].article_section.section_slug||"local"!=l[i].article_subsection.section_slug||"foreign"!=l[i].article_subsection.section_slug)&&(s[i]=l[i].article_subsection.section_slug?"/"+l[i].article_subsection.section_slug:"");return'<div class="row">	<div style="">		<a href="'+BASE_URL+l[0].article_section.section_slug+s[0]+"/"+l[0].ID+'?ref=headline">			<figure class="roundup-large">				<div class="roundup-large-layer"></div>				<img src="'+CDN+l[0].article_image_main+'" style="margin: 0 0 10px;" class="roundup-images-large roundup-height lazy" alt="'+strip_tags(l[0].article_short_title)+'">				<div class="roundup-caption main hidden-small"><p>'+l[0].article_short_title+'</p><p class="roundup-article-blurb">'+l[0].article_blurb+'</p></div>				<p class="'+("Videos"==l[0].article_subsection.section_name?"hover-video":"Podcast"==l[0].article_subsection.section_name?"hover-podcast":"Photos"==l[0].article_subsection.section_name?"hover-photo":"hidden")+'"></p>			</figure>			<div class="roundup-caption-large-xs visible-small">				<p>'+l[0].article_short_title+'</p><p class="hidden roundup-blurb-large-xs">'+l[0].article_blurb+'</p>				<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[0].article_subsection.section_name||"News"==l[0].article_section.section_name||"Guide"==l[0].article_section.section_name||"Celeb Life"==l[0].article_section.section_name?l[0].article_section.section_name:l[0].article_subsection.section_name)+" </span>&bull; "+interval(l[0].article_date_published)+'</p>			</div>			<hr class="clear-both visible-small">		</a>	</div>	<div style="">		<div class="row">			<div class="roundup-small-thumbails">				<a href="'+BASE_URL+l[1].article_section.section_slug+s[1]+"/"+l[1].ID+'?ref=headline">					<figure class="roundup-small top-left">						<div class="roundup-large-layer"></div>						<p class="'+("Videos"==l[1].article_subsection.section_name?"hover-video":"Podcast"==l[1].article_subsection.section_name?"hover-podcast":"Photos"==l[1].article_subsection.section_name?"hover-photo":"hidden")+'"></p>						<img src="'+CDN+l[1].article_image+'" class="roundup-images-small roundup-height lazy" alt="'+strip_tags(l[1].article_short_title)+'">						<figcaption class="roundup-caption mini second hidden-xs">							<p>'+l[1].article_short_title+'</p>						</figcaption>					</figure>					<div class="roundup-caption-xs visible-small">						<p>'+l[1].article_short_title+'</p>						<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[1].article_subsection.section_name||"News"==l[1].article_section.section_name||"Guide"==l[1].article_section.section_name||"Celeb Life"==l[1].article_section.section_name?l[1].article_section.section_name:l[1].article_subsection.section_name)+" </span>&bull; "+interval(l[1].article_date_published)+'</p>					</div>				</a>				<hr class="clear-both visible-small">			</div>			<div class="roundup-small-thumbails">				<a href="'+BASE_URL+l[2].article_section.section_slug+s[2]+"/"+l[2].ID+'?ref=headline">					<figure class="roundup-small top-left">						<p class="'+("Videos"==l[2].article_subsection.section_name?"hover-video":"Podcast"==l[2].article_subsection.section_name?"hover-podcast":"Photos"==l[2].article_subsection.section_name?"hover-photo":"hidden")+'"></p>						<div class="roundup-large-layer"></div>						<img src="'+CDN+l[2].article_image+'" class="roundup-images-small roundup-height lazy" alt="'+strip_tags(l[2].article_short_title)+'">						<figcaption class="roundup-caption mini third hidden-xs"><p>'+l[2].article_short_title+'</p></figcaption>					</figure>					<div class="roundup-caption-xs visible-small">						<p>'+l[2].article_short_title+'</p>						<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[2].article_subsection.section_name||"News"==l[2].article_section.section_name||"Guide"==l[2].article_section.section_name||"Celeb Life"==l[2].article_section.section_name?l[2].article_section.section_name:l[2].article_subsection.section_name)+" </span>&bull; "+interval(l[2].article_date_published)+'</p>					</div>				</a>				<hr class="clear-both visible-small">			</div>		</div>	</div></div><div class="row">		<div class="roundup-small-thumbails">			<a href="'+BASE_URL+l[3].article_section.section_slug+s[3]+"/"+l[3].ID+'?ref=headline">				<figure class="roundup-small">					<p class="'+("Videos"==l[3].article_subsection.section_name?"hover-video":"Podcast"==l[3].article_subsection.section_name?"hover-podcast":"Photos"==l[3].article_subsection.section_name?"hover-photo":"hidden")+'"></p>					<div class="roundup-large-layer"></div>					<img src="'+BASE_URL+'res/img/spacer.gif" data-original="'+CDN+l[3].article_image+'" class="roundup-images-small roundup-height lazy" alt="'+strip_tags(l[3].article_short_title)+'">					<figcaption class="roundup-caption mini hidden-xs"><p>'+l[3].article_short_title+'</p></figcaption>				</figure>				<div class="roundup-caption-xs visible-xs">					<p>'+l[3].article_short_title+'</p>					<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[3].article_subsection.section_name||"News"==l[3].article_section.section_name||"Guide"==l[3].article_section.section_name||"Celeb Life"==l[3].article_section.section_name?l[3].article_section.section_name:l[3].article_subsection.section_name)+" </span>&bull; "+interval(l[3].article_date_published)+'</p>				</div>			</a>			<hr class="clear-both visible-xs">		</div>		<div class="roundup-small-thumbails">			<a href="'+BASE_URL+l[4].article_section.section_slug+s[4]+"/"+l[4].ID+'?ref=headline">				<figure class="roundup-small bottom-mid">					<p class="'+("Videos"==l[4].article_subsection.section_name?"hover-video":"Podcast"==l[4].article_subsection.section_name?"hover-podcast":"Photos"==l[4].article_subsection.section_name?"hover-photo":"hidden")+'"></p>					<div class="roundup-large-layer"></div>					<img src="'+BASE_URL+'res/img/spacer.gif" data-original="'+CDN+l[4].article_image+'" class="roundup-images-small roundup-height lazy" alt="'+strip_tags(l[4].article_short_title)+'">					<figcaption class="roundup-caption mini hidden-xs"><p>'+l[4].article_short_title+'</p></figcaption>				</figure>				<div class="roundup-caption-xs visible-xs">					<p>'+l[4].article_short_title+'</p>					<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[4].article_subsection.section_name||"News"==l[4].article_section.section_name||"Guide"==l[4].article_section.section_name||"Celeb Life"==l[4].article_section.section_name?l[4].article_section.section_name:l[4].article_subsection.section_name)+" </span>&bull; "+interval(l[4].article_date_published)+'</p>				</div>			</a>			<hr class="clear-both visible-xs">		</div>		<div class="roundup-small-thumbails hidden">			<a href="'+BASE_URL+l[5].article_section.section_slug+s[5]+"/"+l[5].ID+'?ref=headline">				<figure class="roundup-small bottom-left">					<p class="'+("Videos"==l[5].article_subsection.section_name?"hover-video":"Podcast"==l[5].article_subsection.section_name?"hover-podcast":"Photos"==l[5].article_subsection.section_name?"hover-photo":"hidden")+'"></p>					<div class="roundup-large-layer"></div>					<img src="'+BASE_URL+'res/img/spacer.gif" data-original="'+CDN+l[5].article_image+'" class="roundup-images-small roundup-height lazy" alt="'+strip_tags(l[5].article_short_title)+'">					<figcaption class="roundup-caption mini hidden-xs"><p>'+l[5].article_short_title+'</p></figcaption>				</figure>				<div class="roundup-caption-xs visible-xs">					<p>'+l[5].article_short_title+'</p>					<p class="ru article-timestamp"><span class="story-list-section"> '+("undefined"==l[5].article_subsection.section_name||"News"==l[5].article_section.section_name||"Guide"==l[5].article_section.section_name||"Celeb Life"==l[5].article_section.section_name?l[5].article_section.section_name:l[5].article_subsection.section_name)+" </span>&bull; "+interval(l[5].article_date_published)+'</p>				</div>			</a>			<hr class="clear-both visible-xs">		</div></div>'},story_list:function(e,i,t){var a=0,s="",l=this.paginate(i,t);return e.length>1?($.each(e,function(e,i){if(unix_timestamp(i.article_date_published)){article_subsection="","news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:"");var t=i.article_author;if(t.indexOf(",")>0){t=t.replace(/\s/g,"");var c=t.split(",");t=c[1]+" "+c[0]}s+='<div class="row'+(e>=l.limit?" hidden":"")+'">	<div class="">		<figure class="just-in clear-left">			<a href="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+'?ref=latest">				<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images-small just-in-mobile-home" alt="'+strip_tags(i.article_title)+'">				<div class="just-in-layer"></div>				<p class="'+("Videos"==i.article_subsection.section_name||"Videos"==i.article_section.section_name?"hover-video":"Podcast"==i.article_subsection.section_name||"Podcast"==i.article_section.section_name?"hover-podcast":"Photos"==i.article_subsection.section_name||"Photos"==i.article_section.section_name?"hover-photo":"hidden")+'"></p>			</a>		</figure>	</div>		<a href="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+'?ref=latest">	<div class="article-details" style="">			<p class="article-title">'+(736>screen_width?i.article_short_title:i.article_title)+'</p>			<p class="article-timestamp"><span class="'+("—"==i.article_author||""==i.article_author?"hidden":"hidden-small")+'">by '+t+' &bull;</span><span class="story-list-section"> '+("undefined"==i.article_subsection.section_name||"News"==i.article_section.section_name||"Guide"==i.article_section.section_name||"Celeb Life"==i.article_section.section_name||"News"==i.article_section.section_name?i.article_section.section_name:i.article_subsection.section_name)+" </span>&bull; "+interval(i.article_date_published)+'</p>			<p id="radiumone" class="pw-widget share-icons share-home hidden-small" pw:url="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+"/"+i.article_slug+'" pw:twitter-via="PEPalerts" pw:title="'+i.article_title+'">				<a class="pw-button-facebook pw-counter"></a>				<a class="pw-button-twitter pw-counter"></a>			</p>	</div>		</a>		</div><hr class="clear-both'+(e>=l.limit?" hidden":"")+'">',a++}else l.limit=l.limit+1}),$(".more-posts").attr("data-record",a),s):void 0},follow_this:function(e,i,t){var a="",s=this.paginate(i,t);return e.length>1?($.each(e,function(e,i){return 0!==s.offset&&e<s.offset?!0:e==s.limit?!1:void(a+='<div class="row" style="position: relative;"><p class="circle"></p><p class="vertical_dotted_line"></p>		<a href="'+BASE_URL+i.article_section.section_slug+"/"+i.ID+'">	<div class="article-details follow-this-timeline-details" style="margin-left: 20px; margin-top: 20px;">			<p class="follow-timestamp">'+interval(i.article_date_published)+'</p>			<p class="follow-blurb">'+i.article_title+"</p>	</div>		</a>		</div>")}),a+='<div class="row" style="position: relative; margin: 0 0 20px;">	<span class="follow-update-down" style=""></span>	<a href="#">		<div class="article-details" style="margin-left: 30px; margin-top: 22px;">			<p class="follow-update" data-json-file="STORY_LIST_THIS_JUST_IN">5 updates</p>		</div>	</a></div>'):void 0},section_widget:function(e,i,t){var a="",s=(e.feature_section,e.feature_section_article),l=["section-widget-right-top","section-widget-right-bottom"];if(s.length>1){var c="";"news"==s[0].article_section.section_slug&&"local"==s[0].article_subsection.section_slug||"foreign"==s[0].article_subsection.section_slug?c="":("news"!=s[0].article_section.section_slug||"local"!=s[0].article_subsection.section_slug||"foreign"!=s[0].article_subsection.section_slug)&&(c=s[0].article_subsection.section_slug?"/"+s[0].article_subsection.section_slug:""),a+="                           ",a+='           <div id="home-section-widget" class="row"><hr class="clear-both"><div class="section-widget-left clear-left" style=""><figure class="" style=""><a href="'+BASE_URL+(s[0].article_section.section_slug+c).replace("undefined/","")+"/"+s[0].ID+'?ref=featured"><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+s[0].article_image+'" class="lazy roundup-images-small" alt="'+s[0].article_short_title+'"></a></figure><a href="'+BASE_URL+(s[0].article_section.section_slug+c).replace("undefined/","")+"/"+s[0].ID+'?ref=featured"><p class="title-large">'+s[0].article_title+'</p><p class="article-timestamp-large"><span class="story-list-section"> '+("undefined"==s[0].article_subsection.section_name||"News"==s[0].article_section.section_name||"Guide"==s[0].article_section.section_name||"Celeb Life"==s[0].article_section.section_name?s[0].article_section.section_name:s[0].article_subsection.section_name)+" </span>&bull; "+interval(s[0].article_date_published)+'</p></a></div><div class="section-widget-right" style="">',$.each(s,function(e,i){if(e>0){var t="";"news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?t="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(t=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),a+='<div class="'+l[e-1]+'" style=""><figure class="" style=""><a href="'+BASE_URL+(i.article_section.section_slug+t).replace("undefined/","")+"/"+i.ID+'?ref=featured"><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images-small" alt="'+i.article_short_title+'"></a></figure><a href="'+BASE_URL+(i.article_section.section_slug+t).replace("undefined/","")+"/"+i.ID+'?ref=featured"><p class="title-small">'+i.article_short_title+'</p><p class="sw article-timestamp"><span class="story-list-section"> '+("undefined"==i.article_subsection.section_name||"News"==i.article_section.section_name||"Guide"==i.article_section.section_name||"Celeb Life"==i.article_section.section_name?i.article_section.section_name:i.article_subsection.section_name)+" </span>&bull; "+interval(i.article_date_published)+"</p></a></div>"+(e<e.length?'<hr class="clear-both hidden-xs">':"")}}),a+="	</div>",a+="	</div>"}return a},sidebar_section_widget:function(e,i,t){var a="",s=e.feature_section,l=e.feature_section_article;return l.length>1&&(a+='           <div id="article-sidebar-section-widget" class="row">                               <h2 class="sidebar-title text-center"><p>'+s[0].article_title+"</p></h2>",$.each(l,function(e,i){e>=0&&(article_subsection="","news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),a+='<div class="row sw sidebar-margin num'+e+'" style="">                                                               <figure class="sw sidebar-thumbnail" style="">                                                                               <a href="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+'?ref=featured">                                                                                               <img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images-small" alt="'+i.article_short_title+'">                                                                               </a>                                                               </figure>                                                               <a href="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+'?ref=featured">                                                                               <div class="sw sidebar-thumbnail-text">'+i.article_short_title+'</div>                                                               </a>                                               </div>                                               <hr class="clear-both hidden-small">'+(e<e.length?'<hr class="clear-both hidden-small">':""))}),a+='<hr class="clear-both visible-small"></div>'),a},trending_list:function(e,i,t){var a="",s=this.paginate(i,t),l=1;return e.length>1?($.each(e,function(e,i){return 0!==s.offset&&e<s.offset?!0:e==s.limit?!1:(a+='<article class="row sidebar-margin"><a href="'+BASE_URL+i.article_slug+'?ref=most-read" class="text-black">	<div class="most-read-number">		<p>'+(e+1)+'</p>	</div>	<div class="most-read-text">	<p class="pep-recommends-text">'+i.article_title+"</p>	</div></a></article><hr>",void l++)}),a):void 0},trending_alerts:function(e,i,t){var a="",s=0==t?1:t;return 0!==t&&(t-=1,i+=t),e.most_read.length>1?($.each(e.most_read,function(e,l){return 0!==t&&t>e?!0:e==i?!1:(a+='<a href="'+BASE_URL+l.article_article_section.section_slug+"/"+l.ID+'" class="text-black"><article class="row sidebar-margin pep-thumb-hover">	<div class="num-alignment no-pad visible-xs-block visible-sm-block col-sm-2 col-xs-2">		<span class="pep-alerts-num">'+s+'</span>	</div>	<div class="col-lg-5 no-pad col-md-5 hidden-sm hidden-xs">		<figure>			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+l.article_image+'" class="lazy recommended-img" width="150" alt="'+l.article_short_title+'">		</figure>	</div>	<div class="no-pad col-lg-7 col-md-7 col-sm-10 col-xs-10">	<p class="pep-recommends-text pep-alerts-recommends-text">'+l.article_short_title+'</p>	</div></article>	<hr class="visible-xs-block visible-sm-block"></a>',void s++)}),a):void 0},trending_multimedia:function(e,i,t){var a=this.paginate(i,t),s="";return e.top_video.length>1?($.each(e.top_video,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<article class="row sidebar-margin"><a href="'+BASE_URL+"media/"+i.ID+'?ref=top-videos" class="text-black"><figure class="sidebar-thumbnail"><p class="'+("Videos"==i.article_subsection.section_name||"Videos"==i.article_section.section_name?"hover-video":"hidden")+'"></p><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy full-width"  alt="'+i.article_short_title+'"></figure><p class="sidebar-thumbnail-text">'+i.article_title+'</p></a></article><hr class="sidebar-hr clear-both">')}),s):void 0},trending_gallery:function(e,i,t){var a=this.paginate(i,t),s="";return e.top_gallery.length>1?($.each(e.top_gallery,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:(article_subsection="","news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),void(s+='<article class="row sidebar-margin"><a href="'+BASE_URL+"photos/"+i.ID+'/?ref=top-galleries" class="text-black"><figure class="sidebar-thumbnail"><p class="'+("Photos"==i.article_subsection.section_name||"Photos"==i.article_section.section_name?"hover-photo":"hidden")+'"></p><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy full-width"  alt="'+i.article_short_title+'"></figure><p class="sidebar-thumbnail-text">'+i.article_title+'</p></a></article><hr class="sidebar-hr clear-both">'))}),s):void 0},year_end:function(e,i,t){var a=this.paginate(i,t),s="";return e.year_end.length>1?($.each(e.year_end,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:(article_subsection="","news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),void(s+='<article class="row sidebar-margin"><a href="'+BASE_URL+"photos/"+i.ID+'/?ref=top-galleries" class="text-black"><figure class="sidebar-thumbnail"><p class="'+("Photos"==i.article_subsection.section_name||"Photos"==i.article_section.section_name?"hover-photo":"hidden")+'"></p><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy full-width"  alt="'+i.article_short_title+'"></figure><p class="sidebar-thumbnail-text">'+i.article_title+'</p></a></article><hr class="sidebar-hr clear-both">'))}),s):void 0},sidebar_pep_alerts:function(e,i,t){var a=this.paginate(i,t),s="",l="",c="";return s+="",e.length>1?($.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:(l=interval(i.article_date_published).match(/\d+/),c=interval(i.article_date_published).replace(/\d+/g,""),void(s+='<article class="row sidebar-margin">	<div class="pep-alerts-time">		<p>'+l+"</p>		<p>"+c+'</p>	</div><a href="#" class="text-black">	<div class="most-read-text">		<a href="'+BASE_URL+"news/pepalerts/read/"+i.ID+'">			<p class="most-read-text-p">'+i.article_blurb+'</p>		</a>	</div></a></article><hr class="hidden-small">'))}),s+='<a href="'+BASE_URL+'news/pepalerts"><p class="more-pep-alerts">MORE PEP ALERTS</p></a>'):void 0},video_playlist:function(e,i,t){var a,s="",l=e.pep_tv,c=["section-widget-right-top","section-widget-right-bottom"];return l.length>1&&(s+='	<div id="home-pep-tv" class="row">		<hr class="clear-both">		<div class="section-widget-left clear-left" style="">			<figure class="" style="">				<a href="'+BASE_URL+l[0].article_section.section_slug+"/media/"+l[0].ID+'?ref=pep-tv" class="play">				<div id="video-image-placeholder" class="" style="">					<div class="just-in-layer"></div>						<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+l[0].article_image+'" class="lazy roundup-images-small" alt="'+l[0].article_short_title+'">						<img src="'+STATIC+'img/playbtn.png" class="home-ptv icon-play">				</div>				</a>				<iframe id="video-player" class="video-responsive" src="'+youtube_parser(l[0].files.media_filename)+'" frameborder="0" scrolling="no" width="100%" height="100%" allowfullscreen></iframe>			</figure>			<a href="'+BASE_URL+l[0].article_section.section_slug+"/media/"+l[0].ID+'?ref=pep-tv">				<p class="title-large">'+l[0].article_title+'</p>				<p class="article-timestamp-large"><span class="story-list-section"> '+("undefined"==l[0].article_subsection.section_name||"News"==l[0].article_section.section_name||"Guide"==l[0].article_section.section_name||"Celeb"==l[0].article_section.section_name?l[0].article_section.section_name:l[0].article_subsection.section_name)+" </span>&bull; "+interval(l[0].article_date_published)+'</p>			</a>		</div>		<div class="section-widget-right" style="">',$.each(l,function(e,i){e>0&&(a=""==i.article_short_title?i.article_title:i.article_short_title,s+='<div class="'+c[e-1]+'" style=""><figure class="" style="position: relative;"><a href="'+BASE_URL+i.article_section.section_slug+"/media/"+i.ID+'?ref=pep-tv"><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images-small" alt="'+i.article_short_title+'"><img src="'+STATIC+'img/playbtn.png" class="home-ptv-side icon-play"></a></figure><a href="'+BASE_URL+i.article_section.section_slug+"/media/"+i.ID+'?ref=pep-tv"><p class="title-small">'+a+'</p><p class="sw article-timestamp"><span class="story-list-section"> '+("undefined"==i.article_subsection.section_name||"News"==i.article_section.section_name||"Guide"==i.article_section.section_name||"Celeb Life"==i.article_section.section_name?i.article_section.section_name:i.article_subsection.section_name)+" </span>&bull; "+interval(i.article_date_published)+"</p></a></div>"+(e<e.length?'<hr class="clear-both hidden-xs">':""))}),s+="			</div>",s+="	</div>"),s},latest_news:function(e,i,t){var a=0,s="",l=this.paginate(i,t);return e.length>0?($.each(e,function(e,i){unix_timestamp(i.article_date_published)?(article_subsection="","news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),s+='<div class="row'+(e>=l.limit?" hidden":"")+'">	<div class="">		<figure class="news just-in clear-left" style="">			<a href="'+BASE_URL+i.article_section.section_slug+article_subsection+"/"+i.ID+'">				<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images-small" alt="'+i.article_short_title+'">				<div class="just-in-layer"></div>				<p class="'+("Videos"==i.article_subsection.section_name||"Videos"==i.article_section.section_name?"hover-video":"Podcast"==i.article_subsection.section_name||"Podcast"==i.article_section.section_name?"hover-podcast":"Photos"==i.article_subsection.section_name||"Photos"==i.article_section.section_name?"hover-photo":"hidden")+'"></p>			</a>		</figure>	</div>	<div class="news article-details" style="">		<a href="'+BASE_URL+i.article_section.section_slug+article_subsection+"/"+i.ID+'">			<p class="news article-title hidden-small" style="">'+i.article_title+'</p>			<p class="news article-title visible-small" style="">'+i.article_short_title+'</p>			<p class="article-timestamp">'+interval(i.article_date_published)+'</p>		</a>	</div>		</div>		</div><hr class="clear-both'+(e>=l.limit?" hidden":"")+'">',a++):l.limit=l.limit+1}),$(".more-posts").attr("data-record",a),s):void 0},native_ad_aggregate:function(e,i,t){var a=0,s="";return e.articles.length<9&&$("#more-posts").hide(),e.articles.length>0?($.each(e.articles,function(e,i){var t=$.param(i.payload);s+='<div class="row">',s+="<div>",s+='<figure class="news just-in clear-left">',s+='	<a href="'+i.cf_redirect+"?"+t+'">',s+='		<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+i.image+'" class="lazy roundup-images-small" alt="'+i.title+'">',s+='		<div class="just-in-layer"></div>',s+="	</a>",s+="</figure>",s+="</div>",s+='<div class="news article-details">',s+='	<div><img src="'+i.payload.others.sponsoredIndication+'" /></div>',s+='	<a href="'+i.cf_redirect+"?"+t+'">',s+='		<p class="news article-title hidden-small" style="">'+i.title+"</p>",s+='		<p class="news article-title visible-small" style="">'+i.title+"</p>",s+='		<p class="article-timestamp hidden-small">'+interval(i.publish_date)+"</p>",s+="	</a>",s+="</div>"}),$(".more-posts").attr("data-record",a),s):void 0},native_ad_aggregate_more:function(e,i,t){var a=(this.paginate(i,t),"");if("undefined"!=typeof e.articles)var s=e.articles;else var s=e;return s.length>0?($.each(s,function(e,i){var t=$.param(i.payload);i.slug!==$("#native_ad_aggregate_more").attr("data-native-ad")&&(a+='<article class="row sidebar-margin"><a href="'+i.cf_redirect+"?"+t+'" class="text-black"><figure class="sidebar-thumbnail"><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" data-original="'+i.image+'" class="lazy full-width"  alt="'+i.title+'"></figure><p class="sidebar-thumbnail-text">'+i.title+'</p></a></article><hr class="sidebar-hr clear-both">')}),""===a&&$("#native_ad_aggregate_more").parent("div").hide(),a):void 0},native_ad_aggregate:function(e,i,t){var a=0,s="";return e.articles.length<9&&$("#more-posts").hide(),e.articles.length>0?($.each(e.articles,function(e,i){var t=$.param(i.payload);s+='<div class="row">',s+="<div>",s+='<figure class="news just-in clear-left">',s+='	<a href="'+i.cf_redirect+"?"+t+'">',s+='		<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+i.image+'" class="lazy roundup-images-small" alt="'+i.title+'">',s+='		<div class="just-in-layer"></div>',s+="	</a>",s+="</figure>",s+="</div>",s+='<div class="news article-details">',s+='	<div><img src="'+i.payload.others.sponsoredIndication+'" /></div>',s+='	<a href="'+i.cf_redirect+"?"+t+'">',s+='		<p class="news article-title hidden-small" style="">'+i.title+"</p>",s+='		<p class="news article-title visible-small" style="">'+i.title+"</p>",s+='		<p class="article-timestamp hidden-small">'+interval(i.publish_date)+"</p>",s+="	</a>",s+="</div>"}),$(".more-posts").attr("data-record",a),s):void 0},native_ad_aggregate_more:function(e,i,t){var a=(this.paginate(i,t),"");if("undefined"!=typeof e.articles)var s=e.articles;else var s=e;return s.length>0?($.each(s,function(e,i){var t=$.param(i.payload);i.slug!==$("#native_ad_aggregate_more").attr("data-native-ad")&&(a+='<article class="row sidebar-margin"><a href="'+i.cf_redirect+"?"+t+'" class="text-black"><figure class="sidebar-thumbnail"><div class="just-in-layer"></div><img src="'+STATIC+'img/spacer.gif" data-original="'+i.image+'" class="lazy full-width"  alt="'+i.title+'"></figure><p class="sidebar-thumbnail-text">'+i.title+'</p></a></article><hr class="sidebar-hr clear-both">')}),""===a&&$("#native_ad_aggregate_more").parent("div").hide(),a):void 0},sidebar_video_playlist:function(e,i,t){var a="";return a='<div class="row this-just-in video-area-header">	<div class="col-md-12 pep-tv">		<h2 class="guide-pep-tv-header text-center"><span class="red">PEP</span>TV</h2>	</div></div><div id="home-video-placeholder" class="row this-just-in">	<div class="col-md-12 col-sm-8 text-center">		<iframe class="video-responsive" src="https://www.youtube.com/embed/D_VRSFpUcp0" frameborder="0" allowfullscreen></iframe>	</div>	<div class="col-md-12 col-sm-4">		<div class="video-list-side">',e.length>1&&$.each(e,function(e,t){return e>=i?!1:void(a+='<a href="#" class="video-play text-black" data-url="http://www.pep.ph/images/player.swf?file=http://contents.pep.ph/images2/videos/chikaminute_101906_escort.flv&image=http://10.83.17.145/pep/res/img/sidebar-ad-1.jpg">	<article class="row video-list">		<div class="side-vid-list video-list-thumb-parent col-md-4 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-3 col-xs-offset-1">			<figure>				<div class="video-list-thumb">					<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+t.article_image+'" class="lazy" width="100" alt="'+t.article_short_title+'">				</div>			<figure>		</div>		<div class="side-vid-det video-details col-md-8 col-md-offset-0 col-sm-7 col-sm-offset-0 col-xs-8">			<p class="video-list-details">'+(t.article_short_title?t.article_short_title:t.article_title)+'</p>			<p class="video-list-watch"><strong>04/14/2015 04:19PM</strong></p>		</div>	</article></a>');
}),a+="		</div>	</div></div>"},top_stories:function(e,i,t){var a,s,l=this.paginate(i,t),c="";for(var r in e)a=r;return c+='<div class="row">',$("main").hasClass("top_video")?s=e.top_video:$("main").hasClass("top_gallery")?s=e.top_gallery:$("main").hasClass("top_podcast")?(s=e.top_podcast,"undefined"==typeof s&&(s=e.top_story)):s=e.top_story,$.each(s,function(e,i){var t=i.article_short_title;return 0!==l.offset&&e<l.offset?!0:e==l.limit?!1:(""==i.article_short_title&&(t=i.article_title),"news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),c+='<article class="top-stories-article" style=""><a href="'+BASE_URL+i.article_section.section_slug+article_subsection+"/"+i.ID+"?ref=featured-"+i.article_section.section_slug+'"><figure class="top-stories-img-placeholder" style=""><img src="'+CDN+i.article_image+'" alt="'+i.article_short_title+'" style="width: 100%;"><div class="just-in-layer"></div><p class="'+("Videos"==i.article_subsection.section_name||"Videos"==i.article_section.section_name?"hover-video":"Podcast"==i.article_subsection.section_name||"Podcast"==i.article_section.section_name?"hover-podcast":"Photos"==i.article_subsection.section_name||"Photos"==i.article_section.section_name?"hover-photo":"hidden")+'"></p></figure><div class="news article-mini-details" style=""><div class="news article-excerpt" style="">'+t+"</div>",0!=e&&(c+='<p class="article-timestamp visible-small">'+interval(i.article_date_published)+"</p>"),void(c+="</div></a></article>"))}),c+='<hr class="clear-both" style="margin-bottom: -10px;">',c+="</div>"},around_the_web:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<article class="col-md-2-4 col-sm-4 col-xs-6"><a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'"><figure class="remove-thumb-border thumbnail"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image_main+'" class="lazy roundup-images" alt="'+i.article_short_title+'"><figcaption class="caption text-center"><p><strong>'+i.article_short_title+'</strong></p><p class="post-duration">4 hours ago</span></figcaption></figure></a></article>')}),s},events_this_week:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<article class="guide-event-div col-md-2-4 col-sm-4 col-xs-12"><figure class="events-image"><a href="javascript: alert(\'Event page not available\');" style="display: block; height: 160px; overflow: hidden;"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image_main+'" class="lazy roundup-images hidden-xs" alt="'+i.article_short_title+'"></a><figcaption class="events-caption"><a href="#"><p class="events-title">'+i.article_short_title+'</p></a><p class="events-excerpt">'+i.article_venue+" | "+i.article_date+' <a href="#" class="hidden-sm hidden-md hidden-lg buy-tickets">BUY TICKETS</a></p><p class="buy-tickets text-center hidden-xs"><a href="javascript: alert(\'Buy Tickets button is not available at the moment\');">BUY TICKETS</a></p></figcaption><hr class="events-hr visible-xs"></figure></article>')}),s},news_articles:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="row this-just-in"><a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black">	<div class="col-md-6 col-sm-6" style="padding-left: 0;">		<figure>			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+(i.article_image?i.article_image:i.article_image_main)+'" class="lazy roundup-images" alt="'+i.article_short_title+'">		</figure>		<p class="share-news">			<a href="#fb"><span class="fa fa-facebook fa-6x share-fb"></span></a><br />			<a href="#tw"><span class="fa fa-twitter fa-6x share-tw"></span></a>		</p>	</div></a><a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black">	<div class="col-md-6 col-sm-6">		<h3>'+i.article_short_title+'</h3>		<p class="post-duration">'+interval(i.article_date_published)+'</p>		<p class="post-excerpt">'+i.article_blurb+"</p>	</div></a></div>")}),s},pep_alerts:function(e,i,t){var a=new Date,s=a.getMonth()+1,l=a.getDate(),c=a.getFullYear()+"/"+(10>s?"0":"")+s+"/"+(10>l?"0":"")+l,r=a.getHours()+":"+a.getMinutes()+":"+a.getSeconds(),o=c+" "+r,n=0,d=this.paginate(i,t),p="";return $.each(e,function(e,i){return 0!==d.offset&&e<d.offset?!0:void(o>=i.article_date_published&&(p+='<div class="row'+(e>=d.limit?" hidden":"")+'">	<div class="" style="position:relative;">			<p class="pep-alert"><a href="'+BASE_URL+"news/pepalerts/read/"+i.ID+'" class="text-black alert-output">'+i.article_blurb+'</a></p>			<p class="timestamp pa">'+interval(i.article_date_published)+'</p>			<p id="radiumone" class="share-icons pa pull-right hidden-small pw-widget" style="position:absolute; bottom: -40px; right: 0;" pw:url="'+BASE_URL+"news/pepalerts/read/"+i.ID+'" pw:twitter-via="PEPalerts" pw:title="'+i.article_blurb+'">				<span class="share-alert" style="">SHARE THIS ALERT</span>				<a class="pw-button-facebook pw-counter"></a>				<a class="pw-button-twitter pw-counter"></a>				<a class="pw-button-email pw-counter"></a>				<span class="pa-comments"><span class="pipeline">|</span> COMMENTS</span><span class="fa fa-comment fa-6x comment-icon"></span>			</p>			<p class="share-pa share-icons pull-right visible-small" style="">				<span class="share-button pa"></span>			</p>			<p id="radiumone" class="share-icons pa hidden pw-widget" pw:url="'+BASE_URL+"news/pepalerts/read/"+i.ID+'" pw:twitter-via="PEPalerts" pw:title="'+i.article_blurb+'">				<a class="pw-button-facebook pw-counter"></a>				<a class="pw-button-twitter pw-counter"></a>				<a class="pw-button-whatsapp pw-counter"></a>				<a class="pw-button-email pw-counter"></a>				<span class="to-comments top pa pa-comments"></span>				<span class="close-button pa"></span>			</p>	</div>	<div id="fb_comments_'+i.ID+'" class="pepalerts-comments pa hidden" data-width="100%;" data-mobile="false" data-href="" data-numposts="5"></div></div><hr class="clear-both pa-hr'+(e+1>=d.limit?" hidden":"")+'">',n++))}),$(".more-posts").attr("data-record",n),p},article_list:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'"><article class="row sidebar-margin"><div class="col-md-12 col-sm-12 col-xs-12"><p class="how-true-side-text">'+i.article_blurb+'</p><p class="post-duration">3 minutes ago</p></div></article></a>')}),s},pepalerts_list:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<a href="'+BASE_URL+"news/pepalerts/read/"+i.ID+'"><article class="row sidebar-margin"><div class="col-md-12 col-sm-12 col-xs-12"><p class="how-true-side-text">'+i.article_blurb+'</p><p class="post-duration">'+interval(i.article_date_published)+'</p><hr class="pep-alerts-side-hr"></div></article></a>')}),s},howtrue_list:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<a href="'+BASE_URL+"news/pepalerts/read/"+i.ID+'"><article class="row sidebar-margin"><div class="col-md-12 col-sm-12 col-xs-12"><p class="pep-alerts-side-text">'+i.article_blurb+'</p><p class="post-duration">'+interval(i.article_date_published)+'</p><hr class="pep-alerts-side-hr"></div></article></a>')}),s},this_just_in_article:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e.this_just_in,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black"><div class="row this-just-in">	<div class="col-md-6 col-sm-6">		<figure>			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">			<figcaption class="news-category">'+i.section+'</figcaption>		</figure>	</div>	<div class="col-md-6 col-sm-6">		<h3>'+i.article_short_title+'</h3>		<p class="post-duration">'+interval(i.article_date_published)+'</p>		<p class="post-excerpt">'+i.article_blurb+"</p>	</div></div></a>")}),s},this_just_in_alerts:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black"><div class="row this-just-in">	<div class="col-md-6 col-sm-6 col-xs-6 pep-alerts-just-in-img">		<figure>			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">			<figcaption class="news-category">'+i.article_section.section_name+'</figcaption>				<p class="share-news">					<a href="#fb"><span class="fa fa-facebook fa-6x share-fb"></span></a><br />					<a href="#tw"><span class="fa fa-twitter fa-6x share-tw"></span></a>				</p>		</figure>	</div>	<div class="col-md-6 col-sm-6 col-xs-6">		<h3>'+i.article_short_title+'</h3>		<p class="post-duration">'+interval(i.article_date_published)+'</p>		<p class="post-excerpt">'+i.article_blurb+"</p>	</div></div></a>")}),s},latest_on_peparazzi:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="col-md-6 col-sm-12 col-xs-12 peparazzi-just-in-entry">	<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black">		<div class="col-md-12 col-sm-6 col-xs-12">		<figure style="display: block; height: 284px; overflow: hidden; background-color: black; margin: 0 0 5%; vertical-align: middle;">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+(i.article_short_title?i.article_short_title:i.article_title)+'">		</figure>		</div>		<div class="col-md-12 col-sm-6 col-xs-12">			<h3 class="peparazzi-heading">'+(i.article_short_title?i.article_short_title:i.article_title)+'</h3>			<p class="post-duration">'+interval(i.article_date_published)+"</p>		</div>	</a></div>")}),s},latest_on_celeb:function(e,i,t){var a=this.paginate(i,t),s="";return console.log(e),$.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="col-md-6 col-sm-12 col-xs-12 celeb-just-in-entry">		<div class="col-md-6 col-sm-6 col-xs-6 no-pad">		<figure style="display: block; height: 160px; overflow: hidden; background-color: black; margin: 0 0 5%; vertical-align: middle;">	<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" style="line-height: 160px;" class="text-black">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" style="margin: 0;" class="lazy roundup-images" alt="'+i.article_short_title+'"></a>			<p class="share-news">				<a href="#fb"><span class="fa fa-facebook fa-6x share-fb"></span></a><br />				<a href="#tw"><span class="fa fa-twitter fa-6x share-tw"></span></a>			</p>		</figure>		</div>	<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black">		<div class="col-md-6 col-sm-6 col-xs-6">			<h3 class="celeb-heading">'+i.article_short_title+"</h3>		</div>	</a></div>")}),s},top_galleries:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="col-md-6 col-sm-12 col-xs-12 peparazzi-just-in-entry">	<a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'" class="text-black">		<figure class="col-md-12 col-sm-6 col-xs-12">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">		</figure>		<div class="col-md-12 col-sm-6 col-xs-12">			<h3 class="peparazzi-heading">'+i.article_short_title+"</h3>		</div>	</a></div>")}),s},editors_picks:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e.editors_pick,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<article class="col-md-6 col-sm-4 hidden-xs"><div class="row e-picks-entries"><a href="'+BASE_URL+i.article_article_section.section_slug+"/"+i.ID+'"><div class="col-md-6 e-picks-img"><figure class="remove-thumb-border thumbnail"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image_main+'" class="lazy roundup-images" alt="'+i.article_short_title+'"></div><div class="col-md-6 e-picks-caption"><figcaption class="caption">'+i.article_short_title+'</figcaption></figure></div><hr class="e-picks-hr"></a></div></article>')}),s},trending_peparazzi:function(e,i,t){var e=e.peparazzi_trending,a="";return a+='<div class="col-md-9 col-sm-12">	<div class="row hidden-xs">		<div class="col-md-9 col-sm-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">			<figure>				<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[0].article_image+'" style="margin: 0 0 20px;" class="lazy roundup-images" alt="'+(e[0].article_short_title?e[0].article_short_title:e[0].article_title)+'">				<figcaption class="carousel-caption main-peparazzi-image"><p>'+e[0].article_short_title+'</p></figcaption>			</figure>			</a>		</div>		<div class="col-md-3 col-sm-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">			<figure>				<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[1].article_image+'" class="lazy roundup-images" alt="'+(e[1].article_short_title?e[1].article_short_title:e[1].article_title)+'">				<figcaption class="carousel-caption peparazzi-portrait"><p>'+(e[1].article_short_title?e[1].article_short_title:e[1].article_title)+'</p></figcaption>			</figure>			</a>		</div>	</div>	<div class="row peparazzi-trending-mobile visible-xs">		<article class="col-xs-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">				<figure class="remove-thumb-border thumbnail">					<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[0].article_image+'" class="lazy roundup-images" alt="'+(e[0].article_short_title?e[0].article_short_title:e[0].article_title)+'">					<figcaption class="caption text-center">						<p><strong>'+(e[0].article_short_title?e[0].article_short_title:e[0].article_title)+'</strong></p>					</figcaption>				</figure>			</a>		</article>		<article class="col-xs-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">				<figure class="remove-thumb-border thumbnail">					<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[1].article_image+'" class="lazy roundup-images" alt="'+(e[1].article_short_title?e[1].article_short_title:e[1].article_title)+'">					<figcaption class="caption text-center">						<p><strong>'+(e[1].article_short_title?e[1].article_short_title:e[1].article_title)+'</strong></p>					</figcaption>				</figure>			</a>		</article>	</div>		<div id="peparazzi-row-2" class="row hidden-xs">		<div class="col-md-4 col-sm-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">		<figure style="display: block; height: 200px; overflow: hidden; background-color: black; margin: 0 0 5%; vertical-align: middle;">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[2].article_image+'" class="lazy roundup-images" alt="'+e[2].article_short_title+'">			<figcaption class="carousel-caption trending-now-caption"><p>'+(e[2].article_short_title?e[2].article_short_title:e[2].article_title)+'</p></figcaption>		</figure>			</a>		</div>		<div class="col-md-4 col-sm-6">			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">		<figure style="display: block; height: 200px; overflow: hidden; background-color: black; margin: 0 0 5%; vertical-align: middle;">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[3].article_image+'" class="lazy roundup-images" alt="'+e.article_short_title+'">			<figcaption class="carousel-caption trending-now-caption"><p>'+(e[3].article_short_title?e[3].article_short_title:e[3].article_title)+'</p></figcaption>		</figure>			</a>		</div>		<div class="col-md-4 col-sm-6" >			<a href="'+BASE_URL+e[0].article_article_section.section_slug+"/"+e[0].ID+'">		<figure style="display: block; height: 200px; overflow: hidden; background-color: black; margin: 0 0 5%; vertical-align: middle;">			<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e[4].article_image+'" class="lazy roundup-images" alt="'+e.article_short_title+'">			<figcaption class="carousel-caption trending-now-caption"><p>'+(e[4].article_short_title?e[4].article_short_title:e[4].article_title)+"</p></figcaption>		</figure>			</a>		</div>	</div></div>"},article_recommendations:function(e,i,t){var a=this.paginate(i,t),s="";return s+='<div class="row">',$.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="article-mini"><figure class="article-thumbnails"><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'"></figure><div class="article-mini-details"><p class="article-excerpt">'+i.article_short_title+'</p><p class="article-timestamp">'+interval(i.article_date_published)+'</p></div><div class="article-mini-details-2 hidden-small"><p class="article-excerpt">'+i.article_short_title+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></div>")}),s+="</div>"},article_more:function(e,i,t){var a=this.paginate(i,t),s="";return $.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="col-md-3 col-sm-3 col-xs-6"><figure class="article-recommendations-thumb"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+i.article_image_main+'" class="lazy roundup-images" alt="'+i.article_short_title+'"><p class="article-more-excerpt">'+i.article_short_title+"</p></figure></div>")}),s},article_atb:function(e,i,t){var a=this.paginate(i,t),s="";return s+='<div class="row">',$.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="article-mini"><figure class="article-thumbnails"><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'"></figure><div class="article-mini-details" style="border: none;"><p class="article-excerpt">'+i.article_short_title+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></div>")}),s+="</div>"},featured_shows:function(e,i,t){var a=this.paginate(i,t),s="";return s+='<div id="featured-shows"><hr class="clear-both hidden-small"><h3 class="section-title">FEATURED SHOWS</h3><div class="row" style="margin-top: 20px;">',$.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<div class="article-mini"><a href="'+BASE_URL+i.article_section.section_slug+"/"+i.ID+'" target="_blank"><figure class="article-thumbnails"><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'"></figure><div class="fs mini-details" style=""><p class="fs article-excerpt">'+i.article_short_title+'</p><p class="fs article-image-caption">'+i.article_blurb+'</p><a href="https://www.ticketworld.com.ph/pep/Online/default.asp" target="_blank"><p class="buy-ticket text-center" style="">BUY TICKET</p></a></div></a></div>')}),s+='</div><hr class="clear-both visible-small"></div>'},article_carousel:function(e,i,t){var a="";a+='<div class="row"><div class="col-md-12 article-gallery col-sm-12 col-xs-12"><div class="row"><div id="article-gallery-top" class="visible-xs col-xs-12"></div><div class="col-md-6 col-sm-6 col-xs-12"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+e.article_carousel[0].article_image+'" class="article-gallery-image lazy"></div><div class="col-md-6 col-sm-6 col-xs-12" style="color: white;"><h3 class="article-gallery-h3"><span class="red">PHOTOS:</span> <span class="article-gallery-title">'+e.article_carousel[0].article_short_title+'<span></h3><p class="article-gallery-summary">'+e.article_carousel[0].article_blurb+'</p><div class="row article-carousel"><figure id="scrollLeftParent" class="col-md-2 col-sm-2 col-xs-2"><img src="'+BASE_URL+'res/img/article-arrow-left.png" class="article-arrows" id="scrollLeft"></figure><div class="col-md-8 col-sm-8 col-xs-8 article-gallery-thumbnails"><ul>';var s=0;return $.each(e.article_carousel,function(e,t){return e>=i?!1:(s++,void(a+='<li alt="'+s+'" class="article-gallery-list"><img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+t.article_image+'" class="article-gallery-carousel lazy" title="'+t.article_blurb+'" alt="'+t.article_short_title+'"></li>'))}),a+='</ul></div><figure class="col-md-2 col-sm-2 col-xs-2"><img src="'+BASE_URL+'res/img/article-arrow-right.png" id="scrollRight" class="article-arrows"></figure></div></div></div></div>'},celeblife_carousel:function(e,i,t){var a=this.paginate(i,t),s="";return s+='<div class="visible-xs col-xs-12">',$.each(e.celeb_life_top_story,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='<figure ><img src="'+CDN+i.article_image_main+'" style="width: 100%;" title="'+i.article_blurb+'" alt="'+i.article_short_title+'"><p class="celeb-carousel-caption caption">'+i.article_blurb+"</p></figure>")}),s+="</div>",s+='<div class="col-md-12 col-sm-12 hidden-xs"><div id="slider1_container"><div u="loading" style="position: absolute; top: 0px; left: 0px;"><div style="filter: alpha(opacity=70); opacity: 0.7; position: absolute; display: block; top: 0px; left: 0px; width: 100%; height: 100%;"></div><div style="position: absolute; display: block; background: url('+STATIC+'/img/loading.gif) no-repeat center center; top: 0px; left: 0px; width: 100%; height: 100%;"></div></div><div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 1300px; height: 500px; overflow: hidden;">',$.each(e.celeb_life_top_story,function(e,t){return e>=i?!1:void(s+='<div><img src="'+CDN+t.article_image_main+'" style="width: 100%;" title="'+t.article_blurb+'" alt="'+t.article_short_title+'"><div class="slider-caption"><p class="slider-title">'+t.article_title+'</p><p class="slider-excerpt">'+t.article_blurb+' <a href="#">Read Full Story</a></p></div></div>')}),s+='</div><div u="navigator" class="jssorb21" style="bottom: 26px; right: 60px;"><div u="prototype"></div></div><span u="arrowleft" class="jssora21l" style="top: 160px; left: 8px;"></span><span u="arrowright" class="jssora21r" style="top: 160px; right: 35px;"></span>	</div></div>'},peparazzi:function(e,i,t){var a=this.paginate(i,t),s="";return console.log(e),$.each(e,function(e,i){return 0!==a.offset&&e<a.offset?!0:e==a.limit?!1:void(s+='	<a href="'+BASE_URL+i.article_section.section_slug+"/"+i.ID+'" style="line-height: 180px;">	<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 peparazzi-figure">	<figure style="display: block; height: 180px; overflow: hidden; background-color: black; vertical-align: middle;">		<img src="'+STATIC+'img/spacer.gif" data-original="'+CDN+(i.article_image_main?i.article_image_main:i.article_image)+'" class="peparazzi-images lazy">		<figcaption class="carousel-caption peparazzi-caption"><p>'+(i.article_short_title?i.article_short_title:i.article_title)+"</p></figcaption>	</figure>	</div>	</a>")}),s},gallery:function(e){var i='<h1 class="entry-title">'+e.article_title+"</h1>";return e.article_date_published&&(i+='<p class="by-line">by <strong>'+e.article_author+"</strong> posted on "+timestamp(e.article_date_published)+"</p>"),article_subsection=e.article_subsection.section_slug?"/"+e.article_subsection.section_slug:"",i+='	<div class="row">',i+='		<p style="float:left;height:51px;width:155px;" id="radiumone" class="share-icons top">',i+='			<span class="pw"><a class="pw-button mfb-share"><span class="pw-icon ra1-pw-icon ra1-pw-icon-facebook"></span></a></span>',i+='			<a class="pw-button-twitter pw-counter"></a>',i+='			<a class="pw-button-whatsapp pw-counter"></a>',i+='			<a class="pw-button-email pw-counter"></a>',i+='			<a href="#comment"><span class="to-comments top"></span></a>',i+="		</p>",i+='		<p class="image-gallery-view" style="float:right!important;">',i+='			VIEW AS: <a class="list-view">ONE PAGE</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class="slideshow-view active">SLIDES</a>',i+="		</p>",i+='		<div class="fb-save" style="float:left;top:0;"></div>',i+="	</div>",i+='<div class="description">'+e.article_body+"</div>",i+='<div class="image-gallery-wrapper">',i+='		<div style="position:relative;"><a class="image-gallery-nav prev"><i></i></a><a class="image-gallery-nav next"><i></i></a></div>',i+='		<ul class="photo-listing slideshow">',$.each(e.files,function(t,a){("null"!=typeof a.photo_filename||"undefined"!=typeof a.photo_filename)&&(i+="<li "+(t>0?"":'class="active"')+'>		<figure class="image" style="text-align:center;" data-href="'+BASE_URL+(e.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+e.ID+"/"+e.article_slug+"/"+(t+1)+'">',i+='			<img src="'+("peparazzi"==e.article_section.section_slug?a.photo_filename:CDN+a.photo_folder+"/"+a.photo_filename)+'" class="lazy" alt="'+a.photo_name+"\" onerror=\"image_error(this, '100%', '350px')\">",i+='		</figure><br />		<div class="caption article-image-caption">'+a.photo_caption+'</div>		<div class="photo-byline">'+(a.photo_credit?'Photo by: <span class="">'+a.photo_credit+"</span>":"")+'</div>		<div class="image-number">			<span>'+(t+1)+' <span class="fullsite">of</span><span class="mobile">/</span> '+e.files.length+'</span>			<a class="toggle-caption">Hide Caption <i class="up"></i></a>		</div></li>')}),i+="</ul></div>"},gallery_ts:function(e){var i="";return article_subsection=e.article_subsection.section_slug?"/"+e.article_subsection.section_slug:"",i+='	<div class="row">',i+='		<p id="radiumone" class="share-icons top">',i+='			<a class="pw-button-facebook pw-counter"></a>',i+='			<a class="pw-button-twitter pw-counter"></a>',i+='			<a class="pw-button-whatsapp pw-counter"></a>',i+='			<a class="pw-button-email pw-counter"></a>',i+='			<a href="#comment"><span class="to-comments top"></span></a>',i+="		</p>",i+='		<p class="image-gallery-view">',i+='			VIEW AS: <a class="list-view" id="lv_'+e.ID+'">ONE PAGE</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a class="slideshow-view active" id="sv_'+e.ID+'">SLIDES</a>',i+="		</p>",i+="	</div>",i+='<div class="image-gallery-wrapper" id="image-gallery-wrapper_'+e.ID+'">',i+='		<a class="image-gallery-nav prev" id="prev_'+e.ID+'"><i></i></a><a class="image-gallery-nav next" id="next_'+e.ID+'"><i></i></a>',i+='		<ul class="photo-listing slideshow" id="pl_'+e.ID+'">',$.each(e.files,function(t,a){("null"!=typeof a.photo_filename||"undefined"!=typeof a.photo_filename)&&(i+="<li "+(t>0?"":'class="active"')+'>		<figure class="image" style="text-align:center;" data-href="'+BASE_URL+(e.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+e.ID+"/"+e.article_slug+"/"+(t+1)+'">',i+='			<img src="'+("peparazzi"==e.article_section.section_slug?a.photo_filename:CDN+a.photo_folder+"/"+a.photo_filename)+'" class="lazy" alt="'+a.photo_name+"\" onerror=\"image_error(this, '100%', '350px')\">",i+='		</figure><br />		<div class="caption article-image-caption">'+a.photo_caption+'</div>		<div class="photo-byline">'+(a.photo_credit?'Photo by: <span class="">'+a.photo_credit+"</span>":"")+'</div>		<div class="image-number" id="in_'+e.ID+'">			<span>'+(t+1)+' <span class="fullsite">of</span><span class="mobile">/</span> '+e.files.length+'</span>			<a class="toggle-caption">Hide Caption <i class="up"></i></a>		</div></li>')}),i+="</ul></div>"},peparazzi_gallery:function(e){var i='<h1 class="entry-title">'+e.article_title+"</h1>";return e.article_date_published&&(i+='<p class="by-line">posted on '+timestamp(e.article_date_published)+"</p>"),article_subsection=e.article_subsection.section_slug?"/"+e.article_subsection.section_slug:"",i+='	<div class="row">',i+='		<p id="radiumone" class="share-icons top">',i+='			<a class="pw-button-facebook pw-counter"></a>',i+='			<a class="pw-button-twitter pw-counter"></a>',i+='			<a class="pw-button-whatsapp pw-counter"></a>',i+='			<a class="pw-button-email pw-counter"></a>',i+='			<a href="#comment"><span class="to-comments top"></span></a>',i+="		</p>",i+="	</div>",i+='<br /><div class="image-gallery-wrapper">',e.files.length>0&&(i+='		<a class="image-gallery-nav prev"><i></i></a><a class="image-gallery-nav next"><i></i></a>',i+='		<ul class="photo-listing slideshow">',$.each(e.files,function(t,a){("null"!=typeof a.photo_filename||"undefined"!=typeof a.photo_filename)&&(i+="<li "+(t>0?"":'class="active"')+'>		<figure class="image" style="text-align:center;" data-href="'+BASE_URL+(e.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+e.ID+"/"+e.article_slug+"/"+(t+1)+'">',i+='			<img src="'+("peparazzi"==e.article_section.section_slug?a.photo_filename:CDN+a.photo_folder+"/"+a.photo_filename)+'" class="lazy" alt="'+a.photo_name+"\" onerror=\"image_error(this, '100%', '350px')\">",i+='		</figure><br />		<div class="caption article-image-caption">'+a.photo_caption+'</div>		<div class="photo-byline">'+(a.photo_credit?'Photo by: <span class="">'+a.photo_credit+"</span>":"")+'</div>		<div class="image-number">			<span>'+(t+1)+' <span class="fullsite">of</span><span class="mobile">/</span> '+e.files.length+'</span>			<a class="toggle-caption">Hide Caption <i class="up"></i></a>		</div></li>')})),i+='<br /><div class="description">'+e.article_body+"</div>",i+="</ul></div>"},gallery_inset:function(e){var i='<div class="gallery-inset">';return i+='<div class="gallery-slide">',i+='<h1 class="entry-title"><strong style="color:red">PHOTOS: </strong>'+e.article_title+"</h1>",i+='<div class="image-gallery-wrapper">',i+='		<a class="image-gallery-nav prev inset"><i></i></a><a class="image-gallery-nav next inset"><i></i></a>',i+='		<ul class="photo-listing slideshow">',$.each(e.files,function(t,a){("null"!=typeof a.photo_filename||"undefined"!=typeof a.photo_filename)&&(i+="<li "+(t>0?"":'class="active"')+'>		<figure class="image" style="text-align:center;" data-href="'+BASE_URL+"photos/"+e.ID+"/"+e.article_slug+"/"+(t+1)+'">',i+='			<img src="'+CDN+a.photo_folder+"/"+a.photo_filename+'" class="lazy" alt="'+a.photo_name+"\" onerror=\"image_error(this, '100%', '350px')\">",i+='		</figure><br />		<div class="caption">'+a.photo_caption+'</div>		<div class="byline">Photo by: <span class="credit">'+a.photo_credit+'</span></div>		<div class="image-number">			<span>'+(t+1)+' <span class="fullsite">of</span><span class="mobile">/</span> '+e.files.length+'</span>			<a class="toggle-caption">Hide Caption <i class="up"></i></a>		</div></li>')}),i+="</ul></div></div>",i+='<div class="gallery-thumb">',i+='	<a class="prev-inset"></a>',i+='	<a class="next-inset"></a>',i+='		<ul class="photo-listing slideshow">',$.each(e.files,function(t,a){("null"!=typeof a.photo_filename||"undefined"!=typeof a.photo_filename)&&(i+="<li "+(t>0?"":'class="active"')+'>		<figure class="image" style="text-align:center;" data-href="'+BASE_URL+"photos/"+e.ID+"/"+e.article_slug+"/"+(t+1)+'">',i+='			<img src="'+CDN+a.photo_folder+"/"+a.photo_filename+'" class="lazy" alt="'+a.photo_name+"\" onerror=\"image_error(this, '100%', '350px')\">",i+="		</figure></li>")}),i+="</ul></div>",i+="</div></div>"},latest_on_gallery:function(e,i,t){var a=0,s="",l=this.paginate(i,t);return $.each(e,function(e,i){article_subsection="",
"news"==i.article_section.section_slug&&"local"==i.article_subsection.section_slug||"foreign"==i.article_subsection.section_slug?article_subsection="":("news"!=i.article_section.section_slug||"local"!=i.article_subsection.section_slug||"foreign"!=i.article_subsection.section_slug)&&(article_subsection=i.article_subsection.section_slug?"/"+i.article_subsection.section_slug:""),unix_timestamp(i.article_date_published)?(s+='<div class="article-mini '+(e>=l.limit?" hidden":"")+'"><a href="'+BASE_URL+(i.article_section.section_slug+article_subsection).replace("undefined/","")+"/"+i.ID+"/"+i.article_slug+'"><figure class="article-thumbnails"><img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'"></figure><div class="article-mini-details" style="border: none;"><p class="article-excerpt">'+(i.article_short_title?i.article_short_title:i.article_title)+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></a></div>",a++):l.limit=l.limit+1}),$(".more-posts").attr("data-record",a),s},related_gallery:function(e,i,t){var a=(this.paginate(i,t),"");return a+='<div id="related-articles" data-page="0" class="row related-gallery">',a+='<a class="image-gallery-related-nav prev-item">&laquo;</a>',a+='<a class="image-gallery-related-nav next-item">&raquo;</a>',no_of_active=$(window).width()<768?2:3,$.each(e,function(e,i){a+='<div class="article-mini '+(e<no_of_active?"active":"")+'"><a href="'+BASE_URL+"photos/"+i.ID+"/"+i.article_slug+'"><figure class="article-thumbnails">',a+=e<no_of_active?'<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">':'<img src="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">',a+='</figure><div class="article-mini-details"><p class="article-excerpt">'+i.article_short_title+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></a></div>"}),a+="</div>"},related_video:function(e,i,t){var a=(this.paginate(i,t),"");return a+='<div id="related-articles" data-page="0" class="row related-gallery">',a+='<a class="image-gallery-related-nav prev-item">&laquo;</a>',a+='<a class="image-gallery-related-nav next-item">&raquo;</a>',no_of_active=$(window).width()<768?2:3,$.each(e,function(e,i){unix_timestamp(i.article_date_published)&&(a+='<div class="article-mini '+(e<no_of_active?"active":"")+'"><a href="'+BASE_URL+"media/"+i.ID+"/"+i.article_slug+'"><figure class="article-thumbnails" style="position: relative;">',a+=e<no_of_active?'<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">':'<img src="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">',a+='<img src="'+STATIC+'img/playbtn.png" class="rel-vid icon-play"></figure><div class="article-mini-details"><p class="article-excerpt">'+(i.article_short_title?i.article_short_title:i.article_title)+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></a></div>")}),a+="</div>"},related_podcast:function(e,i,t){var a=(this.paginate(i,t),"");return a+='<div id="related-articles" data-page="0" class="row related-gallery">',a+='<a class="image-gallery-related-nav prev-item">&laquo;</a>',a+='<a class="image-gallery-related-nav next-item">&raquo;</a>',no_of_active=$(window).width()<768?2:3,$.each(e,function(e,i){unix_timestamp(i.article_date_published)&&(a+='<div class="article-mini '+(e<no_of_active?"active":"")+'"><a href="'+BASE_URL+"media/"+i.ID+"/"+i.article_slug+'"><figure class="article-thumbnails" style="position: relative;">',a+=e<no_of_active?'<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">':'<img src="'+CDN+i.article_image+'" class="lazy roundup-images" alt="'+i.article_short_title+'">',a+='<img src="'+STATIC+'img/podcast.png" class="rel-pod icon-play"></figure><div class="article-mini-details"><p class="article-excerpt">'+i.article_short_title+'</p><p class="article-timestamp">'+interval(i.article_date_published)+"</p></div></a></div>")}),a+="</div>"},yes_magazine:function(e){var i='<a href="https://www.summitnewsstand.com.ph/yes-magazine" target="_blank">';return i+='<img src="'+CDN+e.yes[0].article_image+'" border="0" />',i+="</a>"},video_inset:function(e){var i='<div class="gallery-inset">';return i+='<div class="gallery-slide">',i+='<h1 class="entry-title"><strong style="color:red">VIDEO: </strong>'+e.article_title+"</h1>",i+='<div class="image-gallery-wrapper">			<figure class="" style="">				<div id="video-image-placeholder" class="" style="position: absolute;">					<a href="'+BASE_URL+"media/"+e.ID+'" class="play">						<img src="'+STATIC+'img/spacer.gif" style="margin: 0;" data-original="'+CDN+e.article_image+'" class="lazy roundup-images-small" alt="'+e.article_short_title+'">						<img src="'+STATIC+'img/playbtn.png" class="video-inset icon-play">					</a>				</div>				<iframe id="video-player" class="video-responsive video-dimension inset" src="'+youtube_parser(e.files.media_filename)+'" frameborder="0" scrolling="no" width="100%" height="" ></iframe>			</figure>',i+="</div>",i+="</div></div>"},quote_inset:function(e){var i="<blockquote>"+e.article_body+' <p style="font-size: 22px;">&mdash; '+e.article_author+"</p>";return i+='<span style="position: relative;">	<p style="display: inline-block; font-family: Lato; font-size: 12px; font-weight: bold; font-style: italic;">Share this Quote: </p>	<p id="radiumone" class="pw-widget share-icons share-quote" style="display: inline-block;" pw:url="'+BASE_URL+"quote/"+e.ID+'" pw:twitter-via="PEPalerts" pw:title="'+strip_tags(e.article_body)+'">		<a class="pw-button-facebook pw-counter"><span class="fa share-fb"></span></a>		<a class="pw-button-twitter pw-counter"><span class="fa share-tw"></span></a>	</p></span></blockquote>'},article:function(e){var i;i=e.article_image_main.indexOf("http:")>-1?e.article_image_main:""!=e.article_image_main?CDN+e.article_image_main:CDN+e.article_main;var t='<div class="article-category">'+e.article_section.section_name+"</div>";if(t+='<h1 class="entry-title">'+e.article_title+"</h1>",t+='<p class="by-line">'+(e.site_id?"":"by <strong>"+e.article_author+"</strong> ")+'posted on <span class="entry-date"><strong>'+timestamp(e.article_date_published)+"</strong></span></p>",e.site_id){var a=e.articleLogo?"http://sap.summitmedia.com.ph/"+e.articleLogo:"http://sap.summitmedia.com.ph/images/default/sponsored-content-image-no-logo.png",s=1==e.collaboration?"http://sap.summitmedia.com.ph/"+e.collabArticleLogo:a;t+='<p><img src="'+s+'" /></p>'}return t+='<div class="row"><p style="float:left;width:155px;" id="radiumone" class="share-icons top hidden-small" data-caption="PEP.PH | FROM OUR PARTNERS" pw:caption="PEP.PH | FROM OUR PARTNERS">	<a class="pw-button-facebook pw-counter"></a>	<a class="pw-button-twitter pw-counter"></a>	<a class="pw-button-email pw-counter"></a>	<a href="#comment"><span class="to-comments top"></span></a></p><p style="height:51px" id="radiumone" class="share-icons top visible-small" data-caption="PEP.PH | FROM OUR PARTNERS" pw:caption="PEP.PH | FROM OUR PARTNERS">	<span class="pw"><a class="pw-button mfb-share"><span class="pw-icon ra1-pw-icon ra1-pw-icon-facebook"></span></a></span>	<a class="pw-button-twitter pw-counter"></a>	<a class="pw-button-whatsapp pw-counter"></a>	<a class="pw-button-email pw-counter"></a>	<a href="#comment"><span class="to-comments top"></span></a></p><div class="fb-save" style="float:left;top:0;"></div></div>',t+='<div class="entry-content"><div class="row">	<figure class="text-center featured-image-holder">		<div style="background-color: #000;"><img src="'+i+'" class="featured-image" /></div>	</figure>'+(e.site_id?"<p>&nbsp;</p>":'	<div class="article-image-caption">'+e.article_image_caption+"</div>")+'	<div style="margin: -10px 10px 20px; font-family: \'Roboto Condensed\'; font-weight: 100;">Photo by: <strong class="" style="">'+e.article_image_byline+'</strong></div>	<hr class="clear-both"></div><div id="article-body">'+e.article_body.replace(/\/\/platform/g,"http://platform")+"</div>",t+='<p style="float:left;width:360px;" class="share-icons bottom hidden-small">	<span class="share-story">SHARE THIS STORY</span>	<a class="pw-button-facebook pw-counter"></a>	<a class="pw-button-twitter pw-counter"></a>	<a class="pw-button-email pw-counter"></a>	<a href="#comment"><span class="bottom-comment" style="font-size:16px;line-height:20px;">COMMENT</span></a></p>',t+='<p style="height:91px" class="share-icons bottom visible-small">	<span class="share-story">SHARE THIS STORY</span>	<span class="pw"><a class="pw-button mfb-share"><span class="pw-icon ra1-pw-icon ra1-pw-icon-facebook"></span></a></span>	<a class="pw-button-twitter pw-counter"></a>	<a class="pw-button-whatsapp pw-counter"></a>	<a class="pw-button-email pw-counter"></a>	<a href="#comment"><span class="to-comments bottom"></span></a></p><div class="fb-save" style="float:left;top:-5px;"></div><div style="clear:both;margin:0!important;line-height:0!important;"></div></div>'},round_up_mmff:function(e,i,t){return'<div class="row"><div style=""><a href="'+BASE_URL+e.showbiz_round_up[0].article_section.section_slug+"/"+e.showbiz_round_up[0].ID+'"><figure class="roundup-large"><img src="'+CDN+e.showbiz_round_up[0].article_image+'" style="margin: 0 0 10px;" class="roundup-images-large roundup-height lazy"><div class="roundup-caption main hidden-small"><p>'+e.showbiz_round_up[0].article_short_title+'</p><p class="roundup-article-blurb">'+e.showbiz_round_up[0].article_blurb+'</p></div></figure><div class="roundup-caption-large-xs visible-small"><p>'+e.showbiz_round_up[0].article_short_title+'</p><p class="roundup-blurb-large-xs">'+e.showbiz_round_up[0].article_blurb+'</p></div></a></div></div><div class="row" style="margin-top: 8px"><div class="roundup-small-thumbails"><a href="'+BASE_URL+e.showbiz_round_up[1].article_section.section_slug+"/"+e.showbiz_round_up[1].ID+'"><figure class="roundup-small"><img src="'+BASE_URL+'res/img/spacer.gif" data-original="'+CDN+e.showbiz_round_up[1].article_image+'" class="roundup-images-small roundup-height lazy"><figcaption class="roundup-caption mini hidden-xs"><p>'+e.showbiz_round_up[1].article_short_title+'</p></figcaption></figure><div class="roundup-caption-xs visible-xs">'+e.showbiz_round_up[1].article_short_title+'</div></a><hr class="clear-both visible-xs"></div><div class="roundup-small-thumbails"><a href="'+BASE_URL+e.showbiz_round_up[2].article_section.section_slug+"/"+e.showbiz_round_up[2].ID+'"><figure class="roundup-small bottom-mid"><img src="'+BASE_URL+'res/img/spacer.gif" data-original="'+CDN+e.showbiz_round_up[2].article_image+'" class="roundup-images-small roundup-height lazy"><figcaption class="roundup-caption mini hidden-xs"><p>'+e.showbiz_round_up[2].article_short_title+'</p></figcaption></figure><div class="roundup-caption-xs visible-xs">'+e.showbiz_round_up[2].article_short_title+'</div></a><hr class="clear-both visible-xs"></div></div>'}}}catch(e){}