import{_ as l}from"./index.vue_vue_type_script_setup_true_lang-1170722e.js";import{V as a}from"./virtual-list-b1ee24f1.js";import{_ as n}from"./index.vue_vue_type_script_setup_true_lang-9aa69c97.js";import{A as p}from"./data-6aa94e54.js";import{v as _,an as u,ao as A,_ as f}from"./index-ae60edf9.js";import{d as F,j as v,o as s,c as y,$ as h,a as g,u as t,O as c,P 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"./index-e4a7d928.js";import"./open-im-sdk-wasm-f19f04ec.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";const x={class:"page_container"},b=F({__name:"index",setup(L){const e=_(),d=()=>{const r=u();let i=e.storeRecvFriendApplicationList.filter(o=>o.handleResult===0&&!r.includes(`${o.fromUserID}_${o.createTime}`));i.length!==0&&(i.map(o=>{r.push(`${o.fromUserID}_${o.createTime}`)}),A(r),e.updateUnHandleFriendApplicationNum(0))};return v(()=>{d()}),(r,i)=>{const o=l;return s(),y("div",x,[h(o,{title:r.$t("contactMenu.newFriends")},null,8,["title"]),g("div",null,[t(e).storeSendFriendApplicationList.length>0?(s(),c(t(a),{key:0,class:"my_scrollbar overflow-y-auto bg-white","data-key":"toUserID","data-sources":t(e).storeSendFriendApplicationList,"data-component":n,"estimate-size":88,"extra-props":{total:t(e).storeSendFriendApplicationList.length,type:t(p).SentFriendApplication}},null,8,["data-sources","extra-props"])):m("",!0),t(e).storeRecvFriendApplicationList.length>0?(s(),c(t(a),{key:1,class:"my_scrollbar overflow-y-auto bg-white","data-key":"toUserID","data-sources":t(e).storeRecvFriendApplicationList,"data-component":n,"estimate-size":88,"extra-props":{total:t(e).storeRecvFriendApplicationList.length,type:t(p).RecivedFriendApplication}},null,8,["data-sources","extra-props"])):m("",!0)])])}}});const et=f(b,[["__scopeId","data-v-d7bbc117"]]);export{et as default};
