1"use strict";(self.webpackChunksecuritas=self.webpackChunksecuritas||[]).push([[593],{9950(t,e,s){s.d(e,{Y:()=>a});var i=s(9025);class a{rootElement;index;dataset;constructor(t,e){this.rootElement=t,this.index=e,this.dataset=t.dataset}getRootElement(){return this.rootElement}getComponent(t){const e=this.rootElement.querySelector(t);return e?i.H.getComponent(e):null}destroy(){}}},1519(t,e,s){s.d(e,{SubcategoryListingsPage:()=>a});var i=s(9950);class a extends i.Y{static className="js-subcategory-listings-page";constructor(t,e){super(t,e),this.initCategoriesTabs()}initCategoriesTabs(){const t=this.rootElement.querySelectorAll(".tab-categories > div"),e=this.rootElement.querySelector(".tab-list");t.forEach((t,s)=>{t.setAttribute("data-item",s.toString());const i=document.createElement("li"),a=t.getAttribute("id");i.setAttribute("data-item",s.toString()),null!==a&&(i.innerHTML=a.toString()),i&&e&&e.appendChild(i)});const s=this.rootElement.querySelectorAll(".tab-list li");s[0].classList.add("active"),t[0].classList.add("active"),s.forEach(e=>{e.addEventListener("click",()=>{const i=e.classList.contains("active"),a=e.getAttribute("data-item"),r=this.rootElement.querySelectorAll(`div[data-item="${a}"]`);i||(s.forEach(t=>t.classList.remove("active")),t.forEach(t=>t.classList.remove("active")),i||(e.classList.add("active"),r[0].classList.add("active")))})})}}}}]); 2//# sourceMappingURL=subcategory-listings-page.ddda0054.chunk.min.js.map
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.