1import{$ as e,B as t,Ct as n,G as r,H as i,I as a,K as o,L as s,N as c,P as l,Q as u,R as d,S as f,U as p,Y as m,at as h,c as g,ct as _,dt as v,et as y,g as ee,lt as b,mt as te,ot as ne,pt as re,st as x,u as S,v as C,vt as w,x as T,yt as ie}from"./CzsObDY8.js";import{n as ae}from"./DAhi6lE9.js";import"./xihTtKlq.js";import"./C5qy-xbg.js";import{F as E,N as D,P as O}from"./Du7Y30mz.js";import{o as oe}from"./Bh8oZHKH.js";import"./D0djJHRo.js";import{t as se}from"./CJQRXGuC2.js";import{n as ce}from"./BtHqjIeR2.js";var k=t(`<span class="pricing-testimonial-role"> </span>`),A=t(`<blockquote class="pricing-testimonial"><p class="pricing-testimonial-quote"> </p> <footer class="pricing-testimonial-author"><span class="pricing-testimonial-name"> </span> <!></footer></blockquote>`),j=t(`<div class="pricing-testimonials"></div>`);function M(e){let t=[{name:`Damian Kennedy`,title:`Building AIAutomations`,quote:`Brilliant and convenient for rapid serverless data store in combo with Vercel. Skip the costly Postgres or Upstash setup.`},{name:`Olivier Mills`,title:`Web developer`,quote:`Amazing tool for fast deploy.`},{name:`Stephane Roux`,title:`Altar JS founder`,quote:`Absolutely amazing. Building web applications just got better.`}];var r=j();c(r,5,()=>t,l,(e,t)=>{var r=A(),i=h(r),c=h(i);n(i);var l=x(i,2),u=h(l),f=h(u,!0);n(u);var p=x(u,2),m=e=>{var r=k(),i=h(r,!0);n(r),y(()=>s(i,o(t).title)),d(e,r)};a(p,e=>{o(t).title&&e(m)}),n(l),n(r),y(()=>{s(c,`"${o(t).quote??``}"`),s(f,o(t).name)}),d(e,r)}),n(r),d(e,r)}var N=[{icon:`globe`,title:`Global ingress`,description:`Fly.io edge routing, low latency worldwide.`},{icon:`folder-open`,title:`SFTP access`,description:`Deploy hooks, migrations, and files over SFTP.`},{icon:`link`,title:`Custom domains`,description:`Point your domain at a PocketBase. SSL included.`},{icon:`layer-group`,title:`Version picker`,description:`Latest patch of every PocketBase minor release.`},{icon:`gauge-high`,title:`Fair use bandwidth`,description:`Unmetered traffic and CPU under our fair use policy.`},{icon:`comments`,title:`Community support`,description:`Active Discord with thousands of PocketBase builders.`}],P=t(`<li class="pricing-highlight"><wa-icon></wa-icon> <div><h3 class="pricing-highlight-title"> </h3> <p class="pricing-highlight-desc"> </p></div></li>`,2),F=t(`<ul class="pricing-highlights"></ul>`);function I(e){var t=F();c(t,5,()=>N,l,(e,t)=>{var r=P(),i=h(r);y(()=>C(i,`name`,o(t).icon)),T(i,1,`pricing-highlight-icon`);var a=x(i,2),c=h(a),l=h(c,!0);n(c);var u=x(c,2),f=h(u,!0);n(u),n(a),n(r),y(()=>{s(l,o(t).title),s(f,o(t).description)}),d(e,r)}),n(t),d(e,t)}var le=t(`<div> </div>`),ue=t(`<div class="pricing-plan-badge pricing-plan-badge--savings"> </div>`),de=t(`<div class="pricing-plan-badge">HOT</div>`),fe=t(`<h3 class="pricing-plan-title"> </h3>`),pe=t(`<span class="pricing-plan-splasher-detail"> </span>`),me=t(`<div class="pricing-plan-splasher"><span class="pricing-plan-splasher-percent"> </span> <span class="pricing-plan-splasher-off">OFF</span> <!></div>`),he=t(`<li class="pricing-plan-feature"><wa-icon></wa-icon> <span> </span></li>`,2),ge=t(`<div class="pricing-plan-compare-at"> </div>`),_e=t(`<div class="pricing-plan-price-detail"> </div>`),ve=t(`<wa-callout><wa-icon></wa-icon> </wa-callout>`,2),ye=t(`<div><!> <div class="pricing-plan-header"><!> <!> <p class="pricing-plan-lead"> </p></div> <ul class="pricing-plan-features"></ul> <div class="pricing-plan-price-block"><!> <div class="pricing-plan-price"> </div> <!></div> <!> <div class="pricing-plan-cta-wrap"><button type="button"> </button></div></div>`);function L(t,i){ie(i,!1);let v=()=>te(oe,`$isUserLoggedIn`,ne),[ne,E]=re(),D=_(),O=_(),k=g(i,`pvId`,8),A=g(i,`selected`,8,!1),j=g(i,`buttonText`,8,`Subscribe Now`),M=g(i,`price`,8),N=g(i,`priceDetail`,8,``),P=g(i,`bestDeal`,8,!1),F=g(i,`badgeText`,8,void 0),I=g(i,`badgeUrgent`,8,!1),L=g(i,`savingsPercent`,8,void 0),R=g(i,`savingsAmountLabel`,8,void 0),z=g(i,`compareAtPrice`,8,void 0),B=g(i,`title`,8,void 0),be=g(i,`cta`,8),xe=g(i,`features`,8),V=_(!1),H=_(``),Se=async()=>{if(b(H,``),!v()){await ae(se(k()));return}if(!o(V)){b(V,!0);try{let e=await ce(k());window.location.href=e}catch(e){console.error(e),b(H,e instanceof Error?e.message:`Could not start checkout. Please try again.`)}finally{b(V,!1)}}};u(()=>r(j()),()=>{b(D,j()===`Subscribe Now`?`Create account & subscribe`:j())}),u(()=>(v(),r(j()),o(D)),()=>{b(O,v()?j():o(D))}),e(),S();var U=ye(),W=h(U),Ce=e=>{var t=le();let r;var i=h(t,!0);n(t),y(()=>{r=T(t,1,`pricing-plan-badge`,null,r,{"pricing-plan-badge--urgent":I()}),s(i,F())}),d(e,t)},we=e=>{var t=ue(),r=h(t);n(t),y(()=>s(r,`Save ${L()??``}%`)),d(e,t)},Te=e=>{d(e,de())};a(W,e=>{F()?e(Ce):L()?e(we,1):P()&&e(Te,2)});var G=x(W,2),K=h(G),Ee=e=>{var t=fe(),r=h(t,!0);n(t),y(()=>s(r,B())),d(e,t)};a(K,e=>{B()&&e(Ee)});var q=x(K,2),De=e=>{var t=me(),r=h(t),i=h(r);n(r);var o=x(r,4),c=e=>
1{var t=pe(),r=h(t,!0);n(t),y(()=>s(r,R())),d(e,t)};a(o,e=>{R()&&e(c)}),n(t),y(()=>{ee(t,`aria-label`,`Save ${L()??``} percent vs monthly billing`),s(i,`${L()??``}%`)}),d(e,t)};a(q,e=>{L()&&e(De)});var J=x(q,2),Oe=h(J,!0);n(J),n(G);var Y=x(G,2);c(Y,5,xe,l,(e,t)=>{var r=he(),i=h(r);y(()=>C(i,`name`,(o(t),m(()=>o(t).startsWith(`-`)?`xmark`:`check`))));var a=x(i,2),c=h(a,!0);n(a),n(r),y((e,t,n)=>{T(i,1,e),T(a,1,t),s(c,n)},[()=>f((o(t),m(()=>o(t).startsWith(`-`)?`pricing-plan-feature-icon--no`:`pricing-plan-feature-icon--ok`))),()=>f((o(t),m(()=>o(t).startsWith(`-`)?`pricing-plan-feature--struck`:``))),()=>(o(t),m(()=>o(t).replace(`-`,``)))]),d(e,r)}),n(Y);var X=x(Y,2),Z=h(X),ke=e=>{var t=ge(),r=h(t,!0);n(t),y(()=>s(r,z())),d(e,t)};a(Z,e=>{z()&&e(ke)});var Q=x(Z,2),Ae=h(Q,!0);n(Q);var je=x(Q,2),Me=e=>{var t=_e(),r=h(t,!0);n(t),y(()=>s(r,N())),d(e,t)};a(je,e=>{N()&&e(Me)}),n(X);var Ne=x(X,2),Pe=e=>{var t=ve();C(t,`variant`,`danger`),T(t,1,`wa-callout-padded pricing-plan-error`);var r=h(t);C(r,`slot`,`icon`),C(r,`name`,`circle-xmark`);var i=x(r);n(t),y(()=>s(i,` ${o(H)??``}`)),d(e,t)};a(Ne,e=>{o(H)&&e(Pe)});var Fe=x(Ne,2),$=h(Fe),Ie=h($,!0);n($),n(Fe),n(U),y(()=>{T(U,1,`pricing-plan ${A()?`pricing-plan--featured`:``} ${L()?`pricing-plan--splasher`:``}`),s(Oe,be()),s(Ae,M()),T($,1,`pricing-plan-cta ${A()?`pricing-plan-cta--featured wiggle`:``}`),$.disabled=o(V),s(Ie,o(V)?`Loadingâ¦`:o(O))}),p(`click`,$,Se),d(t,U),w(),E()}i([`click`]);var R=t(`<div class="pricing-page-header"><h2 class="pricing-page-title">Pricing</h2> <p class="pricing-page-lead">Pay Per PocketBase. One slot powers on one PocketBase at a time.</p></div> <div class="pricing-page-grid"><!> <!> <!></div> <section class="pricing-below"><div class="pricing-demo"><p class="pricing-section-eyebrow">Walkthrough</p> <h3 class="pricing-section-title">See PocketHost in two minutes</h3> <div class="pricing-demo-frame"><iframe src="https://www.youtube.com/embed/Xe0FrGzlcVM" title="PocketHost demo" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></div> <div class="pricing-included"><p class="pricing-section-eyebrow">Included</p> <h3 class="pricing-section-title">Everything you need to ship</h3> <!></div> <div class="pricing-social-proof"><p class="pricing-section-eyebrow">Builders</p> <h3 class="pricing-section-title">Trusted by indie hackers</h3> <!></div></section>`,1);function z(e,t){ie(t,!1);let r=[`250 MB DB data storage + 10 GB file storage per PocketBase`,`Storage adds to your account pool, shared across every PocketBase you run`,`Global Fly ingress, private network routing`,`Unmetered bandwidth and CPU (fair use)`,`SFTP file access`];S();var i=R(),a=x(ne(i),2),s=h(a);{let e=v(()=>[`7 day risk-free trial`,...r]);L(s,{get pvId(){return E},title:`Monthly`,price:`$9.99`,priceDetail:`per PocketBase, per month`,get cta(){return`Each slot includes 250 MB DB data storage and 10 GB file storage. Add another PocketBase, add another slot.`},get features(){return o(e)}})}var c=x(s,2);{let e=v(()=>`Save $${59.89.toFixed(0)} per slot vs monthly billing`),t=v(()=>`$${119.88.toFixed(2)}/yr`),n=v(()=>[`Effective $${(59.99/12).toFixed(2)}/mo when paid annually`,...r]);L(c,{get pvId(){return D},selected:!0,savingsPercent:50,get savingsAmountLabel(){return o(e)},get compareAtPrice(){return o(t)},title:`Annual`,price:`$59.99`,priceDetail:`per PocketBase, per year`,cta:`Same slot entitlements as monthly. Billed once per year.`,get features(){return o(n)}})}var l=x(c,2);{let e=v(()=>[`Lifetime access per slot purchased`,`No recurring fees`,...r]);L(l,{get pvId(){return O},buttonText:`Buy lifetime slot`,price:`$149.99`,priceDetail:`once per PocketBase`,title:`Lifetime`,cta:`Pay once per slot for lifetime Pay Per PocketBase hosting. No recurring fees.`,get features(){return o(e)}})}n(a);var u=x(a,2),f=x(h(u),2);I(x(h(f),4),{}),n(f);var p=x(f,2);M(x(h(p),4),{}),n(p),n(u),d(e,i),w()}export{z as t};
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.