text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).adminlte={},e.jQuery)}(this,function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(t),i="CardRefresh",o=n.default.fn[i],s="card",l="."+s,r={source:"",sourceSelector:"",params:{},trigger:'[data-card-widget="card-refresh"]',content:".card-body",loadInContent:!0,loadOnInit:!0,loadErrorTemplate:!0,responseType:"",overlayTemplate:'<div class="overlay"><i class="fas fa-2x fa-sync-alt fa-spin"></i></div>',errorTemplate:'<span class="text-danger"></span>',onLoadStart:function(){},onLoadDone:function(e){return e},onLoadFail:function(e,t,a){}},d=function(){function e(e,t){if(this._element=e,this._parent=e.parents(l).first(),this._settings=n.default.extend({},r,t),this._overlay=n.default(this._settings.overlayTemplate),e.hasClass(s)&&(this._parent=e),""===this._settings.source)throw new Error("Source url was not defined. Please specify a url in your CardRefresh source option.")}var t=e.prototype;return t.load=function(){var e=this;this._addOverlay(),this._settings.onLoadStart.call(n.default(this)),n.default.get(this._settings.source,this._settings.params,function(t){e._settings.loadInContent&&(""!==e._settings.sourceSelector&&(t=n.default(t).find(e._settings.sourceSelector).html()),e._parent.find(e._settings.content).html(t)),e._settings.onLoadDone.call(n.default(e),t),e._removeOverlay()},""!==this._settings.responseType&&this._settings.responseType).fail(function(t,a,i){if(e._removeOverlay(),e._settings.loadErrorTemplate){var o=n.default(e._settings.errorTemplate).text(i);e._parent.find(e._settings.content).empty().append(o)}e._settings.onLoadFail.call(n.default(e),t,a,i)}),n.default(this._element).trigger(n.default.Event("loaded.lte.cardrefresh"))},t._addOverlay=function(){this._parent.append(this._overlay),n.default(this._element).trigger(n.default.Event("overlay.added.lte.cardrefresh"))},t._removeOverlay=function(){this._parent.find(this._overlay).remove(),n.default(this._element).trigger(n.default.Event("overlay.removed.lte.cardrefresh"))},t._init=function(){var e=this;n.default(this).find(this._settings.trigger).on("click",function(){e.load()}),this._settings.loadOnInit&&this.load()},e._jQueryInterface=function(t){var a=n.default(this).data("lte.cardrefresh"),i=n.default.extend({},r,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data("lte.cardrefresh","string"==typeof t?a:t)),"string"==typeof t&&/load/.test(t)?a[t]():a._init(n.default(this))},e}();n.default(document).on("click",'[data-card-widget="card-refresh"]',function(e){e&&e.preventDefault(),d._jQueryInterface.call(n.default(this),"load")}),n.default(function(){n.default('[data-card-widget="card-refresh"]').each(function(){d._jQueryInterface.call(n.default(this))})}),n.default.fn[i]=d._jQueryInterface,n.default.fn[i].Constructor=d,n.default.fn[i].noConflict=function(){return n.default.fn[i]=o,d._jQueryInterface};var f="CardWidget",u=n.default.fn[f],c="card",h="."+c,g={animationSpeed:"normal",collapseTrigger:'[data-card-widget="collapse"]',removeTrigger:'[data-card-widget="remove"]',maximizeTrigger:'[data-card-widget="maximize"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",maximizeIcon:"fa-expand",minimizeIcon:"fa-compress"},p=function(){function e(e,t){this._element=e,this._parent=e.parents(h).first(),e.hasClass(c)&&(this._parent=e),this._settings=n.default.extend({},g,t)}var t=e.prototype;return t.collapse=function(){var e=this;this._parent.addClass("collapsing-card").children(".card-body, .card-footer").slideUp(this._settings.animationSpeed,function(){e._parent.addClass("collapsed-card").removeClass("collapsing-card")}),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon),this._element.trigger(n.default.Event("collapsed.lte.cardwidget"),this._parent)},t.expand=function(){var e=this;this._parent.addClass("expanding-card").children(".card-body, .card-footer").slideDown(this._settings.animationSpeed,function(){e._parent.removeClass("collapsed-card").removeClass("expanding-card")}),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon),this._element.trigger(n.default.Event("expanded.lte.cardwidget"),this._parent)},t.remove=function(){this._parent.slideUp(),this._element.trigger(n.default.Event("removed.lte.cardwidget"),this._parent)},t.toggle=function(){this._parent.hasClass("collapsed-card")?this.expand():this.collapse()},t.maximize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.maximizeIcon).addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon),this._parent.css({height:this._parent.height(),width:this._parent.width(),transition:"all .15s"}).delay(150).queue(function(){var e=n.default(this);e.addClass("maximized-card"),n.default("html").addClass("maximized-card"),e.hasClass("collapsed-card")&&e.addClass("was-collapsed"),e.dequeue()}),this._element.trigger(n.default.Event("maximized.lte.cardwidget"),this._parent)},t.minimize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.minimizeIcon).addClass(this._settings.maximizeIcon).removeClass(this._settings.minimizeIcon),this._parent.css("cssText","height: "+this._parent[0].style.height+" !important; width: "+this._parent[0].style.width+" !important; transition: all .15s;").delay(10).queue(function(){var e=n.default(this);e.removeClass("maximized-card"),n.default("html").removeClass("maximized-card"),e.css({height:"inherit",width:"inherit"}),e.hasClass("was-collapsed")&&e.removeClass("was-collapsed"),e.dequeue()}),this._element.trigger(n.default.Event("minimized.lte.cardwidget"),this._parent)},t.toggleMaximize=function(){this._parent.hasClass("maximized-card")?this.minimize():this.maximize()},t._init=function(e){var t=this;this._parent=e,n.default(this).find(this._settings.collapseTrigger).click(function(){t.toggle()}),n.default(this).find(this._settings.maximizeTrigger).click(function(){t.toggleMaximize()}),n.default(this).find(this._settings.removeTrigger).click(function(){t.remove()})},e._jQueryInterface=function(t){var a=n.default(this).data("lte.cardwidget"),i=n.default.extend({},g,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data("lte.cardwidget","string"==typeof t?a:t)),"string"==typeof t&&/collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/.test(t)?a[t]():"object"==typeof t&&a._init(n.default(this))},e}();n.default(document).on("click",'[data-card-widget="collapse"]',function(e){e&&e.preventDefault(),p._jQueryInterface.call(n.default(this),"toggle")}),n.default(document).on("click",'[data-card-widget="remove"]',function(e){e&&e.preventDefault(),p._jQueryInterface.call(n.default(this),"remove")}),n.default(document).on("click",'[data-card-widget="maximize"]',function(e){e&&e.preventDefault(),p._jQueryInterface.call(n.default(this),"toggleMaximize")}),n.default.fn[f]=p._jQueryInterface,n.default.fn[f].Constructor=p,n.default.fn[f].noConflict=function(){return n.default.fn[f]=u,p._jQueryInterface};var m="ControlSidebar",v=n.default.fn[m],_={controlsidebarSlide:!0,scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l",target:".control-sidebar",animationSpeed:300},b=function(){function e(e,t){this._element=e,this._config=t}var t=e.prototype;return t.collapse=function(){var e=this,t=n.default("body"),a=n.default("html"),i=this._config.target;this._config.controlsidebarSlide?(a.addClass("control-sidebar-animate"),t.removeClass("control-sidebar-slide-open").delay(300).queue(function(){n.default(i).hide(),a.removeClass("control-sidebar-animate"),n.default(this).dequeue()})):t.removeClass("control-sidebar-open"),n.default(this._element).trigger(n.default.Event("collapsed.lte.controlsidebar")),setTimeout(function(){n.default(e._element).trigger(n.default.Event("collapsed-done.lte.controlsidebar"))},this._config.animationSpeed)},t.show=function(){var e=n.default("body"),t=n.default("html");this._config.controlsidebarSlide?(t.addClass("control-sidebar-animate"),n.default(this._config.target).show().delay(10).queue(function(){e.addClass("control-sidebar-slide-open").delay(300).queue(function(){t.removeClass("control-sidebar-animate"),n.default(this).dequeue()}),n.default(this).dequeue()})):e.addClass("control-sidebar-open"),this._fixHeight(),this._fixScrollHeight(),n.default(this._element).trigger(n.default.Event("expanded.lte.controlsidebar"))},t.toggle=function(){var e=n.default("body");e.hasClass("control-sidebar-open")||e.hasClass("control-sidebar-slide-open")?this.collapse():this.show()},t._init=function(){var e=this,t=n.default("body");t.hasClass("control-sidebar-open")||t.hasClass("control-sidebar-slide-open")?(n.default(".control-sidebar").not(this._config.target).hide(),n.default(this._config.target).css("display","block")):n.default(".control-sidebar").hide(),this._fixHeight(),this._fixScrollHeight(),n.default(window).resize(function(){e._fixHeight(),e._fixScrollHeight()}),n.default(window).scroll(function(){var t=n.default("body");(t.hasClass("control-sidebar-open")||t.hasClass("control-sidebar-slide-open"))&&e._fixScrollHeight()})},t._isNavbarFixed=function(){var e=n.default("body");return e.hasClass("layout-navbar-fixed")||e.hasClass("layout-sm-navbar-fixed")||e.hasClass("layout-md-navbar-fixed")||e.hasClass("layout-lg-navbar-fixed")||e.hasClass("layout-xl-navbar-fixed")},t._isFooterFixed=function(){var e=n.default("body");return e.hasClass("layout-footer-fixed")||e.hasClass("layout-sm-footer-fixed")||e.hasClass("layout-md-footer-fixed")||e.hasClass("layout-lg-footer-fixed")||e.hasClass("layout-xl-footer-fixed")},t._fixScrollHeight=function(){var e=n.default("body"),t=n.default(this._config.target);if(e.hasClass("layout-fixed")){var a={scroll:n.default(document).height(),window:n.default(window).height(),header:n.default(".main-header").outerHeight(),footer:n.default(".main-footer").outerHeight()},i=Math.abs(a.window+n.default(window).scrollTop()-a.scroll),o=n.default(window).scrollTop(),s=this._isNavbarFixed()&&"fixed"===n.default(".main-header").css("position"),l=this._isFooterFixed()&&"fixed"===n.default(".main-footer").css("position"),r=n.default(this._config.target+", "+this._config.target+" .control-sidebar-content");if(0===o&&0===i)t.css({bottom:a.footer,top:a.header}),r.css("height",a.window-(a.header+a.footer));else if(i<=a.footer)if(!1===l){var d=a.header-o;t.css("bottom",a.footer-i).css("top",d>=0?d:0),r.css("height",a.window-(a.footer-i))}else t.css("bottom",a.footer);else o<=a.header?!1===s?(t.css("top",a.header-o),r.css("height",a.window-(a.header-o))):t.css("top",a.header):!1===s?(t.css("top",0),r.css("height",a.window)):t.css("top",a.header);l&&s?(r.css("height","100%"),t.css("height","")):(l||s)&&(r.css("height","100%"),r.css("height",""))}},t._fixHeight=function(){var e=n.default("body"),t=n.default(this._config.target+" .control-sidebar-content");if(e.hasClass("layout-fixed")){var a=n.default(window).height(),i=n.default(".main-header").outerHeight(),o=n.default(".main-footer").outerHeight(),s=a-i;this._isFooterFixed()&&"fixed"===n.default(".main-footer").css("position")&&(s=a-i-o),t.css("height",s),void 0!==n.default.fn.overlayScrollbars&&t.overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}})}else t.attr("style","")},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.controlsidebar"),i=n.default.extend({},_,n.default(this).data());if(a||(a=new e(this,i),n.default(this).data("lte.controlsidebar",a)),"undefined"===a[t])throw new Error(t+" is not a function");a[t]()})},e}();n.default(document).on("click",'[data-widget="control-sidebar"]',function(e){e.preventDefault(),b._jQueryInterface.call(n.default(this),"toggle")}),n.default(document).ready(function(){b._jQueryInterface.call(n.default('[data-widget="control-sidebar"]'),"_init")}),n.default.fn[m]=b._jQueryInterface,n.default.fn[m].Constructor=b,n.default.fn[m].noConflict=function(){return n.default.fn[m]=v,b._jQueryInterface};var w="DirectChat",y=n.default.fn[w],C=function(){function e(e){this._element=e}return e.prototype.toggle=function(){n.default(this._element).parents(".direct-chat").first().toggleClass("direct-chat-contacts-open"),n.default(this._element).trigger(n.default.Event("toggled.lte.directchat"))},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.directchat");a||(a=new e(n.default(this)),n.default(this).data("lte.directchat",a)),a[t]()})},e}();n.default(document).on("click",'[data-widget="chat-pane-toggle"]',function(e){e&&e.preventDefault(),C._jQueryInterface.call(n.default(this),"toggle")}),n.default.fn[w]=C._jQueryInterface,n.default.fn[w].Constructor=C,n.default.fn[w].noConflict=function(){return n.default.fn[w]=y,C._jQueryInterface};var x="Dropdown",I=n.default.fn[x],T={},S=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.toggleSubmenu=function(){this._element.siblings().show().toggleClass("show"),this._element.next().hasClass("show")||this._element.parents(".dropdown-menu").first().find(".show").removeClass("show").hide(),this._element.parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",function(){n.default(".dropdown-submenu .show").removeClass("show").hide()})},t.fixPosition=function(){var e=n.default(".dropdown-menu.show");if(0!==e.length){e.hasClass("dropdown-menu-right")?e.css({left:"inherit",right:0}):e.css({left:0,right:"inherit"});var t=e.offset(),a=e.width(),i=n.default(window).width()-t.left;t.left<0?e.css({left:"inherit",right:t.left-5}):i<a&&e.css({left:"inherit",right:0})}},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.dropdown"),i=n.default.extend({},T,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data("lte.dropdown",a)),"toggleSubmenu"!==t&&"fixPosition"!==t||a[t]()})},e}();n.default('.dropdown-menu [data-toggle="dropdown"]').on("click",function(e){e.preventDefault(),e.stopPropagation(),S._jQueryInterface.call(n.default(this),"toggleSubmenu")}),n.default('.navbar [data-toggle="dropdown"]').on("click",function(e){e.preventDefault(),n.default(e.target).parent().hasClass("dropdown-submenu")||setTimeout(function(){S._jQueryInterface.call(n.default(this),"fixPosition")},1)}),n.default.fn[x]=S._jQueryInterface,n.default.fn[x].Constructor=S,n.default.fn[x].noConflict=function(){return n.default.fn[x]=I,S._jQueryInterface};var j="ExpandableTable",k=n.default.fn[j],Q=function(){function e(e,t){this._options=t,this._element=e}var t=e.prototype;return t.init=function(){n.default('[data-widget="expandable-table"]').each(function(e,t){var a=n.default(t).attr("aria-expanded"),i=n.default(t).next(".expandable-body").children().first().children();"true"===a?i.show():"false"===a&&(i.hide(),i.parent().parent().addClass("d-none"))})},t.toggleRow=function(){var e=this._element,t=e.attr("aria-expanded"),a=e.next(".expandable-body").children().first().children();a.stop(),"true"===t?(a.slideUp(500,function(){e.next(".expandable-body").addClass("d-none")}),e.attr("aria-expanded","false"),e.trigger(n.default.Event("collapsed.lte.expandableTable"))):"false"===t&&(e.next(".expandable-body").removeClass("d-none"),a.slideDown(500),e.attr("aria-expanded","true"),e.trigger(n.default.Event("expanded.lte.expandableTable")))},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.expandableTable");a||(a=new e(n.default(this)),n.default(this).data("lte.expandableTable",a)),"string"==typeof t&&/init|toggleRow/.test(t)&&a[t]()})},e}();n.default(".expandable-table").ready(function(){Q._jQueryInterface.call(n.default(this),"init")}),n.default(document).on("click",'[data-widget="expandable-table"]',function(){Q._jQueryInterface.call(n.default(this),"toggleRow")}),n.default.fn[j]=Q._jQueryInterface,n.default.fn[j].Constructor=Q,n.default.fn[j].noConflict=function(){return n.default.fn[j]=k,Q._jQueryInterface};var z="Fullscreen",H=n.default.fn[z],F={minimizeIcon:"fa-compress-arrows-alt",maximizeIcon:"fa-expand-arrows-alt"},E=function(){function e(e,t){this.element=e,this.options=n.default.extend({},F,t)}var t=e.prototype;return t.toggle=function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?this.windowed():this.fullscreen()},t.toggleIcon=function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?n.default('[data-widget="fullscreen"] i').removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon):n.default('[data-widget="fullscreen"] i').removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon)},t.fullscreen=function(){document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.webkitRequestFullscreen?document.documentElement.webkitRequestFullscreen():document.documentElement.msRequestFullscreen&&document.documentElement.msRequestFullscreen()},t.windowed=function(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},e._jQueryInterface=function(t){var a=n.default(this).data("lte.fullscreen");a||(a=n.default(this).data());var i=n.default.extend({},F,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data("lte.fullscreen","object"==typeof t?t:a),"string"==typeof t&&/toggle|toggleIcon|fullscreen|windowed/.test(t)?o[t]():o.init()},e}();n.default(document).on("click",'[data-widget="fullscreen"]',function(){E._jQueryInterface.call(n.default(this),"toggle")}),n.default(document).on("webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange",function(){E._jQueryInterface.call(n.default('[data-widget="fullscreen"]'),"toggleIcon")}),n.default.fn[z]=E._jQueryInterface,n.default.fn[z].Constructor=E,n.default.fn[z].noConflict=function(){return n.default.fn[z]=H,E._jQueryInterface};var L=n.default.fn.IFrame,D=".content-wrapper.iframe-mode .navbar-nav",R=".content-wrapper.iframe-mode .tab-content",A=R+" .tab-empty",M=R+" .tab-loading",q=R+" .tab-pane",O={onTabClick:function(e){return e},onTabChanged:function(e){return e},onTabCreated:function(e){return e},autoIframeMode:!0,autoItemActive:!0,autoShowNewTab:!0,autoDarkMode:!1,allowDuplicates:!1,allowReload:!0,loadingScreen:!0,useNavbarItems:!0,scrollOffset:40,scrollBehaviorSwap:!1,iconMaximize:"fa-expand",iconMinimize:"fa-compress"},N=function(){function e(e,t){this._config=t,this._element=e,this._init()}var t=e.prototype;return t.onTabClick=function(e){this._config.onTabClick(e)},t.onTabChanged=function(e){this._config.onTabChanged(e)},t.onTabCreated=function(e){this._config.onTabCreated(e)},t.createTab=function(e,t,a,i){var o=this,s="panel-"+a,l="tab-"+a;this._config.allowDuplicates&&(s+="-"+Math.floor(1e3*Math.random()),l+="-"+Math.floor(1e3*Math.random()));var r='<li class="nav-item" role="presentation"><a href="#" class="btn-iframe-close" data-widget="iframe-close" data-type="only-this"><i class="fas fa-times"></i></a><a class="nav-link" data-toggle="row" id="'+l+'" href="#'+s+'" role="tab" aria-controls="'+s+'" aria-selected="false">'+e+"</a></li>";n.default(D).append(unescape(escape(r)));var d='<div class="tab-pane fade" id="'+s+'" role="tabpanel" aria-labelledby="'+l+'"><iframe src="'+t+'"></iframe></div>';if(n.default(R).append(unescape(escape(d))),i)if(this._config.loadingScreen){var f=n.default(M);f.fadeIn(),n.default(s+" iframe").ready(function(){"number"==typeof o._config.loadingScreen?(o.switchTab("#"+l),setTimeout(function(){f.fadeOut()},o._config.loadingScreen)):(o.switchTab("#"+l),f.fadeOut())})}else this.switchTab("#"+l);this.onTabCreated(n.default("#"+l))},t.openTabSidebar=function(e,t){void 0===t&&(t=this._config.autoShowNewTab);var a=n.default(e).clone();void 0===a.attr("href")&&(a=n.default(e).parent("a").clone()),a.find(".right, .search-path").remove();var i=a.find("p").text();""===i&&(i=a.text());var o=a.attr("href");if("#"!==o&&""!==o&&void 0!==o){var s=o.replace("./","").replace(/["#&'./:=?[\]]/gi,"-").replace(/(--)/gi,""),l="tab-"+s;if(!this._config.allowDuplicates&&n.default("#"+l).length>0)return this.switchTab("#"+l,this._config.allowReload);(!this._config.allowDuplicates&&0===n.default("#"+l).length||this._config.allowDuplicates)&&this.createTab(i,o,s,t)}},t.switchTab=function(e,t){var a=this;void 0===t&&(t=!1);var i=n.default(e),o=i.attr("href");if(n.default(A).hide(),t){var s=n.default(M);this._config.loadingScreen?s.show(0,function(){n.default(o+" iframe").attr("src",n.default(o+" iframe").attr("src")).ready(function(){a._config.loadingScreen&&("number"==typeof a._config.loadingScreen?setTimeout(function(){s.fadeOut()},a._config.loadingScreen):s.fadeOut())})}):n.default(o+" iframe").attr("src",n.default(o+" iframe").attr("src"))}n.default(D+" .active").tab("dispose").removeClass("active"),this._fixHeight(),i.tab("show"),i.parents("li").addClass("active"),this.onTabChanged(i),this._config.autoItemActive&&this._setItemActive(n.default(o+" iframe").attr("src"))},t.removeActiveTab=function(e,t){if("all"==e)n.default(".content-wrapper.iframe-mode .navbar-nav .nav-item").remove(),n.default(q).remove(),n.default(A).show();else if("all-other"==e)n.default(".content-wrapper.iframe-mode .navbar-nav .nav-item:not(.active)").remove(),n.default(q+":not(.active)").remove();else if("only-this"==e){var a=n.default(t),i=a.parent(".nav-item"),o=i.parent(),s=i.index(),l=a.siblings(".nav-link").attr("aria-controls");if(i.remove(),n.default("#"+l).remove(),n.default(R).children().length==n.default(A+", "+M).length)n.default(A).show();else{var r=s-1;this.switchTab(o.children().eq(r).find("a.nav-link"))}}else{var d=n.default(".content-wrapper.iframe-mode .navbar-nav .nav-item.active"),f=d.parent(),u=d.index();if(d.remove(),n.default(q+".active").remove(),n.default(R).children().length==n.default(A+", "+M).length)n.default(A).show();else{var c=u-1;this.switchTab(f.children().eq(c).find("a.nav-link"))}}},t.toggleFullscreen=function(){n.default("body").hasClass("iframe-mode-fullscreen")?(n.default('[data-widget="iframe-fullscreen"] i').removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize),n.default("body").removeClass("iframe-mode-fullscreen"),n.default(A+", "+M).height("100%"),n.default(".content-wrapper").height("100%"),n.default(".content-wrapper iframe").height("100%")):(n.default('[data-widget="iframe-fullscreen"] i').removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize),n.default("body").addClass("iframe-mode-fullscreen")),n.default(window).trigger("resize"),this._fixHeight(!0)},t._init=function(){var e=n.default(R).children().length>2;if(this._setupListeners(),this._fixHeight(!0),e){var t=n.default(""+q).first();console.log(t);var a="#tab-"+t.attr("id").replace("panel-","");this.switchTab(a,!0)}},t._initFrameElement=function(){if(window.frameElement&&this._config.autoIframeMode){var e=n.default("body");e.addClass("iframe-mode"),this._config.autoDarkMode&&e.addClass("dark-mode")}},t._navScroll=function(e){var t=n.default(D).scrollLeft();n.default(D).animate({scrollLeft:t+e},250,"linear")},t._setupListeners=function(){var e=this;n.default(window).on("resize",function(){setTimeout(function(){e._fixHeight()},1)}),n.default(".content-wrapper").hasClass("iframe-mode")&&(n.default(document).on("click",".main-sidebar .nav-item > a.nav-link, .sidebar-search-results .list-group-item",function(t){t.preventDefault(),e.openTabSidebar(t.target)}),this._config.useNavbarItems&&n.default(document).on("click",".main-header .nav-item a.nav-link, .main-header a.dropdown-item",function(t){t.preventDefault(),e.openTabSidebar(t.target)})),n.default(document).on("click",".content-wrapper.iframe-mode .navbar-nav .nav-link",function(t){t.preventDefault(),e.onTabClick(t.target),e.switchTab(t.target)}),n.default(document).on("click",".content-wrapper.iframe-mode .navbar-nav .nav-link",function(t){t.preventDefault(),e.onTabClick(t.target),e.switchTab(t.target)}),n.default(document).on("click",'[data-widget="iframe-close"]',function(t){t.preventDefault();var a=t.target;"I"==a.nodeName&&(a=t.target.offsetParent),e.removeActiveTab(a.attributes["data-type"]?a.attributes["data-type"].nodeValue:null,a)}),n.default(document).on("click",'[data-widget="iframe-fullscreen"]',function(t){t.preventDefault(),e.toggleFullscreen()});var t=!1,a=null;n.default(document).on("mousedown",'[data-widget="iframe-scrollleft"]',function(n){n.preventDefault(),clearInterval(a);var i=e._config.scrollOffset;e._config.scrollBehaviorSwap||(i=-i),t=!0,e._navScroll(i),a=setInterval(function(){e._navScroll(i)},250)}),n.default(document).on("mousedown",'[data-widget="iframe-scrollright"]',function(n){n.preventDefault(),clearInterval(a);var i=e._config.scrollOffset;e._config.scrollBehaviorSwap&&(i=-i),t=!0,e._navScroll(i),a=setInterval(function(){e._navScroll(i)},250)}),n.default(document).on("mouseup",function(){t&&(t=!1,clearInterval(a),a=null)})},t._setItemActive=function(e){n.default(".main-sidebar .nav-item > a.nav-link, .main-header a.dropdown-item").removeClass("active"),n.default(".main-header .nav-item a.nav-link").parent().removeClass("active");var t=n.default('.main-header .nav-item a.nav-link[href$="'+e+'"]'),a=n.default('.main-header a.dropdown-item[href$="'+e+'"]'),i=n.default('.main-sidebar .nav-item > a.nav-link[href$="'+e+'"]');t.each(function(e,t){n.default(t).parent().addClass("active")}),a.each(function(e,t){n.default(t).addClass("active")}),i.each(function(e,t){n.default(t).addClass("active"),n.default(t).parents(".nav-treeview").prevAll(".nav-link").addClass("active")})},t._fixHeight=function(e){if(void 0===e&&(e=!1),n.default("body").hasClass("iframe-mode-fullscreen")){var t=n.default(window).height(),a=n.default(".content-wrapper.iframe-mode .nav").outerHeight();n.default(A+", "+M+", .content-wrapper iframe").height(t-a),n.default(".content-wrapper").height(t)}else{var i=parseFloat(n.default(".content-wrapper").css("height")),o=n.default(".content-wrapper.iframe-mode .nav").outerHeight();1==e?setTimeout(function(){n.default(A+", "+M).height(i-o)},50):n.default(".content-wrapper iframe").height(i-o)}},e._jQueryInterface=function(t){if(n.default('[data-widget="iframe"]').length>0){var a=n.default(this).data("lte.iframe");a||(a=n.default(this).data());var i=n.default.extend({},O,"object"==typeof t?t:a);localStorage.setItem("AdminLTE:IFrame:Options",JSON.stringify(i));var o=new e(n.default(this),i);n.default(this).data("lte.iframe","object"==typeof t?t:a),"string"==typeof t&&/createTab|openTabSidebar|switchTab|removeActiveTab/.test(t)&&o[t]()}else new e(n.default(this),JSON.parse(localStorage.getItem("AdminLTE:IFrame:Options")))._initFrameElement()},e}();n.default(window).on("load",function(){N._jQueryInterface.call(n.default('[data-widget="iframe"]'))}),n.default.fn.IFrame=N._jQueryInterface,n.default.fn.IFrame.Constructor=N,n.default.fn.IFrame.noConflict=function(){return n.default.fn.IFrame=L,N._jQueryInterface};var P=n.default.fn.Layout,U={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l",panelAutoHeight:!0,panelAutoHeightMode:"min-height",preloadDuration:200,loginRegisterAutoHeight:!0},B=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.fixLayoutHeight=function(e){void 0===e&&(e=null);var t=n.default("body"),a=0;(t.hasClass("control-sidebar-slide-open")||t.hasClass("control-sidebar-open")||"control_sidebar"===e)&&(a=n.default(".control-sidebar-content").outerHeight());var i={window:n.default(window).height(),header:n.default(".main-header").length>0&&!n.default("body").hasClass("layout-navbar-fixed")?n.default(".main-header").outerHeight():0,footer:n.default(".main-footer").length>0?n.default(".main-footer").outerHeight():0,sidebar:n.default(".main-sidebar .sidebar").length>0?n.default(".main-sidebar .sidebar").height():0,controlSidebar:a},o=this._max(i),s=this._config.panelAutoHeight;!0===s&&(s=0);var l=n.default(".content-wrapper");!1!==s&&(o===i.controlSidebar?l.css(this._config.panelAutoHeightMode,o+s):o===i.window?l.css(this._config.panelAutoHeightMode,o+s-i.header-i.footer):l.css(this._config.panelAutoHeightMode,o+s-i.header),this._isFooterFixed()&&l.css(this._config.panelAutoHeightMode,parseFloat(l.css(this._config.panelAutoHeightMode))+i.footer)),t.hasClass("layout-fixed")&&(void 0!==n.default.fn.overlayScrollbars?n.default(".main-sidebar .sidebar").overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}):n.default(".main-sidebar .sidebar").css("overflow-y","auto"))},t.fixLoginRegisterHeight=function(){var e=n.default("body"),t=n.default(".login-box, .register-box");if(e.hasClass("iframe-mode"))e.css("height","100%"),n.default(".wrapper").css("height","100%"),n.default("html").css("height","100%");else if(0===t.length)e.css("height","auto"),n.default("html").css("height","auto");else{var a=t.height();e.css(this._config.panelAutoHeightMode)!==a&&e.css(this._config.panelAutoHeightMode,a)}},t._init=function(){var e=this;this.fixLayoutHeight(),!0===this._config.loginRegisterAutoHeight?this.fixLoginRegisterHeight():this._config.loginRegisterAutoHeight===parseInt(this._config.loginRegisterAutoHeight,10)&&setInterval(this.fixLoginRegisterHeight,this._config.loginRegisterAutoHeight),n.default(".main-sidebar .sidebar").on("collapsed.lte.treeview expanded.lte.treeview",function(){e.fixLayoutHeight()}),n.default(".main-sidebar").on("mouseenter mouseleave",function(){n.default("body").hasClass("sidebar-collapse")&&e.fixLayoutHeight()}),n.default('[data-widget="pushmenu"]').on("collapsed.lte.pushmenu shown.lte.pushmenu",function(){setTimeout(function(){e.fixLayoutHeight()},300)}),n.default('[data-widget="control-sidebar"]').on("collapsed.lte.controlsidebar",function(){e.fixLayoutHeight()}).on("expanded.lte.controlsidebar",function(){e.fixLayoutHeight("control_sidebar")}),n.default(window).resize(function(){e.fixLayoutHeight()}),setTimeout(function(){n.default("body.hold-transition").removeClass("hold-transition")},50),setTimeout(function(){var e=n.default(".preloader");e&&(e.css("height",0),setTimeout(function(){e.children().hide()},200))},this._config.preloadDuration)},t._max=function(e){var t=0;return Object.keys(e).forEach(function(a){e[a]>t&&(t=e[a])}),t},t._isFooterFixed=function(){return"fixed"===n.default(".main-footer").css("position")},e._jQueryInterface=function(t){return void 0===t&&(t=""),this.each(function(){var a=n.default(this).data("lte.layout"),i=n.default.extend({},U,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data("lte.layout",a)),"init"===t||""===t?a._init():"fixLayoutHeight"!==t&&"fixLoginRegisterHeight"!==t||a[t]()})},e}();n.default(window).on("load",function(){B._jQueryInterface.call(n.default("body"))}),n.default(".main-sidebar .sidebar a").on("focusin",function(){n.default(".main-sidebar").addClass("sidebar-focused")}).on("focusout",function(){n.default(".main-sidebar").removeClass("sidebar-focused")}),n.default.fn.Layout=B._jQueryInterface,n.default.fn.Layout.Constructor=B,n.default.fn.Layout.noConflict=function(){return n.default.fn.Layout=P,B._jQueryInterface};var $="PushMenu",J=n.default.fn[$],W="#sidebar-overlay",V={autoCollapseSize:992,enableRemember:!1,noTransitionAfterReload:!0,animationSpeed:300},G=function(){function e(e,t){this._element=e,this._options=n.default.extend({},V,t),0===n.default(W).length&&this._addOverlay(),this._init()}var t=e.prototype;return t.expand=function(){var e=n.default("body");this._options.autoCollapseSize&&n.default(window).width()<=this._options.autoCollapseSize&&e.addClass("sidebar-open"),e.addClass("sidebar-is-opening").removeClass("sidebar-collapse sidebar-closed").delay(50).queue(function(){e.removeClass("sidebar-is-opening"),n.default(this).dequeue()}),this._options.enableRemember&&localStorage.setItem("remember.lte.pushmenu","sidebar-open"),n.default(this._element).trigger(n.default.Event("shown.lte.pushmenu"))},t.collapse=function(){var e=this,t=n.default("body");this._options.autoCollapseSize&&n.default(window).width()<=this._options.autoCollapseSize&&t.removeClass("sidebar-open").addClass("sidebar-closed"),t.addClass("sidebar-collapse"),this._options.enableRemember&&localStorage.setItem("remember.lte.pushmenu","sidebar-collapse"),n.default(this._element).trigger(n.default.Event("collapsed.lte.pushmenu")),setTimeout(function(){n.default(e._element).trigger(n.default.Event("collapsed-done.lte.pushmenu"))},this._options.animationSpeed)},t.toggle=function(){n.default("body").hasClass("sidebar-collapse")?this.expand():this.collapse()},t.autoCollapse=function(e){if(void 0===e&&(e=!1),this._options.autoCollapseSize){var t=n.default("body");n.default(window).width()<=this._options.autoCollapseSize?t.hasClass("sidebar-open")||this.collapse():!0===e&&(t.hasClass("sidebar-open")?t.removeClass("sidebar-open"):t.hasClass("sidebar-closed")&&this.expand())}},t.remember=function(){if(this._options.enableRemember){var e=n.default("body");"sidebar-collapse"===localStorage.getItem("remember.lte.pushmenu")?this._options.noTransitionAfterReload?e.addClass("hold-transition").addClass("sidebar-collapse").delay(50).queue(function(){n.default(this).removeClass("hold-transition"),n.default(this).dequeue()}):e.addClass("sidebar-collapse"):this._options.noTransitionAfterReload?e.addClass("hold-transition").removeClass("sidebar-collapse").delay(50).queue(function(){n.default(this).removeClass("hold-transition"),n.default(this).dequeue()}):e.removeClass("sidebar-collapse")}},t._init=function(){var e=this;this.remember(),this.autoCollapse(),n.default(window).resize(function(){e.autoCollapse(!0)})},t._addOverlay=function(){var e=this,t=n.default("<div />",{id:"sidebar-overlay"});t.on("click",function(){e.collapse()}),n.default(".wrapper").append(t)},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.pushmenu"),i=n.default.extend({},V,n.default(this).data());a||(a=new e(this,i),n.default(this).data("lte.pushmenu",a)),"string"==typeof t&&/collapse|expand|toggle/.test(t)&&a[t]()})},e}();n.default(document).on("click",'[data-widget="pushmenu"]',function(e){e.preventDefault();var t=e.currentTarget;"pushmenu"!==n.default(t).data("widget")&&(t=n.default(t).closest('[data-widget="pushmenu"]')),G._jQueryInterface.call(n.default(t),"toggle")}),n.default(window).on("load",function(){G._jQueryInterface.call(n.default('[data-widget="pushmenu"]'))}),n.default.fn[$]=G._jQueryInterface,n.default.fn[$].Constructor=G,n.default.fn[$].noConflict=function(){return n.default.fn[$]=J,G._jQueryInterface};var K="SidebarSearch",X=n.default.fn[K],Y='[data-widget="sidebar-search"]',Z={arrowSign:"->",minLength:3,maxResults:7,highlightName:!0,highlightPath:!1,highlightClass:"text-light",notFoundText:"No element found!"},ee=[],te=function(){function e(e,t){this.element=e,this.options=n.default.extend({},Z,t),this.items=[]}var a=e.prototype;return a.init=function(){var e=this;0!==n.default(Y).length&&(0===n.default(Y).next(".sidebar-search-results").length&&n.default(Y).after(n.default("<div />",{class:"sidebar-search-results"})),0===n.default(".sidebar-search-results").children(".list-group").length&&n.default(".sidebar-search-results").append(n.default("<div />",{class:"list-group"})),this._addNotFound(),n.default(".main-sidebar .nav-sidebar").children().each(function(t,a){e._parseItem(a)}))},a.search=function(){var e=this,t=n.default('[data-widget="sidebar-search"] .form-control').val().toLowerCase();if(t.length<this.options.minLength)return n.default(".sidebar-search-results .list-group").empty(),this._addNotFound(),void this.close();var a=ee.filter(function(e){return e.name.toLowerCase().includes(t)}),i=n.default(a.slice(0,this.options.maxResults));n.default(".sidebar-search-results .list-group").empty(),0===i.length?this._addNotFound():i.each(function(t,a){n.default(".sidebar-search-results .list-group").append(e._renderItem(escape(a.name),encodeURI(a.link),a.path))}),this.open()},a.open=function(){n.default(Y).parent().addClass("sidebar-search-open"),n.default('[data-widget="sidebar-search"] .btn i').removeClass("fa-search").addClass("fa-times")},a.close=function(){n.default(Y).parent().removeClass("sidebar-search-open"),n.default('[data-widget="sidebar-search"] .btn i').removeClass("fa-times").addClass("fa-search")},a.toggle=function(){n.default(Y).parent().hasClass("sidebar-search-open")?this.close():this.open()},a._parseItem=function(e,t){var a=this;if(void 0===t&&(t=[]),!n.default(e).hasClass("nav-header")){var i={},o=n.default(e).clone().find("> .nav-link"),s=n.default(e).clone().find("> .nav-treeview"),l=o.attr("href"),r=o.find("p").children().remove().end().text();if(i.name=this._trimText(r),i.link=l,i.path=t,0===s.length)ee.push(i);else{var d=i.path.concat([i.name]);s.children().each(function(e,t){a._parseItem(t,d)})}}},a._trimText=function(e){return t.trim(e.replace(/(\r\n|\n|\r)/gm," "))},a._renderItem=function(e,t,a){var i=this;if(a=a.join(" "+this.options.arrowSign+" "),e=unescape(e),t=decodeURI(t),this.options.highlightName||this.options.highlightPath){var o=n.default('[data-widget="sidebar-search"] .form-control').val().toLowerCase(),s=new RegExp(o,"gi");this.options.highlightName&&(e=e.replace(s,function(e){return'<strong class="'+i.options.highlightClass+'">'+e+"</strong>"})),this.options.highlightPath&&(a=a.replace(s,function(e){return'<strong class="'+i.options.highlightClass+'">'+e+"</strong>"}))}var l=n.default("<a/>",{href:t,class:"list-group-item"}),r=n.default("<div/>",{class:"search-title"}).html(e),d=n.default("<div/>",{class:"search-path"}).html(a);return l.append(r).append(d),l},a._addNotFound=function(){n.default(".sidebar-search-results .list-group").append(this._renderItem(this.options.notFoundText,"#",[]))},e._jQueryInterface=function(t){var a=n.default(this).data("lte.sidebar-search");a||(a=n.default(this).data());var i=n.default.extend({},Z,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data("lte.sidebar-search","object"==typeof t?t:a),"string"==typeof t&&/init|toggle|close|open|search/.test(t)?o[t]():o.init()},e}();n.default(document).on("click",'[data-widget="sidebar-search"] .btn',function(e){e.preventDefault(),te._jQueryInterface.call(n.default(Y),"toggle")}),n.default(document).on("keyup",'[data-widget="sidebar-search"] .form-control',function(e){return 38==e.keyCode?(e.preventDefault(),void n.default(".sidebar-search-results .list-group").children().last().focus()):40==e.keyCode?(e.preventDefault(),void n.default(".sidebar-search-results .list-group").children().first().focus()):void setTimeout(function(){te._jQueryInterface.call(n.default(Y),"search")},100)}),n.default(document).on("keydown",".sidebar-search-results .list-group",function(e){var t=n.default(":focus");38==e.keyCode&&(e.preventDefault(),t.is(":first-child")?t.siblings().last().focus():t.prev().focus()),40==e.keyCode&&(e.preventDefault(),t.is(":last-child")?t.siblings().first().focus():t.next().focus())}),n.default(window).on("load",function(){te._jQueryInterface.call(n.default(Y),"init")}),n.default.fn[K]=te._jQueryInterface,n.default.fn[K].Constructor=te,n.default.fn[K].noConflict=function(){return n.default.fn[K]=X,te._jQueryInterface};var ae="NavbarSearch",ne=n.default.fn[ae],ie={resetOnClose:!0,target:".navbar-search-block"},oe=function(){function e(e,t){this._element=e,this._config=n.default.extend({},ie,t)}var t=e.prototype;return t.open=function(){n.default(this._config.target).css("display","flex").hide().fadeIn().addClass("navbar-search-open"),n.default(this._config.target+" .form-control").focus()},t.close=function(){n.default(this._config.target).fadeOut().removeClass("navbar-search-open"),this._config.resetOnClose&&n.default(this._config.target+" .form-control").val("")},t.toggle=function(){n.default(this._config.target).hasClass("navbar-search-open")?this.close():this.open()},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.navbar-search"),i=n.default.extend({},ie,n.default(this).data());if(a||(a=new e(this,i),n.default(this).data("lte.navbar-search",a)),!/toggle|close|open/.test(t))throw new Error("Undefined method "+t);a[t]()})},e}();n.default(document).on("click",'[data-widget="navbar-search"]',function(e){e.preventDefault();var t=n.default(e.currentTarget);"navbar-search"!==t.data("widget")&&(t=t.closest('[data-widget="navbar-search"]')),oe._jQueryInterface.call(t,"toggle")}),n.default.fn[ae]=oe._jQueryInterface,n.default.fn[ae].Constructor=oe,n.default.fn[ae].noConflict=function(){return n.default.fn[ae]=ne,oe._jQueryInterface};var se=n.default.fn.Toasts,le="init.lte.toasts",re={position:"topRight",fixed:!0,autohide:!1,autoremove:!0,delay:1e3,fade:!0,icon:null,image:null,imageAlt:null,imageHeight:"25px",title:null,subtitle:null,close:!0,body:null,class:null},de=function(){function e(e,t){this._config=t,this._prepareContainer(),n.default("body").trigger(n.default.Event(le))}var t=e.prototype;return t.create=function(){var e=n.default('<div class="toast" role="alert" aria-live="assertive" aria-atomic="true"/>');e.data("autohide",this._config.autohide),e.data("animation",this._config.fade),this._config.class&&e.addClass(this._config.class),this._config.delay&&500!=this._config.delay&&e.data("delay",this._config.delay);var t=n.default('<div class="toast-header">');if(null!=this._config.image){var a=n.default("<img />").addClass("rounded mr-2").attr("src",this._config.image).attr("alt",this._config.imageAlt);null!=this._config.imageHeight&&a.height(this._config.imageHeight).width("auto"),t.append(a)}if(null!=this._config.icon&&t.append(n.default("<i />").addClass("mr-2").addClass(this._config.icon)),null!=this._config.title&&t.append(n.default("<strong />").addClass("mr-auto").html(this._config.title)),null!=this._config.subtitle&&t.append(n.default("<small />").html(this._config.subtitle)),1==this._config.close){var i=n.default('<button data-dismiss="toast" />').attr("type","button").addClass("ml-2 mb-1 close").attr("aria-label","Close").append('<span aria-hidden="true">&times;</span>');null==this._config.title&&i.toggleClass("ml-2 ml-auto"),t.append(i)}e.append(t),null!=this._config.body&&e.append(n.default('<div class="toast-body" />').html(this._config.body)),n.default(this._getContainerId()).prepend(e);var o=n.default("body");o.trigger(n.default.Event("created.lte.toasts")),e.toast("show"),this._config.autoremove&&e.on("hidden.bs.toast",function(){n.default(this).delay(200).remove(),o.trigger(n.default.Event("removed.lte.toasts"))})},t._getContainerId=function(){return"topRight"==this._config.position?"#toastsContainerTopRight":"topLeft"==this._config.position?"#toastsContainerTopLeft":"bottomRight"==this._config.position?"#toastsContainerBottomRight":"bottomLeft"==this._config.position?"#toastsContainerBottomLeft":void 0},t._prepareContainer=function(){if(0===n.default(this._getContainerId()).length){var e=n.default("<div />").attr("id",this._getContainerId().replace("#",""));"topRight"==this._config.position?e.addClass("toasts-top-right"):"topLeft"==this._config.position?e.addClass("toasts-top-left"):"bottomRight"==this._config.position?e.addClass("toasts-bottom-right"):"bottomLeft"==this._config.position&&e.addClass("toasts-bottom-left"),n.default("body").append(e)}this._config.fixed?n.default(this._getContainerId()).addClass("fixed"):n.default(this._getContainerId()).removeClass("fixed")},e._jQueryInterface=function(t,a){return this.each(function(){var i=n.default.extend({},re,a),o=new e(n.default(this),i);"create"===t&&o[t]()})},e}();n.default.fn.Toasts=de._jQueryInterface,n.default.fn.Toasts.Constructor=de,n.default.fn.Toasts.noConflict=function(){return n.default.fn.Toasts=se,de._jQueryInterface};var fe="TodoList",ue=n.default.fn[fe],ce={onCheck:function(e){return e},onUnCheck:function(e){return e}},he=function(){function e(e,t){this._config=t,this._element=e,this._init()}var t=e.prototype;return t.toggle=function(e){e.parents("li").toggleClass("done"),n.default(e).prop("checked")?this.check(e):this.unCheck(n.default(e))},t.check=function(e){this._config.onCheck.call(e)},t.unCheck=function(e){this._config.onUnCheck.call(e)},t._init=function(){var e=this,t=this._element;t.find("input:checkbox:checked").parents("li").toggleClass("done"),t.on("change","input:checkbox",function(t){e.toggle(n.default(t.target))})},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.todolist");a||(a=n.default(this).data());var i=n.default.extend({},ce,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data("lte.todolist","object"==typeof t?t:a),"init"===t&&o[t]()})},e}();n.default(window).on("load",function(){he._jQueryInterface.call(n.default('[data-widget="todo-list"]'))}),n.default.fn[fe]=he._jQueryInterface,n.default.fn[fe].Constructor=he,n.default.fn[fe].noConflict=function(){return n.default.fn[fe]=ue,he._jQueryInterface};var ge="Treeview",pe=n.default.fn[ge],me={trigger:'[data-widget="treeview"] .nav-link',animationSpeed:300,accordion:!0,expandSidebar:!1,sidebarButtonSelector:'[data-widget="pushmenu"]'},ve=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.init=function(){n.default(".nav-item.menu-open .nav-treeview.menu-open").css("display","block"),this._setupListeners()},t.expand=function(e,t){var a=this,i=n.default.Event("expanded.lte.treeview");if(this._config.accordion){var o=t.siblings(".menu-open").first(),s=o.find(".nav-treeview").first();this.collapse(s,o)}t.addClass("menu-is-opening"),e.stop().slideDown(this._config.animationSpeed,function(){t.addClass("menu-open"),n.default(a._element).trigger(i)}),this._config.expandSidebar&&this._expandSidebar()},t.collapse=function(e,t){var a=this,i=n.default.Event("collapsed.lte.treeview");t.removeClass("menu-is-opening menu-open"),e.stop().slideUp(this._config.animationSpeed,function(){n.default(a._element).trigger(i),e.find(".menu-open > .nav-treeview").slideUp(),e.find(".menu-open").removeClass("menu-is-opening menu-open")})},t.toggle=function(e){var t=n.default(e.currentTarget),a=t.parent(),i=a.find("> .nav-treeview");if(i.is(".nav-treeview")||(a.is(".nav-item")||(i=a.parent().find("> .nav-treeview")),i.is(".nav-treeview"))){e.preventDefault();var o=t.parents(".nav-item").first();o.hasClass("menu-open")?this.collapse(n.default(i),o):this.expand(n.default(i),o)}},t._setupListeners=function(){var e=this,t=void 0!==this._element.attr("id")?"#"+this._element.attr("id"):"";n.default(document).on("click",""+t+this._config.trigger,function(t){e.toggle(t)})},t._expandSidebar=function(){n.default("body").hasClass("sidebar-collapse")&&n.default(this._config.sidebarButtonSelector).PushMenu("expand")},e._jQueryInterface=function(t){return this.each(function(){var a=n.default(this).data("lte.treeview"),i=n.default.extend({},me,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data("lte.treeview",a)),"init"===t&&a[t]()})},e}();n.default(window).on("load.lte.treeview",function(){n.default('[data-widget="treeview"]').each(function(){ve._jQueryInterface.call(n.default(this),"init")})}),n.default.fn[ge]=ve._jQueryInterface,n.default.fn[ge].Constructor=ve,n.default.fn[ge].noConflict=function(){return n.default.fn[ge]=pe,ve._jQueryInterface},e.CardRefresh=d,e.CardWidget=p,e.ControlSidebar=b,e.DirectChat=C,e.Dropdown=S,e.ExpandableTable=Q,e.Fullscreen=E,e.IFrame=N,e.Layout=B,e.NavbarSearch=oe,e.PushMenu=G,e.SidebarSearch=te,e.Toasts=de,e.TodoList=he,e.Treeview=ve,Object.defineProperty(e,"__esModule",{value:!0})});
  $('.text-title-all').html($('noembed').html());