dashy/js/app.7816ff05.js

2 lines
83 KiB
JavaScript

(function(t){function e(e){for(var s,i,r=e[0],c=e[1],l=e[2],u=0,p=[];u<r.length;u++)i=r[u],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(s in c)Object.prototype.hasOwnProperty.call(c,s)&&(t[s]=c[s]);d&&d(e);while(p.length)p.shift()();return n.push.apply(n,l||[]),a()}function a(){for(var t,e=0;e<n.length;e++){for(var a=n[e],s=!0,i=1;i<a.length;i++){var c=a[i];0!==o[c]&&(s=!1)}s&&(n.splice(e--,1),t=r(r.s=a[0]))}return t}var s={},o={app:0},n=[];function i(t){return r.p+"js/"+({about:"about"}[t]||t)+"."+{about:"758b1971"}[t]+".js"}function r(e){if(s[e])return s[e].exports;var a=s[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.e=function(t){var e=[],a=o[t];if(0!==a)if(a)e.push(a[2]);else{var s=new Promise((function(e,s){a=o[t]=[e,s]}));e.push(a[2]=s);var n,c=document.createElement("script");c.charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.src=i(t);var l=new Error;n=function(e){c.onerror=c.onload=null,clearTimeout(u);var a=o[t];if(0!==a){if(a){var s=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src;l.message="Loading chunk "+t+" failed.\n("+s+": "+n+")",l.name="ChunkLoadError",l.type=s,l.request=n,a[1](l)}o[t]=void 0}};var u=setTimeout((function(){n({type:"timeout",target:c})}),12e4);c.onerror=c.onload=n,document.head.appendChild(c)}return Promise.all(e)},r.m=t,r.c=s,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)r.d(a,s,function(e){return t[e]}.bind(null,s));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r.oe=function(t){throw console.error(t),t};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],l=c.push.bind(c);c.push=e,c=c.slice();for(var u=0;u<c.length;u++)e(c[u]);var d=l;n.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"0278":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-trash-alt fa-w-14",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"trash-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M268 416h24a12 12 0 0012-12V188a12 12 0 00-12-12h-24a12 12 0 00-12 12v216a12 12 0 0012 12zM432 80h-82.41l-34-56.7A48 48 0 00274.41 0H173.59a48 48 0 00-41.16 23.3L98.41 80H16A16 16 0 000 96v16a16 16 0 0016 16h16v336a48 48 0 0048 48h288a48 48 0 0048-48V128h16a16 16 0 0016-16V96a16 16 0 00-16-16zM171.84 50.91A6 6 0 01177 48h94a6 6 0 015.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0012-12V188a12 12 0 00-12-12h-24a12 12 0 00-12 12v216a12 12 0 0012 12z"}})]))}}},"07b7":function(t,e,a){"use strict";a("b34d")},"082b":function(t,e,a){},"0849":function(t,e,a){},"0c02":function(t,e,a){},1:function(t,e){},10:function(t,e){},11:function(t,e){},12:function(t,e){},13:function(t,e){},14:function(t,e){},1864:function(t,e,a){},"18dd":function(t,e,a){},"192d":function(t,e,a){"use strict";a("33e0")},1946:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-clone fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"clone",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z"}})]))}}},"1d47":function(t,e,a){"use strict";a("8b35")},"1e5e":function(t,e,a){},2:function(t,e){},2352:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-window-maximize fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"window-maximize",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"}})]))}}},"237e":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-external-link-alt fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"external-link-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M432 320h-32a16 16 0 00-16 16v112H64V128h144a16 16 0 0016-16V80a16 16 0 00-16-16H48a48 48 0 00-48 48v352a48 48 0 0048 48h352a48 48 0 0048-48V336a16 16 0 00-16-16zM488 0H360c-21.37 0-32.05 25.91-17 41l35.73 35.73L135 320.37a24 24 0 000 34L157.67 377a24 24 0 0034 0l243.61-243.68L471 169c15 15 41 4.5 41-17V24a24 24 0 00-24-24z"}})]))}}},"27c1":function(t,e,a){},"2c69":function(t,e,a){},"2d25":function(t,e,a){"use strict";a("0849")},"2f3c":function(t,e,a){},"2f87":function(t,e,a){"use strict";a("54fd")},3:function(t,e){},3323:function(t,e,a){},"33e0":function(t,e,a){},"35c3":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-wrench fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"wrench",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}})]))}}},"3a1e":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-upload fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fal","data-icon":"upload",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M452 432c0 11-9 20-20 20s-20-9-20-20 9-20 20-20 20 9 20 20zm-84-20c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20zm144-48v104c0 24.3-19.7 44-44 44H44c-24.3 0-44-19.7-44-44V364c0-24.3 19.7-44 44-44h124v-99.3h-52.7c-35.6 0-53.4-43.1-28.3-68.3L227.7 11.7c15.6-15.6 40.9-15.6 56.6 0L425 152.4c25.2 25.2 7.3 68.3-28.3 68.3H344V320h124c24.3 0 44 19.7 44 44zM200 188.7V376c0 4.4 3.6 8 8 8h96c4.4 0 8-3.6 8-8V188.7h84.7c7.1 0 10.7-8.6 5.7-13.7L261.7 34.3c-3.1-3.1-8.2-3.1-11.3 0L109.7 175c-5 5-1.5 13.7 5.7 13.7H200zM480 364c0-6.6-5.4-12-12-12H344v24c0 22.1-17.9 40-40 40h-96c-22.1 0-40-17.9-40-40v-24H44c-6.6 0-12 5.4-12 12v104c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12V364z"}})]))}}},4:function(t,e){},4239:function(t,e,a){"use strict";a("2c69")},"47d9":function(t,e,a){"use strict";a("ef83")},"4ade":function(t,e,a){"use strict";a("97fb")},5:function(t,e){},"51b7":function(t,e,a){"use strict";a("8e4e")},"54fd":function(t,e,a){},5509:function(t,e,a){"use strict";a("7c09")},"56d7":function(t,e,a){"use strict";a.r(e);var s=a("2b0e"),o=a("e37d"),n=a("1881"),i=a.n(n),r=a("4a7a"),c=a.n(r),l=a("7181"),u=a("a65d"),d=a.n(u),p=a("5cc6"),h=a.n(p),m=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"dashy","data-theme":"dark"}},[a("Header",{attrs:{pageInfo:t.pageInfo}}),a("router-view"),t.showFooter?a("Footer",{attrs:{text:t.getFooterText()}}):t._e()],1)},f=[],g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",[t.titleVisible?a("PageTitle",{attrs:{title:t.pageInfo.title,description:t.pageInfo.description}}):t._e(),t.navVisible?a("Nav",{staticClass:"nav",attrs:{links:t.pageInfo.navLinks}}):t._e()],1)},v=[],y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-titles"},[a("h1",[t._v(t._s(t.title))]),a("span",{staticClass:"subtitle"},[t._v(t._s(t.description))])])},b=[],C={name:"PageTitle",props:{title:String,description:String}},S=C,w=(a("bd96"),a("2877")),I=Object(w["a"])(S,y,b,!1,null,"290d21a8",null),_=I.exports,k=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("nav",{attrs:{id:"nav"}},t._l(t.links,(function(e,s){return a("router-link",{key:s,staticClass:"nav-item",attrs:{to:e.path,href:e.path,target:t.isUrl(e.path)?"_blank":"",rel:"noopener noreferrer"}},[t._v(t._s(e.title))])})),1)},x=[],O={name:"Nav",props:{links:Array},methods:{isUrl:t=>new RegExp(/(http|https):\/\/(\S+)(:[0-9]+)?/).test(t)}},E=O,T=(a("d16d"),Object(w["a"])(E,k,x,!1,null,"68c1bd5c",null)),z=T.exports,L={name:"Header",components:{PageTitle:_,Nav:z},props:{pageInfo:Object},data(){return{hiddenComponents:this.pageInfo.hiddenComponents||{},titleVisible:p["visibleComponents"].pageTitle,navVisible:p["visibleComponents"].navigation}}},N=L,M=(a("4239"),Object(w["a"])(N,g,v,!1,null,"70a33270",null)),H=M.exports,P=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.text&&""!==t.text?a("footer",[t._v(t._s(t.text))]):a("footer",[t._v(" Developed by "),a("a",{attrs:{href:t.authorUrl}},[t._v(t._s(t.authorName))]),t._v(". Licensed under "),a("a",{attrs:{href:t.licenseUrl}},[t._v(t._s(t.license))]),t._v(" "+t._s(t.showCopyright?"©":"")+" "+t._s(t.date)+". Get the "),a("a",{attrs:{href:t.repoUrl}},[t._v("Source Code")]),t._v(". ")])},A=[],j={name:"Footer",props:{authorName:{type:String,default:"Alicia Sykes"},authorUrl:{type:String,default:"https://aliciasykes.com"},license:{type:String,default:"MIT"},licenseUrl:{type:String,default:"https://gist.github.com/Lissy93/143d2ee01ccc5c052a17"},date:{type:String,default:""+(new Date).getFullYear()},showCopyright:{type:Boolean,default:!0},repoUrl:{type:String,default:"https://github.com/lissy93/panel"},text:String}},B=j,$=(a("07b7"),Object(w["a"])(B,P,A,!1,null,"668274c3",null)),V=$.exports,D=a("8b8e"),K=a.n(D),F={name:"app",components:{Header:H,Footer:V},data:()=>({showFooter:h.a.visibleComponents.footer}),computed:{pageInfo(){return this.getPageInfo(K.a.pageInfo)},appConfig(){return localStorage[p["localStorageKeys"].APP_CONFIG]?JSON.parse(localStorage[p["localStorageKeys"].APP_CONFIG]):K.a.appConfig?K.a.appConfig:h.a.appConfig}},methods:{getPageInfo(t){const e=h.a.pageInfo;let a;try{a=JSON.parse(localStorage[p["localStorageKeys"].PAGE_INFO])}catch(s){a={}}return t?{title:a.title||t.title||e.title,description:a.description||t.description||e.description,navLinks:a.navLinks||t.navLinks||e.navLinks,footerText:a.footerText||t.footerText||e.footerText}:e},getFooterText(){return this.pageInfo&&this.pageInfo.footerText?this.pageInfo.footerText:""},injectCustomStyles(t){const e=document.createElement("style");e.textContent=t,document.head.append(e)}},mounted(){if(this.appConfig.customCss){const t=this.appConfig.customCss.replace(/<\/?[^>]+(>|$)/g,"");this.injectCustomStyles(t)}}},U=F,R=(a("5c0b"),Object(w["a"])(U,m,f,!1,null,null,null)),J=R.exports,G=a("8c4f"),q=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home",style:t.getBackgroundImage()},[a("SettingsContainer",{ref:"filterComp",staticClass:"filter-container",attrs:{displayLayout:t.layout,iconSize:t.itemSizeBound,availableThemes:t.getExternalCSSLinks(),sections:t.getSections(t.sections),appConfig:t.appConfig,pageInfo:t.pageInfo,modalOpen:t.modalOpen},on:{"user-is-searchin":t.searching,"change-display-layout":t.setLayoutOrientation,"change-icon-size":t.setItemSize,"change-modal-visibility":t.updateModalVisibility}}),t.checkTheresData(t.sections)?a("div",{class:"item-group-container orientation-"+t.layout+" item-size-"+t.itemSizeBound},t._l(t.getSections(t.sections),(function(e,s){return a("ItemGroup",{key:s,class:0===t.filterTiles(e.items).length&&t.searchValue?"no-results":"",attrs:{title:e.name,icon:e.icon||void 0,displayData:t.getDisplayData(e),groupId:"section-"+s,items:t.filterTiles(e.items),itemSize:t.itemSizeBound},on:{itemClicked:function(e){return t.finishedSearching()},"change-modal-visibility":t.updateModalVisibility}})})),1):t._e(),t.checkIfResults()?a("div",{staticClass:"no-data"},[t._v(" "+t._s(t.searchValue?"No Search Results":"No Data Configured")+" ")]):t._e()],1)},Y=[],W=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t.searchVisible?a("SearchBar",{ref:"SearchBar",attrs:{active:!t.modalOpen},on:{"user-is-searchin":t.userIsTypingSomething}}):t._e(),a("div",{staticClass:"options-outer"},[a("div",{class:"options-container "+(t.settingsVisible?"":"hide")},[a("ThemeSelector",{attrs:{themes:t.availableThemes,confTheme:t.getInitialTheme(),userThemes:t.getUserThemes()}}),a("LayoutSelector",{attrs:{displayLayout:t.displayLayout},on:{layoutUpdated:t.updateDisplayLayout}}),a("ItemSizeSelector",{attrs:{iconSize:t.iconSize},on:{iconSizeUpdated:t.updateIconSize}}),a("ConfigLauncher",{attrs:{sections:t.sections,pageInfo:t.pageInfo,appConfig:t.appConfig},on:{modalChanged:t.modalChanged}})],1),a("div",{class:"show-hide-container "+(t.settingsVisible?"hide-btn":"show-btn")},[a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:(t.settingsVisible?"Hide":"Open")+" Settings Menu",expression:"`${settingsVisible? 'Hide' : 'Open'} Settings Menu`"}],attrs:{tabindex:"-2"},on:{click:function(e){return t.toggleSettingsVisibility()}}},[t.settingsVisible?a("IconClose"):a("IconOpen")],1)])]),a("KeyboardShortcutInfo")],1)},Z=[],X=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("form",[a("label",{attrs:{for:"filter-tiles"}},[t._v("Search")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"filter",attrs:{id:"filter-tiles",placeholder:"Start typing to filter..."},domProps:{value:t.input},on:{input:[function(e){e.target.composing||(t.input=e.target.value)},t.userIsTypingSomething],keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.clearFilterInput.apply(null,arguments)}}}),t.input.length>0?a("i",{staticClass:"clear-search",attrs:{title:"Clear search"},on:{click:t.clearFilterInput}},[t._v("x")]):t._e()])},Q=[];class tt{constructor(t){this.index=t}resetIndex(){this.index=0}arrowNavigation(t){void 0===this.index?this.index=0:37===t?this.index-=1:38===t?this.index=tt.goToPrevious(this.index):39===t?this.index+=1:40===t&&(this.index=tt.goToNext(this.index)),this.index=tt.getSafeElementIndex(this.index),tt.selectItemByIndex(this.index).focus()}static getNumResults(){return document.getElementsByClassName("item").length}static getSafeElementIndex(t){const e=tt.getNumResults();return t<0?e-1:t>=e?0:t}static selectItemByIndex(t){return t>=0&&t<=tt.getNumResults()?document.getElementsByClassName("item")[t]:[document.getElementsByClassName("item")]}static findPreviousRow(t){const e=(t,e)=>tt.selectItemByIndex(t).offsetTop===e,a=(t,s)=>t>=tt.getNumResults()?a(0,s):e(t,s)?a(t-1,s):t,s=tt.selectItemByIndex(t).offsetTop;return a(t,s)}static goToPrevious(t){const e=(t,e)=>tt.selectItemByIndex(t).offsetTop<tt.selectItemByIndex(e).offsetTop,a=tt.findPreviousRow(t),s=a-t,o=a-tt.findNextRow(t)+1,n=e(t,a)?0:o-s;return a+n}static findNextRow(t){const e=(t,e)=>tt.selectItemByIndex(t).offsetTop===e,a=(t,s)=>t>=tt.getNumResults()?a(0,s):e(t,s)?a(t+1,s):t,s=tt.selectItemByIndex(t).offsetTop;return a(t,s)}static goToNext(t){const e=(t,e)=>tt.selectItemByIndex(t).offsetTop>tt.selectItemByIndex(e).offsetTop,a=tt.findNextRow(t),s=a-t,o=a-tt.findPreviousRow(t)-1,n=e(t,a)?0:o-s;return a+n}}var et={name:"FilterTile",props:{active:Boolean},data(){return{input:"",akn:new tt}},mounted(){window.addEventListener("keydown",t=>{const e=document.activeElement.id,{key:a,keyCode:s}=t;this.active&&(/^[a-zA-Z]$/.test(a)&&"filter-tiles"!==e?(this.$refs.filter.focus(),this.userIsTypingSomething()):s>=37&&s<=40?this.akn.arrowNavigation(s):27===s&&this.clearFilterInput())})},methods:{userIsTypingSomething(){this.$emit("user-is-searchin",this.input)},clearFilterInput(){this.input="",this.userIsTypingSomething(),document.activeElement.blur(),this.akn.resetIndex()}}},at=et,st=(a("d8c4"),Object(w["a"])(at,X,Q,!1,null,"4039a28b",null)),ot=st.exports,nt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"config-options"},[a("span",[t._v("Config")]),a("div",{staticClass:"config-buttons"},[a("IconSpanner",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Update configuration locally"),expression:"tooltip('Update configuration locally')"}],attrs:{tabindex:"-2"},on:{click:function(e){return t.showEditor()}}}),a("IconCloud",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Backup / restore cloud config"),expression:"tooltip('Backup / restore cloud config')"}],attrs:{tabindex:"-2"},on:{click:function(e){return t.showCloudModal()}}})],1),a("modal",{attrs:{name:t.modalNames.CONF_EDITOR,resizable:!0,width:"60%",height:"80%"},on:{closed:function(e){return t.$emit("modalChanged",!1)}}},[a("ConfigContainer",{attrs:{config:t.combineConfig()}})],1),a("modal",{attrs:{name:t.modalNames.CLOUD_BACKUP,resizable:!0,width:"65%",height:"60%"},on:{closed:function(e){return t.$emit("modalChanged",!1)}}},[a("CloudBackupRestore",{attrs:{config:t.combineConfig()}})],1)],1)},it=[],rt=a("35c3"),ct=a.n(rt),lt=a("6780"),ut=a.n(lt),dt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Tabs",{ref:"tabView",attrs:{navAuto:!0,name:"Add Item"}},[a("TabItem",{staticClass:"main-tab",attrs:{name:"Config"}},[a("div",{staticClass:"main-options-container"},[a("h2",[t._v("Configuration Options")]),a("a",{staticClass:"hyperlink-wrapper",attrs:{href:"/conf.yml",download:""}},[a("button",{staticClass:"config-button center"},[a("DownloadIcon",{staticClass:"button-icon"}),t._v(" Download Config ")],1)]),a("button",{staticClass:"config-button center",on:{click:function(e){return t.goToEdit()}}},[a("EditIcon",{staticClass:"button-icon"}),t._v(" Edit Sections ")],1),a("button",{staticClass:"config-button center",on:{click:function(e){return t.goToMetaEdit()}}},[a("MetaDataIcon",{staticClass:"button-icon"}),t._v(" Edit Meta Data ")],1),a("button",{staticClass:"config-button center",on:{click:function(e){return t.goToCustomCss()}}},[a("CustomCssIcon",{staticClass:"button-icon"}),t._v(" Edit Custom CSS ")],1),a("button",{staticClass:"config-button center",on:{click:function(e){return t.openCloudSync()}}},[a("CloudIcon",{staticClass:"button-icon"}),t._v(" "+t._s(t.backupId?"Edit Cloud Sync":"Enable Cloud Sync")+" ")],1),a("button",{staticClass:"config-button center",on:{click:function(e){return t.resetLocalSettings()}}},[a("DeleteIcon",{staticClass:"button-icon"}),t._v(" Reset Local Settings ")],1),a("p",{staticClass:"small-screen-note",staticStyle:{display:"none"}},[t._v(" You are using a very small screen, and some screens in this menu may not be optimal ")]),a("div",{staticClass:"config-note"},[a("p",{staticClass:"sub-title"},[t._v("Note:")]),a("span",[t._v(" All changes made here are stored locally. To apply globally, either export your config into your conf.yml file, or use the cloud backup/ restore feature. ")])])])]),a("TabItem",{staticClass:"code-container",attrs:{name:"Backup Config"}},[a("pre",{attrs:{id:"conf-yaml"}},[t._v(t._s(this.jsonParser(this.config)))]),a("div",{staticClass:"yaml-action-buttons"},[a("h2",[t._v("Actions")]),a("a",{staticClass:"yaml-button download",attrs:{href:"/conf.yml",download:""}},[t._v("Download Config")]),a("a",{staticClass:"yaml-button copy",on:{click:function(e){return t.copyConfigToClipboard()}}},[t._v("Copy Config")]),a("a",{staticClass:"yaml-button reset",on:{click:function(e){return t.resetLocalSettings()}}},[t._v("Reset Config")])])]),a("TabItem",{attrs:{name:"Edit Sections"}},[a("JsonEditor",{attrs:{config:t.config}})],1),a("TabItem",{attrs:{name:"Edit Site Meta"}},[a("EditSiteMeta",{attrs:{config:t.config}})],1),a("TabItem",{attrs:{name:"Custom Styles"}},[a("CustomCssEditor",{attrs:{config:t.config,initialCss:"hello"}})],1)],1)},pt=[],ht=a("1020"),mt=a.n(ht),ft=a("2e7b"),gt=a.n(ft),vt=(a("1d89"),a("d97e"));const yt=t=>t.split("\n").map(t=>t.trimRight()).join("\n"),bt=t=>{throw new Error("Error in Json to YAML conversion: "+t)},Ct=t=>{let e="";const a={undefined(){return"null"},null(){return"null"},number(t){return t},boolean(t){return t?"true":"false"},string(t){return JSON.stringify(t)},array(t){let s="";return 0===t.length?(s+="[]",s):(e=e.replace(/$/," "),t.forEach(t=>{const o=a[Object(vt["typeOf"])(t)];o||bt(Object(vt["typeOf"])(t)),s+=`\n${e}- ${o(t,!0)}`}),e=e.replace(/ {2}/,""),s)},object(t,s,o){let n="";return 0===Object.keys(t).length?(n+="{}",n):(o||(e=e.replace(/$/," ")),Object.keys(t).forEach((o,i)=>{const r=t[o],c=a[Object(vt["typeOf"])(r)];"undefined"!==typeof r&&(c||bt(Object(vt["typeOf"])(r)),s&&0===i||(n+="\n"+e),n+=`${o}: ${c(r)}`)}),e=e.replace(/ {2}/,""),n)},function(){return"[object Function]"}};return yt(a[Object(vt["typeOf"])(t)](t,!0,!0)+"\n")};var St=Ct,wt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"site-meta-container"},[a("h2",[t._v("Edit Site Meta")]),a("div",{staticClass:"form"},[a("div",{staticClass:"row"},[a("span",[t._v("Title")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.formElements.title,expression:"formElements.title"}],domProps:{value:t.formElements.title},on:{input:function(e){e.target.composing||t.$set(t.formElements,"title",e.target.value)}}})]),a("div",{staticClass:"row"},[a("span",[t._v("Description")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.formElements.description,expression:"formElements.description"}],domProps:{value:t.formElements.description},on:{input:function(e){e.target.composing||t.$set(t.formElements,"description",e.target.value)}}})]),a("div",{staticClass:"row"},[a("span",[t._v("Footer Text")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.formElements.footerText,expression:"formElements.footerText"}],domProps:{value:t.formElements.footerText},on:{input:function(e){e.target.composing||t.$set(t.formElements,"footerText",e.target.value)}}})])]),a("div",{staticClass:"form"},[a("h2",[t._v("Nav Bar Links")]),t._l(t.formElements.navLinks,(function(e,s){return a("div",{key:s,staticClass:"add-nav-bar-link"},[a("div",{staticClass:"row"},[a("span",[t._v("Link Text")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.title,expression:"link.title"}],domProps:{value:e.title},on:{input:function(a){a.target.composing||t.$set(e,"title",a.target.value)}}})]),a("div",{staticClass:"row"},[a("span",[t._v("Link URL")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.path,expression:"link.path"}],domProps:{value:e.path},on:{input:function(a){a.target.composing||t.$set(e,"path",a.target.value)}}})])])})),a("button",{staticClass:"add-new-link",on:{click:function(e){return t.addNavLinkRow()}}},[a("AddNewIcon"),t._v(" Add New Link ")],1)],2),a("button",{staticClass:"save-button",on:{click:function(e){return t.save()}}},[a("SaveConfigIcon"),t._v(" Save Changes ")],1)])},It=[],_t=a("7152"),kt=a.n(_t),xt=a("90ff"),Ot=a.n(xt),Et={name:"EditSiteMeta",props:{config:Object},components:{AddNewIcon:kt.a,SaveConfigIcon:Ot.a},methods:{save(){const t={...this.config.pageInfo};t.title=this.formElements.title,t.description=this.formElements.description,t.footerText=this.formElements.footerText,this.formElements.navLinks&&(t.navLinks=this.formElements.navLinks.filter(t=>""!==t.title)),localStorage.setItem(p["localStorageKeys"].PAGE_INFO,JSON.stringify(t)),this.$toasted.show("Changes saved succesfully"),setTimeout(()=>{location.reload()},1500)},addNavLinkRow(){this.formElements.navLinks.push({title:"",path:""})}},data(){return{formElements:{title:this.config.pageInfo.title,description:this.config.pageInfo.description,footerText:this.config.pageInfo.footerText,navLinks:this.config.pageInfo.navLinks||[]}}}},Tt=Et,zt=(a("51b7"),Object(w["a"])(Tt,wt,It,!1,null,"772067bb",null)),Lt=zt.exports,Nt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"json-editor-outer"},[a("v-jsoneditor",{attrs:{options:t.options,height:"580px"},model:{value:t.jsonData,callback:function(e){t.jsonData=e},expression:"jsonData"}}),a("button",{class:"save-button "+(t.isValid?"":"err"),on:{click:function(e){return t.save()}}},[t._v("Save Changes")]),a("p",{staticClass:"errors"},[a("ul",[t._l(t.errorMessages,(function(e,s){return a("li",{key:s,class:"type-"+e.type},[t._v(" "+t._s(e.msg)+" ")])})),t.errorMessages.length<1?a("li",{staticClass:"type-valid"},[t._v(" Config is Valid ")]):t._e()],2)]),t._m(0)],1)},Mt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"note"},[t._v(" It is recommend to backup your existing confiruration before making any changes. "),a("br"),t._v(" Remember that these changes are only applied locally, and will need to be exported to your conf.yml ")])}],Ht=a("bcb2"),Pt=a.n(Ht),At=a("831b"),jt={name:"JsonEditor",props:{config:Object},components:{VJsoneditor:Pt.a},data(){return{jsonData:this.config,errorMessages:[],options:{schema:At,mode:"tree",modes:["tree","code","preview"],name:"config",onValidationError:this.validationErrors}}},computed:{isValid(){return this.errorMessages.length<1}},methods:{save(){const t=this.jsonData;t.sections&&localStorage.setItem(p["localStorageKeys"].CONF_SECTIONS,JSON.stringify(t.sections)),t.pageInfo&&localStorage.setItem(p["localStorageKeys"].PAGE_INFO,JSON.stringify(t.pageInfo)),t.appConfig&&localStorage.setItem(p["localStorageKeys"].APP_CONFIG,JSON.stringify(t.appConfig)),t.appConfig.theme&&localStorage.setItem(p["localStorageKeys"].THEME,t.appConfig.theme),this.$toasted.show("Changes saved succesfully")},validationErrors(t){const e=[];t.forEach(t=>{switch(t.type){case"validation":e.push({type:"validation",msg:`Validatation Warning: ${t.error.keyword} ${t.error.message}`});break;case"error":e.push({type:"parse",msg:t.message});break;default:e.push({type:"editor",msg:"Error in JSON"});break}}),this.errorMessages=e}}},Bt=jt,$t=(a("80a7"),Object(w["a"])(Bt,Nt,Mt,!1,null,null,null)),Vt=$t.exports,Dt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"json-editor-outer"},[a("prism-editor",{staticClass:"my-editor",attrs:{highlight:t.highlighter,"line-numbers":""},model:{value:t.customCss,callback:function(e){t.customCss=e},expression:"customCss"}}),a("button",{staticClass:"save-button",on:{click:function(e){return t.save()}}},[t._v("Save Changes")]),t._m(0)],1)},Kt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"quick-note"},[a("b",[t._v("Note")]),t._v(": You will need to refresh the page for your changes to take effect. Styles overides are only stored locally, so it is reccomended to make a copy of your CSS. To remove all custom styles, delete the contents and hit Save Changes ")])}],Ft=a("e57a"),Ut=a("8c7a"),Rt=(a("6605"),a("dff1"),a("cabf"),{name:"JsonEditor",props:{config:Object},components:{PrismEditor:Ft["a"]},data(){return{customCss:this.config.appConfig.customCss||"\n\n\n\n\n"}},methods:{validate(t){return""===t||t.match(/((?:^\s*)([\w#.@*,:\-.:>,*\s]+)\s*{(?:[\s]*)((?:[A-Za-z\- \s]+[:]\s*['"0-9\w .,/()\-!%]+;?)*)*\s*}(?:\s*))/gim)},save(){let t="";if(this.validate(this.customCss)){const e={...this.config.appConfig};e.customCss=this.customCss,localStorage.setItem(p["localStorageKeys"].APP_CONFIG,JSON.stringify(e)),t="Changes saved succesfully",this.inject(this.customCss),""===this.customCss&&setTimeout(()=>{location.reload()},1500)}else t="Error - Invalid CSS";this.$toasted.show(t)},inject(t){const e=t.replace(/<\/?[^>]+(>|$)/g,""),a=document.createElement("style");a.textContent=e,document.head.append(a)},highlighter(t){return Object(Ut["highlight"])(t,Ut["languages"].css)}}}),Jt=Rt,Gt=(a("9e50"),Object(w["a"])(Jt,Dt,Kt,!1,null,null,null)),qt=Gt.exports,Yt=a("cbd9"),Wt=a.n(Yt),Zt=a("0278"),Xt=a.n(Zt),Qt=a("e7fa"),te=a.n(Qt),ee=a("9350"),ae=a.n(ee),se=a("7da9"),oe=a.n(se),ne={name:"ConfigContainer",data(){return{jsonParser:St,backupId:localStorage[p["localStorageKeys"].BACKUP_ID]||""}},props:{config:Object},computed:{sections:function(){return this.config.sections}},components:{EditSiteMeta:Lt,JsonEditor:Vt,CustomCssEditor:qt,DownloadIcon:Wt.a,DeleteIcon:Xt.a,EditIcon:te.a,CloudIcon:ut.a,MetaDataIcon:ae.a,CustomCssIcon:oe.a},methods:{goToEdit(){const t=this.$refs.tabView.navItems[2];this.$refs.tabView.activeTabItem({tabItem:t,byUser:!0})},goToMetaEdit(){const t=this.$refs.tabView.navItems[3];this.$refs.tabView.activeTabItem({tabItem:t,byUser:!0})},goToCustomCss(){const t=this.$refs.tabView.navItems[4];this.$refs.tabView.activeTabItem({tabItem:t,byUser:!0})},openCloudSync(){this.$modal.show(p["modalNames"].CLOUD_BACKUP)},copyConfigToClipboard(){navigator.clipboard.writeText(this.jsonParser(this.config))},resetLocalSettings(){const t="This will remove all user settings from local storage, but won't effect your 'conf.yml' file. It is recommend to make a backup of your modified YAML settings first.\n\nAre you sure you want to proceed?",e=confirm(t);e&&(localStorage.clear(),this.$toasted.show("Data cleared succesfully"),setTimeout(()=>{location.reload()},1900))}},mounted(){mt.a.registerLanguage("yaml",gt.a);const t=mt.a.highlight(this.jsonParser(this.config),{language:"yaml"}).value;document.getElementById("conf-yaml").innerHTML=t}},ie=ne,re=(a("eb32"),a("1d47"),Object(w["a"])(ie,dt,pt,!1,null,"00f0c6a7",null)),ce=re.exports,le=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cloud-backup-restore-wrapper"},[t._m(0),a("div",{staticClass:"section backup-section"},[t.backupId?a("h3",[t._v("Update Backup")]):a("h3",[t._v("Make a Backup")]),a("Input",{attrs:{name:"backup-password",label:t.backupId?"Enter your Password":"Choose a Password",layout:"vertical",type:"password"},model:{value:t.backupPassword,callback:function(e){t.backupPassword=e},expression:"backupPassword"}}),a("Button",{attrs:{click:t.checkPass},scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.backupId?"Update Backup":"Backup"))]},proxy:!0},{key:"icon",fn:function(){return[a("IconBackup")]},proxy:!0}])}),t.backupId?a("div",{staticClass:"results-view"},[a("span",{staticClass:"backup-id-label"},[t._v("Your Backup ID: ")]),a("pre",{staticClass:"backup-id-value"},[t._v(t._s(t.backupId))]),a("span",{staticClass:"backup-id-note"},[t._v(" This is used to restore from backups later. So keep it, along with your password somewhere safe. ")])]):t._e()],1),a("div",{staticClass:"section restore-section"},[a("h3",[t._v("Restore a Backup")]),a("Input",{attrs:{name:"restore-code",label:"Restore ID"},model:{value:t.restoreCode,callback:function(e){t.restoreCode=e},expression:"restoreCode"}}),a("Input",{attrs:{name:"restore-password",label:"Password",type:"password"},model:{value:t.restorePassword,callback:function(e){t.restorePassword=e},expression:"restorePassword"}}),a("Button",{attrs:{click:t.restoreBackup},scopedSlots:t._u([{key:"text",fn:function(){return[t._v("Restore")]},proxy:!0},{key:"icon",fn:function(){return[a("IconRestore")]},proxy:!0}])})],1)])},ue=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"section intro"},[a("h2",[t._v("Cloud Backup & Restore")]),a("p",{staticClass:"intro"},[t._v(" Cloud backup and restore is an optional feature, that enables you to upload your config to the internet, and then restore it on any other device or instance of Dashy. "),a("br"),a("br"),t._v(" All data is fully end-to-end encrypted with AES, using your password as the key. "),a("br"),t._v(" For more info, please see the "),a("a",{attrs:{href:"https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md"}},[t._v("docs")])])])}],de=a("94f8"),pe=a.n(de),he=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{on:{click:function(e){return t.click()}}},[t._t("text"),t._t("icon")],2)},me=[],fe={name:"Button",props:{text:String,click:Function}},ge=fe,ve=(a("6bf0"),Object(w["a"])(ge,he,me,!1,null,"115c4d8d",null)),ye=ve.exports,be=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"input-container "+t.layout},[t.label?a("label",{attrs:{for:"name"}},[t._v(t._s(t.label))]):t._e(),a("input",{attrs:{type:t.type,name:t.name,id:t.name,placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)}}})])},Ce=[],Se={name:"Input",props:{value:String,label:String,name:String,placeholder:String,type:{default:"text",type:String},layout:{validator:t=>-1!==["horizontal","vertical"].indexOf(t),type:String,default:"vertical"}},methods:{updateValue(t){this.$emit("input",t)}}},we=Se,Ie=(a("2d25"),Object(w["a"])(we,be,Ce,!1,null,"5df13ed2",null)),_e=Ie.exports,ke=a("3a1e"),xe=a.n(ke),Oe=a("e6a4"),Ee=a.n(Oe),Te=a("c198"),ze=a.n(Te),Le=a("f8d5"),Ne=a.n(Le),Me=a("bc3a"),He=a.n(Me);const Pe=p["backupEndpoint"],Ae=(t,e)=>{const a=JSON.stringify(t),s=ze.a.encrypt(a,e);return s.toString()},je=(t,e)=>ze.a.decrypt(t,e).toString(Ne.a),Be=t=>pe()(t).toString().slice(0,14),$e=(t,e)=>He.a.post(Pe,{userData:Ae(t,e),subHash:Be(e)}),Ve=(t,e,a)=>He.a.put(Pe,{backupId:a,userData:Ae(t,e),subHash:Be(e)}),De=t=>Object.entries(t).map(t=>t.map(encodeURIComponent).join("=")).join("&"),Ke=(t,e)=>{const a=De({backupId:t,subHash:Be(e)}),s=`${Pe}/?${a}`;return new Promise((t,a)=>{He.a.get(s).then(s=>{if(!s.data||s.data.errorMsg)a(s.data.errorMsg||"Error");else{const n=je(s.data.userData.userData,e);try{t(JSON.parse(n))}catch(o){a(o)}}})})};var Fe={name:"CloudBackupRestore",props:{config:Object},data(){return{backupPassword:"",restorePassword:"",restoreCode:"",backupId:localStorage[p["localStorageKeys"].BACKUP_ID]||""}},components:{Button:ye,Input:_e,IconBackup:xe.a,IconRestore:Ee.a},methods:{restoreBackup(){Ke(this.restoreCode,this.restorePassword).then(t=>{this.restoreFromBackup(t,this.restoreCode)}).catch(t=>{this.showErrorMsg(t)})},checkPass(){const t=localStorage[p["localStorageKeys"].BACKUP_HASH]||void 0;t?t===this.makeHash(this.backupPassword)?this.makeUpdate():this.showErrorMsg("Incorrect password. Please enter your current password."):this.makeBackup()},makeBackup(){$e(this.config,this.backupPassword).then(t=>{t.data&&!t.data.errorMsg&&t.data.backupId?this.updateUiAfterBackup(t.data.backupId,!1):this.showErrorMsg(t.data.errorMsg||"Error")}).catch(()=>{this.showErrorMsg("Unable to process request")})},makeUpdate(){Ve(this.config,this.backupPassword,this.backupId).then(t=>{t.data&&!t.data.errorMsg&&t.data.backupId?this.updateUiAfterBackup(t.data.backupId,!0):this.showErrorMsg(t.data.errorMsg||"Error")}).catch(()=>{this.showErrorMsg("Unable to process request")})},restoreFromBackup(t,e){localStorage.setItem(p["localStorageKeys"].CONF_SECTIONS,JSON.stringify(t.sections)),localStorage.setItem(p["localStorageKeys"].APP_CONFIG,JSON.stringify(t.appConfig)),localStorage.setItem(p["localStorageKeys"].PAGE_INFO,JSON.stringify(t.pageInfo)),t.appConfig.theme&&localStorage.setItem(p["localStorageKeys"].THEME,t.appConfig.theme),this.setBackupIdLocally(e,this.restorePassword),this.showSuccessMsg("Config Restored Succesfully"),setTimeout(()=>{location.reload()},1500)},updateUiAfterBackup(t,e=!1){this.setBackupIdLocally(t,this.backupPassword),this.showSuccessMsg((e?"Update":"Backup")+" Completed Succesfully"),this.backupPassword=""},showErrorMsg(t){this.$toasted.show(t,{className:"toast-error"})},showSuccessMsg(t){this.$toasted.show(t,{className:"toast-success"})},makeHash(t){return pe()(t).toString()},setBackupIdLocally(t,e){this.backupId=t;const a=this.makeHash(e);localStorage.setItem(p["localStorageKeys"].BACKUP_ID,t),localStorage.setItem(p["localStorageKeys"].BACKUP_HASH,a)}}},Ue=Fe,Re=(a("baed"),Object(w["a"])(Ue,le,ue,!1,null,"763657f4",null)),Je=Re.exports,Ge={name:"ConfigLauncher",data(){return{modalNames:p["modalNames"]}},components:{IconSpanner:ct.a,IconCloud:ut.a,ConfigContainer:ce,CloudBackupRestore:Je},props:{sections:Array,pageInfo:Object,appConfig:Object},methods:{showEditor:function(){this.$modal.show(p["modalNames"].CONF_EDITOR),this.$emit("modalChanged",!0)},showCloudModal:function(){this.$modal.show(p["modalNames"].CLOUD_BACKUP),this.$emit("modalChanged",!0)},combineConfig(){const t={};return t[p["topLevelConfKeys"].APP_CONFIG]=this.appConfig,t[p["topLevelConfKeys"].PAGE_INFO]=this.pageInfo,t[p["topLevelConfKeys"].SECTIONS]=this.sections,t[p["topLevelConfKeys"].APP_CONFIG].theme=localStorage[p["localStorageKeys"].THEME]||t[p["topLevelConfKeys"].APP_CONFIG].theme,t},tooltip(t){return{content:t,trigger:"hover focus",delay:250}}}},qe=Ge,Ye=(a("2f87"),a("192d"),Object(w["a"])(qe,nt,it,!1,null,"437d8549",null)),We=Ye.exports,Ze=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.themes?a("div",{staticClass:"theme-selector-section"},[a("span",{staticClass:"theme-label"},[t._v("Theme")]),a("v-select",{staticClass:"theme-dropdown",attrs:{options:t.themeNames,tabindex:-2},model:{value:t.selectedTheme,callback:function(e){t.selectedTheme=e},expression:"selectedTheme"}})],1):t._e()},Xe=[];const Qe=function(){const t=t=>{const e=document.createElement("link");return e.rel="stylesheet",e.href=t,document.head.appendChild(e),new Promise((t,a)=>{e.onload=e=>{const{sheet:a}=e.target;a.disabled=!0,t(a)},e.onerror=a})},e=(t,e)=>{const a=t;if(e&&!t[e])throw new Error(`Theme: '${e}' does not exist.`);Object.keys(t).forEach(t=>{a[t].disabled=t!==e})},a={};return{add(e,s){return t(s).then(t=>{a[e]=t})},set theme(t){e(a,t)},get theme(){return Object.keys(a).find(t=>!a[t].disabled)}}};var ta=Qe,ea={name:"ThemeSelector",props:{themes:Object,confTheme:String,userThemes:Array},watch:{selectedTheme(t){this.updateTheme(t)}},data(){return{selectedTheme:this.getInitialTheme(),themeHelper:new ta,loading:!0,builtInThemes:this.userThemes.concat(h.a.builtInThemes)}},computed:{themeNames:function(){const t=Object.keys(this.themes);return t.concat(this.builtInThemes)}},created(){const t=Object.keys(this.themes).map(t=>this.themeHelper.add(t,this.themes[t]));this.isThemeLocal(this.selectedTheme)?this.updateTheme(this.selectedTheme):this.selectedTheme!==h.a.theme&&Promise.all(t).then(()=>{this.updateTheme(this.selectedTheme)})},methods:{setLocalTheme(t){const e=document.getElementsByTagName("html")[0];e.hasAttribute("data-theme")&&e.removeAttribute("data-theme"),e.setAttribute("data-theme",t)},getInitialTheme(){return localStorage[p["localStorageKeys"].THEME]||this.confTheme||h.a.theme},isThemeLocal(t){return this.builtInThemes.includes(t)},updateTheme(t){"Deafault"===t?(this.resetToDefault(),this.themeHelper.theme="Deafault"):this.isThemeLocal(t)?this.setLocalTheme(t):this.themeHelper.theme=t,localStorage.setItem(p["localStorageKeys"].THEME,t)},resetToDefault(){document.getElementsByTagName("html")[0].removeAttribute("data-theme")}}},aa=ea,sa=(a("4ade"),Object(w["a"])(aa,Ze,Xe,!1,null,null,null)),oa=sa.exports,na=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("span",{staticClass:"options-label"},[t._v("Layout")]),a("div",{staticClass:"display-options"},[a("IconDeafault",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Auto"),expression:"tooltip('Auto')"}],class:"layout-icon "+("auto"===t.displayLayout?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateDisplayLayout("auto")}}}),a("IconHorizontal",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Horizontal"),expression:"tooltip('Horizontal')"}],class:"layout-icon "+("horizontal"===t.displayLayout?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateDisplayLayout("horizontal")}}}),a("IconVertical",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Vertical"),expression:"tooltip('Vertical')"}],class:"layout-icon "+("vertical"===t.displayLayout?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateDisplayLayout("vertical")}}})],1)])},ia=[],ra=a("c715"),ca=a.n(ra),la=a("570d"),ua=a.n(la),da=a("f9d7"),pa=a.n(da),ha={name:"LayoutSelector",data(){return{input:""}},props:{displayLayout:String},components:{IconDeafault:ca.a,IconHorizontal:ua.a,IconVertical:pa.a},methods:{updateDisplayLayout(t){this.$emit("layoutUpdated",t)},tooltip(t){return{content:t,trigger:"hover focus",delay:250}}}},ma=ha,fa=(a("7dc7"),Object(w["a"])(ma,na,ia,!1,null,"c819d738",null)),ga=fa.exports,va=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("span",{staticClass:"options-label"},[t._v("Icon Size")]),a("div",{staticClass:"display-options"},[a("IconSmall",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Small"),expression:"tooltip('Small')"}],class:"layout-icon "+("small"===t.iconSize?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateIconSize("small")}}}),a("IconMedium",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Medium"),expression:"tooltip('Medium')"}],class:"layout-icon "+("medium"===t.iconSize?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateIconSize("medium")}}}),a("IconLarge",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltip("Large"),expression:"tooltip('Large')"}],class:"layout-icon "+("large"===t.iconSize?"selected":""),attrs:{tabindex:"-2"},on:{click:function(e){return t.updateIconSize("large")}}})],1)])},ya=[],ba=a("d8e8"),Ca=a.n(ba),Sa=a("7075"),wa=a.n(Sa),Ia=a("922c"),_a=a.n(Ia),ka={name:"IconSizeSelector",data(){return{input:""}},props:{iconSize:String},components:{IconSmall:Ca.a,IconMedium:wa.a,IconLarge:_a.a},methods:{updateIconSize(t){this.$emit("iconSizeUpdated",t)},tooltip(t){return{content:t,trigger:"hover focus",delay:250}}}},xa=ka,Oa=(a("47d9"),Object(w["a"])(xa,va,ya,!1,null,"58966274",null)),Ea=Oa.exports,Ta=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"slide-fade"}},[t.shouldHide?t._e():a("div",{staticClass:"kb-sc-info"},[a("h5",[t._v("There are keyboard shortcuts! ⌨️🙌")]),a("div",{staticClass:"close",attrs:{title:"Hide forever [Esc]"},on:{click:function(e){return t.hideWelcomeHelper()}}},[t._v("x")]),a("p",{attrs:{title:"Press [Esc] to hide this tip forever. See there's even a shortcut for that! 🚀"}},[t._v(" Just start typing to filter. Then use the tab key to cycle through results, and press enter to launch the selected item, or alt + enter to open in a modal. You can hit Esc at anytime to clear the search. Easy 🥳 ")])])])},za=[],La={name:"KeyboardShortcutInfo",data(){return{shouldHide:!0,timeDelay:3e3}},methods:{shouldHideWelcomeMessage(){return!!localStorage[p["localStorageKeys"].HIDE_WELCOME_BANNER]},hideWelcomeHelper(){this.shouldHide=!0,localStorage.setItem(p["localStorageKeys"].HIDE_WELCOME_BANNER,!0),window.removeEventListener("keyup",this.keyPressEvent)},keyPressEvent(t){27===t.keyCode&&this.hideWelcomeHelper()}},mounted(){const t=this.shouldHideWelcomeMessage();t?this.$destroy():(window.setTimeout(()=>{this.shouldHide=t},this.timeDelay),window.addEventListener("keyup",this.keyPressEvent))}},Na=La,Ma=(a("5509"),Object(w["a"])(Na,Ta,za,!1,null,"080c9684",null)),Ha=Ma.exports,Pa=a("5703"),Aa=a.n(Pa),ja=a("5f32"),Ba=a.n(ja),$a={name:"SettingsContainer",props:{displayLayout:String,iconSize:String,availableThemes:Object,appConfig:Object,pageInfo:Object,sections:Array,modalOpen:Boolean},components:{SearchBar:ot,ConfigLauncher:We,ThemeSelector:oa,LayoutSelector:ga,ItemSizeSelector:Ea,KeyboardShortcutInfo:Ha,IconOpen:Aa.a,IconClose:Ba.a},methods:{userIsTypingSomething(t){this.$emit("user-is-searchin",t)},clearFilterInput(){this.$refs.SearchBar.clearFilterInput()},updateDisplayLayout(t){this.$emit("change-display-layout",t)},updateIconSize(t){this.$emit("change-icon-size",t)},modalChanged(t){this.$emit("change-modal-visibility",t)},getInitialTheme(){return this.appConfig.theme||""},getUserThemes(){const t=this.appConfig.cssThemes||[];return"string"===typeof t?[t]:t},toggleSettingsVisibility(){this.settingsVisible=!this.settingsVisible,localStorage.setItem(p["localStorageKeys"].HIDE_SETTINGS,this.settingsVisible)},getSettingsVisibility(){return JSON.parse(localStorage[p["localStorageKeys"].HIDE_SETTINGS]||h.a.visibleComponents.settings)}},data(){return{searchVisible:h.a.visibleComponents.searchBar,settingsVisible:this.getSettingsVisibility()}}},Va=$a,Da=(a("d580"),Object(w["a"])(Va,W,Z,!1,null,"caf19abe",null)),Ka=Da.exports,Fa=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Collapsable",{attrs:{title:t.title,icon:t.icon,uniqueKey:t.groupId,collapsed:t.displayData.collapsed,cols:t.displayData.cols,rows:t.displayData.rows,color:t.displayData.color,customStyles:t.displayData.customStyles}},[!t.items||t.items.length<1?a("div",{staticClass:"no-items"},[t._v(" No Items to Show Yet ")]):a("div",{class:"there-are-items "+(t.isGridLayout?"item-group-grid":""),style:t.gridStyle},[t._l(t.items,(function(e,s){return a("Item",{key:s+"_"+t.makeId(e.title),attrs:{id:s+"_"+t.makeId(e.title),url:e.url,title:e.title,description:e.description,icon:e.icon,target:e.target,color:e.color,backgroundColor:e.backgroundColor,itemSize:t.newItemSize},on:{itemClicked:function(e){return t.$emit("itemClicked")},triggerModal:t.triggerModal}})})),a("div",{ref:"modalContainer"})],2),a("IframeModal",{ref:"iframeModal-"+t.groupId,attrs:{name:"iframeModal-"+t.groupId},on:{closed:function(e){return t.$emit("itemClicked")},modalChanged:t.modalChanged}})],1)},Ua=[],Ra=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.getTooltipOptions(),expression:"getTooltipOptions()"}],class:"item "+(t.icon?"":"short")+" size-"+t.itemSize,style:"--open-icon: "+t.getUnicodeOpeningIcon()+"; "+t.customStyles,attrs:{href:"iframe"!==t.target?t.url:"#",target:"newtab"===t.target?"_blank":"",rel:"noopener noreferrer",tabindex:"0",id:"link-"+t.id},on:{click:t.itemOpened}},[a("div",{class:"tile-title "+(t.icon?"":"bounce"),attrs:{id:"tile-"+t.id}},[a("span",{staticClass:"text"},[t._v(t._s(t.title))]),a("div",{staticClass:"overflow-dots"},[t._v("...")]),a("p",{staticClass:"description"},[t._v(t._s(t.description))])]),a("Icon",{staticClass:"bounce",style:t.customStyles,attrs:{icon:t.icon,url:t.url,size:t.itemSize,color:t.color}}),a("ItemOpenMethodIcon",{staticClass:"opening-method-icon",attrs:{isSmall:!t.icon,openingMethod:t.target,position:"medium"===t.itemSize?"bottom right":"top right"}})],1)},Ja=[],Ga=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",["font-awesome"===t.iconType?a("i",{class:t.icon+" "+t.size}):t.icon?a("img",{class:"tile-icon "+t.size+" "+(t.broken?"broken":""),attrs:{src:t.iconPath},on:{error:t.imageNotFound}}):t._e(),t.broken?a("BrokenImage",{staticClass:"missing-image"}):t._e()],1)},qa=[],Ya=a("9635"),Wa=a.n(Ya);const Za=function(t){console.warn(t)};var Xa=Za,Qa={name:"Icon",props:{icon:String,url:String,size:String},components:{BrokenImage:Wa.a},computed:{iconType:function(){return this.determineImageType(this.icon)},iconPath:function(){return this.getIconPath(this.icon,this.url)}},data(){return{broken:!1}},methods:{isUrl(t){const e=new RegExp(/(http|https):\/\/(\w+:{0,1}\w*)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%!\-/]))?/);return e.test(t)},isImage(t){const e=/(?:\.([^.]+))?$/,a=["png","jpg"],s=e.exec(t);return s.length>=1&&a.includes(s[1])},getFavicon(t){const e=/(127\.)|(192\.168\.)|(10\.)|(172\.1[6-9]\.)|(172\.2[0-9]\.)|(172\.3[0-1]\.)|(::1$)|([fF][cCdD])|(localhost)/;if(e.test(t)){const e=t.split("/");if(e.length>=2)return`${e[0]}/${e[1]}/${e[2]}/favicon.ico`}else if(t.includes("http"))return"https://s2.googleusercontent.com/s2/favicons?domain="+t;return""},getLocalImagePath(t){return"/item-icons/"+t},getIconPath(t,e){switch(this.determineImageType(t)){case"url":return t;case"img":return this.getLocalImagePath(t);case"favicon":return this.getFavicon(e);case"svg":return t;default:return""}},determineImageType(t){let e="";return e=t?t.endsWith(".svg")?"svg":this.isUrl(t)?"url":this.isImage(t)?"img":t.includes("fa-")?"font-awesome":"favicon"===t?"favicon":"none":"none",e},imageNotFound(){this.broken=!0,Xa(`The path to '${this.icon}' could not be resolved`)}}},ts=Qa,es=(a("de40"),Object(w["a"])(ts,Ga,qa,!1,null,null,null)),as=es.exports,ss=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.makeClass(t.position,t.isSmall,t.isTransparent)},["newtab"===t.openingMethod?a("NewTabOpenIcon"):"sametab"===t.openingMethod?a("SameTabOpenIcon"):"iframe"===t.openingMethod?a("IframeOpenIcon"):t._e()],1)},os=[],ns=a("237e"),is=a.n(ns),rs=a("2352"),cs=a.n(rs),ls=a("1946"),us=a.n(ls),ds={name:"ItemOpenMethodIcon",props:{openingMethod:String,isSmall:Boolean,position:String,isTransparent:Boolean},methods:{makeClass(t="top right",e=!1,a=!1){return`opening-method-icon\n ${t||"top right"}\n ${e?"short":""}\n ${a?"transparent":""}`}},components:{NewTabOpenIcon:is.a,SameTabOpenIcon:cs.a,IframeOpenIcon:us.a}},ps=ds,hs=(a("699c"),Object(w["a"])(ps,ss,os,!1,null,"17201835",null)),ms=hs.exports,fs={name:"Item",props:{id:String,title:String,subtitle:String,description:String,icon:String,color:String,backgroundColor:String,url:String,target:{type:String,default:"newtab",validator:t=>-1!==["newtab","sametab","iframe"].indexOf(t)},itemSize:String},data(){return{getId:this.id,customStyles:{color:this.color,background:this.backgroundColor}}},components:{Icon:as,ItemOpenMethodIcon:ms},methods:{itemOpened(t){t.altKey||"iframe"===this.target?(t.preventDefault(),this.$emit("triggerModal",this.url)):this.$emit("itemClicked")},manageTitleEllipse(){const t=document.getElementById("tile-"+this.getId);if(t){const e=(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&this.title.length>12;e&&(t.className+=" is-overflowing")}},getTooltipOptions(){return{disabled:!this.description,content:this.description,trigger:"hover focus",hideOnTargetClick:!0,html:!1,delay:{show:600,hide:200}}},getUnicodeOpeningIcon(){switch(this.target){case"newtab":return'"\\f360"';case"sametab":return'"\\f24d"';case"iframe":return'"\\f2d0"';default:return'"\\f054"'}}},mounted(){this.manageTitleEllipse()}},gs=fs,vs=(a("826e"),a("f719"),Object(w["a"])(gs,Ra,Ja,!1,null,null,null)),ys=vs.exports,bs=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"collapsable "+t.checkSpanNum(t.cols,"col")+" "+t.checkSpanNum(t.rows,"row"),style:(t.color?"background: "+t.color:"")+"; "+t.sanitizeCustomStyles(t.customStyles)+";"},[a("input",{staticClass:"toggle",attrs:{id:"collapsible-"+t.uniqueKey,type:"checkbox",tabIndex:"-1"},domProps:{checked:t.getCollapseState()},on:{change:t.collapseChanged}}),a("label",{staticClass:"lbl-toggle",attrs:{for:"collapsible-"+t.uniqueKey,tabindex:"-1"}},[t.icon?a("Icon",{staticClass:"section-icon",attrs:{icon:t.icon,size:"small"}}):t._e(),a("h3",[t._v(t._s(t.title))])],1),a("div",{staticClass:"collapsible-content"},[a("div",{staticClass:"content-inner"},[t._t("default")],2)])])},Cs=[],Ss={name:"CollapsableContainer",props:{uniqueKey:String,title:String,icon:String,collapsed:Boolean,cols:Number,rows:Number,color:String,customStyles:String},components:{Icon:as},data(){return{isOpen:!this.collapsed}},methods:{checkSpanNum(t,e){const a=4;let s=/^\d*$/.test(t)?parseInt(t,10):1;return s=s>a?a:s,`${e}-${s}`},sanitizeCustomStyles(t){return t?t.replace(/[^a-zA-Z0-9- :;.]/g,""):""},initialiseStorage(){const t=()=>localStorage.setItem(p["localStorageKeys"].COLLAPSE_STATE,JSON.stringify({}));localStorage[p["localStorageKeys"].COLLAPSE_STATE]||t();try{JSON.parse(localStorage[p["localStorageKeys"].COLLAPSE_STATE])}catch{t()}return JSON.parse(localStorage[p["localStorageKeys"].COLLAPSE_STATE])},getCollapseState(){const t=this.initialiseStorage();let e=!this.collapsed;return void 0!==t[this.uniqueKey]&&(e=t[this.uniqueKey]),e},setCollapseState(t,e){const a=JSON.parse(localStorage[p["localStorageKeys"].COLLAPSE_STATE]);a[t]=e,localStorage.setItem(p["localStorageKeys"].COLLAPSE_STATE,JSON.stringify(a))},collapseChanged(t){this.initialiseStorage(),this.setCollapseState(this.uniqueKey.toString(),t.srcElement.checked)}}},ws=Ss,Is=(a("ce3f"),Object(w["a"])(ws,bs,Cs,!1,null,"3f92488c",null)),_s=Is.exports,ks=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("modal",{attrs:{name:t.name,resizable:!0,width:"80%",height:"80%"},on:{closed:function(e){return t.modalClosed()}}},[a("div",{attrs:{slot:"top-right"},on:{click:function(e){return t.hide()}},slot:"top-right"},[t._v("Close")]),a("a",{staticClass:"close-button",attrs:{title:"Close"},on:{click:function(e){return t.hide()}}},[t._v("x")]),t.url?a("iframe",{staticClass:"frame",attrs:{src:t.url},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)}}}):a("div",{staticClass:"no-url"},[t._v("No URL Specified")])])},xs=[],Os={name:"IframeModal",props:{name:String},data:()=>({url:"#"}),methods:{show:function(t){this.url=t,this.$modal.show(this.name),this.$emit("modalChanged",!0)},hide:function(){this.$modal.hide(this.name)},modalClosed(){this.$emit("modalChanged",!1)}}},Es=Os,Ts=(a("eda6"),Object(w["a"])(Es,ks,xs,!1,null,null,null)),zs=Ts.exports,Ls={name:"ItemGroup",props:{groupId:String,title:String,icon:String,displayData:Object,items:Array,itemSize:String,modalOpen:Boolean},components:{Collapsable:_s,Item:ys,IframeModal:zs},computed:{newItemSize(){return this.displayData.itemSize||this.itemSize},isGridLayout(){return"grid"===this.displayData.layout||!(!this.displayData.itemCountX&&!this.displayData.itemCountY)},gridStyle(){let t="";return t+=this.displayData.itemCountX?`grid-template-columns: repeat(${this.displayData.itemCountX}, 1fr);`:"",t+=this.displayData.itemCountY?`grid-template-rows: repeat(${this.displayData.itemCountY}, 1fr);`:"",t}},methods:{makeId(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z ]/g,"").toLowerCase()},triggerModal(t){this.$refs["iframeModal-"+this.groupId].show(t)},modalChanged(t){this.$emit("change-modal-visibility",t)}}},Ns=Ls,Ms=(a("bde7"),Object(w["a"])(Ns,Fa,Ua,!1,null,"32dc7ad3",null)),Hs=Ms.exports,Ps={name:"home",props:{sections:Array,appConfig:Object,pageInfo:Object},components:{SettingsContainer:Ka,ItemGroup:Hs},data:()=>({searchValue:"",layout:"",itemSizeBound:"",modalOpen:!1}),computed:{layoutOrientation:{get:()=>localStorage[p["localStorageKeys"].LAYOUT_ORIENTATION]||h.a.layout,set:function(t){localStorage.setItem(p["localStorageKeys"].LAYOUT_ORIENTATION,t),this.layout=t}},iconSize:{get:()=>localStorage[p["localStorageKeys"].ICON_SIZE]||h.a.iconSize,set:function(t){localStorage.setItem(p["localStorageKeys"].ICON_SIZE,t),this.itemSizeBound=t}}},methods:{checkTheresData(t){const e=localStorage[p["localStorageKeys"].CONF_SECTIONS];return t&&t.length>=1||e&&e.length>=1},getSections(t){const e=localStorage[p["localStorageKeys"].CONF_SECTIONS];if(e){const t=JSON.parse(e);if(t.length>=1)return t}return t},searching(t){this.searchValue=t||""},finishedSearching(){this.$refs.filterComp.clearFilterInput()},getDomainFromUrl(t){if(!t)return"";const e=/^(?:https?:\/\/)?(?:w{3}\.)?([a-z\d.-]+)\.(?:[a-z.]{2,10})(?:[/\w.-]*)*/,a=t.match(e);return a?a[1]:""},filterTiles(t){return t?t.filter(t=>{const{title:e,description:a,provider:s,url:o}=t,n=this.searchValue.toLowerCase();return e&&e.toLowerCase().includes(n)||s&&s.toLowerCase().includes(n)||a&&a.toLowerCase().includes(n)||this.getDomainFromUrl(o).includes(n)}):[]},getDisplayData(t){return t.displayData?t.displayData:{}},setLayoutOrientation(t){this.layoutOrientation=t},setItemSize(t){this.iconSize=t},updateModalVisibility(t){this.modalOpen=t},getExternalCSSLinks(){const t={};if(this.appConfig&&this.appConfig.externalStyleSheet){const e=this.appConfig.externalStyleSheet;Array.isArray(e)?e.forEach((e,a)=>{t["External Stylesheet "+(a+1)]=e}):t["External Stylesheet"]=this.appConfig.externalStyleSheet}return t.Deafault="#",t},checkIfFontAwesomeNeeded(){let t=!1;return this.sections.forEach(e=>{e.items.forEach(e=>{e.icon&&e.icon.includes("fa-")&&(t=!0)})}),t},initiateFontAwesome(){if(this.appConfig.enableFontAwesome||this.checkIfFontAwesomeNeeded()){const t=document.createElement("script"),e=this.appConfig.fontAwesomeKey||h.a.fontAwesomeKey;t.setAttribute("src",`https://kit.fontawesome.com/${e}.js`),document.head.appendChild(t)}},checkIfResults(){if(this.sections){let t=!0;return this.sections.forEach(e=>{this.filterTiles(e.items).length>0&&(t=!1)}),t}return!1},getBackgroundImage(){return this.appConfig&&this.appConfig.backgroundImg?`background: url('${this.appConfig.backgroundImg}');background-size:cover;`:""}},mounted(){this.initiateFontAwesome(),this.layout=this.layoutOrientation,this.itemSizeBound=this.iconSize}},As=Ps,js=(a("78c5"),Object(w["a"])(As,q,Y,!1,null,"14317bc9",null)),Bs=js.exports;s["a"].use(G["a"]);const{sections:$s,pageInfo:Vs,appConfig:Ds}=K.a;let Ks,Fs;try{Ks=JSON.parse(localStorage[p["localStorageKeys"].PAGE_INFO])}catch(qs){Ks=void 0}try{Fs=JSON.parse(localStorage[p["localStorageKeys"].APP_CONFIG])}catch(qs){Fs=void 0}const Us=new G["a"]({routes:[{path:"/",name:"home",component:Bs,props:{sections:$s||[],pageInfo:Ks||Vs||p["pageInfo"],appConfig:Fs||Ds||{}},meta:{title:Vs.title||"Home Page",metaTags:[{name:"description",content:"A simple static homepage for you're server"}]}},{path:"/about",name:"about",component:()=>a.e("about").then(a.bind(null,"f820"))}]}),Rs="Speed Dial";Us.afterEach(t=>{s["a"].nextTick(()=>{document.title=t.meta.title||Rs})});var Js=Us,Gs=a("9483");Object(Gs["a"])("/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh.")},offline(){console.log("No internet connection found. App is running in offline mode.")},error(t){console.error("Error during service worker registration:",t)}}),s["a"].use(o["a"]),s["a"].use(i.a),s["a"].use(l["a"]),s["a"].use(d.a,p["toastedOptions"]),s["a"].component("v-select",c.a),s["a"].config.productionTip=!1,new s["a"]({router:Js,render:t=>t(J)}).$mount("#app")},5703:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-sliders-h fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"sliders-h",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}})]))}}},"570d":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-grip-horizontal fa-w-14",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"grip-horizontal",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M96 288H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM96 96H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"}})]))}}},"5c0b":function(t,e,a){"use strict";a("9c0c")},"5cc6":function(t,e){t.exports={pageInfo:{title:"Dashy",description:"",navLinks:[{title:"Home",path:"/"},{title:"Source",path:"https://github.com/Lissy93/dashy"}],footerText:""},appConfig:{},iconSize:"medium",layout:"auto",theme:"default",fontAwesomeKey:"0821c65656",builtInThemes:["callisto","thebe","dracula","material","material-dark","colorful","nord","nord-frost","minimal-dark","minimal-light","matrix","matrix-red","hacker-girl","raspberry-jam","bee","tiger","material-original","material-dark-original","high-contrast-dark","high-contrast-light"],visibleComponents:{pageTitle:!0,navigation:!0,searchBar:!0,settings:!0,footer:!0},localStorageKeys:{HIDE_WELCOME_BANNER:"hideWelcomeHelpers",LAYOUT_ORIENTATION:"layoutOrientation",COLLAPSE_STATE:"collapseState",ICON_SIZE:"iconSize",THEME:"theme",CONF_SECTIONS:"confSections",PAGE_INFO:"pageInfo",APP_CONFIG:"appConfig",BACKUP_ID:"backupId",BACKUP_HASH:"backupHash",HIDE_SETTINGS:"hideSettings"},modalNames:{CONF_EDITOR:"CONF_EDITOR",CLOUD_BACKUP:"CLOUD_BACKUP"},topLevelConfKeys:{PAGE_INFO:"pageInfo",APP_CONFIG:"appConfig",SECTIONS:"sections"},toastedOptions:{position:"bottom-center",duration:2500,keepOnHover:!0,className:"toast-message",iconPack:"fontawesome"},backupEndpoint:"https://dashy-sync-service.as93.net"}},"5f32":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-times-circle fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"times-circle",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"}})]))}}},6:function(t,e){},6401:function(t,e,a){},6780:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-cloud-upload-alt fa-w-20",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"cloud-upload-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M395.5 267.5l-99-99c-4.7-4.7-12.3-4.7-17 0l-99 99c-7.6 7.6-2.2 20.5 8.5 20.5h67v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-84h67c10.7 0 16.1-12.9 8.5-20.5zm148.2-67.4C539.7 142.1 491.4 96 432 96c-7.6 0-15.1.8-22.4 2.3C377.7 58.3 328.1 32 272 32c-84.6 0-155.5 59.7-172.3 139.8C39.9 196.1 0 254.4 0 320c0 88.4 71.6 160 160 160h336c79.5 0 144-64.5 144-144 0-61.8-39.2-115.8-96.3-135.9zM496 432H160c-61.9 0-112-50.1-112-112 0-56.4 41.7-103.1 96-110.9V208c0-70.7 57.3-128 128-128 53.5 0 99.3 32.8 118.4 79.4 11.2-9.6 25.7-15.4 41.6-15.4 35.3 0 64 28.7 64 64 0 11.8-3.2 22.9-8.8 32.4 2.9-.3 5.9-.4 8.8-.4 53 0 96 43 96 96s-43 96-96 96z"}})]))}}},"699c":function(t,e,a){"use strict";a("806e")},"6bf0":function(t,e,a){"use strict";a("082b")},7:function(t,e){},7075:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-expand fa-w-14",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"expand",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}})]))}}},7152:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-plus-circle fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"plus-circle",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M384 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm120 16c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-48 0c0-110.5-89.5-200-200-200S56 145.5 56 256s89.5 200 200 200 200-89.5 200-200z"}})]))}}},"78c5":function(t,e,a){"use strict";a("a0ff")},7941:function(t,e,a){},"7c09":function(t,e,a){},"7da9":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-css3-alt fa-w-12",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fab","data-icon":"css3-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M0 32l34.9 395.8L192 480l157.1-52.2L384 32H0zm313.1 80l-4.8 47.3L193 208.6l-.3.1h111.5l-12.8 146.6-98.2 28.7-98.8-29.2-6.4-73.9h48.9l3.2 38.3 52.6 13.3 54.7-15.4 3.7-61.6-166.3-.5v-.1l-.2.1-3.6-46.3L193.1 162l6.5-2.7H76.7L70.9 112h242.2z"}})]))}}},"7dc7":function(t,e,a){"use strict";a("1e5e")},"7eb0":function(t,e,a){},"7f59":function(t,e,a){},8:function(t,e){},"806e":function(t,e,a){},"80a7":function(t,e,a){"use strict";a("7eb0")},"826e":function(t,e,a){"use strict";a("939b")},"831b":function(t){t.exports=JSON.parse('{"type":"object","required":["sections"],"additionalProperties":false,"properties":{"pageInfo":{"type":"object","properties":{"title":{"type":"string","description":"Title and heading for the app"},"description":{"type":"string","description":"Sub-title, displayed in header"},"navLinks":{"type":"array","maxItems":6,"description":"Quick access links, displayed in header","items":{"type":"object","additionalProperties":false,"required":["title","path"],"properties":{"title":{"type":"string"},"path":{"type":"string"}}}},"footerText":{"type":"string"}},"required":["title"],"additionalProperties":false},"appConfig":{"type":"object","description":"Application configuration","properties":{"backgroundImg":{"type":"string","description":"A URL to an image asset to be displayed as background"},"theme":{"type":"string","default":"Callisto","description":"A theme to be applied by default on first load"},"enableFontAwesome":{"type":"boolean","default":true,"description":"Should load font-awesome assets"},"fontAwesomeKey":{"type":"string","pattern":"^[a-z0-9]{10}$","description":"API key for font-awesome"},"cssThemes":{"type":"array","description":"Theme names to be added to the dropdown","items":{"type":"string"}},"externalStyleSheet":{"description":"URL or URLs of external stylesheets to add to dropdown/ load","type":["string","array"],"items":{"type":"string"}},"customCss":{"type":"string","description":"Any custom CSS overides, must be minified"}},"additionalProperties":false},"sections":{"type":"array","description":"Array of sections, containing items","items":{"type":"object","required":["name","items"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Title/ heading for a section"},"icon":{"type":"string","description":"Icon will be displayed next to title"},"displayData":{"type":"object","additionalProperties":false,"description":"Optional meta data for customizing a section","properties":{"collapsed":{"type":"boolean","default":false,"description":"If true, section needs to be clicked to open"},"color":{"type":"string","description":"Hex code, or HTML color for section fill"},"customStyles":{"type":"string","description":"CSS overides for section container"},"itemSize":{"enum":["small","medium","large"],"default":"medium","description":"Size of items within the section"},"rows":{"type":"number","minimum":1,"maximum":5,"default":1,"description":"The amount of space that the section spans vertically"},"cols":{"type":"number","minimum":1,"maximum":5,"default":1,"description":"The amount of space that the section spans horizontally"},"layout":{"enum":["grid","auto"],"default":"auto","description":"If set to grid, items have uniform width, and itemCount can be set"},"itemCountX":{"type":"number","minimum":1,"maximum":12,"description":"Number of items per column"},"itemCountY":{"type":"number","minimum":1,"maximum":12,"description":"Number of items per row"}}},"items":{"type":"array","description":"Array of items to display with a section","items":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","description":"Text shown on the item"},"description":{"type":"string","nullable":true,"description":"Short description, shown on hover or in a tooltip"},"icon":{"type":"string","nullable":true,"description":"An icon, either as a font-awesome identifier, local or remote URL, or auto-fetched favicon"},"url":{"type":"string","description":"The destination to navigate to when item is clicked"},"target":{"enum":["newtab","sametab","iframe"],"default":"newtab","description":"Opening method, when item is clicked"},"color":{"type":"string","description":"A custom fill color of the item"},"provider":{"type":"string","description":"Provider name, e.g. Microsoft"}}}}}}}}}')},"861a":function(t,e,a){},"8b35":function(t,e,a){},"8b8e":function(t,e){t.exports={pageInfo:{title:"Dashy",navLinks:[{title:"Home",path:"/"},{title:"About",path:"/about"},{title:"Source Code",path:"https://github.com/Lissy93/dashy"}]},appConfig:{theme:"colorful",fontAwesomeKey:"0821c65656"},sections:[{name:"Getting Started",items:[{title:"Source",description:"Source code and documentation on GitHub",icon:"fab fa-github",url:"https://github.com/Lissy93/dashy"},{title:"Issues",description:"View currently open issues, or raise a new one",icon:"fas fa-bug",url:"https://github.com/Lissy93/dashy/issues"},{title:"Demo 1",description:"Live Demo #1",icon:"far fa-rocket",url:"https://dashy-demo-1.netlify.app"},{title:"Demo 2",description:"Live Demo #2",icon:"fad fa-planet-ringed",url:"https://dashy-demo-2.netlify.app"}]}]}},"8e4e":function(t,e,a){},9:function(t,e){},"90ff":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-save fa-w-14",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"save",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M433.941 129.941l-83.882-83.882A48 48 0 00316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 00-14.059-33.941zM272 80v80H144V80h128zm122 352H54a6 6 0 01-6-6V86a6 6 0 016-6h42v104c0 13.255 10.745 24 24 24h176c13.255 0 24-10.745 24-24V83.882l78.243 78.243a6 6 0 011.757 4.243V426a6 6 0 01-6 6zM224 232c-48.523 0-88 39.477-88 88s39.477 88 88 88 88-39.477 88-88-39.477-88-88-88zm0 128c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z"}})]))}}},"922c":function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-expand-arrows-alt fa-w-14",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"expand-arrows-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M448 344v112a23.94 23.94 0 01-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 01-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0124-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0124 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}})]))}}},9350:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-digital-tachograph fa-w-20",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fal","data-icon":"digital-tachograph",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M608 96H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V128c0-17.67-14.33-32-32-32zm0 288H32V128h576v256zM80 272h208c8.84 0 16-7.16 16-16v-80c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v80c0 8.84 7.16 16 16 16zm8-88h192v64H88v-64zM72 360h224c4.42 0 8-3.58 8-8v-8c0-4.42-3.58-8-8-8H72c-4.42 0-8 3.58-8 8v8c0 4.42 3.58 8 8 8zm272 0h224c4.42 0 8-3.58 8-8v-8c0-4.42-3.58-8-8-8H344c-4.42 0-8 3.58-8 8v8c0 4.42 3.58 8 8 8zM80 288c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8H80zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16z"}})]))}}},"939b":function(t,e,a){},9635:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:[i,r],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{d:"M132.893 310.534l-30.082 10.911L91.9 291.364l30.081-10.911z"}}),a("path",{attrs:{d:"M271.552 301.072l-77.856-46.72-41.616 15.152 10.944 30.064 27.28-9.92 82.144 49.28 97.6-65.072L480 315.088V480H32V347.2l40.8-14.848-10.928-30.048L0 324.8V512h512V292.912l-146.048-54.768z"}}),a("path",{attrs:{d:"M0 0v278.848l66.576-24.224-10.928-30.064L32 233.152V32h448v168.912l-114.048-42.768-94.4 62.928-77.856-46.72-47.84 17.392 10.944 30.064 33.504-12.16 82.144 49.28 97.6-65.072L512 247.088V0z"}}),a("path",{attrs:{d:"M96.656 243.686L85.721 213.63l30.07-10.94 10.935 30.055z"}})]))}}},"97fb":function(t,e,a){},"9c0c":function(t,e,a){},"9e50":function(t,e,a){"use strict";a("3323")},a0ff:function(t,e,a){},b34d:function(t,e,a){},baed:function(t,e,a){"use strict";a("7941")},bd96:function(t,e,a){"use strict";a("d6b0")},bde7:function(t,e,a){"use strict";a("861a")},c715:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-th fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"th",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z"}})]))}}},cbd9:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-file-download fa-w-12",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"file-download",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M216 236.07c0-6.63-5.37-12-12-12h-24c-6.63 0-12 5.37-12 12v84.01h-48.88c-10.71 0-16.05 12.97-8.45 20.52l72.31 71.77c4.99 4.95 13.04 4.95 18.03 0l72.31-71.77c7.6-7.54 2.26-20.52-8.45-20.52H216v-84.01zM369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95z"}})]))}}},ce3f:function(t,e,a){"use strict";a("6401")},d16d:function(t,e,a){"use strict";a("18dd")},d580:function(t,e,a){"use strict";a("ee95")},d6b0:function(t,e,a){},d8c4:function(t,e,a){"use strict";a("2f3c")},d8e8:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-compress-arrows-alt fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"compress-arrows-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M200 288H88c-21.4 0-32.1 25.8-17 41l32.9 31-99.2 99.3c-6.2 6.2-6.2 16.4 0 22.6l25.4 25.4c6.2 6.2 16.4 6.2 22.6 0L152 408l31.1 33c15.1 15.1 40.9 4.4 40.9-17V312c0-13.3-10.7-24-24-24zm112-64h112c21.4 0 32.1-25.9 17-41l-33-31 99.3-99.3c6.2-6.2 6.2-16.4 0-22.6L481.9 4.7c-6.2-6.2-16.4-6.2-22.6 0L360 104l-31.1-33C313.8 55.9 288 66.6 288 88v112c0 13.3 10.7 24 24 24zm96 136l33-31.1c15.1-15.1 4.4-40.9-17-40.9H312c-13.3 0-24 10.7-24 24v112c0 21.4 25.9 32.1 41 17l31-32.9 99.3 99.3c6.2 6.2 16.4 6.2 22.6 0l25.4-25.4c6.2-6.2 6.2-16.4 0-22.6L408 360zM183 71.1L152 104 52.7 4.7c-6.2-6.2-16.4-6.2-22.6 0L4.7 30.1c-6.2 6.2-6.2 16.4 0 22.6L104 152l-33 31.1C55.9 198.2 66.6 224 88 224h112c13.3 0 24-10.7 24-24V88c0-21.3-25.9-32-41-16.9z"}})]))}}},de40:function(t,e,a){"use strict";a("7f59")},e6a4:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-download fa-w-16",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fal","data-icon":"download",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M452 432c0 11-9 20-20 20s-20-9-20-20 9-20 20-20 20 9 20 20zm-84-20c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20zm144-48v104c0 24.3-19.7 44-44 44H44c-24.3 0-44-19.7-44-44V364c0-24.3 19.7-44 44-44h99.4L87 263.6c-25.2-25.2-7.3-68.3 28.3-68.3H168V40c0-22.1 17.9-40 40-40h96c22.1 0 40 17.9 40 40v155.3h52.7c35.6 0 53.4 43.1 28.3 68.3L368.6 320H468c24.3 0 44 19.7 44 44zm-261.7 17.7c3.1 3.1 8.2 3.1 11.3 0L402.3 241c5-5 1.5-13.7-5.7-13.7H312V40c0-4.4-3.6-8-8-8h-96c-4.4 0-8 3.6-8 8v187.3h-84.7c-7.1 0-10.7 8.6-5.7 13.7l140.7 140.7zM480 364c0-6.6-5.4-12-12-12H336.6l-52.3 52.3c-15.6 15.6-41 15.6-56.6 0L175.4 352H44c-6.6 0-12 5.4-12 12v104c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12V364z"}})]))}}},e7fa:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-edit fa-w-18",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"far","data-icon":"edit",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"}})]))}}},eb32:function(t,e,a){"use strict";a("0c02")},eda6:function(t,e,a){"use strict";a("1864")},ee95:function(t,e,a){},ef83:function(t,e,a){},f719:function(t,e,a){"use strict";a("27c1")},f9d7:function(t,e){t.exports={functional:!0,render(t,e){const{_c:a,_v:s,data:o,children:n=[]}=e,{class:i,staticClass:r,style:c,staticStyle:l,attrs:u={},...d}=o;return a("svg",{class:["svg-inline--fa fa-grip-vertical fa-w-10",i,r],style:[c,l],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"grip-vertical",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},u),...d},n.concat([a("path",{attrs:{fill:"currentColor",d:"M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"}})]))}}}});
//# sourceMappingURL=app.7816ff05.js.map