HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: /var/www/wp-content/themes/oceanwp/inc/themepanel/assets/js/theme-panel.min.js
jQuery(document).ready(function(t){var e=t(".oceanwp-tp-wrap"),a=e.find(".oceanwp-tp-sidebar"),o=e.find(".oceanwp-tp-panes"),n=window.location.hash,e=n.substring(1,n.length);function i(n){t('.oceanwp-tp-sidebar-link[href="#'+n+'"]').length<1&&(n="home",window.location.href="#home"),o.addClass("loading-pane"),t.ajax({type:"POST",url:_wpUtilSettings.ajax.url,data:{action:"oceanwp_cp_load_pane_action",slug:n,nonce:oceanwpThemePanel.nonce},success:function(e){o.empty(),o.append(e.data),o.removeClass("loading-pane"),a.find(".oceanwp-is-active").removeClass("oceanwp-is-active"),a.find("[href=#"+n+"]").parent().addClass("oceanwp-is-active"),"install-demos"===n&&void 0!==window.owpDemoImport&&window.owpDemoImport.init(),"system-info"===n&&void 0!==window.owpSystemInfoGetter&&window.owpSystemInfoGetter(),"white-label"===n&&void 0!==window.init_white_label_uploader&&window.init_white_label_uploader(),"customizer"===n&&function(){let e=t("#ocean-customizer-items").find('input[type="checkbox"]'),n=e.length,a=0;e.each(function(){t(this).prop("checked")&&a++}),n==a&&t("#customizer-reset-bulk").prop("checked",!0)}(),function(){t("#owp_recaptcha_version").length&&t("#owp_recaptcha_version").trigger("change");t("#owp_api_images_integration").length&&jQuery("#owp_api_images_integration").trigger("change");t(document.body).trigger("op_panel_loaded")}()}})}n&&e&&e!==oceanwpThemePanel.initialSection&&i(e),setTimeout(function(){t.ajax({type:"POST",url:_wpUtilSettings.ajax.url,data:{action:"oceanwp_cp_load_sidebar_warnings_action",_ajax_nonce:oceanwpThemePanel.nonce},success:function(e){if(e.success)for(var n in e.data){var a='.oceanwp-tp-sidebar-link[href="#'+n+'"]';t(a).length&&(t(a).find(".oceanwp-tp-warning-badge").remove(),t(a).append(e.data[n]))}}})},1e3),window.showNotify=function(e="success",n="Saved successfully",a=!0){e?window.addSuccessNotify(n,a):window.addFailureNotify(n,a)},window.addSuccessNotify=function(e="Saved successfully",n=!0,a=4e3){t("#oceanwp-notifyType").text(e),t(".oceanwp-notify").removeClass("failure"),t(".oceanwp-notify").addClass("active success"),n&&setTimeout(function(){t(".oceanwp-notify").removeClass("active")},a)},window.addFailureNotify=function(e="Something went wrong",n=!0){t("#oceanwp-notifyType").text(e),t(".oceanwp-notify").removeClass("success"),t(".oceanwp-notify").addClass("active failure"),n&&setTimeout(function(){t(".oceanwp-notify").removeClass("active")},4e3)},wp.updates.oceanwp_update_pluginSuccessInstalled=function(e){t(document).trigger("wp-plugin-install-success",e),window.showNotify("success",oceanwp_cp_textdomain.plugin_is_successfully_installed,!1);var n=jQuery('[data-plugin-slug="'+e.slug+'"]');n.length&&(n.removeClass("disabled"),n.text(oceanwp_cp_textdomain.installed)),e.slug&&setTimeout(function(){window.location.reload()},1e3)},wp.updates.oceanwp_update_pluginSuccessUpdated=function(e){window.showNotify("success",oceanwp_cp_textdomain.plugin_is_successfully_updated,!1);var n=jQuery('[data-plugin-slug="'+e.slug+'"]');n.length&&(n.removeClass("disabled"),n.text(oceanwp_cp_textdomain.Updated)),e.slug&&setTimeout(function(){window.location.reload()},1e3)},wp.updates.oceanwp_update_themeSuccess=function(e){window.showNotify("success",oceanwp_cp_textdomain.child_theme_installed,!1);var n=jQuery(".oceanwp_install_child_theme");n.length&&(n.removeClass("disabled"),n.text(oceanwp_cp_textdomain.installed)),setTimeout(function(){window.location.reload()},1e3)},wp.updates.oceanwp_update_pluginInstalling=function(e){window.showNotify("success",oceanwp_cp_textdomain.installing_plugin,!1)},wp.updates.oceanwp_update_pluginUpdating=function(e){window.showNotify("success",oceanwp_cp_textdomain.updating_plugin,!1)},wp.updates.oceanwp_update_themeInstalling=function(e){window.showNotify("success",oceanwp_cp_textdomain.installing_child_theme,!1)},wp.updates.oceanwp_update_pluginError=function(e,n,a){window.showNotify("error",a)},t(document).on("click",".oceanwp-tp-sidebar-link, .oceanwp-tp-topbar-link",function(e){e.preventDefault();var n=t(this).attr("href"),e=n.substring(1,n.length);window.location.hash=n,i(e)}),t(document).on("click","li.wp-menu-open.toplevel_page_oceanwp ul > li > a",function(e){var n=t(this).attr("href"),a=n.split("#");-1!==window.location.href.indexOf("page=oceanwp#")&&-1!==n.indexOf("page=oceanwp#")&&1<a.length&&(e.preventDefault(),window.location.hash=a[1],i(a[1]))}),t(document).on("click","#wp-admin-bar-ocean-menu-default>li>a",function(e){var n=new URL(t(this).attr("href"));n.hash&&t('.oceanwp-tp-sidebar-link[href="'+n.hash+'"]').length&&(e.preventDefault(),t('.oceanwp-tp-sidebar-link[href="'+n.hash+'"]').trigger("click"))}),t(document).on("click",".oceanwp_install_plugin",function(e){e.preventDefault(),t(this).addClass("disabled");e={slug:t(this).data("pluginSlug"),success:wp.updates.oceanwp_update_pluginSuccessInstalled,error:wp.updates.oceanwp_update_pluginError,beforeSend:wp.updates.oceanwp_update_pluginInstalling};wp.updates.ajax("install-plugin",e)}),t(document.body).on("click","#ocean-fonts-clear .btn",function(e){e.preventDefault(),confirm("Do you really want to clear local google fonts data?")&&t.ajax({url:ajaxurl,method:"POST",data:{nonce:oceanwpThemePanel.nonce,action:"oceanwp_cp_fonts_clear"},beforeSend:function(){window.showNotify("success",oceanwp_cp_textdomain.fonts_clearing)},success:function(e){window.showNotify(e.success,e.data.message)},error:function(e,n,a){},complete:function(){}})}),t(document).on("click",".oceanwp_update_plugin",function(e){var n=t(e.target);e.preventDefault(),wp.updates.maybeRequestFilesystemCredentials(e);n={plugin:n.data("plugin"),slug:n.data("slug"),success:wp.updates.oceanwp_update_pluginSuccessUpdated,error:wp.updates.oceanwp_update_pluginError,beforeSend:wp.updates.oceanwp_update_pluginUpdating};t(document).trigger("wp-plugin-updating",n),wp.updates.ajax("update-plugin",n)}),t(document).on("click",".oceanwp_install_child_theme",function(e){e.preventDefault(),t(this).addClass("disabled"),t.ajax({method:"POST",url:_wpUtilSettings.ajax.url,data:{action:"oceanwp_cp_child_theme_install",nonce:oceanwpThemePanel.nonce},success:wp.updates.oceanwp_update_themeSuccess,error:wp.updates.oceanwp_update_pluginError,beforeSend:wp.updates.oceanwp_update_themeInstalling})})});