PageSourceSearch

https://exode.me/client/en-US/chunk-OTKVWBE5.js

js exode.me collected 2026-10-04 16:17:50 UTC 1,939 bytes, 2 lines download raw bytes

1import{Cc as v,Dc as o,H as u,Lc as O,M as h,Oa as g,P as f,T as b,aa as d,n as c,s as m,ta as p,x as n}from"./chunk-HVCWS4IF.js";import{j as l}from"./chunk-KJ7W2O2B.js";var i=class i{el=d(p);percentLimit=o(70);onItself=o(!1,{transform:O});dataObservable=o(void 0);nearOfBottom=v();decimalLimit=0;lastCurrentBottom;scrollDownSub;container;checkScroll=!1;constructor(){this.decimalLimit=this.percentLimit()/100}ngAfterViewChecked(){this.checkScroll&&(this.checkScroll=!1,setTimeout(()=>{this.hasScroll()===!1&&this.nearOfBottom.emit()}))}ngOnInit(){this.initialize()}ngOnDestroy(){this.scrollDownSub&&this.scrollDownSub.unsubscribe()}initialize(){this.container=this.onItself()?this.el.nativeElement:document.documentElement;let t={leading:!0,trailing:!0},r=this.onItself()?this.container:window,w=m(r,"scroll").pipe(f(!0),b(200,void 0,t),c(()=>this.getScrollInfo()),u((e,s)=>e.current===s.current),h());this.scrollDownSub=w.pipe(n(({current:e})=>this.isScrollingDown(e)),n(({current:e,maximumScroll:s})=>e/s>this.decimalLimit)).subscribe(()=>{this.nearOfBottom.emit()});let a=this.dataObservable();a&&a.pipe(n(e=>e.length!==0)).subscribe(()=>this.checkScroll=!0)}getScrollInfo(){return{current:this.container.scrollTop,maximumScroll:this.getMaximumScroll()}}getMaximumScroll(){let t=this.onItself()?this.container.clientHeight:window.innerHeight;return this.container.scrollHeight-t}hasScroll(){return this.getMaximumScroll()>0}isScrollingDown(t){if(this.lastCurrentBottom===void 0)return this.lastCurrentBottom=t,!1;let r=this.lastCurrentBottom<t;return this.lastCurrentBottom=t,r}};l(i,"\u0275fac",function(r){return new(r||i)}),l(i,"\u0275dir",g({type:i,selectors:[["","myInfiniteScroller",""]],inputs:{percentLimit:[1,"percentLimit"],onItself:[1,"onItself"],dataObservable:[1,"dataObservable"]},outputs:{nearOfBottom:"nearOfBottom"}}));var S=i;export{S as a};
2/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/

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.