import{K as e,_ as s,R as a,am as t,u as n,aQ as i}from"./vendor-element-plus.js?ver=3.1.8";import{aQ as l,W as o,X as c,ab as r,a5 as p,Z as m,a9 as d,aa as f,Y as u,a8 as _}from"./vendor.js?ver=3.1.8";import{_ as v,I as k}from"./fc-bits-ui.js?ver=3.1.8";const y={key:0,class:"fcrm_block_stats"},z={class:"icon"},j={class:"icon"},b={class:"icon"},g=["innerHTML"],w={class:"icon"},I={class:"icon"};const M=v({name:"reportWidget",components:{Icons:k,User:n,Bottom:t,Money:a,FolderOpened:s,Position:e},props:["stat"]},[["render",function(e,s,a,t,n,v){const k=l("Icons"),M=i;return a.stat?(o(),c("div",y,[r(M,{size:"small",effect:"plain"},{default:p(()=>[m("span",z,[r(k,{"icon-name":"user"})]),d(" "+f(a.stat.count),1)],void 0),_:1}),r(M,{size:"small",effect:"plain"},{default:p(()=>[d(f(a.stat.percent)+"% ",1)],void 0),_:1}),a.stat.drop_percent?(o(),u(M,{key:0,size:"small",type:"danger",effect:"plain"},{default:p(()=>[m("span",j,[r(k,{"icon-name":"arrow-long-down"})]),d(" "+f(a.stat.drop_percent)+"% ",1)],void 0),_:1})):_("",!0),a.stat.revenues?(o(),u(M,{key:1,size:"small",effect:"plain"},{default:p(()=>[m("span",b,[r(k,{"icon-name":"wallet"})]),m("span",{innerHTML:a.stat.revenues.join(" | ")},null,8,g)],void 0),_:1})):_("",!0),a.stat.email_opens?(o(),u(M,{key:2,title:e.$t("Email Open (estimated)"),size:"small",effect:"plain"},{default:p(()=>[m("span",w,[r(k,{"icon-name":"envelopeOpen"})]),d(" "+f(a.stat.email_opens),1)],void 0),_:1},8,["title"])):_("",!0),a.stat.link_clicks?(o(),u(M,{key:3,title:e.$t("Clicks Count"),size:"small",effect:"plain"},{default:p(()=>[m("span",I,[r(k,{"icon-name":"click"})]),d(" "+f(a.stat.link_clicks),1)],void 0),_:1},8,["title"])):_("",!0)])):_("",!0)}]]);export{M as R};
