1!function(e){"use strict";window.jnews.like=window.jnews.like||{},window.jnews.like={init:function(i){var a=this;a.container=void 0===i?e("body"):i,a.container.find(".jeg_meta_like > a").unbind("click").on("click",(function(i){i.preventDefault(),e(this).hasClass("clicked")||(a.element=e(this),a.parent=a.element.parent(),a.like=a.parent.find(".like"),a.dislike=a.parent.find(".dislike"),a.ajax_request())}))},ajax_request:function(){var i=this;i.parent.addClass("clicked").find(".fa").addClass("fa-pulse"),e.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:{post_id:i.element.attr("data-id"),type:i.element.attr("data-type"),action:"like_handler"}}).done((function(a){-1===a.response?(e("#jeg_loginform form").find("h3").html(a.message),window.jnews.loginregister.init(),window.jnews.loginregister.hook_form(),e.magnificPopup.open({items:{removalDelay:500,midClick:!0,src:"#jeg_loginform",type:"inline"}})):(1===a.value&&(i.like.html("<i class='fa fa-thumbs-up'></i> <span>"+a.like+"</span>"),i.dislike.html("<i class='fa fa-thumbs-o-down fa-flip-horizontal'></i> <span>
1"+a.dislike+"</span>")),-1===a.value&&(i.like.html("<i class='fa fa-thumbs-o-up'></i> <span>"+a.like+"</span>"),i.dislike.html("<i class='fa fa-thumbs-down fa-flip-horizontal'></i> <span>"+a.dislike+"</span>")),0===a.value&&(i.like.html("<i class='fa fa-thumbs-o-up'></i> <span>"+a.like+"</span>"),i.dislike.html("<i class='fa fa-thumbs-o-down fa-flip-horizontal'></i> <span>"+a.dislike+"</span>")))})).fail((function(e,i,a){"error"===i?alert(a.toString()):"timeout"===i&&alert("Execution Timeout")})).always((function(e,a,n){i.element.attr("data-message",e.message),i.parent.removeClass("clicked").find(".fa").removeClass("fa-pulse")}))}},e(document).bind("ready jnews-ajax-load",(function(e,i){jnews.like.init()}))}(jQuery); 2!function(e){"use strict";window.jnews.selectShare=window.jnews.selectShare||{},window.jnews.share=window.jnews.share||{},window.jnews.selectShare={init:function(t){let n=this;n.container=void 0===t?e("body"):t,n.menu=e("#selectShareContainer"),n.menuInner=n.menu.find(".selectShare-inner"),n.menuButton=n.menuInner.find("button"),n.selected_text="",this.setEvent()},setEvent:function(){let t=this;t.container.on("mousedown vmousedown",(function(e){t.handleMouseDown(e)})),t.container.on("mouseup vmouseup",(function(){t.handleSelection()})),document.addEventListener("selectionchange",(function(){t.hasGetSelection()}),!1),t.menuButton.on("click",(function(n){n.preventDefault(),t.buttonClick(e(this))}))},buttonClick:function(e){var t=e.attr("class").split(" ")[1].replace("jeg_btn-",""),n=e.attr("data-url").replace("[selected_text]",this.selected_text);jnews_select_share.is_customize_preview||window.open(n,t,"width=575,height=430,toolbar=false,menubar=false,location=false,status=false")},handleMouseDown:function(t){1!=e(t.target).parents(".content-inner").length&&1!=e(t.target).parents(".entry-header").length&&(window.getSelection().empty&&window.getSelection().empty(),window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges())},replaceData:function(){this.menuButton.each((function(){var t=e(this).attr("data-post-url")?e(this).attr("data-post-url"):null,n=e(this).attr("data-image-url")?e(this).attr("data-image-url"):null,a=(e(this).attr("data-title")&&e(this).attr("data-title"),e(this).attr("data-url"));a.indexOf("[image_url]")&&(e(this).attr("data-url",a.replace("[image_url]",n)),a=e(this).attr("data-url")),a.indexOf("[url]")&&(e(this).attr("data-url",a.replace("[url]",t)),a=e(this).attr("data-url"))}))},handleSelection:function(){let t=this;var n;if(window.getSelection?n=window.getSelection():document.selection&&(n=document.selection.createRange()),!(n.rangeCount<=0)){var a=n.getRangeAt(0);if(a&&n.toString()){if(t.selected_text=encodeURIComponent(n.toString()),t.replaceData(),1!=e(n.baseNode||n.anchorNode).parents(".content-inner").length)return;var i=a.getBoundingClientRect();if(i.left||i.top)return t.menuInner.css({left:i.left+i.width/2-t.menuInner.width()/2,top:i.top+window.pageYOffset-t.menuInner.height()-11,display:"block",opacity:0}
2).animate({opacity:1},100),void setTimeout((function(){t.menuInner.addClass("select_share_menu_animate")}),10)}t.menuInner.animate({opacity:0},(function(){t.menuInner.hide().removeClass("select_share_menu_animate")}))}},hasGetSelection:function(){let e=this;var t=window.getSelection().toString();""!=t&&(e.selected_text=t)}},window.jnews.share={init:function(t){void 0===t&&(t=e("body")),t.find(".jeg_sharelist a, .jeg_post_share a").unbind("click.share").bind("click.share",(function(t){var n=e(this);if(!n.hasClass("jeg_btn-email")&&!n.hasClass("jeg_btn-whatsapp")&&!n.hasClass("jeg_btn-line")){t.preventDefault();var a=n.attr("href");if(n.hasClass("jeg_btn-toggle"))e(this).parents(".jeg_share_button").toggleClass("show-secondary");else n.hasClass("jeg_btn-stumbleupon")?window.open(a,"","height=730,width=560"):n.hasClass("jeg_btn-qrcode")||n.hasClass("jeg_btn-wechat")?e.magnificPopup.open({items:[{src:a}],type:"image"}):window.open(a,"","height=570,width=750")}}))}},e(document).bind("jnews-ajax-load",(function(e,t){jnews.share.init(t),jnews.selectShare.init(t)})),e(document).ready((function(){jnews.share.init(),jnews.selectShare.init()}))}(jQuery); 3!function(e){"use strict";window.jnews.weather=window.jnews.weather||{},window.jnews.weather={init:function(t){let a=this;a.container=void 0===t?e("body"):t,a.topbarWeather(),a.widgetWeather()},topbarWeather:function(){let e=this;e.container.find(".jeg_top_weather").length&&(e.element=e.container.find(".jeg_top_weather"),e.topbarWeatherHover(),e.topbarWeatherCarousel(),e.topbarTempClick())},topbarTempClick:function(){this.element.on("click",".jeg_weather_temp",(function(){let t=e(this),a=t.find(".jeg_weather_value"),n=t.find(".jeg_weather_unit"),i=n.attr("data-unit");t.find(".jeg_weather_degrees").length&&(n=t.find(".jeg_weather_degrees"),i=n.attr("data-unit")),"f"===i?(a.text(a.attr("data-temp-c")),n.attr("data-unit","c"),t.find(".jeg_weather_unit").text("°c")):(a.text(a.attr("data-temp-f")),n.attr("data-unit","f"),t.find(".jeg_weather_unit").text("°f"))}))},topbarWeatherHover:function(){this.element.hoverIntent({over:function(){e(this).find(".jeg_weather_item").fadeIn()},out:function(){e(this).find(".jeg_weather_item").fadeOut()},timeout:300})},topbarWeatherCarousel:function(){let e=this;e.autoplay=e.element.find(".jeg_weather_item_carousel").attr("data-autoplay"),e.autoplayDelay=e.element.find(".jeg_weather_item_carousel").attr("data-auto-delay"),e.autoplayHover=e.element.find(".jeg_weather_item_carousel").attr("data-auto-hover"),e.element.find(".jeg_weather_item_carousel").length&&e.element.find(".jeg_weather_item_carousel").owlCarousel({items:3,rewind:!0,dots:!1,nav:!1,navText:!1,autoplay:e.autoplay,autoplayTimeout:e.autoplayDelay,autoplayHoverPause:e.autoplayHover})},convertTemperature:function(e,t){let a={};return"f"===e?(a.unit="c",a.value=5*(t-32)/9,a.value=Math.floor(a.value)):(a.unit="f",a.value=9*t/5+32,a.value=Math.floor(a.value)),a},widgetWeather:function(){let e=this;e.container.find(".jeg_weather_widget").length&&(e.element=e.container.find(".jeg_weather_widget"),e.widgetTempClick())},widgetTempClick:function(){this.element.on("click",".jeg_weather_temp",(function(){e(this).find(".jeg_weather_value").each((function(){let t=e(this),a=t.parent().find(".jeg_weather_unit");"f"===a.attr("data-unit")?(t.text(t.attr("data-temp-c")),a.attr("data-unit","c"),a.text("c")):(t.text(t.attr("data-temp-f")),a.attr("data-unit","f"),a.text("f"))}))}))}},e(document).bind("jnews-ajax-load",(function(){jnews.weather.init()})),e(window).bind("load",(function(){jnews.weather.init()}))}(jQuery);
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.