drill.init(async(a,{initActiveId:t})=>{const[e,i,n,o]=await a("common/data","util/pageUtil","util/animationCSSUtil","data -r");$(".p_main > .page").each((a,e)=>{let i=$(e);t===a?i.attr("active",1):i.attr("active",0);let o=e.pageData;a==t?i.css(n.toCSSObj(o.pos1_after)):a<t?i.css(n.toCSSObj(o.pos2_after)):i.css(n.toCSSObj(o.pos1))}),await a("task/h5/initPageSwiper"),n.initAnimation(o.animation),e.on("changePageStart",(a,t)=>{let{activePage:e,nextPage:n}=t;i.clearPageAnime(n)}),e.on("changePageEnd",(a,t)=>{let{activePage:e,oldPage:n}=t;i.runPageAnime(e)});let g=$(".p_main > .page").eq(t),c=g.prop("pageData");await c.startLoad(),i.clearPageAnime(g),await new Promise(a=>setTimeout(()=>a(),200)),i.runPageAnime(g)});