Files
librenms-librenms/html/js/app.js
2021-01-06 20:18:43 -06:00

1 line
42 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(self.webpackChunk=self.webpackChunk||[]).push([[773],{1585:(t,e,n)=>{"use strict";var a=n(538),s=n(7152);a.Z.use(s.Z);var i=new s.Z({locale:document.querySelector("html").getAttribute("lang"),fallbackLocale:"en",silentFallbackWarn:!0,silentTranslationWarn:!0,messages:window.vuei18nLocales}),r=n(9010),o=n.n(r),l=n(8314),c=n(9938),u=n.n(c),d=n(7907),p=n.n(d),v=n(9283);n(9147),window.Vue=n(538).Z;var f=n(6106);f.keys().map((function(t){return Vue.component(t.split("/").pop().split(".")[0],f(t).default)})),Vue.use(o()),Vue.use(l.ZP),Vue.component("v-select",u()),Vue.component("multiselect",p()),Vue.use(v.ZP),Vue.filter("ucfirst",(function(t){return t?(t=t.toString()).charAt(0).toUpperCase()+t.slice(1):""}));new Vue({el:"#app",i18n:i})},9147:(t,e,n)=>{window._=n(6486);try{window.Popper=n(8981).Z}catch(t){}window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),n(7097)},3234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".accordion-item-trigger-icon[data-v-af5cb116]{transition:transform .2s ease}.accordion-item-trigger.collapsed .accordion-item-trigger-icon[data-v-af5cb116]{transform:rotate(-90deg)}",""]);const i=s},6203:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"#settings-search[data-v-0db2ec2e]{border-radius:4px}#settings-search[data-v-0db2ec2e]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}ul.settings-list[data-v-0db2ec2e]{list-style-type:none}",""]);const i=s},1163:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".tab-content{width:100%}",""]);const i=s},9389:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".setting-container[data-v-64edb5ca]{margin-bottom:10px}",""]);const i=s},7014:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-6182757a]{margin-bottom:3px}.input-group-addon[data-v-6182757a]:not(.disabled){cursor:move}",""]);const i=s},5731:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".form-control[data-v-685cdc22]{padding-right:12px}",""]);const i=s},6777:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-946d0f4c]{padding-bottom:3px}",""]);const i=s},115:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"div[data-v-e69e1a5e]{color:red}",""]);const i=s},5558:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".authlevel[data-v-2e6100d1]{font-size:18px;text-align:left}.fa-minus-circle[data-v-2e6100d1]{cursor:pointer}.snmp3-add-button[data-v-2e6100d1]{margin-top:5px}",""]);const i=s},8842:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".panel.with-nav-tabs .panel-heading[data-v-6072cc1c]{padding:5px 5px 0}.panel.with-nav-tabs .nav-tabs[data-v-6072cc1c]{border-bottom:none}.panel.with-nav-tabs .nav-justified[data-v-6072cc1c]{margin-bottom:-1px}.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:hover{color:#777}.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c]:hover,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:hover{color:#777;background-color:#ddd;border-color:transparent}.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c]:hover{color:#555;background-color:#fff;border-color:#ddd #ddd transparent}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu[data-v-6072cc1c]{background-color:#f5f5f5;border-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]{color:#777}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]:hover{background-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c]:hover{color:#fff;background-color:#555}",""]);const i=s},2401:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".enter-active[data-v-00169edd],.leave-active[data-v-00169edd]{overflow:hidden;transition:height .2s linear}",""]);const i=s},5067:()=>{},7939:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"Accordion",props:{multiple:{type:Boolean,default:!1}},methods:{setActive:function(t){this.$children.forEach((function(e){e.slug()===t&&(e.isActive=!0)}))},activeChanged:function(t){this.multiple||this.$children.forEach((function(e){e.slug()!==t&&(e.isActive=!1)}))}},mounted:function(){this.$on("expanded",this.activeChanged)}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"panel-group",attrs:{role:"tablist"}},[t._t("default")],2)}),[],!1,null,"7626d1af",null).exports},2749:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"AccordionItem",props:{name:{type:String,required:!0},text:String,active:Boolean,icon:String},data:function(){return{isActive:this.active}},mounted:function(){window.location.hash===this.hash()&&(this.isActive=!0)},watch:{active:function(t){this.isActive=t},isActive:function(t){this.$parent.$emit(t?"expanded":"collapsed",this.slug())}},methods:{slug:function(){return this.name.toString().toLowerCase().replace(/\s+/g,"-")},hash:function(){return"#"+this.slug()}}};var s=n(3379),i=n.n(s),r=n(3234),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading",attrs:{role:"tab",id:t.slug()}},[n("h4",{staticClass:"panel-title"},[n("a",{staticClass:"accordion-item-trigger",class:{collapsed:!t.isActive},attrs:{role:"button","data-parent":"#accordion","data-href":t.hash()},on:{click:function(e){t.isActive=!t.isActive}}},[n("i",{staticClass:"fa fa-chevron-down accordion-item-trigger-icon"}),t._v(" "),t.icon?n("i",{class:["fa","fa-fw",t.icon]}):t._e(),t._v("\n "+t._s(t.text||t.name)+"\n ")])])]),t._v(" "),n("transition-collapse-height",[t.isActive?n("div",{class:["panel-collapse","collapse",{in:t.isActive}],attrs:{id:t.slug()+"-content",role:"tabpanel"}},[n("div",{staticClass:"panel-body"},[t._t("default")],2)]):t._e()])],1)}),[],!1,null,"af5cb116",null).exports},7360:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"BaseSetting",props:{name:{type:String,required:!0},value:{required:!0},disabled:Boolean,required:Boolean,pattern:String,options:{}}};const s=(0,n(1900).Z)(a,undefined,undefined,!1,null,null,null).exports},3953:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={mounted:function(){console.log("Component mounted.")}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Example Component")]),t._v(" "),n("div",{staticClass:"card-body"},[t._v("\n I'm an example component.\n ")])])])])])}],!1,null,null,null).exports},8585:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"LibrenmsSetting",props:{setting:{type:Object,required:!0},prefix:{type:String,default:"settings"},id:{required:!1}},data:function(){return{value:this.setting.value,feedback:""}},methods:{persistValue:function(t){var e=this;axios.put(route(this.prefix+".update",this.getRouteParams()),{value:t}).then((function(t){e.value=t.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),e.feedback="has-success",setTimeout((function(){return e.feedback=""}),3e3)})).catch((function(t){e.feedback="has-error",toastr.error(t.response.data.message);["text","email","password"].includes(e.setting.type)||(e.value=t.response.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),setTimeout((function(){return e.feedback=""}),3e3))}))},debouncePersistValue:_.debounce((function(t){this.persistValue(t)}),500),changeValue:function(t){["select","boolean","multiple"].includes(this.setting.type)?this.persistValue(t):this.debouncePersistValue(t),this.value=t},getUnits:function(){var t=this.prefix+".units."+this.setting.units;return this.$te(t)?this.$t(t):this.setting.units},getDescription:function(){var t=this.prefix+".settings."+this.setting.name+".description";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)?this.$t(t):this.setting.name},getHelp:function(){var t=this.$t(this.prefix+".settings."+this.setting.name+".help");return this.setting.overridden&&(t+="</p><p>"+this.$t(this.prefix+".readonly")),t},hasHelp:function(){var t=this.prefix+".settings."+this.setting.name+".help";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)},resetToDefault:function(){var t=this;axios.delete(route(this.prefix+".destroy",this.getRouteParams())).then((function(e){t.value=e.data.value,t.feedback="has-success",setTimeout((function(){return t.feedback=""}),3e3)})).catch((function(e){t.feedback="has-error",setTimeout((function(){return t.feedback=""}),3e3),toastr.error(e.response.data.message)}))},resetToInitial:function(){this.changeValue(this.setting.value)},showResetToDefault:function(){return!this.setting.overridden&&!_.isEqual(this.value,this.setting.default)},showUndo:function(){return!_.isEqual(this.setting.value,this.value)},getRouteParams:function(){var t=[this.setting.name];return this.id&&t.unshift(this.id),t},getComponent:function(){var t="Setting"+this.setting.type.toString().replace(/(-[a-z]|^[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}));return void 0!==Vue.options.components[t]?t:"SettingNull"}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["form-group","has-feedback",t.setting.class,t.feedback]},[n("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.setting.name},expression:"{ content: setting.name }"}],staticClass:"col-sm-5 control-label",attrs:{for:t.setting.name}},[t._v("\n "+t._s(t.getDescription())+"\n "),t.setting.units?n("span",[t._v("("+t._s(t.getUnits())+")")]):t._e()]),t._v(" "),n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:!!t.setting.disabled&&t.$t(this.prefix+".readonly")},expression:"{ content: setting.disabled ? $t(this.prefix + '.readonly') : false }"}],staticClass:"col-sm-5"},[n(t.getComponent(),{tag:"component",attrs:{value:t.value,name:t.setting.name,pattern:t.setting.pattern,disabled:t.setting.overridden,required:t.setting.required,options:t.setting.options},on:{input:function(e){return t.changeValue(e)},change:function(e){return t.changeValue(e)}}}),t._v(" "),n("span",{staticClass:"form-control-feedback"})],1),t._v(" "),n("div",{staticClass:"col-sm-2"},[n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Reset to default")},expression:"{ content: $t('Reset to default') }"}],staticClass:"btn btn-default",style:{opacity:t.showResetToDefault()?1:0},attrs:{type:"button"},on:{click:t.resetToDefault}},[n("i",{staticClass:"fa fa-refresh"})]),t._v(" "),n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Undo")},expression:"{ content: $t('Undo') }"}],staticClass:"btn btn-primary",style:{opacity:t.showUndo()?1:0},attrs:{type:"button"},on:{click:t.resetToInitial}},[n("i",{staticClass:"fa fa-undo"})]),t._v(" "),t.hasHelp()?n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.getHelp(),trigger:"hover click"},expression:"{content: getHelp(), trigger: 'hover click'}"}],staticClass:"fa fa-fw fa-lg fa-question-circle"}):t._e()])])}),[],!1,null,"55ffb6ad",null).exports},7302:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],a=!0,s=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}const i={name:"LibrenmsSettings",props:{prefix:String,initialTab:{type:String,default:"alerting"},initialSection:String,tabs:{type:Array}},data:function(){return{tab:this.initialTab,section:this.initialSection,search_phrase:"",settings:{}}},methods:{tabChanged:function(t){this.tab!==t&&(this.tab=t,this.section=null,this.updateUrl())},sectionExpanded:function(t){this.section=t,this.updateUrl()},sectionCollapsed:function(t){this.section===t&&(this.section=null,this.updateUrl())},updateUrl:function(){var t=this.tab;this.section&&(t+="/"+this.section),window.history.pushState(t,"",this.prefix+"/"+t)},handleBack:function(t){var e=a(t.state.split("/"),2);this.tab=e[0],this.section=e[1]},updateSetting:function(t,e){this.$set(this.settings[t],"value",e)},settingShown:function(t){var e=this,n=this.settings[t];return null===n.when||(n.when.hasOwnProperty("and")?n.when.and.reduce((function(t,n){return e.checkLogic(n)&&t}),!0):n.when.hasOwnProperty("or")?n.when.or.reduce((function(t,n){return e.checkLogic(n)||t}),!1):this.checkLogic(n.when))},translatedCompare:function(t,e,n){return this.$t(t+e).localeCompare(this.$t(t+n))},checkLogic:function(t){switch(t.operator){case"equals":return this.settings[t.setting].value===t.value;case"in":return t.value.includes(this.settings[t.setting].value);default:return!0}}},mounted:function(){var t=this;window.onpopstate=this.handleBack,axios.get(route("settings.list")).then((function(e){return t.settings=e.data}))},computed:{groups:function(){var t=this;if(_.isEmpty(this.settings)){var e={};return this.tabs.sort((function(e,n){return t.translatedCompare("settings.groups.",e,n)})).forEach((function(t){e[t]=[]})),e}for(var n={},a=0,s=Object.keys(this.settings);a<s.length;a++){var i=s[a],r=this.settings[i];r.name.includes(this.search_phrase)&&(r.group&&(r.group in n||(n[r.group]={}),r.section&&(r.section in n[r.group]||(n[r.group][r.section]=[]),n[r.group][r.section].push(r))))}var o={};return Object.keys(n).sort((function(e,n){return t.translatedCompare("settings.groups.",e,n)})).forEach((function(e){o[e]={},Object.keys(n[e]).sort((function(n,a){return t.translatedCompare("settings.sections."+e+".",n,a)})).forEach((function(t){o[e][t]=_.sortBy(n[e][t],"order").map((function(t){return t.name}))}))})),o}}};var r=n(3379),o=n.n(r),l=n(6203),c={insert:"head",singleton:!1};o()(l.Z,c);l.Z.locals;const u=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tabs",{attrs:{selected:this.tab},on:{"tab-selected":t.tabChanged},scopedSlots:t._u([{key:"header",fn:function(){return[n("form",{staticClass:"form-inline",on:{submit:function(t){t.preventDefault()}}},[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.search_phrase,expression:"search_phrase",modifiers:{trim:!0}}],staticClass:"form-control",attrs:{id:"settings-search",type:"search",placeholder:t.$t("Filter Settings")},domProps:{value:t.search_phrase},on:{input:function(e){e.target.composing||(t.search_phrase=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})])])]},proxy:!0}])},[t._v(" "),n("tab",{attrs:{name:"global",selected:"global"===t.tab,text:t.$t("settings.groups.global")}},[n("ul",{staticClass:"settings-list"},t._l(t.settings,(function(e){return n("li",[n("strong",[t._v(t._s(e.name))]),t._v(" "),n("code",[t._v(t._s(e.value))])])})),0)]),t._v(" "),t._l(t.groups,(function(e,a){return n("tab",{key:a,attrs:{name:a,selected:a===t.tab,text:t.$t("settings.groups."+a)}},[n("accordion",{on:{expanded:t.sectionExpanded,collapsed:t.sectionCollapsed}},t._l(t.groups[a],(function(e,s){return n("accordion-item",{key:s,attrs:{name:s,text:t.$t("settings.sections."+a+"."+s),active:s===t.section}},[n("form",{staticClass:"form-horizontal",on:{submit:function(t){t.preventDefault()}}},t._l(e,(function(e){return n("librenms-setting",{directives:[{name:"show",rawName:"v-show",value:t.settingShown(e),expression:"settingShown(setting)"}],key:e,attrs:{setting:t.settings[e]},on:{"setting-updated":function(e){return t.updateSetting(e.name,e.value)}}})})),1)])})),1)],1)}))],2)}),[],!1,null,"0db2ec2e",null).exports},6795:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});const a={name:"PollerSettings",props:{pollers:Object,settings:Object},data:function(){return{advanced:!1}}};var s=n(3379),i=n.n(s),r=n(1163),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;var l=n(9389),c={insert:"head",singleton:!1};i()(l.Z,c);l.Z.locals;const u=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v("\n "+t._s(t.$t("Poller Settings"))+"\n "),n("span",{staticClass:"pull-right"},[t._v("Advanced "),n("toggle-button",{model:{value:t.advanced,callback:function(e){t.advanced=e},expression:"advanced"}})],1)])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("vue-tabs",{attrs:{direction:"vertical",type:"pills"}},t._l(t.pollers,(function(e,a){return n("v-tab",{key:a,attrs:{title:e.poller_name}},t._l(t.settings[a],(function(a){return!a.advanced||t.advanced?n("div",{key:a.name,staticClass:"setting-container clearfix"},[n("librenms-setting",{attrs:{prefix:"poller.settings",setting:a,id:e.id}})],1):t._e()})),0)})),1)],1)])}),[],!1,null,"64edb5ca",null).exports},3874:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var a=n(7360),s=n(9980),i=n.n(s);const r={name:"SettingArray",mixins:[a.default],components:{draggable:i()},data:function(){return{localList:this.value,newItem:""}},methods:{addItem:function(){this.disabled||(this.localList.push(this.newItem),this.$emit("input",this.localList),this.newItem="")},removeItem:function(t){this.disabled||(this.localList.splice(t,1),this.$emit("input",this.localList))},updateItem:function(t,e){this.disabled||this.localList[t]===e||(this.localList[t]=e,this.$emit("input",this.localList))},dragged:function(){this.disabled||this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var o=n(3379),l=n.n(o),c=n(7014),u={insert:"head",singleton:!1};l()(c.Z,u);c.Z.locals;const d=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}]},[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("span",{class:["input-group-addon",t.disabled?"disabled":""]},[t._v(t._s(a+1)+".")]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:e},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),0),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addItem(e)},input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],1)}),[],!1,null,"6182757a",null).exports},6136:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingBoolean",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("toggle-button",{attrs:{name:t.name,value:t.value,sync:!0,required:t.required,disabled:t.disabled},on:{change:function(e){return t.$emit("change",e.value)}}})}),[],!1,null,"1887659c",null).exports},288:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingDashboardSelect",mixins:[n(7360).default],data:function(){return{ajaxData:{results:[]},default:{id:0,text:this.$t("No Default Dashboard")}}},mounted:function(){var t=this;axios.get(route("ajax.select.dashboard")).then((function(e){return t.ajaxData=e.data}))},computed:{localOptions:function(){return[this.default].concat(this.ajaxData.results)},selected:function(){var t=this;return 0===this.value?this.default:this.ajaxData.results.find((function(e){return e.id===t.value}))}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("v-select",{attrs:{options:t.localOptions,label:"text",clearable:!1,value:t.selected,required:t.required,disabled:t.disabled},on:{input:function(e){return t.$emit("input",e.id)}}})}),[],!1,null,"bfcfc78a",null).exports},518:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingDirectory",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"62a123fd",null).exports},4282:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingEmail",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"email",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"6a570371",null).exports},5724:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingExecutable",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"a969f868",null).exports},418:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingInteger",mixins:[n(7360).default],methods:{parseNumber:function(t){var e=parseFloat(t);return isNaN(e)?t:e}}};var s=n(3379),i=n.n(s),r=n(5731),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"number",name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){t.$emit("input",t.parseNumber(e.target.value))}}})}),[],!1,null,"685cdc22",null).exports},888:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingLdapGroups",mixins:[n(7360).default],data:function(){return{localList:this.value,newItem:"",newItemLevel:1}},methods:{addItem:function(){this.$set(this.localList,this.newItem,{level:this.newItemLevel}),this.newItem="",this.newItemLevel=1},removeItem:function(t){this.$delete(this.localList,t)},updateItem:function(t,e){var n=this;this.localList=Object.keys(this.localList).reduce((function(a,s){return a[s===t?e:s]=n.localList[s],a}),{})},updateLevel:function(t,e){this.$set(this.localList,t,{level:e})}},watch:{localList:function(){this.$emit("input",this.localList)}}};var s=n(3379),i=n.n(s),r=n(6777),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}],staticClass:"form-inline"},[t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:a},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),n("select",{staticClass:"form-control",on:{change:function(e){return t.updateLevel(a,e.target.value)}}},[n("option",{attrs:{value:"1"},domProps:{selected:1===e.level}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),n("option",{attrs:{value:"5"},domProps:{selected:5===e.level}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),n("option",{attrs:{value:"10"},domProps:{selected:10===e.level}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.newItemLevel,expression:"newItemLevel"}],staticClass:"form-control",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.newItemLevel=e.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),n("option",{attrs:{value:"5"}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),n("option",{attrs:{value:"10"}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],2)}),[],!1,null,"946d0f4c",null).exports},8062:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],a=!0,s=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw i}}return n}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}const o={name:"SettingMultiple",mixins:[n(7360).default],computed:{formattedValue:function(){var t;if(void 0===this.value)return[];var e=this.value.toString().split(",");return this.formatOptions((t=_).pick.apply(t,[this.options].concat(s(e))))},formattedOptions:function(){return this.formatOptions(this.options)}},methods:{formatOptions:function(t){return Object.entries(t).map((function(t){var e=a(t,2),n=e[0];return{label:e[1],value:n}}))},mutateInputEvent:function(t){return t.map((function(t){return t.value})).join(",")}}};const l=(0,n(1900).Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("multiselect",{attrs:{value:t.formattedValue,required:t.required,disabled:t.disabled,name:t.name,label:"label","track-by":"value",options:t.formattedOptions,"allow-empty":!1,multiple:!0},on:{input:function(e){t.$emit("input",t.mutateInputEvent(e))}}})],1)}),[],!1,null,"8a36c286",null).exports},7305:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingNull",props:["name"]};var s=n(3379),i=n.n(s),r=n(115),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("Invalid type for: "+t._s(t.name))])}),[],!1,null,"e69e1a5e",null).exports},5745:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingPassword",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"password",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"b4576b66",null).exports},9819:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingSelect",mixins:[n(7360).default],methods:{getText:function(t,e){var n="settings.settings.".concat(t,".options.").concat(e);return this.$te(n)?this.$t(n):e}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{staticClass:"form-control",attrs:{name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},t._l(t.options,(function(e,a){return n("option",{domProps:{value:a,selected:t.value===a,textContent:t._s(t.getText(t.name,e))}})})),0)}),[],!1,null,"108ca35b",null).exports},5578:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingSnmp3auth",mixins:[n(7360).default],data:function(){return{localList:this.value}},methods:{addItem:function(){this.localList.push({authlevel:"noAuthNoPriv",authalgo:"MD5",authname:"",authpass:"",cryptoalgo:"AES",cryptopass:""}),this.$emit("input",this.localList)},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e,n){this.localList[t][e]=n,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var s=n(3379),i=n.n(s),r=n(5558),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v(t._s(a+1)+". "),t.disabled?t._e():n("span",{staticClass:"pull-right text-danger",on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{on:{onsubmit:function(t){t.preventDefault()}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authlevel,expression:"item.authlevel"}],staticClass:"form-control",attrs:{id:"authlevel",disabled:t.disabled},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authlevel",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"noAuthNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.noAuthNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authPriv"))}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"auth"===e.authlevel.toString().substring(0,4),expression:"item.authlevel.toString().substring(0, 4) === 'auth'"}],attrs:{name:"algo",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.auth"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authalgo"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authalgo"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authalgo,expression:"item.authalgo"}],staticClass:"form-control",attrs:{id:"authalgo",name:"authalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"MD5"}},[t._v("MD5")]),t._v(" "),n("option",{attrs:{value:"SHA"}},[t._v("SHA")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authname"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authname"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authname"},domProps:{value:e.authname},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authpass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authpass"},domProps:{value:e.authpass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"authPriv"===e.authlevel,expression:"item.authlevel === 'authPriv'"}],attrs:{name:"crypt",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.crypto"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptoalgo"}},[t._v("Cryptoalgo")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.cryptoalgo,expression:"item.cryptoalgo"}],staticClass:"form-control",attrs:{id:"cryptoalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"cryptoalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"AES"}},[t._v("AES")]),t._v(" "),n("option",{attrs:{value:"DES"}},[t._v("DES")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptopass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"cryptopass"},domProps:{value:e.cryptopass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])])])])])])})),0),t._v(" "),t.disabled?t._e():n("div",{staticClass:"row snmp3-add-button"},[n("div",{staticClass:"col-sm-12"},[n("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.addItem()}}},[n("i",{staticClass:"fa fa-plus-circle"}),t._v(" "+t._s(t.$t("New")))])])])],1)}),[],!1,null,"2e6100d1",null).exports},4855:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingText",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"28baf02e",null).exports},8834:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"Tab",props:{name:{required:!0},text:String,selected:{type:Boolean,default:!1},icon:String},data:function(){return{isActive:this.selected}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"tab-pane",attrs:{role:"tabpanel",id:t.name}},[t._t("default")],2)}),[],!1,null,"387f82f4",null).exports},4498:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"Tabs",props:{selected:String},data:function(){return{tabs:[],activeTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.activeTab=this.selected},watch:{selected:function(t){this.activeTab=t},activeTab:function(t){this.tabs.forEach((function(e){return e.isActive=e.name===t})),this.$emit("tab-selected",t)}}};var s=n(3379),i=n.n(s),r=n(8842),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel with-nav-tabs panel-default"},[n("div",{staticClass:"panel-heading"},[n("ul",{staticClass:"nav nav-tabs",attrs:{role:"tablist"}},[t._l(t.tabs,(function(e){return n("li",{key:e.name,class:{active:e.isActive},attrs:{role:"presentation"}},[n("a",{attrs:{role:"tab","aria-controls":e.name},on:{click:function(n){t.activeTab=e.name}}},[e.icon?n("i",{class:["fa","fa-fw",e.icon]}):t._e(),t._v("\n "+t._s(e.text||e.name)+" \n ")])])})),t._v(" "),n("li",{staticClass:"pull-right"},[t._t("header")],2)],2)]),t._v(" "),n("div",{staticClass:"panel-body"},[t._t("default")],2)])])}),[],!1,null,"6072cc1c",null).exports},5467:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"TransitionCollapseHeight",methods:{beforeEnter:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height="0px"),t.style.display=null}))},enter:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height=t.scrollHeight+"px"}))}))},afterEnter:function(t){t.style.height=null},beforeLeave:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height=t.offsetHeight+"px")}))},leave:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height="0px"}))}))},afterLeave:function(t){t.style.height=null}}};var s=n(3379),i=n.n(s),r=n(2401),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("transition",{attrs:{"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[t._t("default")],2)}),[],!1,null,"00169edd",null).exports},6106:(t,e,n)=>{var a={"./components/Accordion.vue":7939,"./components/AccordionItem.vue":2749,"./components/BaseSetting.vue":7360,"./components/ExampleComponent.vue":3953,"./components/LibrenmsSetting.vue":8585,"./components/LibrenmsSettings.vue":7302,"./components/PollerSettings.vue":6795,"./components/SettingArray.vue":3874,"./components/SettingBoolean.vue":6136,"./components/SettingDashboardSelect.vue":288,"./components/SettingDirectory.vue":518,"./components/SettingEmail.vue":4282,"./components/SettingExecutable.vue":5724,"./components/SettingInteger.vue":418,"./components/SettingLdapGroups.vue":888,"./components/SettingMultiple.vue":8062,"./components/SettingNull.vue":7305,"./components/SettingPassword.vue":5745,"./components/SettingSelect.vue":9819,"./components/SettingSnmp3auth.vue":5578,"./components/SettingText.vue":4855,"./components/Tab.vue":8834,"./components/Tabs.vue":4498,"./components/TransitionCollapseHeight.vue":5467};function s(t){var e=i(t);return n(e)}function i(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}s.keys=function(){return Object.keys(a)},s.resolve=i,t.exports=s,s.id=6106}},0,[[1585,929,898],[5067,929,898]]]);