PageSourceSearch

https://snappykraken.com/hubfs/hub_generated/module_assets/1/19684…/1760735164724/module_Rich_Tabs.min.js

js snappykraken.com collected 2026-10-02 04:17:38 UTC 1,578 bytes, 2 lines download raw bytes

1var module_196844758942=void document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".tabs-wrapper").forEach(function(wrapper){wrapper.querySelector('[role="tablist"]');const tabs=wrapper.querySelectorAll('[role="tab"]'),panels=wrapper.querySelectorAll('[role="tabpanel"]');function switchTab(newTab){const index=newTab.getAttribute("data-index");tabs.forEach(function(tab){tab.classList.remove("active"),tab.setAttribute("aria-selected","false"),tab.setAttribute("tabindex","-1")}),panels.forEach(function(panel){panel.classList.remove("active")}),newTab.classList.add("active"),newTab.setAttribute("aria-selected","true"),newTab.setAttribute("tabindex","0"),wrapper.querySelector('.tab-pane[data-index="'+index+'"]').classList.add("active")}tabs.forEach(function(tab){tab.addEventListener("click",function(){switchTab(this)}),tab.addEventListener("keydown",function(e){let newIndex,currentIndex=Array.from(tabs).indexOf(this);switch(e.key){case"ArrowLeft":e.preventDefault(),newIndex=currentIndex>0?currentIndex-1:tabs.length-1,tabs[newIndex].focus(),switchTab(tabs[newIndex]);break;case"ArrowRight":e.preventDefault(),newIndex=currentIndex<tabs.length-1?currentIndex+1:0,tabs[newIndex].focus(),switchTab(tabs[newIndex]);break;case"Home":e.preventDefault(),tabs[0].focus(),switchTab(tabs[0]);break;case"End":e.preventDefault(),tabs[tabs.length-1].focus(),switchTab(tabs[tabs.length-1])}})})})});
2//# sourceURL=https://20607055.fs1.hubspotusercontent-na1.net/hubfs/20607055/hub_generated/module_assets/1/196844758942/1760735164724/module_Rich_Tabs.js

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.