import{c as e,o as s,Q as a,as as c,b as t,L as i,P as r,O as n}from"./vendor.js?ver=3.1.0";import{_ as m}from"./fc-bits-ui.js?ver=3.1.0";const p={name:"CampaignSubjectLines",props:{campaign:{type:Object,required:!0},showPriority:{type:Boolean,default:!0}},computed:{activeSubjects(){return(this.campaign.subjects||[]).filter(e=>e&&e.value&&e.value.trim())}}},u={class:"fcrm_campaign_subject_lines"},o={class:"fcrm_campaign_subject_lines--value"},l={key:0,class:"fcrm_campaign_subject_lines--priority"};const _=m(p,[["render",function(m,p,_,b,j,f){return s(),e("span",u,[f.activeSubjects.length?(s(!0),e(a,{key:0},c(f.activeSubjects,(a,c)=>(s(),e("span",{key:a.id||c,class:"fcrm_campaign_subject_lines--item"},[t("span",o,r(a.value),1),_.showPriority?(s(),e("span",l,r(a.key)+"% ",1)):i("",!0)]))),128)):(s(),e(a,{key:1},[n(r(_.campaign.email_subject||"--"),1)],64))])}]]);export{_ as C};
