import{r as registerInstance,h,H as Host}from"./index-ecdfb761.js";import{D as DataApiImpl}from"./dataApi-c77b0bad.js";import{S as SozlukApi,L as Logger}from"./index-3bf9b308.js";import{g as getSessionData}from"./index-7d83a942.js";import{C as CookieStorage}from"./cookie-9f22e0fb.js";import{K as KimlikApiMentornity,U as UyeApiMentornity}from"./uye-15e20df0.js";import{d as dataApiEndpoint,m as mentornityApiEndpoint}from"./env-bd518340.js";import"./apiBase-648a161d.js";import"./data-transfer-field-2f305919.js";import"./BaseField-0b01dc2c.js";import"./filter-cbaa3d7d.js";import"./kimlik-api-66e341bd.js";import"./_commonjsHelpers-27f122dd.js";import"./utils-7adf28a3.js";import"./User-9f1f4513.js";import"./data-model-f7ccf826.js";import"./membership-24db029a.js";import"./table-config-3820fb34.js";import"./FieldModelGenerator-03c7516c.js";import"./reference-field-a5b414d1.js";import"./index-61dcd269.js";import"./FieldGenerator-3ae403b2.js";import"./date-1bc489bd.js";import"./index-4e451db4.js";import"./index-32d8b974.js";import"./index-23baeeef.js";import"./index-09efdc01.js";import"./index-150b6a59.js";import"./string-3065a411.js";import"./app-config-5d14e7bf.js";import"./spaces-a5a0cc70.js";import"./raw-data-eb55820e.js";import"./detail-view-config-47244869.js";import"./view-config-2fc2ba10.js";import"./index-5f14b4fc.js";import"./attachment-d13ad547.js";import"./models-3a85e626.js";import"./InterceptorHandler-6474bcf4.js";import"./ModifierTrimmer-2f77f917.js";import"./ValidatorLength-f56a7c14.js";import"./ValidatorRegex-8645386d.js";import"./form-view-config-db7fef80.js";import"./actions-b9a0f808.js";import"./instance-db63ecb7.js";import"./nested-457f7ba9.js";import"./index-8bcd148f.js";import"./list-fetch-state-d8c2f8ef.js";import"./ValidatorEmail-df7a1b77.js";import"./table-list-view-config-b2e4402c.js";import"./DvnDataAdapter-536a3258.js";import"./DvnDataProvider-86fd3a3b.js";import"./time-zones-cf1e6113.js";var MentornityConsoleApp=function(){function i(i){var t=this;registerInstance(this,i);this.path="/";this.navigate=function(i){t.logger.debugGroup("navigate",{from:t.path,to:i.path});t.path=i.path}}i.prototype.componentWillLoad=function(){var i={"Session-Token":"NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0"};if(getSessionData().token){i["Authorization"]="Bearer ".concat(getSessionData().token)}this.path=location.pathname;this.apiSozluk=new SozlukApi;this.storage=new CookieStorage;this.logger=new Logger("MentornityConsoleApp").setLevel("debug");this.logger.infoGroup("componentWillLoad");this.apiData=new DataApiImpl(dataApiEndpoint);this.apiKimlik=new KimlikApiMentornity(mentornityApiEndpoint,i);this.apiUye=new UyeApiMentornity(mentornityApiEndpoint,i);this.apiSozluk=new SozlukApi};i.prototype.render=function(){return h(Host,null,h("dvn-app-root",{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiSozluk:this.apiSozluk,apiUye:this.apiUye,navigate:this.navigate,path:this.path,logger:this.logger,storage:this.storage}))};Object.defineProperty(i,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return i}();export{MentornityConsoleApp as mentornity_console_app};