PageSourceSearch

https://www.erosstar.cz/templates/ero/js/sidebar.min.js?v=1.3

js erosstar.cz collected 2026-10-05 22:39:56 UTC 1,459 bytes, 1 lines download raw bytes

1function SidebarTrigger(trigger){let attr=trigger.dataset.activate;requireNotNull(attr);let item=document.getElementById(attr);requireNotNull(item),this._trigger=trigger,this._item=item,this._state=void 0;let _this=this;this._onOutsideClick=function(e){_this.clickedIn(e.target)||_this.deactivate()}}SidebarTrigger.prototype.activate=function(){this.dimInstance.classList.add("active"),this.bodyInstance.classList.add("overflow"),this._item.classList.add("active"),window.addEventListener("click",this._onOutsideClick)},SidebarTrigger.prototype.deactivate=function(){this.dimInstance.classList.remove("active"),this.bodyInstance.classList.remove("overflow"),this._item.classList.remove("active"),window.removeEventListener("click",this._onOutsideClick)},SidebarTrigger.prototype.isActive=function(){return this._item.classList.contains("active")},SidebarTrigger.prototype.bind=function(){let _this=this;this._trigger.addEventListener("click",(function(e){e.stopPropagation(),e.preventDefault(),_this.isActive()?_this.deactivate():_this.activate()})),window.addEventListener("resize",(function(){let currentState=!minWidth("md");currentState!==_this._state&&(_this._state=currentState,currentState||_this.deactivate())}))},SidebarTrigger.prototype.clickedIn=function(element){return this._item.contains(element)},SidebarTrigger.prototype.dimInstance=document.getElementById("dim"),SidebarTrigger.prototype.bodyInstance=document.getElementsByTagName("body")[0];

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.