System.register(["./chunk-legacy-B09Jcn0a.js","./chunk-legacy-Du_4_SVd.js","./souav-legacy-ptBXoxNy.js","./chunk-legacy-Dq4znTTY.js","./chunk-legacy-Cv8syJCr.js","./chunk-legacy-D4EHk8Xy.js","./chunk-legacy-CGSAaekB.js","./chunk-legacy-CnQJKDCO.js","./chunk-legacy-DpbxhQOx.js","./chunk-legacy-DXAmuHUG.js","./chunk-legacy-DSWgnP8V.js","./chunk-legacy-Du0cmR-o.js","./chunk-legacy-CEUc4S30.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","./chunk-legacy-BhgcdVyL.js"],function(e){"use strict";var l,t,a,n,c,s,u,o,r,i,p,y,g,d,f,x,h,k,v,m,j,w,b,P,_,N,S,q,C,z;return{setters:[e=>{l=e.C,t=e.r,a=e.c,n=e.P,c=e.S,s=e.u,u=e.F,o=e.a0,r=e.J,i=e.H,p=e.U,y=e.R,g=e.X,d=e.N,f=e.M,x=e.Q,h=e.B},e=>{k=e.T},e=>{v=e.k,m=e.S,j=e.d,w=e.b,b=e.a},e=>{P=e.u},e=>{_=e.P},e=>{N=e._},e=>{S=e._},e=>{q=e._},e=>{C=e._},e=>{z=e._},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(V,T){var U=document.createElement("style");U.textContent="input[data-v-c110ab73]::-webkit-search-cancel-button{display:none}input[type=search][data-v-c110ab73]::-ms-clear{display:none}\n/*$vite$:1*/",document.head.appendChild(U);const E={class:"relative flex w-full items-center justify-center"},I=["src"],K={class:"flex h-full w-full flex-col"},L={class:"w-full flex flex-row items-center h-[50px] bg-[#252525]"},A={class:"flex flex-wrap w-full px-3 pt-5 gap-1"},R=["onClick"],W={class:"flex pl-3 pt-3 text-start text-[13px]"},X={class:"text-orange-500"},$=w(l({__name:"SearchTitleView",setup(e){const l=v(),f=P(),x=t("");function h(){m.isEmpty(x.value)||j(f.path,{key:x.value,pageNo:1})}return a(()=>{var e;(null===(e=f.query)||void 0===e?void 0:e.key)&&(x.value=f.query.key)}),(e,t)=>(d(),n("div",E,[c("img",{src:s(k),alt:"",class:"absolute aspect-[1280/315] w-full"},null,8,I),c("div",K,[c("div",L,[t[1]||(t[1]=c("button",{class:"px-3 text-orange-500 text-[14px] h-full bg-transparent"},"视频",-1)),u(c("input",{type:"search",placeholder:"请输入文字","onUpdate:modelValue":t[0]||(t[0]=e=>x.value=e),onKeyup:r(h,["enter"]),class:"bg-transparent grow pl-3 py-3 text-orange-500 placeholder-gray-400 focus:outline-none text-[15px]"},null,544),[[o,x.value]]),c("i",{class:"ml-1 iconfont icon-search text-orange-500 px-3 h-full flex items-center justify-center",style:{"font-size":"20px"},onClick:h})]),c("div",A,[(d(!0),n(i,null,p(s(l).recommendWordKeys,(e,l)=>(d(),n("div",{class:"relative px-2 py-1 bg-[#252525] rounded-[3px] text-[12px]",onClick:l=>{return t=e,void j(f.path,{key:t,pageNo:1});var t}},y(e),9,R))),256))]),c("div",W,[t[2]||(t[2]=g(' 与" ',-1)),c("p",X,y(s(l).keywords),1),g(' "相关的共'+y(s(l).totalRecord)+"个搜索结果 ",1)])])]))}}),[["__scopeId","data-v-c110ab73"]]),B={class:"flex w-full flex-col px-2"},F={class:"flex w-full flex-col space-y-2"},H=l({__name:"SearchVideoView",setup(e){const l=v();return(e,t)=>(d(),n("div",B,[t[0]||(t[0]=c("div",{class:"flex w-full flex-row items-center py-3"},[c("i",{class:"iconfont icon-hot-for-ux-fill text-orange-500",style:{"font-size":"20px"}}),c("p",{class:"ml-2 text-[18px] font-bold text-white/80"},"搜索结果")],-1)),c("div",F,[(d(!0),n(i,null,p(s(l).vodList,(e,l)=>(d(),f(S,{model:e,key:l},null,8,["model"]))),128))])]))}}),J={class:"w-full"};e("default",l({__name:"index",setup(e){const l=v(),t=b(),c=P();function u(e){j(c.path,{pageNo:e,key:l.keywords})}return a(()=>{var e,t;if(null!==(e=c.query)&&void 0!==e&&e.key){const e=c.query.key;l.setKeywords(e)}if(null!==(t=c.query)&&void 0!==t&&t.pageNo){const e=Number(c.query.pageNo);l.setPage(e)}else l.setPage(1);m.isEmpty(l.keywords)||(l.resetTotalPage(),l.requestSearch())}),(e,a)=>(d(),n("div",J,[s(t).topImgAd.length>0?(d(),f(z,{key:0,model:s(t).getTopImgAd},null,8,["model"])):x("",!0),h(C),h($),s(l).isLoading?(d(),f(q,{key:1})):x("",!0),s(l).isLoading?x("",!0):(d(),f(H,{key:2})),s(l).totalPage>1?(d(),f(_,{key:3,"onUpdate:currentPage":[u,a[0]||(a[0]=e=>s(l).pageNo=e)],totalPage:s(l).totalPage,pageSize:s(l).pageSize,currentPage:s(l).pageNo,class:"mt-5"},null,8,["totalPage","pageSize","currentPage"])):x("",!0),h(N,{class:"mt-5"})]))}}))}}});
