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