var contactform = [];
var checkIfCalled = true;
var renderGoogleInvisibleRecaptchaFront = function() {
// prevent form submit from enter key
jQuery("input[name=_wpcf7]").attr("class","formid");
jQuery('.wpcf7-form').on('keyup keypress', "input", function(e) {
var keyCode = e.keyCode || e.which;
if (keyCode === 13) {
e.preventDefault();
return false;
}
});jQuery('.wpcf7-submit').each(function(index){var checkexclude = 0;
var form = jQuery(this).closest('.wpcf7-form');
var value = jQuery(form).find(".formid").val();
// check form exclude from invisible recaptcha
if(checkexclude == 0){
// Hide the form orig submit button
form.find('.wpcf7-submit').hide();// Fetch class and value of orig submit button
btnClasses = form.find('.wpcf7-submit').attr('class');
btnValue = form.find('.wpcf7-submit').attr('value');// Add custom button and recaptcha holderform.find('.wpcf7-submit').after('<input type="button" id="wpcf-custom-btn-'+index+'" class="'+btnClasses+' recaptcha-btn recaptcha-btn-type-css" value="'+btnValue+'" title="'+btnValue+'" >');
form.append('<div class="recaptcha-holder" id="recaptcha-holder-'+index+'"></div>');
// Recaptcha rendenr from here
var holderId = grecaptcha.render('recaptcha-holder-'+index,{
'sitekey':'6Le-SMEaAAAAACNNqi-_rKRDfY9GfJlE5uQA0uWZ',
'size': 'invisible',
'badge' : 'bottomright', // possible values: bottomright, bottomleft, inline
'callback' : function (recaptchaToken) {
//console.log(recaptchaToken);
var response=jQuery('#recaptcha-holder-'+index).find('.g-recaptcha-response').val();
//console.log(response);
//Remove old response and store new respone
jQuery('#recaptcha-holder-'+index).parent().find(".respose_post").remove();
jQuery('#recaptcha-holder-'+index).after('<input type="hidden" name="g-recaptcha-response" value="'+response+'" class="respose_post">')
grecaptcha.reset(holderId);if(typeof customCF7Validator !== 'undefined'){
if(!customCF7Validator(form)){
return;
}
}
// Call default Validator function
else if(contactFormDefaultValidator(form)){
return;
}
else{
// hide the custom button and show orig submit button again and submit the form
jQuery('#wpcf-custom-btn-'+index).hide();
form.find('input[type=submit]').show();
form.find("input[type=submit]").click();
form.find('input[type=submit]').hide();
jQuery('#wpcf-custom-btn-'+index).attr('style','');
}
}
},false);// action call when click on custom button
jQuery('#wpcf-custom-btn-'+index).click(function(event){
event.preventDefault();
// Call custom validator function
if(typeof customCF7Validator == 'function'){
if(!customCF7Validator(form)){
return false;
}
}
// Call default Validator function
else if(contactFormDefaultValidator(form)){
return false;
}
else if(grecaptcha.getResponse(holderId) != ''){
grecaptcha.reset(holderId);
}
else{
// execute the recaptcha challenge
grecaptcha.execute(holderId);
}
});
}
});
}
(function (m, a, z, e) {
var s, t;
try {
t = m.sessionStorage.getItem('maze-us');
} catch (err) {}if (!t) {
t = new Date().getTime();
try {
m.sessionStorage.setItem('maze-us', t);
} catch (err) {}
}s = a.createElement('script');
s.src = z + '?t=' + t + '&apiKey=' + e;
s.async = true;
a.getElementsByTagName('head')[0].appendChild(s);
m.mazeUniversalSnippetApiKey = e;
})(window, document, 'https://snippet.maze.co/maze-universal-loader.js', 'e91d35ef-5b8b-4288-8672-f0c79f3fce96');
if(! ('CSS' in window) || !CSS.supports('color', 'var(--color-var)')) {
var cfStyle = document.getElementById('sage/css-css');
if(cfStyle) {
var href = cfStyle.getAttribute('href');
href = href.replace('style.css', 'style-fallback.css');
cfStyle.setAttribute('href', href);
}
}
document.getElementsByTagName("html")[0].className += " js";
var breeze_prefetch = {"local_url":"https:\/\/spiga.mx","ignore_remote_prefetch":"1","ignore_list":["\/wp-admin\/admin-ajax.php","\/wp-json\/contact-form-7\/v1\/contact-forms\/","\/wp-admin\/"]};
https://spiga.mx/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://spiga.mx/wp-content/plugins/cf7-invisible-recaptcha/js/cf7_invisible_recaptcha.js
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js?v=next');
var url = window.location.origin + '?ob=open-bridge';
fbq('set', 'openbridge', '525357885556015', url);
fbq('init', '525357885556015', {}, {
"agent": "wordpress-6.3.1-3.0.13"
})
fbq('track', 'PageView', []);
© 2010 – 2023 Spiga Studio
Cerrar
Al hacer clic en el botón “Permitir cookies”, acepta el uso de cookies como se describe en nuestra política de privacidad .
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/es_LA/sdk/xfbml.customerchat.js#xfbml=1&version=v6.0&autoLogAppEvents=1'
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
document.addEventListener( 'wpcf7mailsent', function( event ) {
if( "fb_pxl_code" in event.detail.apiResponse){
eval(event.detail.apiResponse.fb_pxl_code);
}
}, false );
https://spiga.mx/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-image-cdn/dist/image-cdn.js
var prism_settings = {"pluginUrl":"https:\/\/spiga.mx\/wp-content\/plugins\/code-syntax-block\/"};
https://spiga.mx/wp-content/plugins/code-syntax-block/assets/prism/prism.js
var vars = {"uri":"https:\/\/spiga.mx\/wp-content\/themes\/spiga","ajax_autoload":"0","ajax_ppp":"10","ajax_uri":"https:\/\/spiga.mx\/wp-admin\/admin-ajax.php","nonce":"618401033b","speed_nonce":"265a5784e1","copy":"Copiar","copied":"Copiado","success":"Revisa tu email para completar tu suscripci\u00f3n","error":"Ya est\u00e1s inscrito","error2":"Correo electr\u00f3nico inv\u00e1lido","error_fname":"Write your name","error_lname":"Write your last name","error_email":"Write a valid e-mail","author_error":"Has olvidado <strong>escribir tu nombre<\/strong>","author_minlenght_error":"Por favor ingresa al menos {0} caracteres en el <strong>campo de autor<\/strong>.","email_error":"Escribe un <strong>e-mail<\/strong> v\u00e1lido","rating_error":"Elija una opci\u00f3n en <strong>ranking de estrellas<\/strong>","comment_error":"Por favor llena el <strong>campo de comentario<\/strong>","comment_minlenght_error":"Por favor ingresa al menos {0} caracteres en el <strong>campo de comentario<\/strong>.","prev":"Anterior","next":"Siguiente","loading":"Cargando m\u00e1s entradas\u2026","all_loaded":"Todas las entradas han sido cargadas","messages":["TEst","LALALA","HEHEEH"]};
https://spiga.mx/wp-content/themes/spiga/dist/js/main-a2873b2bb5.js
_stq = window._stq || [];
_stq.push([ "view", {v:'ext',blog:'179912580',post:'0',tz:'-6',srv:'spiga.mx',j:'1:12.5'} ]);
_stq.push([ "clickTrackerInit", "179912580", "0" ]);