import{u as s,a,c as l,o as e,v as n,e as t,f as c,x as r,y as i,C as u,g as o,k as d,t as b,F as p,h as f,l as v,w,j as g,cM as k,E as _,A as m}from"./wbs-f6dQykzJ.js";const y={class:"wbs-content"},h={class:"table-comparison"},M={class:"table-hd"},H={class:"hd"},L=["title"],T={class:"free"},C={class:"pro"},j=["innerHTML"],x=["innerHTML"],A={class:"tr tr-btns"},D={class:"pro"},E={key:1,class:"wbs-btn wbs-btn-outlined"},F={__name:"Pro",setup(F){const{wbsCnf:P}=s(),{wb_i18n:q,wb_e:z}=a(P),B=l(!1),G=l(!1),I=l([]),J=s=>{let a="";switch(s){case 1:a='<i class="wbicon-tick"></i>';break;case 0:a="-";break;default:a=s}return a};return e((()=>{m.getData({op:"get_comparison"}).then((s=>{I.value=s.data,B.value=!0})),P.is_pro&&n(((s,a)=>{G.value=!!s}))})),(s,a)=>{const l=_,e=i;return c(),t("div",y,[r((c(),t("div",{class:u(["sc-wp cur_section",{"wb-page-loaded":B.value}])},[o("div",h,[o("ul",M,[o("li",H,[o("i",{class:"pfc",title:d(z)("功能对比")},null,8,L)]),o("li",T,[o("strong",null,b(d(z)("免费版")),1),a[1]||(a[1]=o("i",{class:"gf-free"},null,-1))]),o("li",C,[o("strong",null,b(d(z)("专业版")),1),a[2]||(a[2]=o("i",{class:"gf-pro"},null,-1))])]),(c(!0),t(p,null,f(I.value,((s,a)=>(c(),t("dl",{class:"tr",key:a},[o("dt",null,b(s.label),1),o("dd",{class:"free",innerHTML:J(s.available.free)},null,8,j),o("dd",{class:"pro",innerHTML:J(s.available.pro)},null,8,x)])))),128)),o("dl",A,[a[3]||(a[3]=o("dt",null,null,-1)),a[4]||(a[4]=o("dd",{class:"free"},null,-1)),o("dd",D,[G.value?(c(),t("span",E,b(d(z)("已激活")),1)):(c(),v(l,{key:0,type:"primary",class:"wbs-btn",onClick:a[0]||(a[0]=s=>d(k)(d(q)))},{default:w((()=>[g(b(d(z)("立即激活")),1)])),_:1}))])])])],2)),[[e,!B.value]])])}}};export{F as default};
