import{V as Vue}from"./vue.esm.ad4a16fe.js";import{E as Error}from"./Error.20e0c905.js";import{n as normalizeComponent}from"./plugin-vue2_normalizer.ed7092a9.js";const fontAwesome="",temboard="",_sfc_main={components:{error:Error},methods:{clear:function(){this.$refs.error.clear()},fromXHR:function(r){this.$refs.error.fromXHR(r)}}};var _sfc_render=function(){var o=this,e=o._self._c;return e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col col-xl-6 col-10"},[e("error",{ref:"error"})],1)])},_sfc_staticRenderFns=[],__component__=normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,!1,null,null,null,null);const ErrorRow=__component__.exports;window.errorApp=new Vue({el:"#errorApp",components:{error:ErrorRow},template:'<error ref="error"></error>'});window.clearError=function(){window.errorApp.$refs.error.clear()};window.showError=function(r){typeof r=="string"?window.errorApp.$refs.error.$refs.error.setHTML(r):window.errorApp.$refs.error.fromXHR(r)};$(()=>{var url=window.location,element=$("ul.nav a").filter(function(){return this.href==url||url.href.indexOf(this.href)==0}).addClass("active").parent().parent().addClass("in").parent();element.is("li")&&element.addClass("active"),eval(localStorage.getItem("sidebarCollapsed"))&&(document.body.className+="sidebar-collapsed"),$("#menu-collapse").click(function(r){r.preventDefault(),$(document.body).toggleClass("sidebar-collapsed"),localStorage.setItem("sidebarCollapsed",$(document.body).hasClass("sidebar-collapsed")),window.dispatchEvent(new Event("resize"))}),$('[data-toggle="popover"]').popover(),$('[data-toggle="tooltip"]').tooltip()});
