PageSourceSearch

https://www.tiendanimal.es/on/demandware.static/Sites-TiendanimalE…/-/default/v1790219448516/js/newsletter.js

js tiendanimal.es collected 2026-09-24 08:51:17 UTC 2,126 bytes, 1 lines download raw bytes

1!function(){"use strict";var e={3468:function(e){e.exports=function(e){"function"==typeof e?e():"object"==typeof e&&Object.keys(e).forEach((function(t){"function"==typeof e[t]&&e[t]()}))}},3818:function(e){function t(e,t){var o;$.spinner().stop(),o=e.success?"alert-success":"alert-danger",0===$(".email-signup-message").length&&$("body").append('<div class="email-signup-message"></div>'),$(".email-signup-message").append('<div class="email-signup-alert text-center '+o+'">'+e.msg+"</div>"),setTimeout((function(){$(".email-signup-message").remove(),t.removeAttr("disabled")}),3e3)}e.exports=function(){$(".modify-email").on("click",(function(e){e.preventDefault();var o=$(this).data("href"),n=$(this),i=$("input[name=hpEmailSignUp]").val(),a=$('input[name="frecuencia_envio"]:checked').val();$.spinner().start(),$(this).attr("disabled",!0),$.ajax({url:o,type:"post",dataType:"json",data:{emailId:i,frecuenciaId:a,optin:"true"},success:function(e){t(e,n)},error:function(e){t(e,n)}})}))}},589:function(){const e=document.querySelector("#consent-tracking");let t=0,o=!1;function n(){e||1!==t||!1!==o||($(document).ready((function(){"active"!==window.localStorage.getItem("dontShowModal")&&setTimeout((function(){$("#myModal").modal("show")}),5e3)})),$("#dont-show").on("click",(function(e){window.localStorage.setItem("dontShowModal","active")})),$("#newsletterSubscribeBt").on("click",(function(e){document.getElementsByClassName("breadCrumbCategories"),window.localStorage.setItem("dontShowModal","active")})),$("#myModal").on("show.bs.modal",(function(e){$("body").addClass("modal-newsletter-selector")})).on("hide.bs.modal",(function(e){$("body").removeClass("modal-newsletter-selector"),window.localStorage.setItem("dontShowModal","active")})))}$(window).width()<576&&(o=!0),$(document).ready((function(){$(document).scroll((function(){t++,n()})),$(document).mousemove((function(){t++,n()}))}))}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}var n=o(3468);$(document).ready((function(){n(o(3818)),setTimeout((function(){n(o(589))}),1e3)}))}();

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.