$(document).ready(function(){if($(".carousel").length>0&&$(".carousel").carousel({}).carousel("cycle"),$("#SliderActive").length>0){var n=new MasterSlider,t=!1;$("#SliderAutoHeight").val()==="1"&&(t=!0);$("#SlidesCount").val()!=="1"&&n.control("arrows",{autohide:!0,overVideo:!0});n.setup("masterslider",{width:1340,height:$("#SliderHeight").val(),space:0,start:1,grabCursor:!0,swipe:!0,mouse:!1,keyboard:!1,layout:"fillwidth",wheel:!1,autoplay:!0,instantStartLayers:!1,loop:!0,shuffle:!1,preload:0,heightLimit:!0,autoHeight:t,smoothHeight:!1,endPause:!1,overPause:!0,fillMode:"fill",centerControls:!1,startOnAppear:!1,layersMode:"center",autofillTarget:"",hideLayers:!1,fullscreenMargin:0,speed:10,dir:"h",parallaxMode:"swipe",view:"parallaxMask"})}});$(window).on("load",function(){$(".readmore").length>0&&readmore();$("#loadTwemoji").length>0&&(initLinkify(".news-text, .mento-textfield"),initTwemoji(".news-text, .mento-textfield"))})