import{r as p,h as t,H as i}from"./p-9f21f85f.js";import{S as s}from"./p-c2c9e896.js";import"./p-e78d5616.js";import"./p-3968aca6.js";import"./p-d343a062.js";import{c as o}from"./p-a3d5ad34.js";import{g as r,s as a,a as e}from"./p-f88474bf.js";import"./p-105f7627.js";import"./p-62d6b6a7.js";import"./p-0563ceba.js";import"./p-1e47e7bd.js";import"./p-31e77e7b.js";import"./p-825ab276.js";import"./p-6c8be41c.js";import"./p-9f31253b.js";import"./p-1187cc7c.js";import"./p-881a2bb8.js";import"./p-968ee2ec.js";import"./p-3c7a3a90.js";import"./p-7737f905.js";import"./p-0ff0ee91.js";import"./p-d27cb594.js";import"./p-902ec37a.js";import"./p-74e6e642.js";import"./p-84876749.js";import"./p-03b520ca.js";import"./p-814af281.js";import"./p-e929429b.js";import"./p-2c9430cc.js";import"./p-5209de98.js";import"./p-19efc983.js";import"./p-e7d62c6a.js";import"./p-67d3bdb0.js";import"./p-1ba76ce7.js";import"./p-0988b316.js";import"./p-65eb3f89.js";import"./p-42939000.js";const m=class{constructor(t){p(this,t),this.getInvitation=async()=>{this.invitation=await this.api.getInvitation(this.paramsId)}}componentWillLoad(){const{headers:p}=r();this.api=o(e,p),this.apiSozluk=(new s).setLanguage(this.language).setContents(a),this.getInvitation()}render(){if(!this.invitation)return;const{invitation:p,apiSozluk:s,isLoggedIn:o,api:r,language:a}=this,{organisation:e}=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:e,invitation:p,apiSozluk:s,api:r,isLoggedIn:o,language:a}))))}};export{m as mentornity_accept_invitation_wrapper}