{"version":3,"file":"billing-page-routes-2eb2cd6e.mjs","sources":["../../../common/resources/client/auth/guards/subscribed-route.tsx","../../../common/resources/client/billing/billing-page/billing-page-layout.tsx","../../../common/resources/client/billing/billing-page/change-payment-method/change-payment-method-layout.tsx","../../../common/resources/client/billing/billing-page/change-payment-method/change-payment-method-page.tsx","../../../common/resources/client/billing/billing-page/use-billing-user.ts","../../../common/resources/client/billing/billing-page/change-payment-method/change-payment-method-done.tsx","../../../common/resources/client/billing/billing-page/billing-plan-panel.tsx","../../../common/resources/client/billing/billing-page/change-plan-page.tsx","../../../common/resources/client/billing/billing-page/requests/use-change-subscription-plan.ts","../../../common/resources/client/billing/billing-page/confirm-plan-change-page.tsx","../../../common/resources/client/billing/billing-page/confirm-plan-cancellation-page.tsx","../../../common/resources/client/billing/billing-page/confirm-plan-renewal-page.tsx","../../../common/resources/client/billing/billing-page/panels/cancelled-plan-panel.tsx","../../../common/resources/client/billing/billing-page/panels/active-plan-panel.tsx","../../../common/resources/client/billing/billing-page/panels/paypal.svg","../../../common/resources/client/billing/billing-page/panels/payment-method-panel.tsx","../../../common/resources/client/billing/billing-page/requests/use-invoices.ts","../../../common/resources/client/billing/billing-page/panels/invoice-history-panel.tsx","../../../common/resources/client/billing/billing-page/billing-page.tsx","../../../common/resources/client/billing/billing-page/billing-page-routes.tsx"],"sourcesContent":["import {useAuth} from '../use-auth';\nimport {ReactElement} from 'react';\nimport {Navigate, Outlet} from 'react-router-dom';\n\ninterface GuestRouteProps {\n children: ReactElement;\n}\nexport function SubscribedRoute({children}: GuestRouteProps) {\n const {isSubscribed} = useAuth();\n\n if (!isSubscribed) {\n return \n
\n