PageSourceSearch

https://characterhub.com/_nuxt/J7q5ztXD.js

js characterhub.com collected 2026-10-03 22:01:37 UTC 2,827 bytes, 1 lines download raw bytes

1import{b as N,j as P,ev as R,cs as S,Q as i,ex as f,ew as V,ei as A,cq as g,ci as h,f as q,ej as E,ey as F,i as Q}from"./eOmGi0ej.js";import{f as x,S as z,i as b,o as r,a as v,j as u,x as B,y as J,u as t,B as O,J as D,W,D as T,Q as G,R as H,e as n}from"./iJPA3RaR.js";import{C as K}from"./BNrfbLdr.js";import"./Ckmim1AA.js";import"./DYuLImmP.js";import"./m5AJgy6M.js";try{let a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new a.Error().stack;l&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[l]="98559db0-bf33-4b0c-b9c9-297e57a60baf",a._sentryDebugIdIdentifier="sentry-dbid-98559db0-bf33-4b0c-b9c9-297e57a60baf")}catch{}const X={class:"d-flex justify-content-between"},Y={class:"d-flex"},Z={class:"mx-auto title text-black mt-2"},ee={class:"mt-3"},te={class:"d-flex justify-content-center clickable-item-hov"},ae=x({__name:"VerticalSocialSpacesChatrooms",props:{sectionTitle:{type:String,required:!0},toTop:{type:Boolean,default:!1}},setup(a){const l=N(),p=n({}),y=P(),c=n(!1),_=n({}),d=n({next:null,previous:null,count:0,page:1}),s=n([]),m=n({}),C=async()=>{p.value={};const e=await A(g(s.value,"id"));p.value=h(e,"room")},w=async()=>{if(!q.muteChat)return;const e=await E(g(s.value,"id"));_.value=h(e,"room")},k=async()=>{const e=await F(g(s.value,"id"));m.value=h(e,"id")},$=async()=>{let e;c.value=!0,y.name==="social-space-chatroom-trending"?e=await f("trending",1):y.name==="social-space-chatroom-top"?e=await f("top",1):e=await f("-created",1),s.value=e.results,d.value=e,k(),C(),w(),c.value=!1},I=async()=>{c.value=!0;const e=await V(d.value);s.value=[...s.value,...e.results],d.value=e,c.value=!1,k(),C(),w()};z(async()=>{$()});const L=()=>{l.go(-1)};return(e,se)=>{const j=b("ion-icon"),U=b("ion-button"),M=b("ChLoading");return r(),v(D,null,[u("div",X,[u("div",Y,[B(U,{class:"back-button",onClick:L},{default:J(()=>[B(j,{class:"icon",icon:t(R)},null,8,["icon"])]),_:1})]),u("div",Z,O((e._.provides[S]||e.$route).name==="social-space-chatroom-trending"?"Trending":(e._.provides[S]||e.$route).name==="social-space-chatroom-top"?"Top":"Latest")+" Chatrooms ",1)]),u("div",ee,[(r(!0),v(D,null,W(t(s),o=>(r(),T(K,{key:o.id,chatroom:o,"member-count":("get"in e?e.get:t(i))(t(m),`${o.id}.member-count`)||0,status:("get"in e?e.get:t(i))(t(m),`${o.id}.status`)||!1,muted:("get"in e?e.get:t(i))(t(_),`${o.id}.is_muted`)||!1,unreadchat:("get"in e?e.get:t(i))(t(p),`${o.id}.unread_count`)||0,lastmsg:("get"in e?e.get:t(i))(t(m),`${o.id}.last_msg_time`)||null},null,8,["chatroom","member-count","status","muted","unreadchat","lastmsg"]))),128)),u("div",te,[t(c)?(r(),T(M,{key:0,size:"sm",class:"spinner"})):G((r(),v("p",{key:1,onClick:I},"Load More",512)),[[H,t(d).next]])])])],64)}}}),le=Q(ae,[["__scopeId","data-v-770183cf"]]);export{le 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.