1"use strict";(self.webpackChunkzenit_platform_horizon=self.webpackChunkzenit_platform_horizon||[]).push([[30927],{927(e,t,n){n.r(t),n.d(t,{default:()=>s});var o=n(4059);class s extends window.PluginBaseClass{static #e=this.options={headerInnerSelector:".header-inner",scrollDebounceTime:0};init(){let e=this.options;this._navbarPlugin=window.PluginManager.getPluginInstanceFromElement(this.el,"Navbar"),this._debounceOnScroll=o.A.debounce(this._onScroll.bind(this),e.scrollDebounceTime),this._headerInner=this.el.closest(e.headerInnerSelector),this._registerEvents()}_registerEvents(){this._navbarPlugin.$emitter.subscribe("showDropdown.ZenFlyoutFullscreenPlugin",this._onShowDropdown.bind(this)),this._navbarPlugin.$emitter.subscribe("closeAllDropdowns.ZenFlyoutFullscreenPlugin",this._onCloseDropdown.bind(this))}_onShowDropdown(){this._updateOffset(),window.addEventListener("scroll",this._debounceOnScroll,{passive:!0})}_onCloseDropdown(){window.removeEventListener("scroll",this._debounceOnScroll,{passive:!0})}_onScroll(){this._updateOffset()}_updateOffset(){let e=Math.max(0,Math.round(this._headerInner.getBoundingClientRect().bottom));this.el.style.setProperty("--flyout-top",`${e}px`)}}},4059(e,t,n){n.d(t,{A:()=>o});class o{static debounce(e,t){let n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var s=arguments.length,i=Array(s),r=0;r<s;r++)i[r]=arguments[r];o&&!n&&setTimeout(e.bind(e,...i),0),clearTimeout(n),n=setTimeout(e.bind(e,...i),t)}}}}}]);
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.