1import{o as a,c as r,a as t,F as c,j as p,d as i,t as l,n as f}from"./app-DVhk9hEg.js";/* empty css */const b={class:"mb-[22px] overflow-hidden rounded-xl border border-[#e9edf3] bg-white"},m={class:"overflow-x-auto"},u={class:"w-full border-collapse whitespace-nowrap text-left text-sm"},y={class:"px-6 py-[17px]"},h={class:"font-medium"},g={class:"mt-1 block text-xs text-[#93a0b1]"},_={class:"px-6 py-[17px]"},v={class:"px-6 py-[17px]"},k={class:"px-6 py-[17px] text-right font-medium tabular-nums"},w={class:"px-6 py-[17px] text-right tabular-nums"},S={class:"px-6 py-[17px] text-right"},L=["href"],A={key:1,class:"text-sm text-[#a0a8b5]"},B={key:0},T={__name:"FormsTable",props:{forms:{type:Array,default:()=>[]},totalLeads:{type:Number,default:0}},setup(o){const n={PUBLISHED:{label:"ÐпÑбликована",classes:"bg-emerald-50 text-emerald-700"},DRAFT:{label:"ЧеÑновик",classes:"bg-gray-100 text-gray-600"}},x=d=>n[d]??{label:d??"ÐеизвеÑÑно",classes:"bg-gray-100 text-gray-600"};return(d,s)=>(a(),r("section",b,[s[2]||(s[2]=t("div",{class:"flex items-center justify-between gap-4 px-6 py-[22px] max-sm:flex-col max-sm:items-start"},[t("div",null,[t("h2",{class:"text-[17px] font-semibold tracking-[-0.2px]"}," ÐÑкÑда пÑиÑ
одÑÑ Ð»Ð¸Ð´Ñ "),t("p",{class:"mt-1.5 text-[13px] leading-5 text-[#738095]"}," ФоÑÐ¼Ñ Ð²ÑбÑанного Ñекламного аккаÑнÑа ")]),t("button",{type:"button",class:"text-sm font-medium text-[#6153ff] hover:underline"}," ÐÑе ÑоÑÐ¼Ñ â ")],-1)),t("div",m,[t("table",u,[s[1]||(s[1]=t("thead",null,[t("tr",null,[t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px] text-xs font-medium text-[#7c879a]"}," ФоÑма "),t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px] text-xs font-medium text-[#7c879a]"}," ÐÐ°Ð¼Ð¿Ð°Ð½Ð¸Ñ "),t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px] text-xs font-medium text-[#7c879a]"}," СÑаÑÑÑ "),t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px] text-right text-xs font-medium text-[#7c879a]"}," ÐÐ¸Ð´Ñ "),t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px] text-right text-xs font-medium text-[#7c879a]"}," ÐÐ¾Ð»Ñ "),t("th",{class:"border-y border-[#e9edf3] bg-[#fafbfc] px-6 py-[13px]"})])],-1)),t("tbody",null,[(a(!0),r(c,null,p(o.forms,e=>(a(),r("tr",{key:e.id,class:"border-b border-[#f0f2f6] transition last:border-b-0 hover:bg-[#fcfcff]"},[t("td",y,[t("div",h,l(e.name),1),t("small",g,l(e.id),1)]),t("td",_,l(e.campaign),1),t("td",v,[t("span",{class:f([x(e.status).classes,"inline-flex items-center rounded-full px-2.5 py-1 text-xs font-medium"])},l(x(e.status).label),3)]),t("td",k,l(e.leads),1),t("td",w,l(o.totalLeads?Math.round(e.leads/o.totalLeads*100):0)+"% ",1),t("td",S,[e.preview_url?(a(),r("a",{key:0,href:e.preview_url,target:"_blank",rel:"noopener noreferrer",class:"text-sm font-medium text-[#6153ff] hover:underline"}," ÐаÑвки â ",8,L)):(a(),r("span",A," ÐÐµÑ ÑÑÑлки "))])]))),128)),o.forms.length?i("",!0):(a(),r("tr",B,[...s[0]||(s[0]=[t("td",{colspan:"6",class:"px-6 py-10 text-center text-sm text-[#738095]"}," ФоÑм пока Ð½ÐµÑ ",-1)])]))])])])]))}};export{T as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.