HEX
Server: Apache/2.4.54 (Debian)
System: Linux a5825d2beacc 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64
User: root (0)
PHP: 8.1.14
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/complianz-gdpr/assets/js/dashboard.min.js
jQuery(document).ready(function(l){"use strict";l(document).on("click",".cmplz-dismiss-warning",function(){var t=l(this).data("warning_id"),s=l(this),c=(s.attr("disabled","disabled"),parseInt(l(".cmplz-task-switcher-count").html()),l(this).closest(".cmplz-progress-warning-container"));c.animate({position:"relative",right:"1000px"},500,function(){c.remove()}),l.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_dismiss_warning",id:t},success:function(t){var c;s.removeAttr("disabled"),t.success&&(t=l(".cmplz-task-switcher-count.cmplz-remaining"),c=parseInt(t.html()),t.html(c-1),t=l(".cmplz-task-switcher-count.cmplz-all"),c=parseInt(t.html()),t.html(c-1))}})}),l(document).on("change","[name=cmplz_selected_region]",function(){var t,c,s,a={};a.region=l("#cmplz_selected_region").val(),a=a,t=l(this),c=t.closest(".cmplz-grid-container").data("template"),s=t.closest(".cmplz-grid-container").find(".cmplz-grid-content"),a.action="cmplz_load_gridblock",a.template=c,s.html('<div class="cmplz-skeleton"></div>'),l.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:a,success:function(t){t.success&&s.html(t.html)}})}),l(document).on("click",".cmplz-task-switcher",function(){var c,t="remaining";l(this).find(".cmplz-task-switcher-count").hasClass("cmplz-all")&&(t="all"),l(".cmplz-"+t).closest(".cmplz-task-switcher").hasClass("active")||(c=l(this).closest(".cmplz-grid-container").find(".cmplz-grid-content"),"all"===t?(l(".cmplz-all").closest(".cmplz-task-switcher").addClass("active"),l(".cmplz-remaining").closest(".cmplz-task-switcher").removeClass("active")):(l(".cmplz-all").closest(".cmplz-task-switcher").removeClass("active"),l(".cmplz-remaining").closest(".cmplz-task-switcher").addClass("active")),c.html('<div class="cmplz-skeleton"></div>'),l.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_load_warnings",status:t},success:function(t){t.success&&(c.html(t.html),window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0})))}}))}),l(".cmplz-trick a").hover(function(){l(this).find(".cmplz-bullet").css("background-color","#29b6f6")},function(){l(this).find(".cmplz-bullet").css("background-color","")})});