import{F as c,P as p,_ as o,W as l,e as f,R as i,a1 as e,X as s,a7 as _,a2 as u,a0 as k,bq as d}from"./vendor-DWvj1jit.js";import{i as g}from"./usePushMessages-D1D49z-s.js";import{_ as V}from"./push-messages.vue_vue_type_script_setup_true_lang-TfW2Gwgw.js";import{$ as h}from"./index-B67YzpGs.js";import"./orders-D9ZsbCWi.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-D7SgWWzn.js";import"./index-BeCbqN9-.js";const T=c({__name:"link-push-messages",props:{item:{}},setup(t){return(x,y)=>{const n=p("VcIcon");return f(g)?(i(),o(V,{key:0,"offset-options":20},{trigger:e(({totalCount:m,unreadCount:a,triggerProps:r})=>[s(h,_({link:t.item,count:a},r),{icon:e(()=>[s(d,{name:a?"shake":"",mode:"out-in"},{default:e(()=>[(i(),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})):l("",!0)}}});export{T as default};
//# sourceMappingURL=link-push-messages-CERmAGUK.js.map
