1"use strict";(self.webpackChunkunia21=self.webpackChunkunia21||[]).push([[4030],{4030:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});class i{constructor(){this.$el=document.getElementById("search"),this.$btns=document.querySelectorAll(".btn-search, .navbar-search"),this.searchHeight=67,this.code=this.$el.dataset.code,this.scriptUrl=`https://cse.google.com/cse.js?cx=${this.code}`,this.$btns.forEach(e=>{e&&e.addEventListener("click",e=>this.activateSearch(e))})}loadGoogleScript(){if(!this.code||i.googleScriptLoaded||document.querySelector(`script[src="${this.scriptUrl}"]`))return void(i.googleScriptLoaded=!0);i.googleScriptLoaded=!0;const e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=this.scriptUrl;const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}activateSearch(e){e.preventDefault(),this.loadGoogleScript(),document.querySelectorAll(".navbar .mega-dropdown-menu, .navbar .mega-dropdown").forEach(e=>{e.classList.remove("opened")});const t=document.querySelector("input.gsc-input");this.removeGoogleLabel(t),this.$el.classList.contains("animating")||(this.$el.classList.add("animating"),this.$el.classList.contains("active")?(this.$el.classList.remove("active"),this.searchHeight=this.$el.offsetHeight,this.$el.style.transition="0s",this.$el.style.height=this.searchHeight+"px",setTimeout(()=>{this.$el.style.transition=".5s",this.$el.style.height="0px",this.$el.classList.remove("animating")},10)):(window.scrollTo(0,0),this.$el.classList.add("active"),this.$el.style.height=this.searchHeight+"px",setTimeout(()=>{this.$el.style.height="100%",this.$el.classList.remove("animating")},501),t&&t.addEventListener("focusout",()=>this.removeGoogleLabel(t))))}removeGoogleLabel(e){e&&(e.style.background="")}}i.googleScriptLoaded=!1}}]);
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.