PageSourceSearch

https://safha1.com/themes/fp/assets/js/core-min.js?r=1.2.1

js safha1.com collected 2026-10-02 21:20:03 UTC 3,659 bytes, 1 lines download raw bytes

1class Pushbar{constructor(e={overlay:!0,blur:!1}){if(this.activeId,this.activeElement,this.overlayElement,e.overlay&&(this.overlayElement=document.createElement("div"),this.overlayElement.classList.add("pushbar_overlay"),document.querySelector("body").appendChild(this.overlayElement)),e.blur){const e=document.querySelector(".pushbar_main_content");e&&e.classList.add("pushbar_blur")}this.bindEvents()}emitOpening(){const e=new CustomEvent("pushbar_opening",{bubbles:!0,detail:{element:this.activeElement,id:this.activeId}});this.activeElement.dispatchEvent(e)}emitClosing(){const e=new CustomEvent("pushbar_closing",{bubbles:!0,detail:{element:this.activeElement,id:this.activeId}});this.activeElement.dispatchEvent(e)}handleOpenEvent(e){e.preventDefault();const t=e.currentTarget.getAttribute("data-pushbar-target");this.open(t)}handleCloseEvent(e){e.preventDefault(),this.close()}handleKeyEvent(e){27===e.keyCode&&this.close()}bindEvents(){const e=document.querySelectorAll("[data-pushbar-target]"),t=document.querySelectorAll("[data-pushbar-close]");e.forEach((e=>e.addEventListener("click",(e=>this.handleOpenEvent(e)),!1))),t.forEach((e=>e.addEventListener("click",(e=>this.handleCloseEvent(e)),!1))),this.overlayElement&&this.overlayElement.addEventListener("click",(e=>this.handleCloseEvent(e)),!1),document.addEventListener("keyup",(e=>this.handleKeyEvent(e)))}open(e){if(this.activeId===String(e)||!e)return;if(this.activeId&&this.activeId!==String(e)&&this.close(),this.activeId=e,this.activeElement=document.querySelector(`[data-
1pushbar-id="${this.activeId}"]`),!this.activeElement)return;this.emitOpening(),this.activeElement.classList.add("opened");const t=document.querySelector("html");t.classList.add("pushbar_locked"),t.setAttribute("pushbar",e)}close(){if(!this.activeId)return;this.emitClosing(),this.activeElement.classList.remove("opened");const e=document.querySelector("html");e.classList.remove("pushbar_locked"),e.removeAttribute("pushbar"),this.activeId=null,this.activeElement=null}}new Pushbar({blur:!1,overlay:!0});var navbar=document.getElementById("navbar");if(window.innerWidth>=1300)var sponserLeft=document.getElementById("stick-l"),sponserRight=document.getElementById("stick-r");var sticky=document.body.offsetTop+20,state=1;function stickyEl(){1===state&&window.scrollY>=sticky?(state=2,navbar.classList.add("sticky"),window.innerWidth>=1300&&sponserLeft&&(sponserLeft.classList.add("stickyL"),sponserRight.classList.add("stickyR"))):2===state&&window.scrollY<sticky&&(state=1,navbar.classList.remove("sticky"),window.innerWidth>=1300&&sponserLeft&&(sponserLeft.classList.remove("stickyL"),sponserRight.classList.remove("stickyR")))}function openSearch(){var e=document.getElementById("searchInline"),t=document.getElementById("search-form");e.classList.toggle("open"),e.classList.contains("open")?document.getElementById("search").focus():t.reset()}function closeSearch(){var e=document.getElementById("searchInline"),t=document.getElementById("search-form");e.classList.remove("open"),t.reset()}window.onscroll=function(){stickyEl()};var i,coll=document.getElementsByClassName("dropdown-toggle");for(i=0;i<coll.length;i++)coll[i].addEventListener("click",(function(){this.classList.toggle("active");var e=this.nextElementSibling;hasClass(e,"show")?removeClass(e,"show"):addClass(e,"show")}));function hasClass(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function addClass(e,t){e.classList?e.classList.add(t):hasClass(e,t)||(e.className+=" "+t)}function removeClass(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("\\b"+t+"\\b","g"),"")}

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.