import{r as t,h as s,H as i}from"./p-9f21f85f.js";import{L as p,S as a}from"./p-c2c9e896.js";import{I as o,a as r,D as h,K as e,T as m,U as c}from"./p-ff10a287.js";import"./p-aa5ffe14.js";import"./p-9c82afa0.js";import"./p-8d2ddf16.js";import"./p-25d382ec.js";import"./p-3968aca6.js";import"./p-105f7627.js";import"./p-d343a062.js";import"./p-d6c479ab.js";import"./p-f2484f8a.js";import"./p-6a6f355f.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";const j=class{constructor(s){t(this,s),this.path="/",this.navigate=t=>{this.logger.infoGroup("navigate",{from:this.path,to:t.path}),this.path=t.path}}componentWillLoad(){const{database:t,testKey:s}=this;this.logger=new p(s).setLevel("debug"),this.logger.infoGroup("componentWillLoad",{storageKey:this.storageKey}),this.storage=new o(this.storageKey,this.logger),Object.entries(this.storageData||{}).map((([t,s])=>{this.storage.save(t,s)})),this.apiAtama=new r(t,this.logger),this.apiData=new h(t,this.logger),this.apiKimlik=new e(t,this.storage,this.logger),this.apiTakvim=new m(t,this.storage,this.logger),this.apiUye=new c(t,this.storage,this.logger),this.apiSozluk=new a,this.path=this.initialPath}render(){return s(i,null,s("dvn-app-root",{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiSozluk:this.apiSozluk,apiTakvim:this.apiTakvim,apiUye:this.apiUye,navigate:this.navigate,path:this.path,logger:this.logger,storage:this.storage}))}};j.style="khanguru-ui-test-wrapper{display:block}";export{j as khanguru_ui_test_wrapper}