drill.init(async(e,{initActiveId:t})=>{const[a,i,n,o]=await e("common/data","util/animationCSSUtil","util/pageUtil","data -r");i.initAnimation(o.animation);let d=$(".p_main"),l=d.children().eq(t),r=l.prop("pageData"),s=new Set;s.add(t),a.on("pageLoaded",(e,a)=>{a.pageId>=t?n.clearPageAnime(a.page):s.add(a.pageId)});let m=d[0];await r.startLoad(),m.scrollTop=m.offsetHeight*t,await new Promise(e=>setTimeout(e,300)),n.runPageAnime(l);let g=0;m.addEventListener("scroll",e=>{if(g)return;g=1,setTimeout(()=>{g=0},200);let{scrollTop:t,offsetWidth:a,offsetHeight:i}=m,o=Math.floor((t+i/4)/i);s.has(o)||(s.add(o),n.runPageAnime(d.children().eq(o)))})});