/*! * REVOLUTION 6.0.0 OVERVIEW JS * @version: 1.0 (01.07.2019) * @author ThemePunch */ function showPluginInfos(){}!function(){RVS.F.initOverView=function(){RVS.F.initAdmin(),RVS.C.rsOVM=jQuery("#rs_overview_menu"),RVS.S.ovMode=!0,RVS.F.initialiseInputBoxes(),initLocalListeners(),jQuery("#plugin_history").RSScroll({wheelPropagation:!0,suppressScrollX:!1,minScrollbarLength:30}),sliderLibrary.output=jQuery("#existing_sliders"),sliderLibrary.sfw=jQuery("#slider_folders_wrap"),sliderLibrary.sfw.appendTo(jQuery("body")),sliderLibrary.sfwu=jQuery("#slider_folders_wrap_underlay"),sliderLibrary.backOneLevel=jQuery('
'),sliderLibrary.selectedFolder=-1,sliderLibrary.selectedPage=1,sliderLibrary.slidesContainer=jQuery(".overview_slide_elements"),updateParentAttributes(),sliderLibrary.filters=buildModuleFilters(),function(){window.ov_scroll_targets=[];var e=0;jQuery(".rso_scrollmenuitem").each(function(){void 0!==this.dataset.ref&&(window.ov_scroll_targets.push({obj:jQuery(this.dataset.ref),top:jQuery(this.dataset.ref).offset().top,height:jQuery(this.dataset.ref).height(),menu:jQuery(this),menu_js:this}),this.dataset.ostref=e,e++)}),jQuery("#adminmenuwrap").append(''),jQuery("#wpcontent").append(''),punchgs.TweenLite.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.6,{opacity:1,ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(100%)",ease:punchgs.Power3.easeInOut}),jQuery("#adminmenuback, #adminmenuwrap, #wpadminbar").hover(function(){punchgs.TweenLite.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.3,{opacity:0,ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(0%)",ease:punchgs.Power3.easeInOut})},function(){punchgs.TweenLite.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.3,{opacity:1,ease:punchgs.Power3.easeInOut}),punchgs.TweenLite.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(100%)",ease:punchgs.Power3.easeInOut})}),o(),l(),punchgs.TweenLite.to("#rs_overview_menu",1,{opacity:1,ease:punchgs.Power3.easeOut})}(),RVS.F.updateDraw(),RVS.F.isActivated(),updateOVFilteredList(),updateSysChecks(),i(),RVS.ENV.updated&&RVS.F.welcome(),RVS.F.generateAttachmentMetaData(),checkAddOnVersions();var e=RVS.F.getCookie("rs6_shortly_edited_slider")+"";if(void 0!==e&&e.length>0){RVS.F.setCookie("rs6_shortly_edited_slider","",0);var r=!1;for(var s in sliderLibrary.sliders)!1===r&&(r=sliderLibrary.sliders[s].id==e?sliderLibrary.sliders[s].parent:r);!1!==r&&-1!==r&&"-1"!==r&&RVS.F.changeOVToFolder(r)}RVS.F.notifications()},RVS.F.getBackupList=function(){return RVS.F.ajaxRequest("get_v5_slider_list",{},function(e){e.success?console.log(e.slider):console.log("Response Error")},!1,!1,void 0,!0),"Getting Slide List from Backup Database..."},RVS.F.reImportBackup=function(e){return RVS.F.ajaxRequest("reimport_v5_slider",{id:e},function(e){console.log(e)},!1,!1,void 0,!0),"Importing Slider "+e+" from the Backup Database..."},RVS.F.setObjBg=function(e,i){var r=void 0!==e.bg.src&&e.bg.src.length>3?e.bg.src:RVS.ENV.plugin_url+"admin/assets/images/sources/"+e.source+".png",s=void 0!==e.bg.style?e.bg.style:{};switch(e.bg.type){case"image":void 0!==s&&void 0!==s.css?s.css.backgroundImage="url("+r+")":void 0!==s&&(s.backgroundImage="url("+r+")"),punchgs.TweenLite.set(i,s);break;case"color":case"colored":case"solid":var t=window.RSColor.get(s["background-color"]);t.indexOf("gradient")>=0?punchgs.TweenLite.set(i,{backgroundImage:t}):punchgs.TweenLite.set(i,{backgroundColor:t});break;case"transparent":punchgs.TweenLite.set(i,{backgroundImage:"url("+RVS.ENV.plugin_url+"admin/assets/images/sources/"+e.source+".png)",backgroundRepeat:"no-repeat",backgroundSize:"cover"})}},RVS.F.notifications=function(){var e={0:"",1:"",2:""},i=2,r=jQuery("#rso_menu_notices"),s=document.getElementById("rs_notices_wrapper"),t=document.getElementById("rs_notice_bell"),d=document.getElementById("rs_notice_counter"),a=document.getElementById("rs_notice_the_bell"),l=new Array;s.innerHTML="",RVS.ENV.notices=void 0===RVS.ENV.notices?new Array:RVS.ENV.notices,RVS.ENV.noticeCache=void 0===RVS.ENV.noticeCache?RVS.ENV.notices.slice():RVS.ENV.noticeCache,RVS.ENV.notices=RVS.ENV.noticeCache.slice(),"true"!==RVS.ENV.activated&&!0!==RVS.ENV.activated&&(RVS.ENV.notices.push({function:"registerPlugin",additional:[],code:"INTERN",disable:!0,icon:"vpn_key",is_global:!1,text:RVS_LANG.notRegistered,type:1}),RVS.ENV.notices.push({function:"registerPlugin",additional:[],code:"INTERN",disable:!0,icon:"style",is_global:!1,text:RVS_LANG.notRegNoAll,type:1})),void 0!==RVS.ENV.addOns_to_updateArray&&RVS.ENV.addOns_to_updateArray.length>0&&RVS.ENV.notices.push({function:"checkAddOnVersions",additional:[],code:"INTERN",disable:!0,icon:"extension",is_global:!1,text:RVS_LANG.addonsmustbeupdated,type:0}),RVS.F.compareVersion(RVS.ENV.latest_version,RVS.ENV.revision)>0&&RVS.ENV.notices.push({function:"updatePluginNow",additional:[],code:"INTERN",disable:!0,icon:"new_releases",is_global:!1,text:RVS_LANG.newVersionAvailable,type:1});var o=!1;for(var n in RVS.LIB.ADDONS)o||RVS.LIB.ADDONS[n].available>RVS.LIB.ADDONS[n].installed&&(o=!0,RVS.ENV.notices.push({additional:[],code:"INTERN",disable:!0,icon:"extension",is_global:!1,text:RVS_LANG.someAddonnewVersionAvailable,type:1}));var c=0;for(var n in RVS.ENV.notices)if("3"!==RVS.ENV.notices[n].type&&c++,"2"===RVS.ENV.notices[n].type&&l.push(RVS.ENV.notices[n].code),"3"!==RVS.ENV.notices[n].type){var u=void 0!==RVS.ENV.notices[n].function&&RVS.ENV.notices[n].function.length>0?"notification_function_"+RVS.ENV.notices[n].function:"no_notification_function";e[RVS.ENV.notices[n].type]+='