import{_ as A}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-9aa69c97.js";import{A as m}from"./data-6aa94e54.js";import{v as f,al as h,am as v,_ as y}from"./index-ae60edf9.js";import{d as g,k as l,j as x,o as i,c as G,$ as k,a as $,u as t,O as u,P as d}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 R={class:"page_container"},b={class:"mt-[10px]"},w=g({__name:"index",setup(B){const r=f(),a=l(()=>r.storeRecvGroupApplicationList.sort((e,s)=>e.handleResult===0?-1:1).slice(0,4)),p=l(()=>r.storeSendGroupApplicationList.sort((e,s)=>e.handleResult===0?-1:1).slice(0,4)),_=()=>{const e=h();let s=r.storeRecvGroupApplicationList.filter(o=>o.handleResult===0&&!e.includes(`${o.userID}_${o.createTime}`));s.length!==0&&(s.map(o=>{e.push(`${o.userID}_${o.createTime}`)}),v(e),r.updateUnHandleGroupApplicationNum(0))};return x(()=>{_()}),(e,s)=>{const o=A;return i(),G("div",R,[k(o,{title:e.$t("contactMenu.newGroup")},null,8,["title"]),$("div",b,[t(a).length>0?(i(),u(t(c),{key:0,class:"my_scrollbar overflow-y-auto bg-white","data-key":"userID","data-sources":t(a),"data-component":n,"estimate-size":88,"extra-props":{total:t(a).length,type:t(m).RecivedGroupApplication}},null,8,["data-sources","extra-props"])):d("",!0),t(p).length>0?(i(),u(t(c),{key:1,class:"my_scrollbar overflow-y-auto bg-white","data-key":"groupID","data-sources":t(p),"data-component":n,"estimate-size":88,"extra-props":{total:t(p).length,type:t(m).SentGroupApplication}},null,8,["data-sources","extra-props"])):d("",!0)])])}}});const at=y(w,[["__scopeId","data-v-18d146da"]]);export{at as default};
