Server IP : 66.29.132.124 / Your IP : 18.222.182.226 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/so-widgets-bundle/admin/ |
Upload File : |
jQuery((function(i){i(".so-widget-toggle-active button").on("click",(function(){var t=i(this),e=t.data("status"),s=t.closest(".so-widget");e?s.addClass("so-widget-is-active").removeClass("so-widget-is-inactive"):s.removeClass("so-widget-is-active").addClass("so-widget-is-inactive"),i.post(soWidgetsAdmin.toggleUrl,{widget:s.data("id"),active:e},(function(i){}))})),i(".so-widget-banner").each((function(){var t=i(this),e=t.find("img");if(e.length)e.width()>128&&e.css("margin-left",-(e.width()-128)/2+"px");else{var s=Trianglify({width:128,height:128,variance:1,cell_size:32,seed:t.data("seed")});t.append(s.svg())}}));var t=function(){var t=i(this).val().toLowerCase();""===t?i(".so-widget-wrap").show():i(".so-widget").each((function(){var e=i(this);e.find("h3").html().toLowerCase().indexOf(t)>-1?e.parent().show():e.parent().hide()})),i(window).trigger("resize")};i("#sow-widget-search input").on({keyup:t,search:t}),i(window).on("resize",(function(){var t=i(".so-widget-text:visible"),e=0,s=(e=[],0);t.css("height","auto"),window.matchMedia("(max-width: 960px)").matches||(window.matchMedia("(min-width: 1800px)").matches?columnCount=4:window.matchMedia("(max-width: 1280px)").matches?columnCount=2:columnCount=3,t.each((function(t){s=(s=t/columnCount)<0?Math.ceil(s):Math.floor(s),i(this).data("column",s),e[s]=Math.max(void 0===e[s]?0:e[s],i(this).height())})),t.each((function(){i(this).css("height",e[i(this).data("column")]+"px")})))})).trigger("resize"),i("#sow-widgets-page .page-nav a").on("click",(function(t){t.preventDefault();var e=i(this),s=e.attr("href"),a=e.closest("li");switch(i("#sow-widgets-page .page-nav li").not(a).removeClass("active"),a.addClass("active"),s){case"#all":i(".so-widget-wrap").show();break;case"#enabled":i(".so-widget-wrap").hide(),i(".so-widget-wrap .so-widget-is-active").each((function(){i(this).closest(".so-widget-wrap").show()})),i(".so-widget-wrap .so-widget-is-inactive").each((function(){i(this).closest(".so-widget-wrap").hide()}));break;case"#disabled":i(".so-widget-wrap .so-widget-is-active").each((function(){i(this).closest(".so-widget-wrap").hide()})),i(".so-widget-wrap .so-widget-is-inactive").each((function(){i(this).closest(".so-widget-wrap").show()}))}i(window).trigger("resize")})),i("#widgets-list").addClass("so-animated");var e=i("#sow-settings-dialog");if(i("#widgets-list .so-widget-settings").on("click",(function(t){var s=i(this);t.preventDefault(),$content=e.find(".so-content"),$content.empty().addClass("so-loading"),i.get(s.data("form-url"),(function(i){$content.html(i).removeClass("so-loading")})),e.show(),i("#sow-settings-dialog .so-close").trigger("focus"),i(window).one("keyup",(function(i){27===i.which&&e.hide()}))})),e.find(".so-close").on("click keyup",(function(i){("keyup"!=i.type||window.sowbForms.isEnter(i))&&(i.preventDefault(),e.hide())})),e.find(".so-save").on("click",(function(t){t.preventDefault();var s=e.find("form");if(validSave=sowbForms.validateFields(s),"boolean"==typeof validSave&&!validSave)return!1;var a=i(this);a.prop("disabled",!0),s.on("submit",(function(){a.prop("disabled",!1),e.hide()})).trigger("submit")})),i("#so-widget-settings-save").on("load",(function(){i("#widgets-list .so-widget-settings").prop("disabled",!1)})),window.location.hash&&"#settings-"===window.location.hash.substring(0,10)){var s=window.location.hash.substring(10);i('div[data-id="'+s+'"] button.so-widget-settings').trigger("click")}i(".installer-link").on("click",(function(t){t.preventDefault(),i(".installer-container").slideToggle("fast")})),i(".installer_status").on("change",(function(){var t=i(this);t.prop("disabled",!0),jQuery.post(ajaxurl,{action:"so_installer_status",nonce:t.data("nonce"),status:t.is(":checked")},(function(){t.prop("disabled",!1)}))}))}));