PageSourceSearch

https://www.fitnessdigital.com/fitnessdigital/scripts/header.min.js?v=7

js fitnessdigital.com collected 2026-09-26 03:13:31 UTC 6,987 bytes, 1 lines download raw bytes

1function handleScroll(){returnToTopButtonShow();let e=window.pageYOffset;const t=document.querySelector(".mb-only"),n=document.getElementById("hd2");t&&"none"!==window.getComputedStyle(t).display&&(e>initialHeight?n.classList.add("fixed-header"):n.classList.remove("fixed-header"))}function showHideMenu(){"none"===document.getElementById("main-menu").style.display||""===document.getElementById("main-menu").style.display?document.getElementById("main-menu").style.display="flex":document.getElementById("main-menu").style.display="none","none"===document.getElementById("menu-open").style.display?(document.getElementById("menu-open").style.display="inline-block",document.getElementById("menu-close").style.display="none"):(document.getElementById("menu-open").style.display="none",document.getElementById("menu-close").style.display="inline-block")}function returnToTopButtonShow(){null!==document.getElementById("back-to-top")&&(document.body.scrollTop>20||document.documentElement.scrollTop>20?document.getElementById("back-to-top").style.display="block":document.getElementById("back-to-top").style.display="none")}function addReturnToTopButtonEffect(){$("#back-to-top").click(function(e){return e.preventDefault(),$("html, body").animate({scrollTop:0},800),!1})}function dropdownMenu(){$(document).on("click",function(e){var t=$(e.target).next(".submenu-content").hasClass("hide"),n=$(e.target).closest(".submenu-action").next(".submenu-content").hasClass("hide");$(".submenu-content").addClass("hide"),$(".desplegable").removeClass("contraer"),$(".desplegable").addClass("desplegar"),$(e.target).hasClass("submenu-action")&&t?($(e.target).next(".submenu-content").removeClass("hide"),$(e.target).find(".desplegable").removeClass("desplegar"),$(e.target).find(".desplegable").addClass("contraer")):$(e.target).closest(".submenu-action").length&&n?($(e.target).closest(".submenu-action").next(".submenu-content").removeClass("hide"),$(e.target).closest(".submenu-action").find(".desplegable").removeClass("desplegar"),$(e.target).closest(".submenu-action").find(".desplegable").addClass("contraer")):$(e.target).closest(".submenu-content").length&&($(e.target).closest(".submenu-content").removeClass("hide"),$(e.target).closest(".submenu-content").prev(".submenu-action").find(".desplegable").removeClass("desplegar"),$(e.target).closest(".submenu-content").prev(".submenu-action").find(".desplegable").addClass("contraer"))})}function showSubscriptionForm(){$("#subs_text").html(""),$("#f_subscription_form").reset(),$("#f_subscription_form").show()}function checkSubscription(){return $("#f_subscription_form").valid()}function testCaptcha(e){$("#recapSubs").css("display","none"),$("#f_subscription_form_rc").valid()&&(document.forms.f_subscription_form_rc.condiciones_news.checked?document.forms.f_subscription_form_rc.consentimiento_rgpd_nw.value="S":document.forms.f_subscription_form_rc.consentimiento_rgpd_nw.value="N",grecaptcha.execute(FD.recaptPublicKey,{action:"submit"}).then(function(t){document.forms.f_subscription_form_rc.token_g.value=t,$(e).submit()}))}function loadRecaptcha(e){catpchaScript||(void 0!=e?$.getScript("https://www.google.com/recaptcha/api.js?render="+FD.recaptPublicKey,e):$.getScript("https://www.google.com/recaptcha/api.js?render="+FD.recaptPublicKey),catpchaScript=!0)}function showCaptchaLayer(e,t,n,o,a,s){try{if(checkSubscription()){var c="#"+e,i="<div class='modal'><div id='cart-mod' class='modal-dialog big'><div class='modal-content' id='cart-fd-modal'><div class='modal-header'><button type='button' class='link-boton close close-pop' data-dismiss='modal' aria-hidden='true'>x</button>";i+="<h4 class='modal-title txt-center'>"+t+"</h4></div><div class='modal-body'>",i+="<form id='"+e+"_rc' name='"+e+"_rc' method='post' accept-charset='utf-8'><input type='hidden' name='ajax' id='ajax' value='ajax' /><input type='hidden' name='accion' id='accion'  value='"+$(c+" #accion").val()+"' /><input type='hidden' name='ct' id='ct' value='"+$(c+" #ct").val()+"' /><input type='hidden' name='cod_grupo_clientes' id='cod_grupo_clientes' value='"+$(c+" #cod_grupo_clientes").val()+"'/><input type='hidden' name='cod_idioma' id='cod_idioma'  value='"+$(c+" #cod_idioma").val()+"' /><input type='hidden' id='cod_pais' name='cod_pais' value='"+$(c+" #cod_pais").val()+"' /><input type='hidden' id='subs_name' name='subs_name' value='"+$(c+" #subs_name").val()+"' /><input type='hidden' id='subs_mail' name='subs_mail' value='"+$(c+" #subs_mail").val()+"' /><input type='hidden' name='urlVuelta' id='urlVuelta' value='' /><input type='hidden' name='consentimiento_rgpd_nw' id='consentimiento_rgpd_nw' value='' /><input type='hidden' name='token_g' id='token_g' value='' />",i+="<div class='human-check'>
1<div id='rcSubs'></div><p id='recapSubs' style='display:none;color:red;'>"+o+"</p></div><br>",i+='<p class="condiciones label-check "><input type="checkbox" name="condiciones_news" id="condiciones_news" class="check {required:true} checkbox"><label for="condiciones_news"><span>'+s+"</span></label></p>",i+="<div class='botonera txt-center'><a class=\"boton small\" href=\"javascript:testCaptcha('"+c+"_rc');\">"+n+"</a><div class='clr'></div></div></form>",i+='<div class="container"><div class="legal-content inner col-8-8 center-block"><div class="form-notes" >'+a+"</div></div></div></div>",FDModals.fillModal("#captcha_layer",i);var l=Math.random();return FDModals.openModal("#captcha_layer",void 0,!1),$(c+"_rc").ajaxForm({target:"#subs_text",success:showResponseAndClose,error:showResponseAndClose,url:"/GeneralActionServlet?al="+l,timeout:1e4,contentType:"application/x-www-form-urlencoded; charset="+FD.charset,type:"GET",clearForm:!0}),!0}return!1}catch(e){throw new Error("HDSCL: "+e.message)}}function closeCaptchaLayer(){FDModals.closeModal("#captcha_layer")}function showResponse(e,t,n,o){return $("#subs_text").html(e),$("#f_subscription_form").hide(),!0}function showResponseAndClose(e,t,n,o){return showResponse(e,t,n,o),closeCaptchaLayer(),!0}var widgetSubs,catpchaScript=!1,initialHeight=0;$(document).ready(function(){try{initialHeight=(null!==document.querySelector(".slim-bar")?document.querySelector(".slim-bar").offsetHeight:0)+(null!==document.querySelector(".slim-bar")?document.querySelector(".logo-fd").offsetHeight:0);navigator.userAgent.toLowerCase();$("#main-nav .subcategoria.especial li:nth-child(2n)").after('<li class="clr"></li>'),$("header .show-filter").click(function(){return $("header nav").toggle(),!1}),FDModals.paintLayer("cart_layer"),FDModals.paintLayer("captcha_layer"),Events.onReadyEvents(),$("#f_subscription_form").validate({errorElement:"div",errorClass:"form-validation error"}),dropdownMenu(),window.addEventListener("scroll",handleScroll),addReturnToTopButtonEffect()}catch(e){throw new Error("HDR: "+e.message)}}),jQuery.fn.reset=function(){$(this).each(function(){$("div.error",this).remove(),$(".error",this).removeClass("error"),$(".valid",this).removeClass("valid"),this.reset()})};

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.