1 2!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); 3 4 5 6!function(s){"use strict";window.jnews.hero=window.jnews.hero||{},window.jnews.hero={init:function(e){var i=this;i.container=void 0===e?s("body"):e,s(window).bind("ready resize load",(function(){i.dispatch(),i.heroSlider(i.container)}))},dispatch:function(){this.container.find(".jeg_heroblock").each((function(){var e=s(this),i=e.find(".jeg_heroblock_wrapper"),o=e.find(".jeg_heroblock_scroller"),t=e.find(".jeg_post"),a=e.data("margin");s(window).width()>667?(i.css({"margin-left":-a+"px","margin-bottom":-a+"px","margin-right":0,"margin-top":0}),t.css("padding","0 0 "+a+"px "+a+"px ")):o.length>0&&(a>5&&(a=5),e.hasClass("owl-carousel")||o.css("margin-left","-"+a+"px"),i.css({"margin-left":"0px","margin-bottom":"0px","margin-right":"0px"}),t.each((function(){s(this).parent(".jeg_heroblock_scroller").length>0?e.hasClass("owl-carousel")?e.hasClass("jeg_heroblock_1")&&s(this).hasClass("jeg_hero_item_4")||e.hasClass("jeg_heroblock_2")&&(s(this).hasClass("jeg_hero_item_3")||s(this).hasClass("jeg_hero_item_5"))||e.hasClass("jeg_heroblock_3")&&(s(this).hasClass("jeg_hero_item_3")||s(this).hasClass("jeg_hero_item_4"))||e.hasClass("jeg_heroblock_4")&&s(this).hasClass("jeg_hero_item_3")?(s(this).css("padding-left",a+"px"),s(this).css("padding-bottom",a+"px")):(s(this).css("padding-left","0px"),s(this).css("padding-bottom",a+"px")):(s(this).css("padding-left",a+"px"),s(this).css("padding-bottom","0px")):(s(this).css("padding-left","0px"),s(this).css("padding-bottom",a+"px"))})))}))},heroSlider:function(e){e.find(".jeg_heroblock.owl-carousel").each((function(){var e=s(this),i=e.data("autoplay"),o=e.data("delay");e.owlCarousel({rtl:1==jnewsoption.rtl,items:1,navText:!0,nav:!0,loop:!0,autoplay:i,autoplayTimeout:o})}))}}}(jQuery); 7 8
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.