PageSourceSearch

https://www.trackingfootball.com/wp-content/themes/trackingfootball/js/plugins/tabs.min.js?ver=1753103958

js trackingfootball.com collected 2026-10-02 17:45:04 UTC 3,926 bytes, 2 lines download raw bytes

1var Tabs=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var t,r,o=(t=function(t,r){var o;o=void 0!==e?e:"undefined"!=typeof window?window:e,t.exports=function(e){var t={idPrefix:"tabby-toggle_",default:"[data-tabby-default]"},r=function(){var e={};return Array.prototype.forEach.call(arguments,(function(t){for(var r in t){if(!t.hasOwnProperty(r))return;e[r]=t[r]}})),e},o=function(t,r){var o;"function"==typeof e.CustomEvent?o=new CustomEvent("tabby",{bubbles:!0,cancelable:!0,detail:r}):(o=document.createEvent("CustomEvent")).initCustomEvent("tabby",!0,!0,r),t.dispatchEvent(o)},n=function(e,t,r){e.id.slice(0,r.idPrefix.length)===r.idPrefix&&(e.id=""),e.removeAttribute("role"),e.removeAttribute("aria-controls"),e.removeAttribute("aria-selected"),e.removeAttribute("tabindex"),e.closest("li").removeAttribute("role"),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("hidden")},i=function(e,t,r){e.id||(e.id=r.idPrefix+t.id),e.setAttribute("role","tab"),e.setAttribute("aria-controls",t.id),e.closest("li").setAttribute("role","presentation"),t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby",e.id),e.matches(r.default)?e.setAttribute("aria-selected","true"):(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"),t.setAttribute("hidden","hidden"))},a=function(e){var t=e.closest('[role="tablist"]');if(!t)return{};var r=t.querySelector('[role="tab"][aria-selected="true"]');if(!r)return{};var o=document.querySelector(r.hash);return r.setAttribute("aria-selected","false"),r.setAttribute("tabindex","-1"),o?(o.setAttribute("hidden","hidden"),{previousTab:r,previousContent:o}):{previousTab:r}},u=function(e,t,r){e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0"),t.removeAttribute("hidden"),r||e.focus()},l=function(e,t){if(e&&"true"!=e.getAttribute("aria-selected")){var r=document.querySelector(e.hash);if(r){var n=a(e);u(e,r,t),n.tab=e,n.content=r,o(e,n)}}},d=function(e){var t=e.closest('[role="tablist"]'),r=t?t.querySelectorAll('[role="tab"]'):null;if(r)return{tabs:r,index:Array.prototype.indexOf.call(r,e)}},c=function(e,t){var r=d(e);if(r){var o,n=r.tabs.length-1;["ArrowUp","ArrowLeft","Up","Left"].indexOf(t)>-1?o=r.index<1?n:r.index-1:["ArrowDown","ArrowRight","Down","Right"].indexOf(t)>-1?o=r.index===n?0:r.index+1:"Home"===t?o=0:"End"===t&&(o=n),l(r.tabs[o])}},s=function(t){if(!(e.location.hash.length<1)){var r=document.querySelector(t+' [role="tab"][href*="'+e.location.hash+'"]');l(r)}},f=function(e,o){var a,u,d={destroy:function(){var e=u.querySelectorAll("a");Array.prototype.forEach.call(e,(function(e){var t=document.querySelector(e.hash);t&&n(e,t,a)})),u.removeAttribute("role"),document.documentElement.removeEventListener("click",f,!0),u.removeEventListener("keydown",b,!0),a=null,u=null},setup:function(){if(u=document.querySelector(e)){var t=u.querySelectorAll("a");u.setAttribute("role","tablist"),Array.prototype.forEach.call(t,(function(e){var t=document.querySelector(e.hash);t&&i(e,t,a)}))}},toggle:function(t,r){var o=t;"string"==typeof t&&(o=document.querySelector(e+' [role="tab"][href*="'+t+'"]')),l(o,r)}},f=function(t){var r=t.target.closest(e+' [role="tab"]');r&&(t.preventDefault(),l(r))},b=function(t){var r=document.activeElement;r.matches(e+' [role="tab"]')&&(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Up","Down","Left","Right","Home","End"].indexOf(t.key)<0||c(r,t.key))};return a=r(t,o||{}),d.setup(),s(e),document.documentElement.addEventListener("click",f,!0),u.addEventListener("keydown",b,!0),d};return f}(o)},t(r={exports:{}},r.exports),r.exports);return o}();
2//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5taW4uanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=

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.