const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunk-FJlsQkhE.js","assets/chunk-C2zce6qn.js","assets/chunk-C68fSiJm.js","assets/chunk-BRI0aX6c.js","assets/swiper-DQfWe2tR.css","assets/souav-I_ihqEhP.js","assets/chunk-D1JGNTfG.js","assets/chunk-9PZSJnHb.js","assets/chunk-Bf-nSo-6.js","assets/vant-CXchNwu5.css","assets/chunk-DwkOxDMO.js","assets/chunk-CMQyd8eO.js","assets/chunk-a7obrEbD.js","assets/chunk-DQhVL27x.js","assets/chunk-cn7T4ICr.js","assets/chunk-Bh3yC0yB.js","assets/chunk-DjdYu-xF.js","assets/chunk-BHPWSuhB.js","assets/index-FXzEJeAp.css","assets/animate-BaVkx4tQ.css","assets/chunk-CeY0bcVm.js","assets/chunk-CKqiihmt.js"])))=>i.map(i=>d[i]);
import{r as s,A as t,i as e,_ as a}from"./souav-I_ihqEhP.js";import{_ as o}from"./chunk-qE2C5OKe.js";import{d as i}from"./chunk-D1JGNTfG.js";import{r as n,C as u,P as l,S as r,R as c,u as m,H as p,U as d,M as h,N as j,c as k,a as f,B as _,Q as v,Z as x}from"./chunk-BRI0aX6c.js";import{_ as L}from"./chunk-M9zU1roC.js";import{_ as w}from"./chunk-C-I2o6tN.js";import"./chunk-9PZSJnHb.js";import"./chunk-Bf-nSo-6.js";import"./chunk-DwkOxDMO.js";import"./chunk-CMQyd8eO.js";import"./chunk-a7obrEbD.js";import"./chunk-DQhVL27x.js";import"./chunk-cn7T4ICr.js";import"./chunk-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";/* empty css              */import"./chunk-Cc8vDyyC.js";const y=i("Latest",()=>{const a=n([]),o=n(!1);return{isLoading:o,vodList:a,requestLatestVideos:async function(){o.value=!0;let i=await s(t.vod,{typeId:"1",pageNo:0,pageSize:100,by:"vod_time",level:0});e(i.code)&&(a.value=i.data.videoList),o.value=!1}}}),V={class:"flex w-full flex-col px-2"},g={class:"flex w-full flex-row items-center justify-between py-3"},E={class:"text-[13px] text-white"},P={class:"flex w-full flex-col space-y-4"},b=u({__name:"LatestVideoView",setup(s){const t=y();return(s,e)=>(j(),l("div",V,[r("div",g,[e[0]||(e[0]=r("p",{class:"text-[16px] font-bold text-white/80"},"最近更新",-1)),r("p",E,"最近"+c(m(t).vodList.length)+"个",1)]),r("div",P,[(j(!0),l(p,null,d(m(t).vodList,(s,t)=>(j(),h(L,{model:s,key:t},null,8,["model"]))),128))])]))}}),A={class:"w-full"},I=u({__name:"index",setup(s){const t=x(()=>a(()=>import("./chunk-FJlsQkhE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),e=x(()=>a(()=>import("./chunk-CeY0bcVm.js"),__vite__mapDeps([20,21,5,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),i=y();return k(()=>{i.requestLatestVideos()}),f(()=>{}),(s,a)=>(j(),l("div",A,[_(m(t)),_(m(e)),m(i).isLoading?(j(),h(w,{key:0})):v("",!0),m(i).isLoading?v("",!0):(j(),h(b,{key:1})),_(o,{class:"mt-5"})]))}});export{I as default};
