import{d as c,eB as u,u as e,b as p,c as y,ev as _,f as a,w as o,bg as g,ar as l,ex as b,e as x,eD as w}from"./outputWidgets.66cb3323.js";import"./router.0bc1d0d5.js";import"./index.9d397e35.js";import{O as k}from"./organization.13fe0a2b.js";import{a as A}from"./asyncComputed.e916adae.js";import{A as B}from"./Title.dfc9c803.js";import{A as h}from"./index.c07575ec.js";import{A as C}from"./index.69446bc8.js";import{A as v}from"./Text.86e9a2de.js";import{C as D}from"./Card.5f80e3a2.js";import"./Form.6c3a2d9f.js";import"./hasIn.cda4df71.js";import"./popupNotifcation.9d486082.js";import"./index.cf4c23b9.js";import"./record.b20b5768.js";import"./pubsub.19cef690.js";import"./Base.e0db6d09.js";import"./Typography.2ce150f4.js";import"./TabPane.b9680160.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="823b2aad-38f2-49c4-a020-96a4efe1e66f",t._sentryDebugIdIdentifier="sentry-dbid-823b2aad-38f2-49c4-a020-96a4efe1e66f")}catch{}})();const I={key:1},N={style:{display:"flex","justify-content":"flex-end","font-size":"24px"}},Y=c({__name:"Billing",setup(t){const n=u().params.organizationId,{loading:f,result:m}=A(()=>k.get(n));return(z,T)=>e(f)?(p(),y(e(g),{key:0})):(p(),_("div",I,[a(e(h),{justify:"space-between",align:"center"},{default:o(()=>[a(e(B),{level:3},{default:o(()=>[l("Current plan")]),_:1}),b("",!0)]),_:1}),a(e(C),{style:{"margin-top":"0"}}),a(e(D),{style:{width:"300px"}},{default:o(()=>{var i,s,d;return[a(e(v),{type:"secondary"},{default:o(()=>[l("Plan")]),_:1}),x("div",N,w((d=(s=(i=e(m))==null?void 0:i.billingMetadata)==null?void 0:s.plan)!=null?d:"No active plan"),1)]}),_:1})]))}});export{Y as default};
//# sourceMappingURL=Billing.ea68dc1e.js.map
