"use strict";var KTAppTodo=function(){var t,e,i,o;return{init:function(){t=KTUtil.getById("kt_todo_aside"),e=KTUtil.getById("kt_todo_list"),i=KTUtil.getById("kt_todo_view"),o=KTUtil.getById("kt_todo_reply"),KTAppTodo.initAside(),KTAppTodo.initList(),KTAppTodo.initView(),KTAppTodo.initReply()},initAside:function(){new KTOffcanvas(t,{overlay:!0,baseClass:"offcanvas-mobile",toggleBy:"kt_subheader_mobile_toggle"}),KTUtil.on(t,'.list-item[data-action="list"]',"click",function(o){var a=KTUtil.attr(this,"data-type"),n=KTUtil.find(e,".kt-inbox__items"),l=this.closest(".kt-nav__item"),s=KTUtil.find(t,".kt-nav__item.kt-nav__item--active"),d=new KTDialog({type:"loader",placement:"top center",message:"Loading ..."});d.show(),setTimeout(function(){d.hide(),KTUtil.css(e,"display","flex"),KTUtil.css(i,"display","none"),KTUtil.addClass(l,"kt-nav__item--active"),KTUtil.removeClass(s,"kt-nav__item--active"),KTUtil.attr(n,"data-type",a)},600)})},initList:function(){KTUtil.on(e,'[data-inbox="group-select"] input',"click",function(){for(var t=KTUtil.findAll(e,'[data-inbox="message"]'),i=0,o=t.length;i