import{r as p,h as t,H as i}from"./p-9f21f85f.js";import{S as s}from"./p-c2c9e896.js";import"./p-25d382ec.js";import"./p-3968aca6.js";import"./p-d343a062.js";import{g as o,c as r,m as a}from"./p-c44f96b9.js";import{s as c}from"./p-cb585cde.js";import"./p-105f7627.js";import"./p-6a6f355f.js";import"./p-aa5ffe14.js";import"./p-293acc32.js";import"./p-f2965a61.js";import"./p-0563ceba.js";import"./p-1e47e7bd.js";import"./p-31e77e7b.js";import"./p-825ab276.js";import"./p-6c8be41c.js";import"./p-1187cc7c.js";import"./p-881a2bb8.js";import"./p-968ee2ec.js";import"./p-d27cb594.js";import"./p-9c82afa0.js";import"./p-d6c479ab.js";import"./p-10cfccbb.js";import"./p-8d2ddf16.js";import"./p-814af281.js";import"./p-e929429b.js";import"./p-905285ef.js";import"./p-a86d8cf2.js";import"./p-3ccedaa0.js";import"./p-9aa2fafd.js";import"./p-0988b316.js";import"./p-65eb3f89.js";import"./p-42939000.js";import"./p-3d141e05.js";import"./p-d59ffc5b.js";const m=class{constructor(t){p(this,t),this.getInvitation=async()=>{this.invitation=await this.api.getInvitation(this.paramsId)}}componentWillLoad(){const{headers:p}=o();this.api=r(a,p),this.apiSozluk=(new s).setLanguage(this.language).setContents(c),this.getInvitation()}render(){if(!this.invitation)return;const{invitation:p,apiSozluk:s,isLoggedIn:o,api:r,language:a}=this,{organisation:c}=p;return t(i,null,t("mentornity-root-wrapper",{class:"d-block"},t("div",{class:"pt-2",style:{background:"var(--color-background-secondary)"}},t("mentornity-accept-invitation-widget",{organisation:c,invitation:p,apiSozluk:s,api:r,isLoggedIn:o,language:a}))))}};export{m as mentornity_accept_invitation_wrapper}