Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.137.172.53
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/plugins/cookie-notice/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/wp-content/plugins/cookie-notice/js/admin.min.js
!function(e){e(function(){function n(n,t,o){if(n.removeClass("loading"),n.find(".spinner").replaceWith(t),!o){var s=n.find("table tbody"),a=n.find("table").find("tbody tr").toArray(),i=!0;n.pagination({dataSource:a,pageSize:10,showPrevious:!0,showNext:!0,callback:function(n,t){if(i){i=!1;return}for(let o of(s.find("tr").hide(),n))e(o).show()}})}}e(".cn_color").wpColorPicker(),e('.cn-consent-log-item input[type="checkbox"]').on("change",function(){var t=e(this),o=t.closest("tr"),s=o.attr("id")+"_details",a="#"+s,i=o.attr("id")+"_row";if(t.is(":checked")){if(e("#"+i).remove(),e(a).length&&1===e(a).data("status"))e(a).show();else{var c=null;e(a).length?(e(a).show(),(c=e(a+" .cn-consent-logs-data")).addClass("loading"),c.html('<span class="spinner is-active"></span>')):(o.after(cnArgs.consentLogsTemplate),o.next().attr("id",s),c=e(a+" .cn-consent-logs-data")),e.ajax({url:cnArgs.ajaxURL,type:"POST",dataType:"json",data:{action:"cn_get_consent_logs_by_date",nonce:cnArgs.nonceConsentLogs,date:t.closest("tr").data("date")}}).done(function(t){t.success?(e(a).data("status",1),n(c,t.data,!1)):(e(a).data("status",0),n(c,cnArgs.consentLogsError,!0))}).fail(function(t){e(a).data("status",0),n(c,cnArgs.consentLogsError,!0)})}}else e(a).hide(),e(a).after('<tr id="'+i+'" class="cn-consent-logs-row"><td colspan="6"></td></tr>')}),e("#cn_app_purge_cache a").on("click",function(n){n.preventDefault();var t=this;e(t).parent().addClass("loading").append('<span class="spinner is-active" style="float: none"></span>');var o={action:"cn_purge_cache",nonce:cnArgs.nonce};cnArgs.network&&(o.cn_network=1),e.ajax({url:cnArgs.ajaxURL,type:"POST",dataType:"json",data:o}).always(function(n){e(t).parent().find(".spinner").remove()})}),e('input[name="cookie_notice_options[global_override]"]').on("change",function(){e(".cookie-notice-settings form").toggleClass("cn-options-disabled")}),e("#cn_refuse_opt").on("change",function(){e(this).is(":checked")?e("#cn_refuse_opt_container").slideDown("fast"):e("#cn_refuse_opt_container").slideUp("fast")}),e("#cn_revoke_cookies").on("change",function(){e(this).is(":checked")?e("#cn_revoke_opt_container").slideDown("fast"):e("#cn_revoke_opt_container").slideUp("fast")}),e("#cn_see_more").on("change",function(){e(this).is(":checked")?e("#cn_see_more_opt").slideDown("fast"):e("#cn_see_more_opt").slideUp("fast")}),e("#cn_on_scroll").on("change",function(){e(this).is(":checked")?e("#cn_on_scroll_offset").slideDown("fast"):e("#cn_on_scroll_offset").slideUp("fast")}),e("#cn_conditional_display_opt").on("change",function(){e(this).is(":checked")?e("#cn_conditional_display_opt_container").slideDown("fast"):e("#cn_conditional_display_opt_container").slideUp("fast")}),e("#cn_see_more_link-custom, #cn_see_more_link-page").on("change",function(){"custom"===e("#cn_see_more_link-custom:checked").val()?e("#cn_see_more_opt_page").slideUp("fast",function(){e("#cn_see_more_opt_link").slideDown("fast")}):"page"===e("#cn_see_more_link-page:checked").val()&&e("#cn_see_more_opt_link").slideUp("fast",function(){e("#cn_see_more_opt_page").slideDown("fast")})}),e("#cn_refuse_code_fields").find("a").on("click",function(n){n.preventDefault(),e("#cn_refuse_code_fields").find("a").removeClass("nav-tab-active"),e(".refuse-code-tab").removeClass("active");var t=e(this).attr("id").replace("-tab","");e("#"+t).addClass("active"),e(this).addClass("nav-tab-active")}),e(document).on("click",".add-rule-group",function(n){n.preventDefault();var t=e("#rules-group-template").html(),o=e("#rules-groups"),s=o.find(".rules-group"),a=s.length>0?parseInt(s.last().attr("id").split("-")[2])+1:1;t=(t=t.replace(/__GROUP_ID__/g,a)).replace(/__RULE_ID__/g,1),o.append('<div class="rules-group" id="rules-group-'+a+'">'+t+"</div>"),o.find(".rules-group").last().fadeIn("fast")}),e(document).on("click",".remove-rule",function(n){n.preventDefault(),1===e(this).closest("tbody").find("tr").length?e(this).closest(".rules-group").fadeOut("fast",function(){e(this).remove()}):e(this).closest("tr").fadeOut("fast",function(){e(this).remove()})}),e(document).on("change",".rule-type",function(){var n=e(this),t=n.closest("tr").find("td.value"),o=t.find("select"),s=t.find(".spinner");o.hide(),s.fadeIn("fast").css("visibility","visible"),e.post(ajaxurl,{action:"cn-get-group-rules-values",cn_param:n.val(),cn_nonce:cnArgs.nonceConditional}).done(function(n){s.hide().css("visibility","hidden");try{var t=e.parseJSON(n);o.find("optgroup").remove(),o.fadeIn("fast").find("option").remove().end().append(t.select)}catch(a){}}).fail(function(){})})}),e(document).on("click","input#reset_cookie_notice_options",function(){return confirm(cnArgs.resetToDefaults)})}(jQuery);

Anon7 - 2022
AnonSec Team