import{F as c,P as p,_ as t,W as l,e as _,R as s,a1 as e,X as i,a8 as f,a2 as u,a0 as k,bm as d}from"./vendor-DJC-2VPc.js";import{i as g}from"./usePushMessages-Bmjf8k4e.js";import{_ as V}from"./push-messages.vue_vue_type_script_setup_true_lang-C7vdQZvv.js";import{X as h}from"./index-BZco6cza.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-DwfTPuTj.js";import"./index-BsIL0hak.js";const X=c({__name:"link-push-messages",props:{item:{}},setup(y){return(o,C)=>{const n=p("VcIcon");return _(g)?(s(),t(V,{key:0,"offset-options":20},{trigger:e(({totalCount:m,unreadCount:a,triggerProps:r})=>[i(h,f({link:o.item,count:a},r),{icon:e(()=>[i(d,{name:a?"shake":"",mode:"out-in"},{default:e(()=>[(s(),t(n,{key:m,name:o.item.icon,class:"mb-0.5 fill-primary",size:24},null,8,["name"]))]),_:2},1032,["name"])]),default:e(()=>[u(" "+k(o.item.title),1)]),_:2},1040,["link","count"])]),_:1})):l("",!0)}}});export{X as default};
//# sourceMappingURL=link-push-messages-BkhfBHA_.js.map
