import{C as r,N as c,K as a,a3 as p,u as l,E as s,O as e,Q as i,S as f,R as _,bb as u}from"./vendor-BGtMsOoo.js";import{i as k}from"./usePushMessages-DOn4Mvbs.js";import{_ as d}from"./push-messages.vue_vue_type_script_setup_true_lang-BBygw-9J.js";import{H as V}from"./index-CRze-aDK.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-CDVGgRG_.js";import"./index-DbcF6rmZ.js";const S=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{S as default};
//# sourceMappingURL=link-push-messages-CIma0ZCw.js.map
