1import{d as h,B as v,p as g,g as c,W as w,f as y,o as l,c as r,F as k,h as x,n as b,ar as B,a as s,k as E,A as C,t as d,_ as I}from"./index-0c2fc791.js";const S={class:"eh-list"},V=["onClick","onKeydown"],K={class:"eh-ico"},U=["src"],F={class:"eh-info"},T=h({__name:"EntertainmentView",setup(W){const o=v(),_=g(),p=c(()=>{var e,t;return((t=(e=_.data)==null?void 0:e.dynamic_list)==null?void 0:t.find(n=>n.key==="sidebar_entertainment"))??null}),u=c(()=>{var e,t;return((t=(e=p.value)==null?void 0:e.data)==null?void 0:t.slice(0,2))??[]});function m(e){return/^https?:\/\//i.test(e)}function i(e){m(e)&&window.open(e,"_blank","noopener,noreferrer")}return w(()=>{o.setTitle("Entertainment"),o.setWidth("550px")}),y(()=>{o.setTitle(""),o.widthReset()}),(e,t)=>(l(),r("div",S,[(l(!0),r(k,null,x(u.value,(n,a)=>(l(),r("div",{key:a,class:b(["eh-card",a%2===0?"movie":"ball"]),role:"button",tabindex:"0",onClick:f=>i(n.url),onKeydown:B(f=>i(n.url),["enter"])},[t[0]||(t[0]=s("span",{class:"eh-glow"},null,-1)),s("span",K,[s("img",{src:E(C)(a%2===0?"movie.png":"ball.png"),alt:""},null,8,U)]),s("div",F,[s("h4",null,d(n.title),1),s("p",null,d(n.subtitle),1)])],42,V))),128))]))}});const z=I(T,[["__scopeId","data-v-28461a52"]]);export{z as default};
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.