1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Du847CzP.js","./BXx3IE6b.js","./DrlufBBD.js","./entry.BnwyPzpR.css","./AdsenseSlot.BV7HGXeR.css","./D0UFfIP9.js","./lPI_6uPL.js","./Blyqalg1.js","./2mrstOyH.js","./StreamerCard.DksZaOyS.css"])))=>i.map(i=>d[i]); 2import{c as Ce,d as Le,x as Re,a1 as W,y as Te,C as ze,a2 as Ie,a as xe,s as Me,b as l,f as m,i as s,w as j,A as _,e as o,h as B,t as T,a3 as A,F as z,r as D,_ as $e,o as a,j as d,l as J,k as N,n as X,p as Ee}from"./DrlufBBD.js";import{u as Ue,a as Oe,_ as Be,b as Ae,c as De,d as Ne,M as G,t as Pe}from"./DdRUvzKR.js";import{_ as Fe}from"./DEd-rj7n.js";import{u as Ve}from"./Blyqalg1.js";import{u as We}from"./BYDppTfa.js";import{u as je}from"./C7DeqMRX.js";import{u as Ge}from"./B3Th4ScQ.js";import{C as He}from"./nPdyfFRS.js";import{L as Je}from"./CQX8axej.js";import{U as Xe}from"./BHU64gSO.js";import{R as qe}from"./D5WtD_4L.js";import"./BjygpxKQ.js";import"./COibfQw-.js";import"./Otm7Gi5C.js";import"./Cm3PaCoR.js";import"./COn_dm41.js";import"./D1B3KVTe.js";import"./hO4oq1Q1.js";import"./B6BlbODA.js";import"./D0MOXKZd.js";import"./BB8GJH33.js";import"./BxEQ1mjf.js";import"./C6aJBZZ9.js";import"./BFc3vXHv.js";import"./BgnC89aq.js";import"./BzDOsbBR.js";import"./BMBNO0uF.js";import"./BiJ_nWCi.js";import"./yH6OnAzg.js";const Ke=Ce("wifi-off",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),Qe=J(()=>X(()=>import("./Du847CzP.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(u=>u.default||u)),Ye=J(()=>X(()=>import("./D0UFfIP9.js"),__vite__mapDeps([5,2,3,6,7,8,9]),import.meta.url).then(u=>u.default||u)),Ze={class:"dashboard"},et={key:0,class:"streamer-section","aria-labelledby":"streamer-heading"},tt={class:"section-header section-header--combined"},st={id:"streamer-heading",class:"section-title"},ot={class:"section-stats"},nt={class:"section-count section-count--live"},rt={class:"section-count section-count--offline"},at={key:1,class:"no-results"},it={class:"streamer-section","aria-labelledby":"live-streamer-heading"},lt={class:"section-header section-header--live"},mt={id:"live-streamer-heading",class:"section-title"},ct={class:"section-count section-count--live"},dt={key:1,class:"no-results no-results--compact"},ut={class:"streamer-section","aria-labelledby":"offline-streamer-heading"},pt={class:"section-header section-header--offline"},ft={id:"offline-streamer-heading",class:"section-title"},_t={class:"section-count section-count--offline"},ht={key:1,class:"no-results no-results--compact"},H="ì¢ìíë ì¤í¸ë¦¬ë¨¸ë¥¼ 모ì í¨ê» ë³´ë ê³µê° ì§íµì¤ì ëë¤.",gt=Le({__name:"index",async setup(u){let h,P;const q={soop:"s",chzzk:"c",youtube:"y",twitch:"t"},I=Re(),K=Array.isArray(I.params.id)?I.params.id[0]:I.params.id,p=String(K||"");if(!/^[1-9]\d{0,14}$/.test(p))throw W({statusCode:404,message:"ê³µê°ë ì§íµì¤ì ì°¾ì ì ììµëë¤."});const{data:F,error:g}=([h,P]=Te(()=>je(`/api/rooms/${p}`,{key:`public-room-${p}`},"$FlJ0Dmiqp_")),h=await h,P(),h);if(g.value||!F.value){const t=Number(g.value?.statusCode||500);throw W({statusCode:t===400||t===404?404:t,message:g.value?.message||g.value?.statusMessage||"ê³µê°ë ì§íµì¤ì ë¶ë¬ì¤ì§ 못íìµëë¤."})}const r=F.value,{cardSize:Q,setCardSize:Y,gridStyle:x,availableOptions:Z}=Ue(),ee=Ve(),te=d(()=>Pe(r.streamers,"room")),{show:se}=We(),f=_("default"),M=_(!1),v=_(""),y=_(""),oe=t=>[...t].sort((e,i)=>f.value==="name"?e.name.localeCompare(i.name,"ko"):f.value==="fans"?(i.fanCount||0)-(e.fanCount||0):f.value==="viewers"?i.viewers-e.viewers:e.isLive!==i.isLive?e.
2isLive?-1:1:i.viewers-e.viewers),$=d(()=>te.value.filter(t=>!ee.isHidden(t.streamId))),ne=d(()=>{const t=new Map;for(const e of $.value)e.guild&&t.set(e.guild,(t.get(e.guild)||0)+1);return[...t].map(([e,i])=>({value:e,count:i}))}),re=d(()=>{const t=new Map;for(const e of $.value)for(const i of e.roles)t.set(i,(t.get(i)||0)+1);return[...t].map(([e,i])=>({value:e,count:i}))}),S=d(()=>oe($.value.filter(t=>(!y.value||t.roles.includes(y.value))&&(!v.value||t.guild===v.value)))),b=d(()=>S.value.filter(t=>t.isLive)),w=d(()=>S.value.filter(t=>!t.isLive)),c=_([]),k=t=>c.value.some(e=>e.id===t),E=t=>{if(k(t.id)){c.value=c.value.filter(e=>e.id!==t.id);return}if(c.value.length>=G){se(`ë©í°ë·°ë ìµë ${G}ê° ë°©ì¡ê¹ì§ ì íí ì ììµëë¤.`);return}c.value=[...c.value,t]},ae=()=>{c.value=[]},ie=()=>{const t=c.value.map(e=>`${q[e.platform]||e.platform}:${encodeURIComponent(e.streamId)}`).join("/");t&&window.open(`/multiview/watch/rooms/${encodeURIComponent(p)}/${t}`,"_blank","noopener,noreferrer")},le=`/multiview?roomNo=${r.room_no}`,me=d(()=>({name:r.name,description:r.description||H,startDate:null,endDate:null,contentStatus:"always",isUserContent:!0,managerNickname:r.manager_nickname,managerId:r.manager_id,platforms:[...new Set(r.streamers.map(t=>t.platform))]})),ce=async()=>{const t=await $fetch(`/api/rooms/${p}`);Object.assign(r,t)},{thumbnailTimestamp:U,lastBroadcastRefresh:de,lastThumbnailRefresh:ue,initRefresh:pe,cleanup:fe,setupWatchers:_e,instantBroadcastRefresh:he,instantThumbnailRefresh:ge}=Oe({onBroadcastRefresh:ce});ze(()=>{pe(),_e()}),Ie(fe);const V=String(r.name||"").trim(),C=`${V}${V.endsWith("ì§íµì¤")?"":" ì§íµì¤"} | ë°©íµì¤`,L=(r.description||H).replace(/\s+/g," ").trim().slice(0,160),R=`https://bngts.com/rooms/${r.room_no}`;return xe({link:[{rel:"canonical",href:R}],meta:[{name:"robots",content:"index, follow, max-image-preview:large"}]}),Me({title:C,description:L,ogTitle:C,ogDescription:L,ogType:"website",ogUrl:R,twitterTitle:C,twitterDescription:L,twitterCard:"summary"}),Ge([{"@context":"https://schema.org","@type":"CollectionPage",name:C,description:L,url:R,mainEntity:{"@type":"ItemList",name:`${r.name} ë±ë¡ ì¤í¸ë¦¬ë¨¸`,numberOfItems:r.streamers.length,itemListElement:r.streamers.map((t,e)=>({"@type":"ListItem",position:e+1,item:{"@type":"Person",name:t.user_nick,image:t.profile_image||t.profile_image_url||void 0}}))},author:r.manager_id?{"@type":"Person",name:r.manager_nickname,url:`https://bngts.com/managers/${r.manager_id}`}:void 0,isPartOf:{"@type":"WebSite",name:"ë°©íµì¤",url:"https://bngts.com"}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"í",item:"https://bngts.com"},{"@type":"ListItem",position:2,name:"ê³µê° ì§íµì¤",item:"https://bngts.com/rooms"},{"@type":"ListItem",position:3,name:r.name,item:R}]}]),(t,e)=>{const i=Be,ve=$e,ye=Ae,Se=Qe,be=Fe,we=De,O=Ye,ke=Ne;return a(),l("main",Ze,[m(i,{branding:s(me),"show-period":!1},null,8,["branding"]),m(ve,{to:`/rooms/${s(p)}/statistics`,class:"statistics-entry"},{default:j(()=>[e[4]||(e[4]=o("div",null,[o("span",null,"NEW · STATS"),o("strong",null,"ëë§ì ì§íµì¤ íµê³"),o("p",null,"ì±ì¥ ì¶ì´, 첫ë ëë¹, ì¤ì ê°, ë°©ì¡Â·ë©¤ë² ë¶ìì íì´ì§ë³ë¡ íì¸íì¸ì.")],-1)),m(s(He),{size:24,"aria-hidden":"true"})]),_:1},8,["to"]),m(ye,{title:"ìë ë©í°ë·°",description:"íì¬ ë¼ì´ë¸ ì¤ì¸ ì¤í¸ë¦¬ë¨¸ë¥¼ ìëì¼ë¡ ì íí´ ë©í°ë·°ë¡ ìì²í ì ììµëë¤.","button-text":"ë°ë¡ê°ê¸°",to:le,theme:"feature"},{icon:j(()=>[m(s(Je),{size:24,"aria-hidden":"true"})]),_:1}),m(Se,{placement:"inline",label:"ê³µê° ì§íµì¤ ìì¸ ê´ê³ "}),m(be,{"current-sort":s(f),"show-separate-toggle":!0,"separate-live-offline":s(M),"current-size":s(Q),"size-options":s(Z),"current-guild":s(v),"guild-options":s(ne),"current-role":s(y),"role-options":s(re),"onUpdate:currentSort":e[0]||(e[0]=n=>f.value=n),"onUpdate:separateLiveOffline":e[1]||(e[1]=n=>M.value=n),"onUpdate:currentSize":s(Y),"onUpdate:currentGuild":e[2]||(e[2]=n=>v.value=n),"onUpdate:currentRole":e[3]||(e[3]=n=>y.value=n)},null,8,["current-sort","separate-live-offline","current-size","size-options","current-guild","guild-options","current-role","role-options","onUpdate:currentSize"]),m(we,{"last-broadcast-refresh":s(de),"last-thumbnail-refresh":s(ue),onRefreshBroadcast:s(he),onRefreshThumbnail:s(ge)},null,8,["last-broadcast-refresh","last-thumbnail-refresh","onRefreshBroadcast","onRefreshThumbnail"]),s(M)?(a(),l(z,{key:1},[o("section",it,[o("div",lt,[o("h2",mt,[m(s(qe),{size:24,"aria-hidden":"true"}),e[7]||(e[7]=B(" ë¼ì´ë¸ ì¤ ",-1))]),o("span",ct,T(s(b).length)+"ëª
",1)]),s(b).length?(a(),l("div",{key:0,class:"streamers-gri
2d",style:A(s(x))},[(a(!0),l(z,null,D(s(b),n=>(a(),N(O,{key:n.id,streamer:n,"is-selected":k(n.id),"refresh-timestamp":s(U),onToggleSelect:E},null,8,["streamer","is-selected","refresh-timestamp"]))),128))],4)):(a(),l("div",dt,[...e[8]||(e[8]=[o("p",null,"íì¬ ë¼ì´ë¸ ì¤ì¸ ì¤í¸ë¦¬ë¨¸ê° ììµëë¤",-1)])]))]),o("section",ut,[o("div",pt,[o("h2",ft,[m(s(Ke),{size:24,"aria-hidden":"true"}),e[9]||(e[9]=B(" ì¤íë¼ì¸ ",-1))]),o("span",_t,T(s(w).length)+"ëª
",1)]),s(w).length?(a(),l("div",{key:0,class:"streamers-grid",style:A(s(x))},[(a(!0),l(z,null,D(s(w),n=>(a(),N(O,{key:n.id,streamer:n,"is-selected":k(n.id),"refresh-timestamp":s(U),onToggleSelect:E},null,8,["streamer","is-selected","refresh-timestamp"]))),128))],4)):(a(),l("div",ht,[...e[10]||(e[10]=[o("p",null,"ì¤íë¼ì¸ ì¤í¸ë¦¬ë¨¸ê° ììµëë¤",-1)])]))])],64)):(a(),l("section",et,[o("div",tt,[o("h2",st,[m(s(Xe),{size:24,"aria-hidden":"true"}),e[5]||(e[5]=B(" ì ì²´ ì¤í¸ë¦¬ë¨¸ ",-1))]),o("div",ot,[o("span",nt,"ë¼ì´ë¸ "+T(s(b).length)+"ëª
",1),o("span",rt,"ì¤íë¼ì¸ "+T(s(w).length)+"ëª
",1)])]),s(S).length?(a(),l("div",{key:0,class:"streamers-grid",style:A(s(x))},[(a(!0),l(z,null,D(s(S),n=>(a(),N(O,{key:n.id,streamer:n,"is-selected":k(n.id),"refresh-timestamp":s(U),onToggleSelect:E},null,8,["streamer","is-selected","refresh-timestamp"]))),128))],4)):(a(),l("div",at,[...e[6]||(e[6]=[o("h3",null,"ë±ë¡ë ì¤í¸ë¦¬ë¨¸ê° ììµëë¤",-1)])]))])),m(ke,{"selected-streamers":s(c),onOpen:ie,onClear:ae},null,8,["selected-streamers"])])}}}),Jt=Ee(gt,[["__scopeId","data-v-16737d8e"]]);export{Jt 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.