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.ed989e0a.js";import"./router.5e7d449c.js";import"./index.46777a19.js";import{O as k}from"./organization.fcb3d7ee.js";import{a as A}from"./asyncComputed.9f78a6df.js";import{A as B}from"./Title.7eb91981.js";import{A as h}from"./index.881316ff.js";import{A as C}from"./index.9a4b372b.js";import{A as D}from"./Text.8e13d454.js";import{C as I}from"./Card.3876795d.js";import"./Form.fe660512.js";import"./hasIn.264c6078.js";import"./popupNotifcation.c17802b7.js";import"./index.cf4c23b9.js";import"./record.f2e811cc.js";import"./pubsub.14278e58.js";import"./Base.42a4c5ca.js";import"./Typography.5e43ce25.js";import"./TabPane.1db82216.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]="5a24685e-9f04-4140-bda4-d3d7e483a8c4",t._sentryDebugIdIdentifier="sentry-dbid-5a24685e-9f04-4140-bda4-d3d7e483a8c4")}catch{}})();const v={key:1},T={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,N)=>e(f)?(p(),y(e(g),{key:0})):(p(),_("div",v,[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(I),{style:{width:"300px"}},{default:o(()=>{var i,s,d;return[a(e(D),{type:"secondary"},{default:o(()=>[l("Plan")]),_:1}),x("div",T,w((d=(s=(i=e(m))==null?void 0:i.billingMetadata)==null?void 0:s.plan)!=null?d:"Trial"),1)]}),_:1})]))}});export{Y as default};
//# sourceMappingURL=Billing.4dbcc7bb.js.map
