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