1const i={cfg:{name:"gridOverlay",selectors:{toggleGrid:".js-toggleGrid",gridOverlay:".gridOverlay"},el:{$toggleGrid:void 0,$gridOverlay:void 0}},setElements(){this.cfg.el.$toggleGrid=document.querySelector(this.cfg.selectors.toggleGrid),this.cfg.el.$gridOverlay=document.querySelector(this.cfg.selectors.gridOverlay)},toggleGrid(){if(this.cfg.el.$gridOverlay){this.cfg.el.$gridOverlay.classList.toggle("is-visible");let e=!1;this.cfg.el.$gridOverlay.classList.contains("is-visible")?e=!0:e=!1,localStorage.setItem("gridVisible",e)}},init(){setTimeout(()=>{this.setElements(),this.cfg.el.$gridOverlay&&localStorage.getItem("gridVisible")==="true"&&this.cfg.el.$gridOverlay.classList.add("is-visible"),this.cfg.el.$toggleGrid&&this.cfg.el.$toggleGrid.addEventListener("click",()=>{this.toggleGrid()},!1)},500)}};export{i as default}; 2//# sourceMappingURL=gridOverlay-b8a384Mo.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.