PageSourceSearch

https://www.foot-direct.com/build/js/tabsManager.edb3018d.js

js foot-direct.com collected 2026-10-02 22:15:02 UTC 7,568 bytes, 1 lines download raw bytes

1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/build/",n(n.s="8kJ4")}({"8kJ4":function(e,t,n){"use strict";n.r(t);var r=n("a/FU");function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.addEventListener("load",(function(e){t.firstHit=!1,t.listenTabClick(document),t.listenExtraLinkClick(),t.activeTabFromUrlHash(),t.updateScrollXForTabsMenu(),t.listenBackAction()}))}var t,n,o;return t=e,(n=[{key:"listenBackAction",value:function(){var e=this;window.onhashchange=function(){e.activeTabFromUrlHash()}}},{key:"listenTabClick",value:function(e){var t=this;e&&e.querySelectorAll(".tabs__links a").forEach((function(e){e.addEventListener("click",(function(e){var n=e.currentTarget,i=n.parentNode,o=i.parentNode;0===n.getAttribute("href").indexOf("#")&&(e.preventDefault(),t.toggle(n,i,o),o.classList.contains("tabs--menu")?(t.updateScrollXForTabsMenu(),t.hitAnalytics(n)):"#"!=n.getAttribute("href")&&Object(r.b)("filter","tabs",n.getAttribute("href")))}))}))}},{key:"toggle",value:function(e,t,n){this.reset(n,t);var r="#"!=e.getAttribute("href")?n.querySelector(e.getAttribute("href")):null;if(r&&(r.classList.add("isActive"),window.displayManager&&window.displayManager.loadMoreAds(r)),e.classList.add("isActive"),n.classList.contains("tabs--menu")){var i=n.offsetTop;this.getWindowYScroll()>i&&window.scrollTo(0,i)}}},{key:"reset",value:function(e,t){t.querySelectorAll("a").forEach((function(t){if(0===t.getAttribute("href").indexOf("#")){var n="#"!=t.getAttribute("href")?e.querySelector(t.getAttribute("href")):null;n&&n.classList.remove("isActive"),t.classList.remove("isActive")}}))}},{key:"listenExtraLinkClick",value:function(){var e=this;document.body.querySelectorAll("a.titleCard__extraLinkHref").forEach((function(t){t.addEventListener("click",(function(t){var n=t.currentTarget;if(n.parentNode.parentNode,0===n.getAttribute("href").indexOf("#")){t.preventDefault();var r=n.getAttribute("href"),i=document.body.querySelector('.tabs__links a[href="'.concat(r,'"]'));e.triggerTabLinkClick(i)}}))}))}},{key:"triggerTabLinkClick",value:function(e){var t=e.parentNode.parentNode.classList;if(t.contains("tabs--filter")){var n=e.parentNode.parentNode.parentNode.id?e.parentNode.parentNode.parentNode.id:e.parentNode.parentNode.parentNode.parentNode.id,r=document.body.querySelector('.tabs__links a[href="#'.concat(n,'"]'));if(!r)return;r.click(),e.click()}else t.contains("tabs--menu")&&e.click()}},{key:"activeTabFromUrlHash",value:function(){var e=window.location.hash.substr(1);if(!e)return this.firstHit=!1,null;var t=document.body.querySelector('.tabs__links a[href="#'.concat(e,'"]'));if(!t)return this.firstHit=!1,null;this.firstHit=!0,this.triggerTabLinkClick(t)}},{key:"updateScrollXForTabsMenu",value:function(){var e=document.body.querySelector(".tabs--menu");if(e){var t=e.querySelector(".tabs--menu .tabs__links"),n=t.querySelector("a.isActive");if(t.scrollTo&&n){var r=n.getBoundingClientRect().width,i=n.getBoundingClientRect().left-document.body.clientWidth/2+r;t.scrollTo({left:i}),this.updateIndicator(n,t,e)}}}},{key:"updateIndicator",value:function(e,t,n){var r=n.querySelector(".tabs__indicator");r.style.left=e.getBoundingClientRect().left-t.getBoundingClientRect().left+t.scrollLeft+"px",r.style.right=t.getBoundingClientRect().left+t.getBoundingClientRect().width-e.getBoundingClientRect().right-t.scrollLeft+"px"}},{key:"hitAnalytics",value:function(e){e.parentNode.parentNode.classList.contains("tabs--menu")&&!this.firstHit?Ob
1ject(r.c)(e.getAttribute("href")):this.firstHit=!1}},{key:"getWindowYScroll",value:function(){return window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop||0}}])&&i(t.prototype,n),o&&i(t,o),e}();window.tabsManager=new o},IQn6:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"f",(function(){return s}));var r=function(e){!function(){if(!document.getElementById("polyfill")){var e=document.createElement("script");e.id="polyfill",e.src="/lib/polyfill_21042020.js",document.body.appendChild(e),e.onload=function(){window.polyfillLoaded=!0}}}();var t=window.setInterval((function(){window.polyfillLoaded&&(window.clearInterval(t),e())}),50)},i=function(){return window.browserSupportsAllFeatures||(window.browserSupportsAllFeatures=window.Promise&&window.fetch&&window.Symbol),window.browserSupportsAllFeatures},o=function(){return navigator.standalone||window.matchMedia("(display-mode: standalone)").matches},a=function(e){return new RegExp(e,"i").test(window.navigator.userAgent)},l="(?:\\:|\\s|\\/)?(?:(\\w+(?:(?:\\.|\\_)\\w+)+)|\\d+)?",c=function(){return!window.MSStream&&a("iP(?:ad|hone|od)")||a("oss((d+([_s]d+)*)|(d+(?:[_.]d+)*)) like mac os x")},u=function(){return a("(?:fxios)"+l)||a("(?:focus)"+l)||a("(?:firefox|iceweasel)"+l)},d=function(){return!a("like chrome")&&!(!a("like android")&&a("(?:android.*)(?:version)"+l))&&(a("(?:(?:headless)?chrome)"+l)||a("((?:android.+)crmo|crios)"+l)||a("(?:chromium)"+l))},s=function(){return!d()&&(a("safari|applewebkit")||a("(?:applewebkit/d+.*)(?:version)(?:s|/)?(w+(?:(?:[._])w+)+|d+)?(?:.*safari/(?:d+)?)?")||a("version/([w.]+).+?mobile/w+s(safari)")||a("(?:Version/(d+[.d]+).*)?Mobile.*Safari/")||a("(?:(?:iPod|iPad|iPhone).+Version|MobileSafari)/(d+[.d]+)")||a("(?:applewebkit/d+.*)(?:.*mobile/(?:d+)?)(?:.*safari/(?:d+)?)(?:s|/)?(w+(?:(?:[._])w+)+|d+)?"))}},"a/FU":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return l}));n("IQn6");var r=function(){window.addEventListener("load",(function(e){o()}))};function i(){dataLayer.push(arguments)}var o=function(){var e;switch(window.dataLayer=window.dataLayer||[],i("js",new Date),document.querySelector("html").getAttribute("lang")){case"es":e="G-PQX7CMF5B4";break;case"de":e="G-FJ0GMDBSEW";break;case"it":e="G-GR0VWPVX5Q";break;case"en-gb":e="G-0T96CLL390";break;case"pt-br":e="G-KQK5MJ6CV5";break;default:e="G-2KJEKVWQ4Q"}i("config",e)},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(window.dataLayer)if(e){var t=document.location.pathname+e;i("event","page_view",{page_location:t})}else i("event","page_view");else o()},l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;window.dataLayer&&i("event",e,{action:t,label:null!=n?n:""})}}});

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.