1import{_ as I}from"./MyHeadApp-C2d6iV99.js";import{c as $,a as A,d as h,e as x}from"./SearchApp-DgbTeIox.js";import{M as D}from"./mescroll-DhZBE6H8.js";import{r as u,o as p,d as v,a as m,b as s,w,m as _,F as b,l as f}from"./app-BXvF3HYt.js";const U={__name:"MeScrollApp",props:{dataNum:{type:Number,default:0}},emits:["loadMore"],setup(e,{emit:i}){const l=e,c=i,o=u(),r=u(null),n=u(!1),d=async t=>(o.value=t,new Promise((a,S)=>{setTimeout(()=>{c("loadMore",o),a("Success"),S("Failed")},1e3)})),g=t=>{r.value=t},y=async t=>{await d(0),f(()=>{t.endSuccess()})},N=async(t,a)=>{n.value||(n.value=!0,a.lockUpScroll(!0),await d(l.dataNum),f(()=>{a.endSuccess(l.dataNum,!0),a.lockUpScroll(!1),n.value=!1}))},k={auto:!1,warpId:"myDownWarp",callback:y},M={auto:!1,offset:200,warpId:"myUpWarp",callback:N,toTop:{offset:1e3,duration:500,fadeDuration:2,html:'<div class="fixed bottom-44 right-4 z-40"><img class="w-12 h-12" src="/document/static/back_to_top.png" /></div>',btnClick:()=>{n.value||r.value.triggerDownScroll()}},htmlLoading:'<div class="w-full"><img class="m-auto w-4 h-4 mb-6 animate-spin" src="/document/static/[email protected]" /></div>'};return(t,a)=>(p(),v(b,null,[a[0]||(a[0]=m("div",{id:"myDownWarp"},null,-1)),s(D,{onInit:g,down:k,up:M},{default:w(()=>[_(t.$slots,"default")]),_:3}),a[1]||(a[1]=m("div",{id:"myUpWarp",class:"w-full h-10"},null,-1))],64))}},L={__name:"MobileLayout",props:{title:String,description:String,adInfos:Array,dataNum:{type:Number,default:0},menuActive:{type:Number,default:0}},emits:["loadMore"],setup(e,{emit:i}){const l=i,c=o=>{l("loadMore",o)};return(o,r)=>(p(),v(b,null,[s(I,{title:e.title,description:e.description},null,8,["title","description"]),s(U,{dataNum:e.dataNum,onLoadMore:c},{default:w(()=>[s($),s(A,{adInfos:e.adInfos},null,8,["adInfos"]),s(h),m("main",null,[_(o.$slots,"default")])]),_:3},8,["dataNum"]),s(x,{menuActive:e.menuActive},null,8,["menuActive"])],64))}};export{L as _};
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.