System.register(["./souav-legacy-ptBXoxNy.js","./chunk-legacy-DSWgnP8V.js","./chunk-legacy-B09Jcn0a.js","./chunk-legacy-Du0cmR-o.js","./chunk-legacy-CEUc4S30.js","./chunk-legacy-Dq4znTTY.js","./chunk-legacy-DhDQalG_.js","./chunk-legacy-B3dYxnqe.js","./chunk-legacy-DcCKlgmr.js","./chunk-legacy-CqjPx9Fo.js","./chunk-legacy-DpNjDkVD.js","./chunk-legacy-CFPzruGi.js","./chunk-legacy-B8g3VqiH.js","./chunk-legacy-CPNkfuO8.js"],function(e,s){"use strict";var l,t,n,a,c,u,i,o,y,d,r,g,p,m,h,k,v,j;return{setters:[e=>{l=e.r,t=e.A,n=e.i,a=e.a,c=e._,u=e.c},e=>{i=e.d},e=>{o=e.r,y=e.C,d=e.c,r=e.P,g=e.M,p=e.Q,m=e.B,h=e.S,k=e.u,v=e.Z,j=e.N},null,null,null,null,null,null,null,null,null,null,null],execute:function(f,L){const I=i("FirstClassify",()=>{const e=o(""),s=o([]),a=o([]),c=o([]),u=o(!1);return{isLoading:u,typeId:e,isNeedRequest:function(s){return""===e.value||e.value!==s},setTypeId:function(s){e.value=s},bannerVodList:s,requestCarousel:async function(){s.value=[];let a=await l(t.carousel,{typeId:e.value});if(n(a.code)){const e=a.data.classifyResponse2List;e.length>0&&(s.value=e[0].videoList)}},recommendVodList:a,secondClassifyList:c,requestRecommendList:async function(){u.value=!0;let s=await l(t.home,{typeId:e.value});n(s.code)&&(a.value=s.data.classifyResponse2List),u.value=!1},requestFirstClassify:async function(){c.value=[];let s=await l(t.mod,{typeId:e.value});if(n(s.code)){const e=s.data.extendTypeResponse2List;e&&(c.value=e)}}}}),C={class:"w-full"};e("default",y({__name:"index",props:{category:{},subCategory:{default:""}},setup(e){const l=v(()=>c(()=>s.import("./chunk-legacy-BB2AHNBV.js"),void 0)),t=v(()=>c(()=>s.import("./chunk-legacy-CKfTv18A.js"),void 0)),n=v(()=>c(()=>s.import("./chunk-legacy-WRIp9KPP.js"),void 0)),i=v(()=>c(()=>s.import("./chunk-legacy-CmZg_og8.js"),void 0)),o=v(()=>c(()=>s.import("./chunk-legacy-B_aAAHgY.js"),void 0)),y=v(()=>c(()=>s.import("./chunk-legacy-DdB0CMe4.js"),void 0)),f=v(()=>c(()=>s.import("./chunk-legacy-h5Xovhfb.js"),void 0)),L=v(()=>c(()=>s.import("./chunk-legacy-CJ46tdHH.js"),void 0)),q=v(()=>c(()=>s.import("./chunk-legacy-BtYeV39H.js"),void 0)),R=v(()=>c(()=>s.import("./chunk-legacy-BPwZfhpV.js"),void 0)),V=v(()=>c(()=>s.import("./chunk-legacy-75jDcGJS.js"),void 0)),b=e,A=I(),T=a();return d(()=>{for(const e of u().mainTypes)if(e.type_id.toString()===b.category){e.type_name.replace(/\s*/g,"");break}A.isNeedRequest(b.category)&&(A.setTypeId(b.category),A.requestCarousel(),A.requestRecommendList(),A.requestFirstClassify())}),(e,s)=>(j(),r("div",C,[k(T).topImgAd.length>0?(j(),g(k(l),{key:0,model:k(T).getTopImgAd},null,8,["model"])):p("",!0),null!=k(T).shareAd?(j(),g(k(o),{key:1,model:k(T).shareAd},null,8,["model"])):p("",!0),m(k(i)),m(k(n)),m(k(y)),k(A).bannerVodList.length>0?(j(),g(k(q),{key:2,list:k(A).bannerVodList},null,8,["list"])):p("",!0),m(k(f),{type:b.category},null,8,["type"]),k(A).isLoading?(j(),g(k(V),{key:3})):p("",!0),!k(A).isLoading&&k(A).recommendVodList.length>0?(j(),g(k(t),{key:4,typeId:k(A).typeId,vodList:k(A).recommendVodList,isMore:!0},null,8,["typeId","vodList"])):p("",!0),k(A).secondClassifyList.length>0?(j(),g(k(L),{key:5,list:k(A).secondClassifyList},null,8,["list"])):p("",!0),s[0]||(s[0]=h("div",{class:"mt-3"},null,-1)),m(k(f),{type:b.category},null,8,["type"]),m(k(R),{class:"mt-5"})]))}}))}}});
