PageSourceSearch

https://zoomboola.com/js/5496162-7efa7aee.js

js zoomboola.com collected 2026-10-02 12:19:17 UTC 3,647 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwebpacktemplate=globalThis.webpackChunkwebpacktemplate||[]).push([[5496],{5496(e,t,i){i.d(t,{default:()=>l});var s=i(5950),r=i(3994);const n=class{constructor({root:e,endMarker:t,startSeconds:i=10,endSeconds:s=30,onStart:r,onHalfway:n,onEnd:a}){this.root=e,this.endMarker=t,this.startSeconds=i,this.endSeconds=s,this.onStart=r||(()=>{}),this.onHalfway=n||(()=>{}),this.onEnd=a||(()=>{}),this.activeSeconds=0,this.started=!1,this.halfway=!1,this.ended=!1,this.rootVisible=!1,this.endVisible=!1,this.timer=null,this.rootObserver=null,this.endObserver=null,this.cleaned=!1,this._onPageHide=this._onPageHide.bind(this)}start(){return this.root&&this.endMarker&&"IntersectionObserver"in window?(this.rootObserver=new IntersectionObserver(e=>{this.rootVisible=e.some(e=>e.isIntersecting)},{threshold:0}),this.rootObserver.observe(this.root),this.endObserver=new IntersectionObserver(e=>{this.endVisible=e.some(e=>e.isIntersecting)},{threshold:0}),this.endObserver.observe(this.endMarker),this.timer=window.setInterval(()=>this._tick(),1e3),window.addEventListener("pagehide",this._onPageHide),this):this}_scrolledPastHalfway(){const e=this.root.getBoundingClientRect();if(e.height<=0)return!1;return(window.innerHeight||document.documentElement.clientHeight)-e.top>=e.height/2}_tick(){"visible"===document.visibilityState&&this.rootVisible&&(this.activeSeconds++,!this.started&&this.activeSeconds>=this.startSeconds&&(this.started=!0,this.onStart()),this.started&&!this.halfway&&this._scrolledPastHalfway()&&(this.halfway=!0,this.onHalfway()),!this.ended&&this.started&&this.endVisible&&this.activeSeconds>=this.endSeconds&&(this.ended=!0,this.halfway||(this.halfway=!0,this.onHalfway()),this.onEnd(),this.cleanup()))}_onPageHide(){this.cleanup()}cleanup(){this.cleaned||(this.cleaned=!0,window.clearInterval(this.timer),this.rootObserver&&this.rootObserver.disconnect(),this.endObserver&&this.endObserver.disconnect(),window.removeEventListener("pagehide",this._onPageHide))}};function a(e,t){try{s.A.track(e,t)}catch(e){}}function o(e){e.classList.add("iku_serial_loaded");const t=function(e){return{series_id:Number(e.dataset.seriesId),episode_id:Number(e.dataset.episodeId),lang:Number(e.dataset.serialLang),revision:Number(e.dataset.serialRevision),source:"site"}}(e);if(!(t.series_id&&t.episode_id&&t.lang&&t.revision))return;const i=e.querySelector(".iku_serial_end");if(!i)return;new n({root:e,endMarker:i,onStart:()=>{a("serial_read_start",t),r.A.goal("serial_read_start",{series_id:t.series_id,episode_id:t.episode_id})},onHalfway:()=>{a("serial_read_halfway",t),r.A.goal("serial_read_halfway",{series_id:t.series_id,episode_id:t.episode_id})},onEnd:()=>{a("serial_read_end",t),r.A.goal("serial_read_end",{series_id:t.series_id,episode_id:t.episode_id})}}).start();const s=e.parentElement?e.parentElement.querySelector(".iku_serial_nav"):null;s&&s.addEventListener("click",e=>{const i=e.target.closest("[data-serial-action]");if(!i)return;a("next"===i.dataset.serialAction?"serial_next_click":"serial_contents_click",t)})}function d(e){e.classList.add("iku_serial_loaded");const t=Number(e.dataset.serialCatalogView);if(!t||!("IntersectionObserver"in window))return;const i=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(a("serial_page_view",{series_id:t,source:"site"}),r.A.goal("serial_page_view",{series_id:t}),i.disconnect())},{threshold:0});i.observe(e)}const l={init:function(){document.querySelectorAll("[data-serial-reader]:not(.iku_serial_loaded)").forEach(o)},initCatalogView:function(){document.querySelectorAll("[data-serial-catalog-view]:not(.iku_serial_loaded)").forEach(d)}}}}]);

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.