1(function(){ 2 'use strict'; 3 const assets=new URL('.',document.currentScript.src).href; 4 function replace(){ 5 if(!window.VoxPrayer||!window.VoxCampaigns?.prayer)return; 6 document.querySelectorAll('getresponse-form[form-id="6ed44d19-003c-45ba-9bb7-24a7a60d6253"]').forEach(old=>{ 7 if(document.querySelector('.acnsf-oracao-card')){old.remove();return;} 8 const host=document.createElement('div');old.replaceWith(host); 9 const root=host.attachShadow({mode:'open'}); 10 root.innerHTML='<style>:host{display:block;text-align:left}*{box-sizing:border-box}[hidden]{display:none!important}.card{padding:26px;border:1px solid #e4d4b8;border-radius:12px;background:#faf7ef;color:#124c79}h2{font:400 28px/1.2 Georgia,serif;margin:0 0 14px}p{font:14px/1.7 system-ui;margin:0 0 20px}button{background:#004577;color:white;border:0;border-radius:7px;padding:14px 20px;font:600 13px system-ui;cursor:pointer}.close{margin-top:12px}input,textarea{font-size:16px!important}</style><section class="card"><div class="intro"><h2>Coloque suas Intenções na Missa</h2><p>Deseja que rezemos por suas intenções na Santa Missa? Então, coloque suas intenções abaixo e receba a confirmação de oração em seu email.</p><button type="button">Enviar minha intenção â</button></div><div class="form" hidden></div></section>'; 11 const intro=root.querySelector('.intro'),form=root.querySelector('.form'),button=intro.querySelector('button');let mounted=false; 12 button.onclick=()=>{ 13 window.AcnsfLeadOrigin?.mark(location.pathname.replace(/^\/|\/$/g,'')+'-card-oracao'); 14 if(!mounted){ 15 const css=document.createElement('link');css.rel='stylesheet';css.href=assets+'oracao-pagina.css';root.append(css); 16 const content=document.createElement('div');content.className='missa-content';form.append(content); 17 window.VoxPrayer({container:content,endpoint:window.VoxCampaigns.prayer,inline:true,onBack:()=>{},onDonate:()=>{const url=new URL('/quero-doar/',location.origin),origin=window.AcnsfLeadOrigin?.data()||{};for(const [key,value] of Object.entries(origin))if(key.startsWith('utm_')&&value)url.searchParams.set(key,value);url.searchParams.set('origem_cta','intencoes');url.searchParams.set('pagina_origem',location.pathname);location.href=url.href;return true;}}); 18 const close=document.createElement('button');close.type='button';close.className='close';close.textContent='Fechar formulário';close.onclick=()=>{form.hidden=true;intro.hidden=false;button.focus({preventScroll:true});};form.append(close);mounted=true; 19 } 20 intro.hidden=true;form.hidden=false; 21 if(!matchMedia('(prefers-reduced-motion: reduce)').matches)form.animate([{opacity:0},{opacity:1}],{duration:240}); 22 }; 23 }); 24 } 25 if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',replace,{once:true});else replace(); 26})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.