1import{u as C,_ as N,h as I,a as T}from"./C3KC9frT.js";import{_ as B}from"./Cf7OoEKi.js";import{e as V,j as E,E as L,u as P,c as a,b as u,a as e,i as c,F as p,l as _,w as D,o as i,t as r,D as F,x as S,s as W,d as H,r as $,q as j}from"./I2I7NLUp.js";import{u as q}from"./BkfCpx1r.js";const z={class:"min-h-screen bg-white text-ink antialiased"},G={class:"mx-auto max-w-[1100px] px-5 py-14"},K={key:0,class:"mt-10 text-center text-sm text-red-hot"},M={key:1,class:"mt-10 space-y-12"},O={class:"mb-4"},U={class:"font-display text-xl font-bold"},Y={class:"text-sm text-ink/60"},J={key:0,class:"mb-5 rounded-2xl border border-ink/10 bg-bg-grey p-5 text-sm text-ink/75"},Q={class:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3"},R={class:"text-sm font-semibold text-ink/70"},X={class:"mt-2 flex items-baseline gap-1"},Z={class:"font-display text-3xl font-bold"},tt={class:"text-sm text-ink/50"},et={class:"mt-4 flex-1 space-y-1.5 text-sm text-ink/70"},st=["onClick"],nt={class:"mt-12 text-center"},dt=V({__name:"pricing",async setup(ot){let d,m;const{call:x}=E(),{add:g}=C(),l=$(""),{data:h,error:y}=([d,m]=L(()=>q("extensions",()=>x("/extensions"))),d=await d,m(),d),f=j(()=>(h.value?.extensions||[]).filter(s=>s.is_paid&&s.plans.length)),b=s=>s==="monthly"?"/mo":s==="yearly"?"/yr":" once";function k(s,t){g({extension:s.slug,extensionName:s.name,plan:t.slug,planName:t.name,billingType:t.billing_type,priceCents:t.price_cents,currency:t.currency}),l.value=s.slug+"/"+t.slug,setTimeout(()=>{l.value===s.slug+"/"+t.slug&&(l.value="")},1500)}
1return P({title:"Pricing · Extension.software"}),(s,t)=>{const v=N,w=B,A=T;return i(),a("div",z,[u(v),e("main",G,[t[4]||(t[4]=e("div",{class:"text-center"},[e("h1",{class:"font-display text-3xl font-bold"},"Licenses & pricing"),e("p",{class:"mx-auto mt-2 max-w-[560px] text-sm text-ink/60"}," Buy a license to unlock paid features. Need to share more boards? Add more licenses to your cart â each one raises your capacity. ")],-1)),c(y)?(i(),a("p",K," Couldnât load pricing. Is the API running? ")):(i(),a("div",M,[(i(!0),a(p,null,_(c(f),o=>(i(),a("section",{key:o.slug},[e("div",O,[e("h2",U,r(o.name),1),e("p",Y,r(o.description),1)]),o.slug==="wa-kanban-ai"?(i(),a("div",J,[...t[0]||(t[0]=[F('<p><span class="font-semibold text-ink">ð Bring your own AI key.</span> The AI itself isnât part of this purchase. WA Kanban AI uses <span class="font-medium text-ink">your own OpenAI or Claude API key</span> to turn a chat into tasks, so your WhatsApp messages go straight from your browser to the provider you chose â they never pass through us. Thatâs a deliberate privacy choice, and running it on your own key is free. </p><p class="mt-2"><span class="font-semibold text-ink">ð³ What the license unlocks.</span> Youâre paying for one thing: <span class="font-medium text-ink">live board sharing</span> â publish a board and send a private link so clients (or anyone) can watch it update in real time on the web. Everything else stays local and free. </p>',2)])])):S("",!0),e("div",Q,[(i(!0),a(p,null,_(o.plans,n=>(i(),a("div",{key:n.slug,class:"flex flex-col rounded-2xl border border-ink/10 p-5"},[e("h3",R,r(n.name),1),e("div",X,[e("span",Z,r(c(I)(n.price_cents,n.currency)),1),e("span",tt,r(b(n.billing_type)),1)]),e("ul",et,[t[1]||(t[1]=e("li",null,"â Live board sharing",-1)),e("li",null,"â Up to "+r(n.max_activations)+" device"+r(n.max_activations>1?"s":""),1),t[2]||(t[2]=e("li",null,"â Share up to 2 boards",-1))]),e("button",{class:W(["mt-5 rounded-btn-sm py-2.5 text-sm font-semibold text-white transition",c(l)===o.slug+"/"+n.slug?"bg-green-pill":"bg-ink hover:bg-ink/85"]),onClick:at=>k(o,n)},r(c(l)===o.slug+"/"+n.slug?"Added â":"Add to cart"),11,st)]))),128))])]))),128))])),e("div",nt,[u(w,{to:"/cart",class:"text-sm font-medium text-magenta"},{default:D(()=>[...t[3]||(t[3]=[H("Go to cart â",-1)])]),_:1})])]),u(A)])}}});export{dt 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.