PageSourceSearch

https://www.seavees.com/cdn/shop/t/974/assets/tabs.js?v=168821981848197465011789971751

js seavees.com collected 2026-09-24 18:51:40 UTC 1,367 bytes, 2 lines download raw bytes

1if(!customElements.get("tab-component")){class TabComponent extends HTMLElement{constructor(){super();const tabs=this.querySelectorAll('[role="tab"]'),tabList=this.querySelector('[role="tablist"]'),tabListElements=this.querySelectorAll(".tabbed-content-tab");tabListElements.length>0&&tabListElements.forEach(element=>{tabList.appendChild(element)}),tabs.forEach(tab=>{tab.addEventListener("click",this.changeTabs)});let tabFocus=0;tabList.addEventListener("keydown",e=>{(e.keyCode===39||e.keyCode===37)&&(tabs[tabFocus].setAttribute("tabindex",-1),e.keyCode===39?(tabFocus++,tabFocus>=tabs.length&&(tabFocus=0)):e.keyCode===37&&(tabFocus--,tabFocus<0&&(tabFocus=tabs.length-1)),tabs[tabFocus].setAttribute("tabindex",0),tabs[tabFocus].focus())})}changeTabs(e){const target=e.target,parent=target.parentNode,tabComponent=target.closest("tab-component");parent.querySelectorAll('[aria-selected="true"]').forEach(t=>t.setAttribute("aria-selected",!1)),target.setAttribute("aria-selected",!0),tabComponent.querySelectorAll('[role="tabpanel"]:not([aria-roledescription="slide"]').forEach(p=>p.setAttribute("hidden",!0)),tabComponent.parentNode.querySelector(`#${target.getAttribute("aria-controls")}`).removeAttribute("hidden")}}customElements.define("tab-component",TabComponent)}
2//# sourceMappingURL=/cdn/shop/t/974/assets/tabs.js.map?v=168821981848197465011789971751

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.