System.register(["./chunk-legacy-B09Jcn0a.js","./chunk-legacy-CPNkfuO8.js","./souav-legacy-ptBXoxNy.js","./chunk-legacy-DSWgnP8V.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"],function(e){"use strict";var l,t,a,n,s,c,u,i,o,p,d,r,h,x,v,y,f,g,k,m,w,j,b,C,_,A,S,T;return{setters:[e=>{l=e.C,t=e.r,a=e.b,n=e.P,s=e.N,c=e.B,u=e.O,i=e.Q,o=e.S,p=e.F,d=e.J,r=e.a0,h=e.H,x=e.U,v=e.u,y=e.X,f=e.R,g=e.M,k=e.W,m=e.T,w=e.V},null,e=>{j=e.k,b=e.v,C=e.o,_=e.S,A=e.d,S=e.f,T=e.b},null,null,null,null,null,null,null,null,null,null,null],execute:function(B,V){var L=document.createElement("style");L.textContent="input[data-v-6d96254e]::-webkit-search-cancel-button{display:none}input[type=search][data-v-6d96254e]::-ms-clear{display:none}\n/*$vite$:1*/",document.head.appendChild(L);const z={key:0,class:"flex h-full w-full flex-col overflow-y-auto bg-black"},E={class:"flex h-[50px] w-full flex-row items-center"},F={class:"flex w-full flex-wrap gap-2 px-3 pt-3"},I=["onClick"],K={key:0,class:"absolute right-[-5px] top-[-5px] rounded-[2px] bg-[#fc4274] p-[2px] text-[8px] leading-none text-white"},O={class:"mt-5 w-full px-3"},R={key:0,class:"grid w-full grid-cols-2 gap-x-2"};e("default",T(l({__name:"SideSearchView",emits:["clickClose"],setup(e,{expose:l,emit:T}){const B=t("pointer-events-none"),V=t(!1),L=T,U=t(""),W=j(),$=()=>{V.value=!1,B.value="pointer-events-none",L("clickClose")},q=()=>{_.isEmpty(U.value)||(A("/search",{key:U.value}),$())};a(()=>{});const H=t("height: 120px");function J(){H.value="height: auto"}function M(e){S.clickAd(e)}return l({show:()=>{B.value="",U.value="",V.value=!0,W.requestRecommendSearch()},hide:$}),(e,l)=>(s(),n("div",{class:w(["fixed bottom-[56px] top-[0px] z-[11] flex h-full w-full max-w-[480px] flex-col",B.value])},[c(m,{"enter-active-class":"animate__animated animate__slideInLeft","leave-active-class":"animate__animated animate__slideOutLeft",style:{"animation-duration":"0.3s"}},{default:u(()=>[V.value?(s(),n("div",z,[o("div",E,[p(o("input",{type:"search",placeholder:"请输入文字","onUpdate:modelValue":l[0]||(l[0]=e=>U.value=e),onKeyup:d(q,["enter"]),class:"grow bg-transparent py-3 pl-3 text-[14px] text-white placeholder-gray-400 focus:outline-none"},null,544),[[r,U.value]]),o("i",{class:"iconfont icon-search ml-1 flex h-full items-center justify-center px-3 text-white",style:{"font-size":"20px"},onClick:q}),o("button",{class:"ml-3 h-full bg-transparent px-3 text-[14px] text-white",onClick:$},"取消")]),l[2]||(l[2]=o("div",{class:"h-[1px] w-full bg-white opacity-30"},null,-1)),l[3]||(l[3]=o("p",{class:"pl-3 pt-3 text-[15px] text-white"},"推荐搜索",-1)),o("div",F,[(s(!0),n(h,null,x(v(W).recommendWordKeys,(e,l)=>(s(),n("div",{class:"relative rounded-[3px] bg-[#252525] px-2 py-1 text-[14px]",onClick:l=>(A("/search",{key:e}),void $())},[y(f(e)+" ",1),0===l?(s(),n("p",K,"热")):i("",!0)],8,I))),256))]),o("div",O,[v(W).hasTitleBelowAdv?(s(),n("div",R,[(s(!0),n(h,null,x(v(W).titleBelowAdvList,(e,l)=>(s(),g(b,{onClick:l=>M(e),url:e.img,key:l,class:"w-full","img-height":100},null,8,["onClick","url"]))),128))])):i("",!0),v(W).hasVideoTopAdv?(s(),g(C,{key:1,onClick:l[1]||(l[1]=e=>M(v(W).videoTopAdv)),style:k(H.value),class:"mt-[10px] w-full",url:v(W).videoTopAdv.img,loadFinishCB:J},null,8,["style","url"])):i("",!0)])])):i("",!0)]),_:1})],2))}}),[["__scopeId","data-v-6d96254e"]]))}}});
