<script language="javascript"><script>
function actualizarPrecio() {
const modelo = document.getElementById('modelo').value;
const vistaPrevia = document.getElementById('vista-previa');
var precios = {
// Precios de iPhones
"iPhone 11 Pro Max [NO SIGNAL]": 60,
"iPhone 11 Pro [NO SIGNAL]": 55,
"iPhone 11 [NO SIGNAL]": 45,
"iPhone 12 Mini [NO SIGNAL]": 50,
"iPhone 12 Pro Max [NO SIGNAL]": 70,
"iPhone 12 Pro [NO SIGNAL]": 65,
"iPhone 12 [NO SIGNAL]": 55,
"iPhone 13 Mini [NO SIGNAL]": 60,
"iPhone 13 Pro Max [NO SIGNAL]": 80,
"iPhone 13 Pro [NO SIGNAL]": 75,
"iPhone 13 [NO SIGNAL]": 75,
"iPhone 14 Plus [NO SIGNAL]": 85,
"iPhone 14 Pro Max [NO SIGNAL]": 100,
"iPhone 14 Pro [NO SIGNAL]": 90,
"iPhone 14 [NO SIGNAL]": 80,
"iPhone 15 Plus [NO SIGNAL]": 100,
"iPhone 15 Pro Max [NO SIGNAL]": 120,
"iPhone 15 Pro [NO SIGNAL]": 110,
"iPhone 15 [NO SIGNAL]": 95,
"iPhone SE (2ND GEN) [NO SIGNAL]": 45,
"iPhone SE (3RD GEN) [NO SIGNAL]": 60,
"iPhone XR, XS, XS Max [NO SIGNAL]": 45,
// Precios de iPads
"iPad 10.2-inch 8th Gen (Wi-Fi)": 40,
"iPad 10.2-inch 9th Gen (Wi-Fi)": 50,
"iPad 10.9-inch 10th Gen (Wi-Fi)": 50,
"iPad Air 3rd Gen (Wi-Fi)": 40,
"iPad Air 4th Gen (Wi-Fi)": 50,
"iPad Air 5th Gen (Wi-Fi)": 60,
"iPad Air M2 11-inch (Wi-Fi)": 85,
"iPad Air M2 13-inch (Wi-Fi)": 90,
"iPad Mini 5th Gen (Wi-Fi)": 40,
"iPad Mini 6th Gen (Wi-Fi)": 60,
"iPad Pro 11-inch 2nd Gen (Wi-Fi)": 40,
"iPad Pro 11-inch 3rd Gen M1 (Wi-Fi)": 70,
"iPad Pro 11-inch 4th Gen (Wi-Fi)": 40,
"iPad Pro 11-inch A12X (Wi-Fi)": 40,
"iPad Pro 12.9-inch 3rd Gen A12X (Wi-Fi)": 40,
"iPad Pro 12.9-inch 4th Gen (Wi-Fi)": 40,
"iPad Pro 12.9-inch 5th Gen (Wi-Fi)": 85,
"iPad Pro 12.9-inch 6th Gen (Wi-Fi)": 105,
"iPad Pro M4 11-inch (Wi-Fi)": 135,
"iPad Pro M4 13-inch (Wi-Fi)": 145,
"iPad Pro 11-inch 4th Gen (Wi-Fi+Cellular) M2": 95,
"iPad 10.2-inch 8th Gen (Wi-Fi+Cellular)": 40,
"iPad 10.2-inch 9th Gen (Wi-Fi+Cellular)": 60,
"iPad 10.9-inch 10th Gen (Wi-Fi+Cellular)": 50,
"iPad Air 11-inch (Wi-Fi+Cellular)": 85,
"iPad Air 13-inch (Wi-Fi+Cellular)": 90,
"iPad Air 3rd Gen (Wi-Fi+Cellular)": 40,
"iPad Air 4th Gen (Wi-Fi+Cellular)": 50,
"iPad Air 5th Gen (Wi-Fi+Cellular)": 60,
"iPad Mini 5th Gen (Wi-Fi+Cellular)": 40,
"iPad Mini 6th Gen (Wi-Fi+Cellular)": 80,
"iPad Pro 11-inch (Wi-Fi+Cellular) M4": 135,
"iPad Pro 11-inch 2nd Gen (Wi-Fi+Cellular)": 40,
"iPad Pro 11-inch 3rd Gen (Wi-Fi+Cellular)": 70,
"iPad Pro 12.9-inch 3rd Gen (Wi-Fi+Cellular)": 40,
"iPad Pro 12.9-inch 3rd Gen 1TB (Wi-Fi+Cellular)": 40,
"iPad Pro 12.9-inch 4th Gen (Wi-Fi+Cellular)": 40,
"iPad Pro 12.9-inch 5th Gen (Wi-Fi+Cellular)": 85,
"iPad Pro 12.9-inch 6th Gen (Wi-Fi+Cellular)": 105,
"iPad Pro 13-inch (Wi-Fi+Cellular) M4": 145
};
const precio = precios[modelo] || "";
document.getElementById('precio').value = precio;
if (modelo !== "") {
vistaPrevia.style.display = 'block';
vistaPrevia.innerHTML = `<strong><p>Entrega por lotes de tiempo: 1 - 7 Days</p></center></strong>.`;
} else {
vistaPrevia.style.display = 'none';
}
}
var modal = document.getElementById("paymentModal");
var btn = document.getElementById("openModal");
var span = document.getElementsByClassName("close")[0];
// Cuando el usuario hace clic en el botón, se abre el modal
btn.onclick = function() {
modal.style.display = "block";
}
span.onclick = function() {
modal.style.display = "none";
}
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
const texto1 = document.getElementById('texto1');
const texto2 = document.getElementById('texto2');
const texto3 = document.getElementById('texto3');
const texto4 = document.getElementById('texto4');
const texto5 = document.getElementById('texto5');
const texto6 = document.getElementById('texto6');
const texto10 = document.getElementById('texto7');
texto1.addEventListener('click', function() {
copiarAlPortapapeles(texto1);
});
texto2.addEventListener('click', function() {
copiarAlPortapapeles(texto2);
});
texto3.addEventListener('click', function() {
copiarAlPortapapeles(texto3);
});
texto4.addEventListener('click', function() {
copiarAlPortapapeles(texto4);
});
texto5.addEventListener('click', function() {
copiarAlPortapapeles(texto5);
});
texto6.addEventListener('click', function() {
copiarAlPortapapeles(texto6);
});
texto10.addEventListener('click', function() {
copiarAlPortapapeles(texto7);
});
function copiarAlPortapapeles(elemento) {
const range = document.createRange();
range.selectNode(elemento);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
document.execCommand('copy');
window.getSelection().removeAllRanges();
alert('Texto copiado: ' + elemento.innerText);
}
document.addEventListener('contextmenu', function(e) {
e.preventDefault(); // Bloquear el menú contextual
});
document.addEventListener("keydown", function(e) {
if (e.keyCode === 123) {
e.preventDefault();
}
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'u') {
e.preventDefault();
}
});
</script></script>
© 2023 Quttera Ltd. All rights reserved.