import{K as r,S as c,P as a,a7 as p,b as l,M as s,T as e,V as i,X as f,W as _,bj as u}from"./vendor-bSWkQivH.js";import{i as k}from"./usePushMessages-b-iMv3M4.js";import{_ as d}from"./push-messages.vue_vue_type_script_setup_true_lang-DZGaAmOk.js";import{H as V}from"./index-Dqv5IkpS.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-BSEZ4noP.js";import"./index-CAMXIOZf.js";const I=r({__name:"link-push-messages",props:{item:{}},setup(g){return(o,h)=>{const n=c("VcIcon");return l(k)?(s(),a(d,{key:0,"offset-options":20},{trigger:e(({totalCount:m,unreadCount:t})=>[i(V,{link:o.item,count:t},{icon:e(()=>[i(u,{name:t?"shake":"",mode:"out-in"},{default:e(()=>[(s(),a(n,{key:m,name:o.item.icon,class:"mb-0.5 fill-primary",size:24},null,8,["name"]))]),_:2},1032,["name"])]),default:e(()=>[f(" "+_(o.item.title),1)]),_:2},1032,["link","count"])]),_:1})):p("",!0)}}});export{I as default};
//# sourceMappingURL=link-push-messages-tsEdtP3f.js.map
