PageSourceSearch

https://wei.city/_nuxt/BNRyd9qi.js

js wei.city collected 2026-10-02 01:22:18 UTC 2,903 bytes, 1 lines download raw bytes

1import{_ as C,a as D}from"./MAKU86-c.js";import{aQ as I,dZ as S,cH as V,eU as b,cK as E,aw as _,eZ as H,cL as s,dT as o,aA as n,av as r,aH as f,dH as a,f as l,d6 as U,ax as W,aI as g,_ as Z,c$ as k,as as j}from"./Bvar31K0.js";import{a3 as q,_ as z}from"./DHHte8yu.js";import{t as K,z as O,y as Q,B as G,j as J,r as X}from"./DTzB5GU3.js";import"./B4OcT9XE.js";import"./B3aY1yDE.js";import"./DLoSOc9j.js";import"./BXLgHFVY.js";import"./DMZG2LkK.js";import"./CXrjN5r8.js";import"./cIKLionD.js";import"./KI3naYzN.js";import"./B2qdGcuk.js";import"./AHKv5iMj.js";import"./DW4JbKmU.js";import"./PUTlPuMM.js";import"./Bu4bmpA-.js";import"./CQVrDJOa.js";import"./B2zxkQ_b.js";import"./Dhu1QnXh.js";import"./LqVdyo0p.js";import"./C5nUFo7n.js";import"./DtZG_71b.js";import"./DhIqmaXN.js";import"./BDVTkG_d.js";import"./BxBi1_Sw.js";import"./D9-srlUO.js";import"./B8QAxleW.js";import"./8QESn_fu.js";import"./Bk6k-oHp.js";import"./bDWHkiKe.js";import"./Bkj-NMf9.js";import"./BQawY1YM.js";import"./C9lZP1Li.js";import"./zL1zXNpF.js";import"./BgRtxhC8.js";import"./DWRWTEWV.js";import"./KNeBdjIC.js";const Y={key:0,class:"wc-social__loading"},oo={key:1,class:"wc-social__end-of-feed"},eo={key:2,class:"wc-social__empty-state"},to={key:0},so={key:1},jo=I({__name:"following",setup(no){const{data:w,isLoading:y,error:v,fetchNextPage:h,hasNextPage:m,isFetchingNextPage:p}=K("following-personal"),B=S(),R=O(),x=Q(),M=G(),P=q(),$=J(),c=k(null);X();const i=j(()=>w.value?.pages.flatMap(e=>e.items)??[]),d=k(null);return V(()=>{const e=new IntersectionObserver(t=>{t[0]?.isIntersecting&&m.value&&!p.value&&h()},{rootMargin:"200px"});b(d,t=>{t&&e.observe(t)},{immediate:!0}),E(()=>e.disconnect())}),(e,t)=>{const F=C,L=Z,N=D,A=z;return s(),_(A,{"active-mode":"following","header-title":e.$t("common.follow")},{default:H(()=>[o(y)?(s(),n("div",Y,[t[1]||(t[1]=r("i",{class:"fa-solid fa-spinner fa-spin"},null,-1)),f(" "+a(e.$t("common.loading")),1)])):o(i).length>0?(s(),n(l,{key:1},[(s(!0),n(l,null,U(o(i),u=>(s(),_(F,{key:u.id,post:u,"current-user-id":o(B).userId.value,"video-open-mode":"immersive","video-feed-mode":"following-personal",onLike:o(R).mutate,onBookmark:o(x).mutate,onRepost:o(M).mutate,onFollow:o(P).mutate,onDelete:o($).mutate,onEdit:t[0]||(t[0]=T=>o(c)?.open(T,o(i)))},null,8,["post","current-user-id","onLike","onBookmark","onRepost","onFollow","onDelete"]))),128)),r("div",{ref_key:"loadMoreRef",ref:d,class:"wc-social__load-more"},[o(p)?(s(),n(l,{key:0},[t[2]||(t[2]=r("i",{class:"fa-solid fa-spinner fa-spin"},null,-1)),f(" "+a(e.$t("common.loading_more")),1)],64)):o(m)?W("",!0):(s(),n("span",oo,a(e.$t("common.end_of_feed")),1))],512)],64)):(s(),n("div",eo,[g(L,{scene:"empty-people",height:88}),o(v)?(s(),n("p",to,a(e.$t("common.load_failed")),1)):(s(),n("p",so,a(e.$t("social.following_empty")),1))])),g(N,{ref_key:"editModal",ref:c},null,512)]),_:1},8,["header-title"])}}});export{jo 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.