1"use strict";(self.webpackChunkbundle_default=self.webpackChunkbundle_default||[]).push([[340],{8340:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});const i="data-active",a="data-visible";class n extends HTMLElement{connectedCallback(){this.init(),this.setBinds()}init(){this.elTabs=[...this.querySelectorAll("[data-tab]")],this.elTabPanels=[...this.querySelectorAll("[data-tab-panel]")],this.ids=this.elTabPanels.map((e=>e.id));const e=window.location.hash.substr(1),t=this.ids.some((t=>e===t)),s=this.querySelector(`[href$="${e}"]`);window.addEventListener("load",(()=>{s&&s.parentNode.scrollIntoView({block:"nearest"})})),this.activePanel=window.location.hash.length&&t?window.location.hash.substr(1):this.elTabPanels[0].id}setBinds(){window.addEventListener("hashchange",(()=>{const e=window.location.hash.substr(1);this.ids.some((t=>e===t))&&(this.activePanel=e)})),this.elTabs.forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget.href.split("#").pop();if(!t)return;history.pushState(null,null,e.currentTarget.href);const s=this.ids.some((e=>t===e));s&&s&&(e.preventDefault(),this.activePanel=t)}))}))}set activePanel(e){this._activePanel!==e&&(this._activePanel=e,this.elTabs.forEach((t=>{e===t.getAttribute("href").substr(1)?t.setAttribute(i,""):t.removeAttribute(i)})),this.transitionPanels(e)),window.dispatchEvent(new Event("resize"))}transitionPanels(e){this.elTabPanels.forEach((t=>{e===t.id?t.setAttribute(a,""):t.removeAttribute(a)}))}clearTransitionProperties(e){e.style.removeProperty("height"),e.style.removeProperty("opacity"),e.style.removeProperty("overflow"),e.style.removeProperty("display"),e.style.removeProperty("transition")}get activePanel(){return this._activePanel}}}}]);
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.