1import{P as B}from"./D5-rdIj0.js";import{r as v,D as E,g as F,k,m as P,n as V,c as y,a as t,b as H,q as L,t as q,x as i,w as I,F as O,o as $,p as d,v as m,aa as R}from"./B2PZP8-I.js";import{_ as U,a as j,b as z}from"./DkkwZDeA.js";import{_ as x,a as S,b as C,c as M}from"./vu65IO5E.js";import{_ as G}from"./y2uYVgci.js";import{M as J}from"./BMSQkwth.js";import{u as h}from"./DlPkKlE2.js";import"./DlAUqK2U.js";const K={class:"new-view-box"},Q={class:"artical-content"},W={class:"artical-title color-level1"},X={class:"artical-time color-level2"},Y={class:"artical-icon"},Z={class:"artical-icon-content"},tt=["innerHTML"],st={class:"mb-qrcode"},et={src:x},ot={src:S},it={src:C},at={src:M},vt={__name:"[id]",async setup(nt){let f,g;const T=J(),r=v({title:"",content:"",time:""}),p=v(!1),l=v(1),u=E(),_=F(),D=k(()=>_.isSmallScreen),w=k(()=>_.locale),b=_.seoDatas[w.value],n=b?b.get(`external/${u.params.id}`):null;if(n)h({title:()=>`${n.title}`,keywords:()=>n.keywords?`${n.keywords}`:`${n.description}`,description:()=>`${n.description}`});else if(w.value=="en"){const{id:o}=u.params;h({title:()=>`${o.replaceAll("-"," ")} - Topband`,keywords:()=>`${o.replaceAll("-"," ")} - Topband`,description:()=>`From ${o.replaceAll("-"," ")}, you can learn more about our events and the latest technologies. Click here to get more information.`})}const c=o=>{D.value&&(l.value=o,p.value=!0)};P(()=>{setTimeout(()=>{let o=document.getElementsByTagName("img");Array.from(o).forEach(s=>{if(s.src.indexOf("http://120.24.74.90:1337/uploads")!=-1){let a=s.src.replace("http://120.24.74.90:1337/uploads","https://www.topband.com/tb-content-manager/uploads");s.src=a}})},150)});const N=async()=>{const{params:o}=u;let s=o.id;const a=await R({id:s});if(a.value.data&&a.value.data.length){let e=a.value.data[0];if(e.attributes){let A=e.attributes.content?e.attributes.content:"";r.value={title:e.attributes.title?e.attributes.title:"",description:e.attributes.desc?e.attributes.desc:"",time:e.attributes.time?e.attributes.time:"",content:A}}}};return[f,g]=V(()=>N()),await f,g(),(o,s)=>{const a=B;return $(),y(O,null,[t("div",null,[t("div",K,[t("div",Q,[t("p",W,q(i(r).title),1),t("div",X,q(i(r).time),1),t("div",Y,[t("div",Z,[t("div",{class:"footer-icon",onClick:s[0]||(s[0]=e=>c(1))},s[5]||(s[5]=[t("img",{src:U},null,-1),t("div",{class:"qrcode qrcode_pos1"},[t("img",{src:x})],-1)])),t("div",{class:"footer-icon",onClick:s[1]||(s[1]=e=>c(2))},s[6]||(s[6]=[t("img",{src:G},null,-1),t("div",{class:"qrcode qrcode_pos2"},[t("img",{src:S})],-1)])),t("div",{class:"footer-icon",onClick:s[2]||(s[2]=e=>c(3))},s[7]||(s[7]=[t("img",{src:j},null,-1),t("div",{class:"qrcode qrcode_pos3"},[t("img",{src:C})],-1)])),t("div",{class:"footer-icon",onClick:s[3]||(s[3]=e=>c(4))},s[8]||(s[8]=[t("img",{src:z},null,-1),t("div",{class:"qrcode qrcode_pos4"},[t("img",{src:M})],-1)]))]),s[9]||(s[9]=t("div",{class:"artical-icon-line"},null,-1))]),i(r).content?($(),y("div",{key:0,class:"artical",innerHTML:i(T).render(i(r).content)},null,8,tt)):L("",!0)])])]),H(a,{show:i(p),onUpdateShow:s[4]||(s[4]=e=>p.value=e)},{default:I(()=>[t("div",st,[d(t("img",et,null,512),[[m,i(l)==1]]),d(t("img",ot,null,512),[[m,i(l)==2]]),d(t("img",it,null,512),[[m,i(l)==3]]),d(t("img",at,null,512),[[m,i(l)==4]])])]),_:1},8,["show"])],64)}}};export{vt 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.