HEX
Server: Apache
System: Linux vpshost0528.publiccloud.com.br 4.4.79-grsec-1.lc.x86_64 #1 SMP Wed Aug 2 14:18:21 -03 2017 x86_64
User: novoprovisorio2 (10002)
PHP: 7.4.11
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: /home/storage/f/44/55/novoprovisorio2/public_html/wp-content/cache/minify/de2e4.js
function getCheckboxTableString(){const e=document.getElementById("checkout-mode-checkbox-test");if(!e||!e.parentElement)return null;let t=e.parentElement;for(;"TABLE"!==t.nodeName;)t=t.parentElement;return t.id}function hideColumnEmptyFromCheckbox(e){const t=document.querySelector(`#${e} > tbody > tr > th#mp_field_text.titledesc`),c=document.querySelector(`#${e} > tbody > tr:nth-child(2) > th`);t.style.display="none",c.style.display="none"}function customizeCheckboxContainer(e){const t=document.querySelector(`#${e} > tbody > tr:first-child > td`),c=document.querySelector(`#${e} > tbody > tr:nth-child(2) > td`);t.style.padding="0px",t.style.marginBottom="14px",t.style.paddingTop="14px",c.style.padding="0px",c.style.marginBottom="14px",c.style.paddingTop="14px"}function customizeCheckboxLabel(e){const t=document.querySelector(`#${e} > tbody > tr > td.forminp > fieldset > label`),c=document.querySelector(`#${e} > tbody > tr:nth-child(2) > td.forminp > fieldset > label`);t.style.color="black",t.style.border="none",t.style.width="100%",t.style.setProperty("margin","0","important"),t.style.setProperty("padding","0","important"),c.style.color="black",c.style.border="none",c.style.width="100%",c.style.setProperty("margin","0","important"),c.style.setProperty("padding","0","important")}function customizeCheckboxDescription(e){const t=document.querySelector(`#${e} > tbody > tr > td.forminp > fieldset > p.description`),c=document.querySelector(`#${e} > tbody > tr:nth-child(2) > td.forminp > fieldset > p.description`);t.style.marginLeft="24px",t.style.whiteSpace="nowrap",c.style.marginLeft="24px",c.style.whiteSpace="nowrap"}function checkCorrectInput(e,t){const c=document.querySelector("#checkout-mode-checkbox-test").classList.contains("checked"),o=document.querySelector("#checkout-mode-checkbox-production").classList.contains("checked");e.checked=c,t.checked=o}function addInputRadioLogic(e,t){e.addEventListener("change",(()=>{e.checked&&!t.checked||(e.checked=!0,e.classList.add("checked"),t.checked=!1,t.classList.remove("checked"))})),t.addEventListener("change",(()=>{t.checked&&!e.checked||(t.checked=!0,t.classList.add("checked"),e.checked=!1,e.classList.remove("checked"))}))}window.addEventListener("load",(()=>{const e=getCheckboxTableString();if(e){const t=document.querySelector('[id*="test_mode"]'),c=document.querySelector('[id*="production_mode"]');hideColumnEmptyFromCheckbox(e),customizeCheckboxContainer(e),customizeCheckboxLabel(e),customizeCheckboxDescription(e),checkCorrectInput(t,c),addInputRadioLogic(t,c)}}));