try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2d0954fe-3dd1-4bbf-b323-19783ff4b0eb",e._sentryDebugIdIdentifier="sentry-dbid-2d0954fe-3dd1-4bbf-b323-19783ff4b0eb")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d40e988866bc1ced9436c4523b12b814ae5cda9"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[9707],{19707:(e,d,n)=>{n.d(d,{I:()=>o});var i=n(39175);const o=()=>{if(i.Ay)return null;const{origin:e,searchParams:d}=new URL(window.location.href),n=d?.get("labra_subscription_id");if(!n)return null;const o=d?.get("cloud_provider"),t=d?.get("cloud_product_id"),l=d?.get("cloud_customer_id");if(l&&t&&o)return`${e}/api/v2/billing/labra/spaces?customer_id=${l}&marketplace=${o}&product_id=${t}&subscription_id=${n}`;const r=d?.get("aws_customer_id"),s=d?.get("aws_product_id");return r&&s?`${e}/api/v2/billing/labra/spaces?customer_id=${r}&marketplace=aws&product_id=${s}&subscription_id=${n}`:null}}}]);