1"use strict";(self.webpackChunkgazzanet_symfony=self.webpackChunkgazzanet_symfony||[]).push([[7106],{57106:function(e,t,i){var n=i(52891);t.default=class extends n.xI{constructor(){super(...arguments),this.ARTICLE_SELECTOR="#article-content",this.contentElement=null,this.ticking=!1,this.cachedArticleTop=0,this.cachedArticleHeight=0,this.cachedWindowHeight=0,this.boundOnScroll=this.onScroll.bind(this),this.boundOnResize=this.onResize.bind(this)}connect(){window.matchMedia("(min-width: 768px)").matches||(this.contentElement=document.querySelector(this.ARTICLE_SELECTOR),this.contentElement?(this.cacheMetrics(),window.addEventListener("scroll",this.boundOnScroll,{passive:!0}),window.addEventListener("resize",this.boundOnResize,{passive:!0}),this.updateProgress()):this.element.style.display="none")}disconnect(){window.removeEventListener("scroll",this.boundOnScroll),window.removeEventListener("resize",this.boundOnResize)}onResize(){this.cacheMetrics(),this.onScroll()}cacheMetrics(){if(!this.contentElement)return;const e=this.contentElement.getBoundingClientRect();this.cachedArticleTop=e.top+window.scrollY,this.cachedArticleHeight=e.height,this.cachedWindowHeight=window.innerHeight}onScroll(){this.ticking||(this.ticking=!0,requestAnimationFrame(()=>{this.updateProgress(),this.ticking=!1}))}updateProgress(){const e=window.scrollY,t=this.cachedArticleHeight-this.cachedWindowHeight;let i=0;if(t>0){i=(e-this.cachedArticleTop)/t}i=Math.max(0,Math.min(1,i)),this.element.style.transform=`scaleX(${i})`}}}}]); 2//# sourceMappingURL=7106.89eb3102.js.map
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.