import{r as registerInstance,h,H as Host}from"./index-102043e0.js";import{D as DataApiImpl}from"./dataApi-8221972c.js";import{S as SozlukApi,L as Logger}from"./index-1e9f4c53.js";import{g as getSessionData}from"./index-ef2fbee6.js";import{C as CookieStorage}from"./cookie-647f9dc7.js";import{d as dataApiEndpoint,K as KimlikApiMentornity,m as mentornityApiEndpoint,U as UyeApiMentornity}from"./uye-4936a586.js";import"./kimlikApi-ac700c81.js";import"./data-transfer-field-918730a3.js";import"./BaseField-461b6d0c.js";import"./filter-cbaa3d7d.js";import"./_commonjsHelpers-27f122dd.js";import"./utils-2c1db0af.js";import"./User-d2ee8b71.js";import"./data-model-f5160369.js";import"./membership-821de3c5.js";import"./membership-config-68ed7772.js";import"./table-config-720f8ea0.js";import"./FieldModelGenerator-ee438a53.js";import"./index-ef734a5e.js";import"./index-336ef773.js";import"./date-ce777316.js";import"./index-0e8b9ea2.js";import"./index-c3eacf05.js";import"./string-3065a411.js";import"./app-config-d490f9ae.js";import"./spaces-c4b46e5e.js";import"./table-list-view-config-ff8c1b78.js";import"./index-a1675f50.js";import"./attachment-32decf79.js";import"./InterceptorHandler-6474bcf4.js";import"./view-config-efdeed6d.js";import"./detail-view-config-e2344d5e.js";import"./models-22fcdeab.js";import"./form-view-config-fb04db06.js";import"./ValidatorLength-f56a7c14.js";import"./actions-b9a0f808.js";import"./instance-fe40f49f.js";import"./nested-395a4cd4.js";import"./index-47dfc023.js";import"./list-fetch-state-623a5ba4.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 "+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};