import{_ as p}from"./index.vue_vue_type_script_setup_true_lang-1170722e.js";import{V as c}from"./virtual-list-b1ee24f1.js";import{_ as n}from"./index.vue_vue_type_script_setup_true_lang-e7eadba1.js";import{v as l,I as i,q as _}from"./index-ae60edf9.js";import{_ as f}from"./index.vue_vue_type_script_setup_true_lang-fbf25b5f.js";import{d,o as e,c as u,$ as k,u as o,O as m}from"./@vue-cb50a1c4.js";import"./vue-router-7f882520.js";import"./index-597402db.js";import"./arrows_left-f963ef62.js";import"./vue-i18n-90d534a9.js";import"./@intlify-1c0af683.js";import"./open-im-sdk-wasm-f19f04ec.js";import"./index-e4a7d928.js";import"./dayjs-4460abc8.js";import"./@amap-aca98dec.js";import"./pinia-de4079f2.js";import"./axios-7d5a0a64.js";import"./form-data-497f8b5e.js";import"./uuid-a960c1f4.js";import"./date-fns-f56f60e6.js";import"./@babel-7fd5df1e.js";import"./mitt-f7ef348c.js";import"./@vueuse-19adab01.js";import"./livekit-client-ca552de3.js";import"./@livekit-3058dbe8.js";import"./loglevel-e40a507a.js";import"./rxjs-2154ddb2.js";import"./tslib-8dbab242.js";import"./@vuemap-5ebdc63e.js";import"./lodash-es-91418b19.js";import"./use-id-22cfdfcf.js";const v={class:"page_container"},W=d({__name:"index",setup(B){const r=l(),s=({userID:t})=>{i.addFriend({toUserID:t,reqMsg:""}),i.removeBlack(t).catch(a=>_({error:a}))};return(t,a)=>(e(),u("div",v,[k(p,{title:t.$t("profileMenu.blacklist")},null,8,["title"]),o(r).storeBlackList.length>0?(e(),m(o(c),{key:0,class:"my_scrollbar mt-3 flex-1 overflow-y-auto","data-key":"userID","data-sources":o(r).storeBlackList,"data-component":n,"estimate-size":88,"extra-props":{total:o(r).storeBlackList.length,showRemove:!0,onRemove:s}},null,8,["data-sources","extra-props"])):(e(),m(f,{key:1}))]))}});export{W as default};
