import{r as n}from"./p-551d2360.js";import{C as o}from"./p-3df73e7b.js";const t="https://api.mentornity.com";function i(o){return new n("/:domain(/:page)(/:id)").match(o)}function a(){const{domain:n}=i(location.pathname),t=(new o).get("mt_at"),a={organisationDomain:n,organisationId:(new o).get("mt_oid"),userId:(new o).get("mt_uid"),role:(new o).get("mt_role")},e={Client:"d2ViLWNsaWVu"};return t?e.Authorization="Bearer "+t:e["Session-Token"]="NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0",{context:a,headers:e}}export{i as a,a as g,t as m}