import{M as o,b as t}from"./p-da9525c7.js";import{U as e}from"./p-a4d551dd.js";import{U as n}from"./p-74e6e642.js";import{C as a}from"./p-1bea6126.js";import{r}from"./p-e929429b.js";function i(o){return new r("/:domain(/:page)(/:id)").match(o)}function m(o){const{domain:t}=i(location.pathname),e=(new a).get("mt_at"),n=(new a).get("mt_st"),r={organisationDomain:t,organisationId:(new a).get("mt_oid"),userId:(new a).get("mt_uid"),role:(new a).get("mt_role")},m={Client:"d2ViLWNsaWVu"};return e?(m.Authorization=`Bearer ${e}`,m["Session-Token"]=n):m["Session-Token"]="NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0",r.groupId=o,{context:r,headers:m}}function s(o,t,e,a,r,i="monday"){const m=[];return r&&m.push({id:"zoom",name:"Zoom",scope:[]}),n.decode({timeFormat:o,dateFormat:t,timeZone:e,language:a,authPlatforms:m,weekStartDay:i})}function d(t){return o.decode({config:u(t)})}function u(o){return t.decode({_id:"mentor"===o?"mentors":"mentees",roleName:o})}function c(o){return e.decode({_id:o})}export{u as a,i as b,c,s as d,d as e,m as g}