mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 17:03:59 +03:00
1 line
612 KiB
Plaintext
1 line
612 KiB
Plaintext
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/interface-icons/user-logout.svg","webpack:///./src/assets/interface-icons/config-delete-local.svg","webpack:///./src/assets/interface-icons/config-language.svg","webpack:///./src/assets/interface-icons/application-rebuild.svg","webpack:///./src/components/Configuration/AppInfoModal.vue?7e83","webpack:///./src/assets/interface-icons/open-iframe.svg","webpack:///./src/views/Home.vue?4633","webpack:///./src/components/Configuration/ConfigContainer.vue?09fd","webpack:///./src/views/Login.vue?2567","webpack:///./src/components/Workspace/WebContent.vue?ad01","webpack:///./src/assets/interface-icons/open-current-tab.svg","webpack:///./src/assets/interface-icons/open-new-tab.svg","webpack:///./src/assets/interface-icons/application-about.svg","webpack:///./src/components/PageStrcture/LoadingScreen.vue?ea0c","webpack:///./src/components/FormElements/Input.vue?fb76","webpack:///./src/components/Settings/SettingsContainer.vue?8347","webpack:///./src/assets/interface-icons/application-minimal.svg","webpack:///./src/assets/interface-icons/config-editor.svg","webpack:///./src/components/Settings/CustomThemeMaker.vue?25a2","webpack:///./src/assets/interface-icons/application-change-view.svg","webpack:///./src/components/MinimalView/MinimalSection.vue?3d92","webpack:///./src/assets/interface-icons/config-backup.svg","webpack:///./src/assets/interface-icons/open-workspace.svg","webpack:///./src/components/Configuration/ConfigContainer.vue?18b6","webpack:///./src/assets/interface-icons/application-reload.svg","webpack:///./src/assets/interface-icons/config-color-palette.svg","webpack:///./src/components/LinkItems/StatusIndicator.vue?dc21","webpack:///./src/components/Settings/ThemeSelector.vue?89f8","webpack:///./src/components/Configuration/RebuildApp.vue?e145","webpack:///./src/components/Workspace/SideBarSection.vue?54cc","webpack:///./src/App.vue?a429","webpack:///./src/components/PageStrcture/Header.vue?853f","webpack:///./src/components/PageStrcture/PageTitle.vue?7c94","webpack:///src/components/PageStrcture/PageTitle.vue","webpack:///./src/components/PageStrcture/PageTitle.vue?ea63","webpack:///./src/components/PageStrcture/PageTitle.vue","webpack:///./src/components/PageStrcture/Nav.vue?fe5a","webpack:///src/components/PageStrcture/Nav.vue","webpack:///./src/components/PageStrcture/Nav.vue?c674","webpack:///./src/components/PageStrcture/Nav.vue","webpack:///./src/utils/MiscHelpers.js","webpack:///src/components/PageStrcture/Header.vue","webpack:///./src/components/PageStrcture/Header.vue?83b0","webpack:///./src/components/PageStrcture/Header.vue","webpack:///./src/components/PageStrcture/Footer.vue?e816","webpack:///src/components/PageStrcture/Footer.vue","webpack:///./src/components/PageStrcture/Footer.vue?6588","webpack:///./src/components/PageStrcture/Footer.vue","webpack:///./src/components/PageStrcture/LoadingScreen.vue?5e2a","webpack:///src/components/PageStrcture/LoadingScreen.vue","webpack:///./src/components/PageStrcture/LoadingScreen.vue?96ea","webpack:///./src/components/PageStrcture/LoadingScreen.vue","webpack:///./src/utils/ConfigAccumalator.js","webpack:///./src/utils/CoolConsole.js","webpack:///./src/utils/ErrorHandler.js","webpack:///./src/utils/Auth.js","webpack:///./src/utils/CheckSectionVisibility.js","webpack:///./src/utils/languages.js","webpack:///./src/utils/ConfigHelpers.js","webpack:///src/App.vue","webpack:///./src/App.vue?382d","webpack:///./src/App.vue","webpack:///./src/views/Home.vue?a7d3","webpack:///./src/components/Settings/SettingsContainer.vue?cba5","webpack:///./src/components/Settings/SearchBar.vue?b210","webpack:///./src/utils/ArrowKeyNavigation.js","webpack:///./src/utils/Search.js","webpack:///src/components/Settings/SearchBar.vue","webpack:///./src/components/Settings/SearchBar.vue?8307","webpack:///./src/components/Settings/SearchBar.vue","webpack:///./src/components/Settings/ConfigLauncher.vue?e31e","webpack:///./src/components/Configuration/ConfigContainer.vue?93eb","webpack:///./src/components/Configuration/JsonEditor.vue?fa44","webpack:///src/components/Configuration/JsonEditor.vue","webpack:///./src/components/Configuration/JsonEditor.vue?579f","webpack:///./src/components/Configuration/JsonEditor.vue","webpack:///./src/components/Configuration/CustomCss.vue?5ccc","webpack:///./src/components/Settings/CustomThemeMaker.vue?83f9","webpack:///./src/components/FormElements/Button.vue?38c5","webpack:///src/components/FormElements/Button.vue","webpack:///./src/components/FormElements/Button.vue?52f8","webpack:///./src/components/FormElements/Button.vue","webpack:///src/components/Settings/CustomThemeMaker.vue","webpack:///./src/components/Settings/CustomThemeMaker.vue?39f6","webpack:///./src/components/Settings/CustomThemeMaker.vue","webpack:///src/components/Configuration/CustomCss.vue","webpack:///./src/components/Configuration/CustomCss.vue?3340","webpack:///./src/components/Configuration/CustomCss.vue","webpack:///./src/components/Configuration/CloudBackupRestore.vue?4f0b","webpack:///./src/components/FormElements/Input.vue?6f91","webpack:///src/components/FormElements/Input.vue","webpack:///./src/components/FormElements/Input.vue?49a6","webpack:///./src/components/FormElements/Input.vue","webpack:///./src/utils/CloudBackup.js","webpack:///src/components/Configuration/CloudBackupRestore.vue","webpack:///./src/components/Configuration/CloudBackupRestore.vue?d065","webpack:///./src/components/Configuration/CloudBackupRestore.vue","webpack:///./src/components/Configuration/RebuildApp.vue?e5bb","webpack:///src/components/Configuration/RebuildApp.vue","webpack:///./src/components/Configuration/RebuildApp.vue?1840","webpack:///./src/components/Configuration/RebuildApp.vue","webpack:///./src/components/Configuration/AppVersion.vue?c692","webpack:///src/components/Configuration/AppVersion.vue","webpack:///./src/components/Configuration/AppVersion.vue?808b","webpack:///./src/components/Configuration/AppVersion.vue","webpack:///src/components/Configuration/ConfigContainer.vue","webpack:///./src/components/Configuration/ConfigContainer.vue?d8c3","webpack:///./src/components/Configuration/ConfigContainer.vue","webpack:///./src/components/Settings/LanguageSwitcher.vue?148e","webpack:///src/components/Settings/LanguageSwitcher.vue","webpack:///./src/components/Settings/LanguageSwitcher.vue?15e6","webpack:///./src/components/Settings/LanguageSwitcher.vue","webpack:///src/components/Settings/ConfigLauncher.vue","webpack:///./src/components/Settings/ConfigLauncher.vue?5a66","webpack:///./src/components/Settings/ConfigLauncher.vue","webpack:///./src/components/Settings/ThemeSelector.vue?f450","webpack:///./src/utils/ThemeHelper.js","webpack:///src/components/Settings/ThemeSelector.vue","webpack:///./src/components/Settings/ThemeSelector.vue?3fa2","webpack:///./src/components/Settings/ThemeSelector.vue","webpack:///./src/components/Settings/LayoutSelector.vue?d56b","webpack:///src/components/Settings/LayoutSelector.vue","webpack:///./src/components/Settings/LayoutSelector.vue?4a31","webpack:///./src/components/Settings/LayoutSelector.vue","webpack:///./src/components/Settings/ItemSizeSelector.vue?9c68","webpack:///src/components/Settings/ItemSizeSelector.vue","webpack:///./src/components/Settings/ItemSizeSelector.vue?7880","webpack:///./src/components/Settings/ItemSizeSelector.vue","webpack:///./src/components/Settings/AuthButtons.vue?5edc","webpack:///src/components/Settings/AuthButtons.vue","webpack:///./src/components/Settings/AuthButtons.vue?7550","webpack:///./src/components/Settings/AuthButtons.vue","webpack:///./src/components/Settings/KeyboardShortcutInfo.vue?2589","webpack:///src/components/Settings/KeyboardShortcutInfo.vue","webpack:///./src/components/Settings/KeyboardShortcutInfo.vue?6297","webpack:///./src/components/Settings/KeyboardShortcutInfo.vue","webpack:///./src/components/Configuration/AppInfoModal.vue?d7c6","webpack:///src/components/Configuration/AppInfoModal.vue","webpack:///./src/components/Configuration/AppInfoModal.vue?ee6a","webpack:///./src/components/Configuration/AppInfoModal.vue","webpack:///src/components/Settings/SettingsContainer.vue","webpack:///./src/components/Settings/SettingsContainer.vue?5e44","webpack:///./src/components/Settings/SettingsContainer.vue","webpack:///./src/components/LinkItems/Section.vue?7beb","webpack:///./src/components/LinkItems/Item.vue?abc5","webpack:///./src/components/LinkItems/ItemIcon.vue?1db5","webpack:///src/components/LinkItems/ItemIcon.vue","webpack:///./src/components/LinkItems/ItemIcon.vue?e801","webpack:///./src/components/LinkItems/ItemIcon.vue","webpack:///./src/components/LinkItems/ItemOpenMethodIcon.vue?7fc7","webpack:///src/components/LinkItems/ItemOpenMethodIcon.vue","webpack:///./src/components/LinkItems/ItemOpenMethodIcon.vue?b230","webpack:///./src/components/LinkItems/ItemOpenMethodIcon.vue","webpack:///./src/components/LinkItems/StatusIndicator.vue?1224","webpack:///src/components/LinkItems/StatusIndicator.vue","webpack:///./src/components/LinkItems/StatusIndicator.vue?9938","webpack:///./src/components/LinkItems/StatusIndicator.vue","webpack:///./src/components/LinkItems/ContextMenu.vue?6c81","webpack:///src/components/LinkItems/ContextMenu.vue","webpack:///./src/components/LinkItems/ContextMenu.vue?623e","webpack:///./src/components/LinkItems/ContextMenu.vue","webpack:///src/components/LinkItems/Item.vue","webpack:///./src/components/LinkItems/Item.vue?a851","webpack:///./src/components/LinkItems/Item.vue","webpack:///./src/components/LinkItems/Collapsable.vue?864e","webpack:///src/components/LinkItems/Collapsable.vue","webpack:///./src/components/LinkItems/Collapsable.vue?bb21","webpack:///./src/components/LinkItems/Collapsable.vue","webpack:///./src/components/LinkItems/IframeModal.vue?fc63","webpack:///src/components/LinkItems/IframeModal.vue","webpack:///./src/components/LinkItems/IframeModal.vue?5f28","webpack:///./src/components/LinkItems/IframeModal.vue","webpack:///src/components/LinkItems/Section.vue","webpack:///./src/components/LinkItems/Section.vue?258f","webpack:///./src/components/LinkItems/Section.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?1ead","webpack:///./src/views/Home.vue","webpack:///./src/views/Login.vue?75a0","webpack:///src/views/Login.vue","webpack:///./src/views/Login.vue?8434","webpack:///./src/views/Login.vue","webpack:///./src/views/Workspace.vue?631f","webpack:///./src/components/Workspace/SideBar.vue?283f","webpack:///./src/components/Workspace/SideBarItem.vue?5db8","webpack:///src/components/Workspace/SideBarItem.vue","webpack:///./src/components/Workspace/SideBarItem.vue?61b9","webpack:///./src/components/Workspace/SideBarItem.vue","webpack:///./src/components/Workspace/SideBarSection.vue?d5fc","webpack:///src/components/Workspace/SideBarSection.vue","webpack:///./src/components/Workspace/SideBarSection.vue?3ca7","webpack:///./src/components/Workspace/SideBarSection.vue","webpack:///src/components/Workspace/SideBar.vue","webpack:///./src/components/Workspace/SideBar.vue?368a","webpack:///./src/components/Workspace/SideBar.vue","webpack:///./src/components/Workspace/WebContent.vue?faf3","webpack:///src/components/Workspace/WebContent.vue","webpack:///./src/components/Workspace/WebContent.vue?01ce","webpack:///./src/components/Workspace/WebContent.vue","webpack:///./src/components/Workspace/MultiTaskingWebComtent.vue?42f9","webpack:///src/components/Workspace/MultiTaskingWebComtent.vue","webpack:///./src/components/Workspace/MultiTaskingWebComtent.vue?5326","webpack:///./src/components/Workspace/MultiTaskingWebComtent.vue","webpack:///src/views/Workspace.vue","webpack:///./src/views/Workspace.vue?c5ca","webpack:///./src/views/Workspace.vue","webpack:///./src/views/Minimal.vue?5676","webpack:///./src/components/MinimalView/MinimalSection.vue?f4bc","webpack:///src/components/MinimalView/MinimalSection.vue","webpack:///./src/components/MinimalView/MinimalSection.vue?2d98","webpack:///./src/components/MinimalView/MinimalSection.vue","webpack:///./src/components/MinimalView/MinimalHeading.vue?9030","webpack:///src/components/MinimalView/MinimalHeading.vue","webpack:///./src/components/MinimalView/MinimalHeading.vue?e0d0","webpack:///./src/components/MinimalView/MinimalHeading.vue","webpack:///./src/components/MinimalView/MinimalSearch.vue?9e60","webpack:///src/components/MinimalView/MinimalSearch.vue","webpack:///./src/components/MinimalView/MinimalSearch.vue?4c0b","webpack:///./src/components/MinimalView/MinimalSearch.vue","webpack:///src/views/Minimal.vue","webpack:///./src/views/Minimal.vue?69bb","webpack:///./src/views/Minimal.vue","webpack:///./src/router.js","webpack:///./src/utils/InitServiceWorker.js","webpack:///./src/utils/ClickOutside.js","webpack:///./src/utils/ErrorReporting.js","webpack:///./src/main.js","webpack:///./src/assets/interface-icons/config-open-settings.svg","webpack:///./src/assets/interface-icons/layout-horizontal.svg","webpack:///./src/assets/interface-icons/application-home.svg","webpack:///./src/App.vue?595f","webpack:///./src/utils/defaults.js","webpack:///./src/components/Settings/LayoutSelector.vue?6653","webpack:///./src/assets/interface-icons/config-close.svg","webpack:///./src/assets/interface-icons/loader.svg","webpack:///./src/views/Minimal.vue?b201","webpack:///./src/assets/interface-icons/cloud-backup-restore.svg","webpack:///./src/components/LinkItems/ContextMenu.vue?595f","webpack:///./src/assets/interface-icons/icon-size-medium.svg","webpack:///./src/views/Minimal.vue?e6d7","webpack:///./src/components/Settings/AuthButtons.vue?1652","webpack:///./src/components/Settings/ConfigLauncher.vue?daa0","webpack:///./src/assets/interface-icons/config-custom-css.svg","webpack:///./src/components/Workspace/MultiTaskingWebComtent.vue?bd20","webpack:///./src/components/LinkItems/StatusIndicator.vue?c315","webpack:///./src/components/FormElements/Button.vue?41ed","webpack:///./src/components/Configuration/JsonEditor.vue?5179","webpack:///./src/components/LinkItems/Item.vue?b4f3","webpack:///./src/components/MinimalView/MinimalHeading.vue?97b0","webpack:///./src/components/Settings/ItemSizeSelector.vue?dc3b","webpack:///./src/components/Configuration/CloudBackupRestore.vue?c86a","webpack:///./public/conf.yml","webpack:///./src/assets/interface-icons/config-cancel.svg","webpack:///./src/assets/interface-icons/save-config.svg","webpack:///./src/assets/interface-icons/icon-size-large.svg","webpack:///./src/components/Settings/KeyboardShortcutInfo.vue?300b","webpack:///./src/assets/interface-icons/broken-icon.svg","webpack:///./src/components/Configuration/CustomCss.vue?fa1a","webpack:///./src/components/PageStrcture/Footer.vue?ee42","webpack:///./src/components/Configuration/AppVersion.vue?9a2c","webpack:///./src/components/PageStrcture/Header.vue?0f48","webpack:///./src/components/LinkItems/ItemOpenMethodIcon.vue?d33a","webpack:///./src/components/Settings/SearchBar.vue?592c","webpack:///./src/components/LinkItems/Section.vue?6966","webpack:///./src/assets/interface-icons/layout-default.svg","webpack:///./src/assets/interface-icons/config-download-file.svg","webpack:///./src/components/PageStrcture/Nav.vue?efdc","webpack:///./src/components/Workspace/SideBarItem.vue?c6c2","webpack:///./src/assets/interface-icons/icon-size-small.svg","webpack:///./src/components/LinkItems/ItemIcon.vue?e410","webpack:///./src/utils/EmojiUnicodeRegex.js","webpack:///./src/components/Workspace/SideBar.vue?8e76","webpack:///./src/assets/interface-icons/config-restore.svg","webpack:///./src/assets/interface-icons/config-edit-json.svg","webpack:///./src/utils/JsonToYaml.js","webpack:///./src/views/Workspace.vue?61cd","webpack:///./src/components/LinkItems/Collapsable.vue?d84e","webpack:///./src/components/PageStrcture/PageTitle.vue?99fa","webpack:///./src/components/LinkItems/IframeModal.vue?f46c","webpack:///./src/components/Settings/LanguageSwitcher.vue?ad68","webpack:///./src/components/Settings/LanguageSwitcher.vue?6bfe","webpack:///./src/components/LinkItems/Item.vue?d111","webpack:///./src/assets/interface-icons/layout-vertical.svg"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","functional","_h","_vm","_c","_v","children","class","classNames","staticClass","style","staticStyle","attrs","rest","assign","concat","render","this","$createElement","_self","isLoading","_e","pageInfo","visibleComponents","footerText","staticRenderFns","title","description","logo","navLinks","_s","props","String","component","_l","link","index","path","isUrl","links","Array","methods","shouldBeVisible","routeName","hideFurnitureOn","includes","asciiHash","input","str","Math","random","toString","reducer","previousHash","char","charCodeAt","asciiSum","split","reduce","shortened","btoa","inject","components","PageTitle","Nav","titleVisible","navVisible","computed","$route","text","visible","domProps","authorUrl","authorName","licenseUrl","license","showCopyright","date","repoUrl","on","$event","ConfigAccumulator","constructor","conf","appConfig","appConfigFile","usersAppConfig","defaultAppConfig","localStorage","localStorageKeys","APP_CONFIG","JSON","parse","layout","LAYOUT_ORIENTATION","defaultLayout","iconSize","ICON_SIZE","defaultIconSize","auth","defaults","defaultPageInfo","localPageInfo","PAGE_INFO","filePageInfo","pi","sections","localSections","CONF_SECTIONS","json","sectionsFile","config","welcomeMsg","v","log","warningMsg","info","statusMsg","msg","statusErrorMsg","errorLog","makeTime","now","Date","pad","digit","padStart","getHours","getMinutes","getSeconds","appendToErrorLog","sessionStorage","getItem","sessionStorageKeys","ERROR_LOG","setItem","ErrorHandler","Sentry","InfoHandler","WarningInfoHandler","getAppConfig","Accumulator","printWarning","warn","isKeycloakEnabled","enableKeycloak","getKeycloakConfig","keycloak","serverUrl","realm","clientId","getUsers","isArray","users","generateUserToken","user","strAndUpper","toUpperCase","sha","sha256","hash","isLoggedIn","validTokens","map","userAuthenticated","cookie","forEach","cookieKey","trim","cookieValue","cookieKeys","AUTH_TOKEN","isAuthEnabled","isGuestAccessEnabled","enableGuestAccess","checkCredentials","username","pass","messages","response","toLowerCase","correct","successMsg","incorrectPassword","missingPassword","missingUsername","incorrectUsername","login","expiry","setTime","getTime","toGMTString","userObject","USERNAME","logout","removeItem","getCurrentUser","foundUserObject","isLoggedInAsGuest","guestEnabled","notLoggedIn","isUserAdmin","currentUser","isAdmin","getUserState","notConfigured","loggedIn","guestAccess","userStateEnum","determineVisibility","visibilityList","cUsername","isFound","userInList","isSectionVisibleToUser","displayData","isGuest","checkVisiblity","hideFor","hideForUsers","checkHiddenability","showForUsers","checkIfHideForGuest","hideForGuest","hideForGuests","checkSectionVisibility","filter","currentSection","languages","locale","en","flag","de","nl","fr","sl","es","it","zhCN","ar","hi","ja","pt","ru","i18nMessages","lang","filterUserSections","componentVisibility","usersChoice","hideComponents","isThere","userValue","pageTitle","hideHeading","navigation","hideNav","searchBar","hideSearch","settings","hideSettings","footer","hideFooter","splashScreen","hideSplashScreen","getTheme","localTheme","THEME","appConfigTheme","theme","defaultTheme","getCustomColors","localColors","CUSTOM_COLORS","configColors","customColors","getCustomKeyShortcuts","results","section","itemsWithHotKeys","items","item","hotkey","url","flat","getUsersLanguage","langCode","LANGUAGE","language","defaultLanguage","langObj","find","Header","Footer","LoadingScreen","provide","showFooter","usersCss","textContent","append","shouldShowSplash","availibleLocales","isLangSupported","languageList","userLang","usersBorwserLang1","navigator","usersBorwserLang2","usersSpairLangs","$i18n","availableLocales","usersLang","autoDetectLanguage","getLanguage","loader","getElementById","display","applyLanguage","hideSplash","customCss","cleanedCss","replace","injectCustomStyles","hideLoader","getBackgroundImage","ref","itemSizeBound","getExternalCSSLinks","allSections","modalOpen","searching","setLayoutOrientation","setItemSize","updateModalVisibility","checkTheresData","colCount","searchValue","filterTiles","icon","getDisplayData","finishedSearching","checkIfResults","$t","userIsTypingSomething","settingsVisible","externalThemes","getInitialTheme","getUserThemes","modalChanged","displayLayout","updateDisplayLayout","updateIconSize","userState","directives","rawName","expression","toggleSettingsVisibility","minimalSearch","preventDefault","searchSubmitted","arguments","composing","indexOf","_k","keyCode","clearFilterInput","searchPrefs","disableWebSearch","ArrowKeyNavigation","resetIndex","arrowNavigation","goToPrevious","goToNext","getSafeElementIndex","selectItemByIndex","focus","getElementsByClassName","numResults","getNumResults","startingIndex","isSameRow","indx","pos","offsetTop","checkPreviousIndex","currentIndex","yPos","position","isBelow","start","end","nextIndex","findPreviousRow","count","rowLen","findNextRow","adjustment","checkNextIndex","isAbove","getDomainFromUrl","urlPattern","domainPattern","match","filterHelper","compareStr","searchStr","process","searchTiles","allTiles","searchTerm","tile","provider","tags","getSearchEngineFromBang","searchQuery","bangList","bangNames","keys","foundBang","bang","findUrlForSearchEngine","searchEngine","availableSearchEngines","test","stripBangs","q","active","Boolean","akn","webSearch","addEventListener","handleKeyPress","removeEventListener","currentElem","activeElement","id","notAlreadySearching","$refs","handleHotKey","$emit","blur","usersHotKeys","parseInt","open","method","openingMethod","searchBang","desiredSearchEngine","isCustomSearch","searchUrl","encodeURIComponent","launchWebSearch","tooltip","showEditor","openChangeViewMenu","modalNames","CONF_EDITOR","combineConfig","LANG_SWITCHER","downloadConfigFile","yaml","navigateToTab","backupId","openLanguageSwitchModal","openRebuildAppModal","resetLocalSettings","openAboutModal","options","model","callback","$$v","jsonData","allowWriteToDisk","_q","saveMode","isValid","save","errorMessages","saveSuccess","responseText","VJsoneditor","schema","modes","onValidationError","validationErrors","jsonParser","JsonToYaml","shouldAllowWriteToDisk","progress","allowConfigEdit","writeConfigToDisk","$toasted","show","saveConfigLocally","baseUrl","endpoint","headers","body","success","carefullyClearLocalStorage","showToast","errors","currentTheme","showingAllVars","colorName","replaceAll","isColor","swatches","setVariable","$set","makeSwatchStyles","slot","exportToClipboard","resetAndSave","themeToEdit","findAllVariableNames","saveChanges","resetUnsavedColors","disallow","disabled","click","_t","Function","VSwatches","Button","SaveIcon","CancelIcon","makeInitialData","cssVar","getComputedStyle","documentElement","getPropertyValue","variable","setProperty","priorSettings","variables","removeProperty","themeName","clipboardText","clipboard","writeText","variableArray","hasDash","addDash","removeDash","getCssVariableValue","availableVariables","from","styleSheets","colorHex","hexToRgb","colorParts","exec","hex","getLightness","contrastingColor","getForegroundColor","variableName","variableValue","nonColorVariables","CustomThemeMaker","css","userStyles","backupPassword","checkPass","scopedSlots","_u","fn","proxy","restoreCode","restorePassword","restoreBackup","label","placeholder","updateValue","default","validator","ENDPOINT","backupEndpoint","encryptData","password","stringifiedData","stringify","encryptedData","aes","encrypt","decryptData","decrypt","Utf8","makeSubHash","backup","axios","post","userData","subHash","update","put","encodeGetParams","entries","kv","join","restore","params","errorMsg","decryptedData","Input","IconBackup","IconRestore","savedHash","makeUpdate","showErrorMsg","makeBackup","setBackupIdLocally","showSuccessMsg","isUpdate","makeHash","modalName","startBuild","loading","allowRebuild","output","refreshPage","RebuildIcon","ReloadIcon","LoadingAnimation","responseData","location","reload","isVersionValid","appVersion","finished","isUpToDate","veryOutOfDate","latestVersion","checksEnabled","checkVersion","packageUrl","version","checkIfUpToDate","currentVersion","difference","Number","isNaN","JsonEditor","CustomCssEditor","CloudBackupRestore","RebuildApp","AppVersion","DownloadIcon","DeleteIcon","EditIcon","CloudIcon","CustomCssIcon","LanguageIcon","IconAbout","tabInxex","itemToSelect","tabView","navItems","activeTabItem","$modal","isTheUserSure","confirm","clear","filename","filecontents","element","applyLanguageLocally","saveLanguage","SaveConfigIcon","getCurrentLanguage","newLang","friendlyName","selectedLanguage","i18nLocales","checkLocale","hide","getLanguageFromIso","current","viewSwitcherOpen","ConfigContainer","LanguageSwitcher","IconSpanner","IconViewMode","IconHome","IconWorkspaceView","IconMinimalView","content","themeNames","selectedTheme","openThemeConfigurator","closeThemeConfigurator","GetTheme","ApplyCustomVariables","mainCssVars","vName","themeColors","customVar","ApplyLocalTheme","newTheme","htmlTag","hasAttribute","removeAttribute","LoadExternalTheme","preloadTheme","sheet","checkTheme","themes","selectTheme","add","confTheme","userThemes","IconPalette","watch","updateTheme","builtInThemes","themeHelper","themeConfiguratorOpen","externalThemeNames","specialThemes","added","isThemeLocal","themeToCheck","resetToDefault","IconDeafault","IconHorizontal","IconVertical","IconSmall","IconMedium","IconLarge","makeText","userType","goToLogin","IconLogout","shouldHide","hideWelcomeHelper","timeDelay","keyPressEvent","shouldHideWelcomeMessage","$destroy","getErrorLog","SearchBar","ConfigLauncher","ThemeSelector","LayoutSelector","ItemSizeSelector","AuthButtons","KeyboardShortcutInfo","AppInfoModal","IconOpen","IconClose","something","changedTo","cssThemes","getSettingsVisibility","searchVisible","groupId","collapsed","cols","rows","color","customStyles","isGridLayout","makeId","backgroundColor","statusCheckUrl","statusCheckHeaders","newItemSize","shouldEnableStatusCheck","statusCheck","getStatusCheckInterval","statusCheckAllowInsecure","triggerModal","itemSize","getTooltipOptions","getUnicodeOpeningIcon","itemOpened","button","openContextMenu","statusResponse","successStatus","contextMenuOpen","contextPos","posX","posY","contextItemClick","size","iconType","getEmoji","iconPath","getSimpleIcon","broken","imageNotFound","BrokenImage","determineImageType","getIconPath","pattern","RegExp","img","fileExtRegex","validImgExtensions","splitPath","emojiCode","emojiType","fromCodePoint","substr","fullUrl","specificApi","shouldUseDefaultFavicon","urlParts","host","getHostName","faviconApi","faviconIdentifier","getFavicon","isLocalIP","encodeURI","imageName","toLocaleLowerCase","imgType","makeClass","isSmall","isTransparent","transparent","NewTabOpenIcon","SameTabOpenIcon","IframeOpenIcon","WorkspaceOpenIcon","statusText","otherStatusText","classes","delay","_m","statusSuccess","startTime","menuEnabled","launch","isMenuDisabled","disableContextMenu","subtitle","enableStatusCheck","statusCheckInterval","getId","background","Icon","ItemOpenMethodIcon","StatusIndicator","ContextMenu","altKey","disableSmartSort","incrementMostUsedCount","incrementLastUsedCount","clientX","pageXOffset","clientY","pageYOffset","providerText","lb1","hotkeyText","trigger","hideOnTargetClick","html","placement","encode","urlToCheck","enableInsecure","makeApiUrl","itemId","mostUsed","counter","lastUsed","checkWebsiteStatus","setInterval","checkSpanNum","sanitizeCustomStyles","uniqueKey","getCollapseState","collapseChanged","span","classPrefix","maxSpan","numSpan","userCss","initStorage","collapseStateObject","initialiseStorage","collapseState","newState","whatChanged","setCollapseState","srcElement","checked","modalClosed","close","Collapsable","Item","IframeModal","sortBy","sortOrder","sortAlphabetically","reverse","sortByMostUsed","sortBLastUsed","sortRandomly","sectionLayout","styles","itemCountX","itemCountY","sectionStr","itemStr","charSum","itemPreference","globalPreference","interval","sort","a","b","usageCount","gmu","glu","SettingsContainer","Section","layoutOrientation","set","filterComp","modalState","availibleThemes","externalStyleSheet","externals","ext","Default","prefix","isNeeded","checkIfIconLibraryNeeded","enableFontAwesome","checkIfFontAwesomeNeeded","fontAwesomeScript","faKey","fontAwesomeKey","checkIfMdiNeeded","mdiStylesheet","itemsFound","backgroundImg","initiateFontAwesome","initiateMaterialDesignIcons","existingUsername","stayLoggedIn","getOut","status","isUserAlreadyLoggedIn","isAuthenticationEnabled","dropDownMenu","submitLogin","guestLogin","time","goHome","isAllowed","setTheme","getInitialUrl","launchApp","isMultiTaskingEnabled","openSection","isOpen","itemClicked","SideBarItem","initUrl","fill","SideBarSection","val","ind","compare","sectionIndex","findIndex","openDefaultSection","openApps","openExistingApp","appendNewApp","ComponentClass","instance","propsData","$mount","container","$el","frame","classList","remove","enableMultiTasking","SideBar","WebContent","MultiTaskingWebComtent","route","query","decodeURI","workspaceLandingUrl","this$1","setColumnCount","tabbedView","getSections","selectedSection","sectionSelected","selected","showAll","selectSection","MinimalSearchBar","MinimalSection","MinimalHeading","MinimalSearch","clearMinFilterInput","applyTheme","Vue","use","Router","ProgressBar","isAuthenticated","authEnabled","userLoggedIn","getStartingView","startingView","getStartingComponent","usersPreference","Home","Minimal","Workspace","makeMetaTags","defaultTitle","metaTags","metaTagData","router","routes","meta","routePaths","home","workspace","minimal","Login","beforeEnter","to","next","about","download","notFound","redirectedFrom","redirect","beforeEach","afterEach","nextTick","setSwStatus","swStateToSet","initialSwState","ready","registered","cached","updateFound","updated","offline","devMode","disabledByUser","sessionData","SW_STATUS","currentSwState","newSwState","shouldEnableServiceWorker","enableServiceWorker","printSwStatus","swUrl","registerServiceWorker","register","updatefound","instances","onDocumentClick","el","contains","binding","dataset","outsideClickIndex","unbind","handler","ErrorReporting","enableErrorReporting","require","Integrations","dsn","sentryDsn","init","integrations","BrowserTracing","routingInstrumentation","vueRouterInstrumentation","tracesSampleRate","release","VueI18n","VTooltip","tooltipOptions","VModal","VTabs","Toasted","toastedOptions","VSelect","directive","clickOutside","productionTip","i18n","fallbackLocale","serviceWorker","awesome","Dashy","initOptions","onLoad","Keycloak","serviceEndpoints","statusPing","rebuild","HIDE_WELCOME_BANNER","COLLAPSE_STATE","BACKUP_ID","BACKUP_HASH","HIDE_SETTINGS","MOST_USED","LAST_USED","CLOUD_BACKUP","REBUILD_APP","THEME_MAKER","ABOUT_APP","topLevelConfKeys","SECTIONS","splashScreenTime","duration","keepOnHover","className","iconPack","defaultTrigger","defaultHideOnTargetClick","autoHide","defaultHtml","defaultPlacement","defaultLoadingContent","defaultDelay","faviconApiEndpoints","mcapi","clearbit","faviconkit","google","allesedv","webmasterapi","iconCdns","fa","mdi","si","generative","localPath","faviconName","homeLabIcons","searchEngineUrls","duckduckgo","whoogle","qwant","startpage","ecosia","metager","swisscows","mojeek","peekier","wikipedia","stackoverflow","wolframalpha","reddit","youtube","github","bbc","defaultSearchEngine","defaultSearchOpeningMethod","searchBangs","pwa","manifestPath","themeColor","msTileColor","iconPaths","manifestCrossorigin","favicon64","favicon32","maskIcon","msTileImage","trimWhitespace","x","trimRight","throwError","indentLevel","handlers","null","number","boolean","string","array","y","typeOf","inArray","rootNode","k","function"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC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MACjJC,GAELP,EAASS,OAAO,CAACX,EAAG,OAAO,CAACQ,MAAM,CAAC,KAAO,eAAe,EAAI,4K","file":"js/dashy.ef4c9ae3.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"dashy\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"dashy\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-36fb5c32\":\"dfea9185\",\"chunk-724820ea\":\"888ac931\",\"chunk-7a681339\":\"2ba3fe65\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-36fb5c32\":1,\"chunk-724820ea\":1,\"chunk-7a681339\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-36fb5c32\":\"a64c098d\",\"chunk-724820ea\":\"f5d4b402\",\"chunk-7a681339\":\"974ecc90\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-sign-out-alt fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"sign-out-alt\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-trash-alt fa-w-14\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-language fa-w-20\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"language\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 640 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M160.3 203.8h-.5s-4.3 20.9-7.8 33l-11 37.3h37.9l-10.7-37.3c-3.6-12.1-7.9-33-7.9-33zM616 96H24c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zM233.2 352h-22.6a12 12 0 01-11.5-8.6l-9.3-31.7h-59.9l-9.1 31.6c-1.5 5.1-6.2 8.7-11.5 8.7H86.8c-8.2 0-14-8.1-11.4-15.9l57.1-168c1.7-4.9 6.2-8.1 11.4-8.1h32.2c5.1 0 9.7 3.3 11.4 8.1l57.1 168c2.6 7.8-3.2 15.9-11.4 15.9zM600 376H320V136h280zM372 228h110.8c-6.3 12.8-15.1 25.9-25.9 38.5-6.6-7.8-12.8-15.8-18.3-24-3.5-5.3-10.6-6.9-16.1-3.6l-13.7 8.2c-5.9 3.5-7.6 11.3-3.8 17 6.5 9.7 14.4 20.1 23.5 30.6-9 7.7-18.6 14.8-28.7 21.2-5.4 3.4-7.1 10.5-3.9 16l7.9 13.9c3.4 5.9 11 7.9 16.8 4.2 12.5-7.9 24.6-17 36-26.8 10.7 9.6 22.3 18.6 34.6 26.6 5.8 3.7 13.6 1.9 17-4.1l8-13.9c3.1-5.5 1.5-12.5-3.8-16-9.2-6-18.4-13.1-27.2-20.9 1.5-1.7 2.9-3.3 4.3-5 17.1-20.6 29.6-41.7 36.8-62H540c6.6 0 12-5.4 12-12v-16c0-6.6-5.4-12-12-12h-64v-16c0-6.6-5.4-12-12-12h-16c-6.6 0-12 5.4-12 12v16h-64c-6.6 0-12 5.4-12 12v16c0 6.7 5.4 12.1 12 12.1z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-hammer fa-w-18\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"hammer\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 576 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M571.31 193.94l-22.63-22.63c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31-28.9-28.9c5.63-21.31.36-44.9-16.35-61.61l-45.25-45.25c-62.48-62.48-163.79-62.48-226.28 0l90.51 45.25v18.75c0 16.97 6.74 33.25 18.75 45.25l49.14 49.14c16.71 16.71 40.3 21.98 61.61 16.35l28.9 28.9-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0l90.51-90.51c6.23-6.24 6.23-16.37-.02-22.62zm-286.72-15.2c-3.7-3.7-6.84-7.79-9.85-11.95L19.64 404.96c-25.57 23.88-26.26 64.19-1.53 88.93s65.05 24.05 88.93-1.53l238.13-255.07c-3.96-2.91-7.9-5.87-11.44-9.41l-49.14-49.14z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppInfoModal.vue?vue&type=style&index=0&id=643308c1&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-clone fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"clone\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=c541a1c2&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigContainer.vue?vue&type=style&index=1&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebContent.vue?vue&type=style&index=0&id=f1f96a0a&lang=scss&scoped=true&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-window-maximize fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-external-link-alt fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-info fa-w-8\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"info\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 256 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M224 352.589V224c0-16.475-6.258-31.517-16.521-42.872C225.905 161.14 236 135.346 236 108 236 48.313 187.697 0 128 0 68.313 0 20 48.303 20 108c0 20.882 5.886 40.859 16.874 58.037C15.107 176.264 0 198.401 0 224v39.314c0 23.641 12.884 44.329 32 55.411v33.864C12.884 363.671 0 384.359 0 408v40c0 35.29 28.71 64 64 64h128c35.29 0 64-28.71 64-64v-40c0-23.641-12.884-44.329-32-55.411zM128 48c33.137 0 60 26.863 60 60s-26.863 60-60 60-60-26.863-60-60 26.863-60 60-60zm80 400c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16v-40c0-8.836 7.164-16 16-16h16V279.314H64c-8.836 0-16-7.164-16-16V224c0-8.836 7.164-16 16-16h96c8.836 0 16 7.164 16 16v168h16c8.836 0 16 7.164 16 16v40z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingScreen.vue?vue&type=style&index=0&id=a7bc1de6&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=style&index=0&id=5df13ed2&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsContainer.vue?vue&type=style&index=0&id=797ad208&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-splotch fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"splotch\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M472.29 195.89l-67.06-22.95c-19.28-6.6-33.54-20.92-38.14-38.3L351.1 74.19c-11.58-43.77-76.57-57.13-109.98-22.62l-46.14 47.67c-13.26 13.71-33.54 20.93-54.2 19.31l-71.88-5.62c-52.05-4.07-86.93 44.88-59.03 82.83l38.54 52.42c11.08 15.07 12.82 33.86 4.64 50.24L24.62 355.4c-20.59 41.25 22.84 84.87 73.49 73.81l69.96-15.28c20.11-4.39 41.45 0 57.07 11.73l54.32 40.83c39.32 29.56 101.04 7.57 104.45-37.22l4.7-61.86c1.35-17.79 12.8-33.86 30.63-42.99l62-31.74c44.88-22.96 39.59-80.17-8.95-96.79z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-wrench fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"wrench\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomThemeMaker.vue?vue&type=style&index=0&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-swatchbook fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"swatchbook\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M112 424c13.25 0 24-10.75 24-24 0-13.26-10.75-24-24-24s-24 10.74-24 24c0 13.25 10.75 24 24 24zm368-136h-97.61l69.02-69.02c12.5-12.5 12.5-32.76 0-45.25L338.27 60.59c-6.25-6.25-14.44-9.37-22.63-9.37s-16.38 3.12-22.63 9.37L224 129.61V32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v368c0 61.86 50.14 112 112 112h368c17.67 0 32-14.33 32-32V320c0-17.67-14.33-32-32-32zM176 400c0 17.88-7.41 34.03-19.27 45.65-3.65 3.57-7.7 6.53-11.99 9.05-.86.51-1.76.96-2.64 1.43-4.47 2.34-9.12 4.31-14.02 5.57-5.16 1.35-10.48 2.29-16.06 2.29H112c-35.29 0-64-28.71-64-64v-96h128V400zm0-144H48v-80h128v80zm0-128H48V48h128v80zm48 69.49l91.65-91.65 90.51 90.51L224 378.51V197.49zM464 464H206.39l128-128H464v128z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalSection.vue?vue&type=style&index=0&id=1468c835&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-upload fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fal\",\"data-icon\":\"upload\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-browser fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"browser\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M32 36v416c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V36c0-26.5-21.5-48-48-48H80C53.5-12 32 9.5 32 36zm60 416c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H92zM426 36c3.3 0 6 2.7 6 6v404c0 3.3-2.7 6-6 6H168V36h258zm-310 0c6.6 0 12 5.4 12 12v280c0 6.6-5.4 12-12 12H92c-6.6 0-12-5.4-12-12V48c0-6.6 5.4-12 12-12h24z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigContainer.vue?vue&type=style&index=0&id=dcfaf5de&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-sync fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"sync\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M440.65 12.57l4 82.77A247.16 247.16 0 00255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0024.09 224h49.05a12 12 0 0011.67-9.26 175.91 175.91 0 01317-56.94l-101.46-4.86a12 12 0 00-12.57 12v47.41a12 12 0 0012 12H500a12 12 0 0012-12V12a12 12 0 00-12-12h-47.37a12 12 0 00-11.98 12.57zM255.83 432a175.61 175.61 0 01-146-77.8l101.8 4.87a12 12 0 0012.57-12v-47.4a12 12 0 00-12-12H12a12 12 0 00-12 12V500a12 12 0 0012 12h47.35a12 12 0 0012-12.6l-4.15-82.57A247.17 247.17 0 00255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 00-11.8-14.18h-49.05a12 12 0 00-11.67 9.26A175.86 175.86 0 01255.83 432z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-palette fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"palette\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M128 224c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.4-32-32-32zM418.6 58.1C359.2 9.3 281.3-10 204.6 5 104.9 24.4 24.7 104.2 5.1 203.7c-16.7 84.2 8.1 168.3 67.8 230.6 47.3 49.4 109.7 77.8 167.9 77.8 8.8 0 17.5-.6 26.1-2 24.2-3.7 44.6-18.7 56.1-41.1 12.3-24 12.3-52.7.2-76.6-6.1-12-5.5-26.2 1.8-38 7-11.8 18.7-18.4 32-18.4h72.2c46.4 0 82.8-35.7 82.8-81.3-.2-76.4-34.3-148.1-93.4-196.6zM429.2 288H357c-29.9 0-57.2 15.4-73 41.3-16 26.1-17.3 57.8-3.6 84.9 5.1 10.1 5.1 22.7-.2 32.9-2.6 5-8.7 13.7-20.6 15.6-49.3 7.7-108.9-16.6-152-61.6-48.8-50.9-69-119.4-55.4-188 15.9-80.6 80.8-145.3 161.6-161 62.6-12.3 126.1 3.5 174.3 43.1 48.1 39.5 75.7 97.6 75.9 159.6 0 18.6-15.3 33.2-34.8 33.2zM160 128c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.4-32-32-32zm96-32.1c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32c0-17.6-14.3-32-32-32zm96 32.1c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatusIndicator.vue?vue&type=style&index=1&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThemeSelector.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RebuildApp.vue?vue&type=style&index=0&id=e1fe6988&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarSection.vue?vue&type=style&index=0&id=7b11b6e1&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"dashy\"}},[(_vm.shouldShowSplash)?_c('LoadingScreen',{attrs:{\"isLoading\":_vm.isLoading}}):_vm._e(),_c('Header',{attrs:{\"pageInfo\":_vm.pageInfo}}),_c('router-view'),(_vm.visibleComponents.footer)?_c('Footer',{attrs:{\"text\":_vm.footerText}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('header',[(_vm.titleVisible)?_c('PageTitle',{attrs:{\"title\":_vm.pageInfo.title,\"description\":_vm.pageInfo.description,\"logo\":_vm.pageInfo.logo}}):_vm._e(),(_vm.navVisible)?_c('Nav',{staticClass:\"nav\",attrs:{\"links\":_vm.pageInfo.navLinks}}):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{staticClass:\"page-titles\",attrs:{\"to\":\"/\"}},[(_vm.logo)?_c('img',{staticClass:\"site-logo\",attrs:{\"src\":_vm.logo}}):_vm._e(),_c('div',{staticClass:\"text\"},[_c('h1',[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.description))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <router-link to=\"/\" class=\"page-titles\">\n <img v-if=\"logo\" :src=\"logo\" class=\"site-logo\" />\n <div class=\"text\">\n <h1>{{ title }}</h1>\n <span class=\"subtitle\">{{ description }}</span>\n </div>\n </router-link>\n</template>\n\n<script>\nexport default {\n name: 'PageTitle',\n props: {\n title: String,\n description: String,\n logo: String,\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/media-queries.scss';\n\n.page-titles {\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n text-decoration: none;\n h1 {\n color: var(--heading-text-color);\n font-size: 2.5rem;\n margin: 0;\n }\n span.subtitle {\n color: var(--heading-text-color);\n font-style: italic;\n text-shadow: 1px 1px 2px #130f23;\n opacity: var(--dimming-factor);\n }\n img.site-logo {\n margin: 0.2rem 0.5rem 0.2rem 0;\n max-width: 3.5rem;\n height: fit-content;\n }\n @include phone {\n flex-direction: column;\n text-align: center;\n padding: 0.25rem 0;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageTitle.vue?vue&type=template&id=28f9cb72&scoped=true&\"\nimport script from \"./PageTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./PageTitle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PageTitle.vue?vue&type=style&index=0&id=28f9cb72&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28f9cb72\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{attrs:{\"id\":\"nav\"}},_vm._l((_vm.links),function(link,index){return _c('router-link',{key:index,staticClass:\"nav-item\",attrs:{\"to\":link.path,\"href\":link.path,\"target\":_vm.isUrl(link.path) ? '_blank' : '',\"rel\":\"noopener noreferrer\"}},[_vm._v(_vm._s(link.title))])}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <nav id=\"nav\">\n <router-link\n v-for=\"(link, index) in links\"\n :key=\"index\"\n :to=\"link.path\"\n :href=\"link.path\"\n :target=\"isUrl(link.path) ? '_blank' : ''\"\n rel=\"noopener noreferrer\"\n class=\"nav-item\"\n >{{link.title}}</router-link>\n </nav>\n</template>\n\n<script>\nexport default {\n name: 'Nav',\n props: {\n links: Array,\n },\n methods: {\n isUrl: (str) => new RegExp(/(http|https):\\/\\/(\\S+)(:[0-9]+)?/).test(str),\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\nnav {\n display: flex;\n align-items: center;\n .nav-item {\n display: inline-block;\n padding: 0.75rem 0.5rem;\n margin: 0.5rem;\n outline: none;\n border: none;\n border-radius: var(--curve-factor);\n -webkit-box-shadow: 1px 1px 2px #232323;\n box-shadow: 1px 1px 2px #232323;\n color: var(--nav-link-text-color);\n background: var(--nav-link-background-color);\n border: 1px solid var(--nav-link-border-color);\n text-decoration: none;\n &.router-link-active, &:hover {\n color: var(--nav-link-text-color-hover);\n background: var(--nav-link-background-color-hover);\n border: 1px solid var(--nav-link-border-color-hover);\n }\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Nav.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Nav.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Nav.vue?vue&type=template&id=68c1bd5c&scoped=true&\"\nimport script from \"./Nav.vue?vue&type=script&lang=js&\"\nexport * from \"./Nav.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Nav.vue?vue&type=style&index=0&id=68c1bd5c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68c1bd5c\",\n null\n \n)\n\nexport default component.exports","import { hideFurnitureOn } from '@/utils/defaults';\n\n/* Returns false if page furniture should be hidden on said route */\nexport const shouldBeVisible = (routeName) => !hideFurnitureOn.includes(routeName);\n\n/* Very rudimentary hash function for generative icons */\nexport const asciiHash = (input) => {\n const str = (!input || input.length === 0) ? Math.random().toString() : input;\n const reducer = (previousHash, char) => (previousHash || 0) + char.charCodeAt(0);\n const asciiSum = str.split('').reduce(reducer).toString();\n const shortened = asciiSum.slice(0, 30) + asciiSum.slice(asciiSum.length - 30);\n return window.btoa(shortened);\n};\n\n/* Encode potentially malicious characters from string */\nexport const sanitize = (string) => {\n const map = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/',\n };\n const reg = /[&<>\"'/]/ig;\n return string.replace(reg, (match) => (map[match]));\n};\n","<template>\n <header v-if=\"visible\">\n <PageTitle\n v-if=\"titleVisible\"\n :title=\"pageInfo.title\"\n :description=\"pageInfo.description\"\n :logo=\"pageInfo.logo\"\n />\n <Nav v-if=\"navVisible\" :links=\"pageInfo.navLinks\" class=\"nav\" />\n </header>\n</template>\n\n<script>\nimport PageTitle from '@/components/PageStrcture/PageTitle.vue';\nimport Nav from '@/components/PageStrcture/Nav.vue';\nimport { visibleComponents as defaultVisibleComponents } from '@/utils/defaults';\nimport { shouldBeVisible } from '@/utils/MiscHelpers';\n\nexport default {\n name: 'Header',\n inject: ['visibleComponents'],\n components: {\n PageTitle,\n Nav,\n },\n props: {\n pageInfo: Object,\n },\n data() {\n return {\n titleVisible: (this.visibleComponents || defaultVisibleComponents).pageTitle,\n navVisible: (this.visibleComponents || defaultVisibleComponents).navigation,\n };\n },\n computed: {\n visible() {\n return shouldBeVisible(this.$route.name);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n@import '@/styles/media-queries.scss';\n\n header {\n margin: 0;\n padding: 0.5rem;\n display: flex;\n justify-content: space-between;\n background: var(--background-darker);\n align-items: center;\n align-content: flex-start;\n @include phone {\n flex-direction: column-reverse;\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=6b8e7f1e&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=6b8e7f1e&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b8e7f1e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.text && _vm.text !== '' && _vm.visible)?_c('footer',{domProps:{\"innerHTML\":_vm._s(_vm.text)}}):(_vm.visible)?_c('footer',[_vm._v(\" Developed by \"),_c('a',{attrs:{\"href\":_vm.authorUrl}},[_vm._v(_vm._s(_vm.authorName))]),_vm._v(\". Licensed under \"),_c('a',{attrs:{\"href\":_vm.licenseUrl}},[_vm._v(_vm._s(_vm.license))]),_vm._v(\" \"+_vm._s(_vm.showCopyright? '©': '')+\" \"+_vm._s(_vm.date)+\". Get the \"),_c('a',{attrs:{\"href\":_vm.repoUrl}},[_vm._v(\"Source Code\")]),_vm._v(\". \")]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <!-- User Footer -->\n <footer v-if=\"text && text !== '' && visible\" v-html=\"text\"></footer>\n <!-- Default Footer -->\n <footer v-else-if=\"visible\">\n Developed by <a :href=\"authorUrl\">{{authorName}}</a>.\n Licensed under <a :href=\"licenseUrl\">{{license}}</a>\n {{ showCopyright? '©': '' }} {{date}}.\n Get the <a :href=\"repoUrl\">Source Code</a>.\n </footer>\n</template>\n\n<script>\n\nimport { shouldBeVisible } from '@/utils/MiscHelpers';\n\nexport default {\n name: 'Footer',\n props: {\n text: String,\n authorName: { type: String, default: 'Alicia Sykes' },\n authorUrl: { type: String, default: 'https://aliciasykes.com' },\n license: { type: String, default: 'MIT' },\n licenseUrl: { type: String, default: 'https://gist.github.com/Lissy93/143d2ee01ccc5c052a17' },\n date: { type: String, default: `${new Date().getFullYear()}` },\n showCopyright: { type: Boolean, default: true },\n repoUrl: { type: String, default: 'https://github.com/lissy93/dashy' },\n },\n computed: {\n visible() {\n return shouldBeVisible(this.$route.name);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/media-queries.scss';\n\nfooter {\n width: calc(100% - 0.5rem);\n bottom: 0;\n padding: 0.25rem;\n text-align: center;\n color: var(--medium-grey);\n opacity: var(--dimming-factor);\n background: var(--footer-background);\n margin-top: 1.5rem;\n border-top: 1px solid var(--outline-color);\n @include tablet-down {\n display: none;\n }\n}\n\nfooter a{\n color: var(--footer-text-color);\n &:hover {\n color: var(--footer-text-color-link);\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=d162889c&scoped=true&\"\nimport script from \"./Footer.vue?vue&type=script&lang=js&\"\nexport * from \"./Footer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=d162889c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d162889c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"slide-fade\"}},[(_vm.isLoading)?_c('div',{class:_vm.c,attrs:{\"id\":\"loading\"},on:{\"click\":function($event){_vm.c = 'hide'}}},[_c('h2',[_vm._v(\"Dashy\")]),_c('div',{staticClass:\"inner-container\"},[_c('p',[_vm._v(\"Loading\")]),_c('span',{staticClass:\"dots-cont\"},[_c('span',{staticClass:\"dot dot-1\"}),_c('span',{staticClass:\"dot dot-2\"}),_c('span',{staticClass:\"dot dot-3\"}),_c('span',{staticClass:\"dot dot-4\"})])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <transition name=\"slide-fade\">\n <div id=\"loading\" v-if=\"isLoading\" :class=\"c\" @click=\"c = 'hide'\">\n <h2>Dashy</h2>\n <div class=\"inner-container\">\n <p>Loading</p>\n <span class=\"dots-cont\">\n <span class=\"dot dot-1\"></span>\n <span class=\"dot dot-2\"></span>\n <span class=\"dot dot-3\"></span>\n <span class=\"dot dot-4\"></span>\n </span>\n </div>\n </div>\n </transition>\n</template>\n\n<script>\nexport default {\n name: 'LoadingScreen',\n props: {\n isLoading: { type: Boolean, default: false },\n },\n data: () => ({\n c: '',\n }),\n};\n</script>\n\n<style scoped lang=\"scss\">\ndiv#loading {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 7;\n background: var(--loading-screen-background);\n color: var(--loading-screen-color);\n\n &.hide { display: none; }\n\n .inner-container {\n text-align: center;\n }\n\n p {\n font-size: 6vw;\n display: inline;\n margin: 0 auto;\n }\n h2 {\n opacity: 0.35;\n font-size: 16vw;\n margin: 0;\n }\n\n .dots-cont {\n display: inline;\n .dot {\n width: 4px;\n height: 4px;\n background: var(--loading-screen-color);\n display: inline-block;\n border-radius: 35%;\n right: 0px;\n bottom: 0px;\n margin: 0px 2.5px;\n position: relative;\n animation: jump 1s infinite;\n &.dot-1 {\n -webkit-animation-delay: 100ms;\n animation-delay: 100ms;\n }\n &.dot-2 {\n -webkit-animation-delay: 200ms;\n animation-delay: 200ms;\n }\n &.dot-3 {\n -webkit-animation-delay: 300ms;\n animation-delay: 300ms;\n }\n &.dot-4 {\n -webkit-animation-delay: 400ms;\n animation-delay: 400ms;\n }\n }\n }\n\n @keyframes jump {\n 0% {\n bottom: 0px;\n }\n\n 20% {\n bottom: 5px;\n }\n\n 40% {\n bottom: 0px;\n }\n }\n}\n\n.slide-fade-leave-active {\n transition: all .2s cubic-bezier(1, 0.9, 0.7, 0.4);\n}\n.slide-fade-enter, .slide-fade-leave-to {\n transform: translateY(-200px);\n opacity: 0;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingScreen.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingScreen.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LoadingScreen.vue?vue&type=template&id=a7bc1de6&scoped=true&\"\nimport script from \"./LoadingScreen.vue?vue&type=script&lang=js&\"\nexport * from \"./LoadingScreen.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LoadingScreen.vue?vue&type=style&index=0&id=a7bc1de6&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a7bc1de6\",\n null\n \n)\n\nexport default component.exports","/**\n * Reads the users config from `conf.yml`, and combines it with any local preferences\n * Also ensures that any missing attributes are populated with defaults, and the\n * object is structurally sound, to avoid any error if the user is missing something\n * The main config object is made up of three parts: appConfig, pageInfo and sections\n * For anything other than these three sections, please see @utils/ConfigHelpers.js\n */\nimport {\n localStorageKeys,\n appConfig as defaultAppConfig,\n pageInfo as defaultPageInfo,\n iconSize as defaultIconSize,\n layout as defaultLayout,\n // language as defaultLanguage,\n} from '@/utils/defaults';\n\nimport conf from '../../public/conf.yml';\n\nexport default class ConfigAccumulator {\n constructor() {\n this.conf = conf;\n }\n\n /* App Config */\n appConfig() {\n let appConfigFile = {};\n // Set app config from file\n if (this.conf) appConfigFile = this.conf.appConfig || {};\n // Fill in defaults if anything missing\n let usersAppConfig = defaultAppConfig;\n if (localStorage[localStorageKeys.APP_CONFIG]) {\n usersAppConfig = JSON.parse(localStorage[localStorageKeys.APP_CONFIG]);\n } else if (appConfigFile !== {}) {\n usersAppConfig = appConfigFile;\n }\n // Some settings have their own local storage keys, apply them here\n usersAppConfig.layout = localStorage[localStorageKeys.LAYOUT_ORIENTATION]\n || appConfigFile.layout || defaultLayout;\n usersAppConfig.iconSize = localStorage[localStorageKeys.ICON_SIZE]\n || appConfigFile.iconSize || defaultIconSize;\n // Don't let users modify users locally\n if (appConfigFile.auth) usersAppConfig.auth = appConfigFile.auth;\n // All done, return final appConfig object\n return usersAppConfig;\n }\n\n /* Page Info */\n pageInfo() {\n const defaults = defaultPageInfo;\n let localPageInfo;\n try {\n localPageInfo = JSON.parse(localStorage[localStorageKeys.PAGE_INFO]);\n } catch (e) {\n localPageInfo = {};\n }\n let filePageInfo = {};\n if (this.conf) {\n filePageInfo = this.conf.pageInfo || {};\n }\n const pi = filePageInfo || defaults; // The page info object to return\n pi.title = localPageInfo.title || filePageInfo.title || defaults.title;\n pi.logo = localPageInfo.logo || filePageInfo.logo || defaults.logo;\n pi.description = localPageInfo.description || filePageInfo.description || defaults.description;\n pi.navLinks = localPageInfo.navLinks || filePageInfo.navLinks || defaults.navLinks;\n pi.footerText = localPageInfo.footerText || filePageInfo.footerText || defaults.footerText;\n return pi;\n }\n\n /* Sections */\n sections() {\n // If the user has stored sections in local storage, return those\n const localSections = localStorage[localStorageKeys.CONF_SECTIONS];\n if (localSections) {\n try {\n const json = JSON.parse(localSections);\n if (json.length >= 1) return json;\n } catch (e) {\n // The data in local storage has been malformed, will return conf.sections instead\n }\n }\n // If the function hasn't yet returned, then return the config file sections\n let sectionsFile = [];\n if (this.conf) sectionsFile = this.conf.sections || [];\n return sectionsFile;\n }\n\n /* Complete config */\n config() {\n return {\n appConfig: this.appConfig(),\n pageInfo: this.pageInfo(),\n sections: this.sections(),\n };\n }\n}\n","/* eslint no-console: [\"error\", { allow: [\"log\", \"info\"] }] */\n\n/* Prints the app name and version, helpful for debugging */\nexport const welcomeMsg = () => {\n const v = process.env.VUE_APP_VERSION ? `V${process.env.VUE_APP_VERSION}` : '';\n console.log(`\\n%cDashy ${v} 🚀`, 'color:#0dd8d8; background:#0b1021; font-size:1.5rem; padding:0.15rem 0.25rem; margin: 1rem auto; font-family: Rockwell; border: 2px solid #0dd8d8; border-radius: 4px;font-weight: bold; text-shadow: 1px 1px 1px #00af87bf;');\n};\n\n/* Prints warning message, usually when there is a configuration error */\nexport const warningMsg = (message) => {\n console.info(\n `\\n%c⚠️ Warning ⚠️%c \\n${message} \\n\\n%cThis is likely not an issue with Dashy, but rather your configuration. If you think it is a bug, please open a ticket on GitHub: https://git.io/JukXk`,\n \"color:#ceb73f; background: #ceb73f33; font-size:1.5rem; padding:0.15rem; margin: 1rem auto; font-family: Rockwell, Tahoma, 'Trebuchet MS', Helvetica; border: 2px solid #ceb73f; border-radius: 4px; font-weight: bold; text-shadow: 1px 1px 1px #000000bf;\",\n 'font-weight: bold; font-size: 1rem;color: #ceb73f;',\n \"color: #ceb73f; font-size: 0.75rem; font-family: Tahoma, 'Trebuchet MS', Helvetica;\",\n );\n};\n\n/* Prints status message */\nexport const statusMsg = (title, msg) => {\n console.log(\n `%c${title || ''}\\n%c${msg}`,\n 'font-weight: bold; color: #0dd8d8; text-decoration: underline;',\n 'color: #ceb73f;',\n );\n};\n\n/* Prints status message, with a stack trace */\nexport const statusErrorMsg = (title, msg, errorLog) => {\n console.log(\n `%c${title || ''}\\n%c${msg} \\n%c${errorLog || ''}`,\n 'font-weight: bold; color: #0dd8d8; text-decoration: underline;',\n 'color: #ff025a',\n 'color: #ff025a80;',\n );\n};\n","import * as Sentry from '@sentry/vue';\nimport { warningMsg, statusMsg, statusErrorMsg } from '@/utils/CoolConsole';\nimport { sessionStorageKeys } from '@/utils/defaults';\n\n/* Makes the current time, like hh:mm:ss */\nconst makeTime = () => {\n const now = new Date();\n const pad = (digit) => String(digit).padStart(2, '0');\n return `${pad(now.getHours())}:${pad(now.getMinutes())}:${pad(now.getSeconds())}`;\n};\n\n/* Appends recent errors to local storage, for viewing in the UI */\nconst appendToErrorLog = (msg) => {\n let errorLog = sessionStorage.getItem(sessionStorageKeys.ERROR_LOG) || '';\n errorLog += `[${makeTime()}] ${msg}\\n`;\n sessionStorage.setItem(sessionStorageKeys.ERROR_LOG, errorLog);\n};\n\n/**\n * Function called when an error happens\n * Will call to function which prints helpful message to console\n * If error reporting is enabled, will also log the message to Sentry\n * If you wish to use your own error logging service, put code for it here\n */\nconst ErrorHandler = function handler(msg) {\n warningMsg(msg); // Print to console\n appendToErrorLog(msg); // Save to local storage\n Sentry.captureMessage(`[USER-WARN] ${msg}`); // Report to bug tracker (if enabled)\n};\n\n/* Similar to error handler, but for recording general info */\nexport const InfoHandler = (msg, title) => {\n statusMsg(title || 'Info', msg);\n};\n\n/* Outputs warnings caused by the user, such as missing field */\nexport const WarningInfoHandler = (msg, title, log) => {\n statusErrorMsg(title || 'Warning', msg, log);\n};\n\nexport default ErrorHandler;\n","import sha256 from 'crypto-js/sha256';\nimport ConfigAccumulator from '@/utils/ConfigAccumalator';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport { cookieKeys, localStorageKeys, userStateEnum } from '@/utils/defaults';\n\n/* Uses config accumulator to get and return app config */\nconst getAppConfig = () => {\n const Accumulator = new ConfigAccumulator();\n const config = Accumulator.config();\n return config.appConfig || {};\n};\n\n/**\n * Called when the user is still using array for users, prints warning\n * This was a breaking change, implemented in V 1.6.5\n * Support for old user structure will be removed in V 1.7.0\n */\nconst printWarning = () => {\n const msg = 'From V 1.6.5 onwards, the structure of the users object has changed.';\n // eslint-disable-next-line no-console\n console.warn(msg);\n};\n\n/* Returns true if keycloak is enabled */\nexport const isKeycloakEnabled = () => {\n const appConfig = getAppConfig();\n if (!appConfig.auth) return false;\n return appConfig.auth.enableKeycloak || false;\n};\n\n/* Returns the users keycloak config */\nexport const getKeycloakConfig = () => {\n const appConfig = getAppConfig();\n if (!isKeycloakEnabled()) return false;\n const { keycloak } = appConfig.auth;\n const { serverUrl, realm, clientId } = keycloak;\n if (!serverUrl || !realm || !clientId) {\n ErrorHandler('Keycloak config missing- please ensure you specify: serverUrl, realm, clientId');\n return false;\n }\n return keycloak;\n};\n\n/* Returns array of users from appConfig.auth, if available, else an empty array */\nconst getUsers = () => {\n const appConfig = getAppConfig();\n const auth = appConfig.auth || {};\n // Check if the user is still using previous schema type\n if (Array.isArray(auth)) {\n printWarning(); // Print warning message\n return auth; // Let the user proceed anyway, will remove in V 1.7.0\n }\n // Otherwise, return the users array, if available\n return auth.users || [];\n};\n\n/**\n * Generates a 1-way hash, in order to be stored in local storage for authentication\n * @param {String} user The username of user\n * @returns {String} The hashed token\n */\nconst generateUserToken = (user) => {\n const strAndUpper = (input) => input.toString().toUpperCase();\n const sha = sha256(strAndUpper(user.user) + strAndUpper(user.hash));\n return strAndUpper(sha);\n};\n\n/**\n * Checks if the user is currently authenticated\n * @param {Array[Object]} users An array of user objects pulled from the config\n * @returns {Boolean} Will return true if the user is logged in, else false\n */\nexport const isLoggedIn = () => {\n const users = getUsers();\n const validTokens = users.map((user) => generateUserToken(user));\n let userAuthenticated = false;\n document.cookie.split(';').forEach((cookie) => {\n if (cookie && cookie.split('=').length > 1) {\n const cookieKey = cookie.split('=')[0].trim();\n const cookieValue = cookie.split('=')[1].trim();\n if (cookieKey === cookieKeys.AUTH_TOKEN) {\n if (validTokens.includes(cookieValue)) {\n userAuthenticated = true;\n }\n }\n }\n });\n return userAuthenticated;\n};\n\n/* Returns true if authentication is enabled */\nexport const isAuthEnabled = () => {\n const users = getUsers();\n return (users.length > 0);\n};\n\n/* Returns true if guest access is enabled */\nexport const isGuestAccessEnabled = () => {\n const appConfig = getAppConfig();\n if (appConfig.enableGuestAccess) {\n // User is still using the old auth method\n printWarning();\n return true;\n }\n if (appConfig.auth && !Array.isArray(appConfig.auth)) {\n return appConfig.auth.enableGuestAccess || false;\n }\n return false;\n};\n\n/**\n * Checks credentials entered by the user against those in the config\n * Returns an object containing a boolean indicating success/ failure\n * along with a message outlining what's not right\n * @param {String} username The username entered by the user\n * @param {String} pass The password entered by the user\n * @param {String[]} users An array of valid user objects\n * @returns {Object} An object containing a boolean result and a message\n */\nexport const checkCredentials = (username, pass, users, messages) => {\n let response; // Will store an object containing boolean and message\n if (!username) {\n response = { correct: false, msg: messages.missingUsername };\n } else if (!pass) {\n response = { correct: false, msg: messages.missingPassword };\n } else {\n users.forEach((user) => {\n if (user.user.toLowerCase() === username.toLowerCase()) { // User found\n if (user.hash.toLowerCase() === sha256(pass).toString().toLowerCase()) {\n response = { correct: true, msg: messages.successMsg }; // Password is correct\n } else { // User found, but password is not a match\n response = { correct: false, msg: messages.incorrectPassword };\n }\n }\n });\n }\n return response || { correct: false, msg: messages.incorrectUsername };\n};\n\n/**\n * Sets the cookie value in order to login the user locally\n * @param {String} username - The users username\n * @param {String} pass - Password, not yet hashed\n * @param {Number} timeout - A desired timeout for the session, in ms\n */\nexport const login = (username, pass, timeout) => {\n const now = new Date();\n const expiry = new Date(now.setTime(now.getTime() + timeout)).toGMTString();\n const userObject = { user: username, hash: sha256(pass).toString().toLowerCase() };\n document.cookie = `authenticationToken=${generateUserToken(userObject)};`\n + `${timeout > 0 ? `expires=${expiry}` : ''}`;\n localStorage.setItem(localStorageKeys.USERNAME, username);\n};\n\n/**\n * Removed the browsers cookie, causing user to be logged out\n */\nexport const logout = () => {\n document.cookie = 'authenticationToken=null';\n localStorage.removeItem(localStorageKeys.USERNAME);\n};\n\n/**\n * If correctly logged in as a valid, authenticated user,\n * then returns the user object for the current user\n * If not logged in, will return false\n * */\nexport const getCurrentUser = () => {\n if (!isLoggedIn()) return false; // User not logged in\n const username = localStorage[localStorageKeys.USERNAME]; // Get username\n if (!username) return false; // No username\n let foundUserObject = false; // Value to return\n getUsers().forEach((user) => {\n // If current logged in user found, then return that user\n if (user.user === username) foundUserObject = user;\n });\n return foundUserObject;\n};\n\n/**\n * Checks if the user is viewing the dashboard as a guest\n * Returns true if guest mode enabled, and user not logged in\n * */\nexport const isLoggedInAsGuest = () => {\n const guestEnabled = isGuestAccessEnabled();\n const notLoggedIn = !isLoggedIn();\n return guestEnabled && notLoggedIn;\n};\n\n/**\n * Checks if the current user has admin privileges.\n * If no users are setup, then function will always return true\n * But if auth is configured, then will verify user is correctly\n * logged in and then check weather they are of type admin, and\n * return false if any conditions fail\n * @param {String[]} - Array of users\n * @returns {Boolean} - True if admin privileges\n */\nexport const isUserAdmin = () => {\n const users = getUsers();\n if (users.length === 0) return true; // Authentication not setup\n if (!isLoggedIn()) return false; // Auth setup, but not signed in as a valid user\n const currentUser = localStorage[localStorageKeys.USERNAME];\n let isAdmin = false;\n users.forEach((user) => {\n if (user.user === currentUser) {\n if (user.type === 'admin') isAdmin = true;\n }\n });\n return isAdmin;\n};\n\n/**\n * Determines which button should display, based on the user type\n * 0 = Auth not configured (don't show anything)\n * 1 = Auth configured, and user logged in (show logout button)\n * 2 = Auth configured, guest access enabled, not logged in (show login)\n * Note that if auth is enabled, but not guest access, and user not logged in,\n * then they will never be able to view the homepage, so no button needed\n */\nexport const getUserState = () => {\n const { notConfigured, loggedIn, guestAccess } = userStateEnum; // Numeric enum options\n if (!isAuthEnabled()) return notConfigured; // No auth enabled\n if (isLoggedIn()) return loggedIn; // User is logged in\n if (isGuestAccessEnabled()) return guestAccess; // Guest is viewing\n return notConfigured;\n};\n","/**\n * A helper function that filters all the sections based on current users permissions\n * Checks each sections displayData for hideForUsers, showForUsers and hideForGuests\n * Returns an array of sections that the current logged in user has permissions for\n */\n\n// Import helper functions from auth, to get current user, and check if guest\nimport { getCurrentUser, isLoggedInAsGuest } from '@/utils/Auth';\n\n/* Helper function, checks if a given username appears in a user array */\nconst determineVisibility = (visibilityList, cUsername) => {\n let isFound = false;\n visibilityList.forEach((userInList) => {\n if (userInList.toLowerCase() === cUsername) isFound = true;\n });\n return isFound;\n};\n\n/* Returns false if this section should not be rendered for the current user/ guest */\nconst isSectionVisibleToUser = (displayData, currentUser, isGuest) => {\n // Checks if user explicitly has access to a certain section\n const checkVisiblity = () => {\n if (!currentUser) return true;\n const hideFor = displayData.hideForUsers || [];\n const cUsername = currentUser.user.toLowerCase();\n return !determineVisibility(hideFor, cUsername);\n };\n // Checks if user is explicitly prevented from viewing a certain section\n const checkHiddenability = () => {\n if (!currentUser) return true;\n const cUsername = currentUser.user.toLowerCase();\n const showForUsers = displayData.showForUsers || [];\n if (showForUsers.length < 1) return true;\n return determineVisibility(showForUsers, cUsername);\n };\n // Checks if the current user is a guest, and if section allows for guests\n const checkIfHideForGuest = () => {\n const hideForGuest = displayData.hideForGuests;\n return !(hideForGuest && isGuest);\n };\n return checkVisiblity() && checkHiddenability() && checkIfHideForGuest();\n};\n\n/* Putting it all together, the function to export */\nconst checkSectionVisibility = (sections) => {\n const currentUser = getCurrentUser(); // Get current user object\n const isGuest = isLoggedInAsGuest(); // Check if current user is a guest\n return sections.filter((currentSection) => {\n const displayData = currentSection.displayData || {};\n return isSectionVisibleToUser(displayData, currentUser, isGuest);\n });\n};\n\nexport default checkSectionVisibility;\n","// Locales - Import translation files here!\nimport en from '@/assets/locales/en.json';\nimport de from '@/assets/locales/de.json';\nimport nl from '@/assets/locales/nl.json';\nimport fr from '@/assets/locales/fr.json';\nimport sl from '@/assets/locales/sl.json';\nimport es from '@/assets/locales/es.json';\nimport it from '@/assets/locales/it.json';\nimport zhCN from '@/assets/locales/zh-CN.json';\nimport ar from '@/assets/locales/ar.json';\nimport hi from '@/assets/locales/hi.json';\nimport ja from '@/assets/locales/ja.json';\nimport pt from '@/assets/locales/pt.json';\nimport ru from '@/assets/locales/ru.json';\n\n// Language data - Next register your language by adding it to this list\nexport const languages = [\n {\n name: 'English',\n code: 'en',\n locale: en,\n flag: '🇬🇧',\n },\n { // German\n name: 'Deutsch',\n code: 'de',\n locale: de,\n flag: '🇩🇪',\n },\n {\n name: 'Dutch',\n code: 'nl',\n locale: nl,\n flag: '🇳🇱',\n },\n {\n name: 'Français',\n code: 'fr',\n locale: fr,\n flag: '🇲🇫',\n },\n {\n name: 'Slovenščina',\n code: 'sl',\n locale: sl,\n flag: '🇸🇮',\n },\n { // Spanish\n name: 'Español',\n code: 'es',\n locale: es,\n flag: '🇪🇸',\n },\n { // Italian\n name: 'Italiano',\n code: 'it',\n locale: it,\n flag: '🇮🇹',\n },\n { // Chinese\n name: '简体中文',\n code: 'cn',\n locale: zhCN,\n flag: '🇨🇳',\n },\n { // Arabic\n name: 'العربية',\n code: 'ar',\n locale: ar,\n flag: '🇦🇪',\n },\n { // Hindi\n name: 'नहीं',\n code: 'hi',\n locale: hi,\n flag: '🇮🇳',\n },\n { // Japanese\n name: '日本語',\n code: 'ja',\n locale: ja,\n flag: '🇯🇵',\n },\n { // Portuguese\n name: 'Português',\n code: 'pt',\n locale: pt,\n flag: '🇵🇹',\n },\n { // Russian\n name: 'Русский',\n code: 'ru',\n locale: ru,\n flag: '🇷🇺',\n },\n];\n\n/**\n * Include the following info:\n * name - Human readable name for your language (e.g German)\n * code - ISO language code (e.g. de)\n * locale - The file that you imported above\n * flag - A nice emoji flag (optional, e.g. 🇩🇪)\n */\n\n// All done :)\n// You can also add your language to /README.md and credit yourself if you like\n\n// Prepare each language for export\nconst i18nMessages = {};\nlanguages.forEach((lang) => {\n i18nMessages[lang.code] = lang.locale;\n});\nexport const messages = i18nMessages;\n","import ConfigAccumulator from '@/utils/ConfigAccumalator';\nimport filterUserSections from '@/utils/CheckSectionVisibility';\nimport { languages } from '@/utils/languages';\nimport {\n visibleComponents,\n localStorageKeys,\n theme as defaultTheme,\n language as defaultLanguage,\n} from '@/utils/defaults';\n\n/**\n * Initiates the Accumulator class and generates a complete config object\n * Self-executing function, returns the full user config as a JSON object\n */\nexport const config = (() => {\n const Accumulator = new ConfigAccumulator();\n return {\n appConfig: Accumulator.appConfig(),\n pageInfo: Accumulator.pageInfo(),\n sections: filterUserSections(Accumulator.sections()),\n };\n})();\n\n/**\n * Generates an object containing booleans indicating which\n * components should be hidden. This enables the user to hide\n * parts of the page and disable functionality that they don't need/ want\n * All options fallback on the values defined in the defaults\n * @param {object} appConfig The full app config\n * @returns {object} result\n */\nexport const componentVisibility = (appConfig) => {\n // Get users choice from app config\n const usersChoice = appConfig.hideComponents || {};\n // Checks if value is defined, and is a boolean\n const isThere = (userValue) => typeof userValue === 'boolean';\n // For each option, return users choice (if specified), else use the default\n return {\n pageTitle: isThere(usersChoice.hideHeading)\n ? !usersChoice.hideHeading : visibleComponents.pageTitle,\n navigation: isThere(usersChoice.hideNav)\n ? !usersChoice.hideNav : visibleComponents.navigation,\n searchBar: isThere(usersChoice.hideSearch)\n ? !usersChoice.hideSearch : visibleComponents.searchBar,\n settings: isThere(usersChoice.hideSettings)\n ? !usersChoice.hideSettings : visibleComponents.settings,\n footer: isThere(usersChoice.hideFooter)\n ? !usersChoice.hideFooter : visibleComponents.footer,\n splashScreen: isThere(usersChoice.hideSplashScreen)\n ? !usersChoice.hideSplashScreen : visibleComponents.splashScreen,\n };\n};\n\n/**\n * Gets the users saved theme, first looks for local storage theme,\n * then looks at user's appConfig, and finally checks the defaults\n * @returns {string} Name of theme to apply\n */\nexport const getTheme = () => {\n const localTheme = localStorage[localStorageKeys.THEME];\n const appConfigTheme = config.appConfig.theme;\n return localTheme || appConfigTheme || defaultTheme;\n};\n\n/**\n * Gets any custom styles the user has applied, wither from local storage, or from the config\n * @returns {object} An array of objects, one for each theme, containing kvps for variables\n */\nexport const getCustomColors = () => {\n const localColors = JSON.parse(localStorage[localStorageKeys.CUSTOM_COLORS] || '{}');\n const configColors = config.appConfig.customColors || {};\n return Object.assign(configColors, localColors);\n};\n\n/**\n * Returns a list of items which the user has assigned a hotkey to\n * So that when the hotkey is pressed, the app/ service can be launched\n */\nexport const getCustomKeyShortcuts = () => {\n const results = [];\n const sections = config.sections || [];\n sections.forEach((section) => {\n const itemsWithHotKeys = section.items.filter(item => item.hotkey);\n results.push(itemsWithHotKeys.map(item => ({ hotkey: item.hotkey, url: item.url })));\n });\n return results.flat();\n};\n\n/**\n * Gets the users chosen language. Defaults to English.\n * @returns {object} Language, including code, name and flag\n */\nexport const getUsersLanguage = () => {\n const langCode = localStorage[localStorageKeys.LANGUAGE]\n || config.appConfig.language\n || defaultLanguage;\n const langObj = languages.find(lang => lang.code === langCode);\n return langObj;\n};\n","<template>\n <div id=\"dashy\">\n <LoadingScreen :isLoading=\"isLoading\" v-if=\"shouldShowSplash\" />\n <Header :pageInfo=\"pageInfo\" />\n <router-view />\n <Footer :text=\"footerText\" v-if=\"visibleComponents.footer\" />\n </div>\n</template>\n<script>\n\nimport Header from '@/components/PageStrcture/Header.vue';\nimport Footer from '@/components/PageStrcture/Footer.vue';\nimport LoadingScreen from '@/components/PageStrcture/LoadingScreen.vue';\nimport { componentVisibility } from '@/utils/ConfigHelpers';\nimport ConfigAccumulator from '@/utils/ConfigAccumalator';\nimport { welcomeMsg } from '@/utils/CoolConsole';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport {\n localStorageKeys,\n splashScreenTime,\n visibleComponents as defaultVisibleComponents,\n language as defaultLanguage,\n} from '@/utils/defaults';\n\nconst Accumulator = new ConfigAccumulator();\nconst config = Accumulator.config();\nconst visibleComponents = componentVisibility(config.appConfig) || defaultVisibleComponents;\n\nexport default {\n name: 'app',\n components: {\n Header,\n Footer,\n LoadingScreen,\n },\n provide: {\n config,\n visibleComponents,\n },\n data() {\n return {\n isLoading: true, // Set to false after mount complete\n showFooter: visibleComponents.footer,\n appConfig: Accumulator.appConfig(),\n pageInfo: Accumulator.pageInfo(),\n visibleComponents,\n };\n },\n computed: {\n /* If the user has specified custom text for footer - get it */\n footerText() {\n return this.pageInfo && this.pageInfo.footerText ? this.pageInfo.footerText : '';\n },\n /* Determine if splash screen should be shown */\n shouldShowSplash() {\n return (this.visibleComponents || defaultVisibleComponents).splashScreen;\n },\n },\n methods: {\n /* Injects the users custom CSS as a style tag */\n injectCustomStyles(usersCss) {\n const style = document.createElement('style');\n style.textContent = usersCss;\n document.head.append(style);\n },\n /* Hide splash screen, either after 2 seconds, or immediately based on user preference */\n hideSplash() {\n if (this.shouldShowSplash) {\n setTimeout(() => { this.isLoading = false; }, splashScreenTime || 1500);\n } else {\n this.isLoading = false;\n }\n },\n\n /* Auto-detects users language from browser/ os, when not specified */\n autoDetectLanguage(availibleLocales) {\n const isLangSupported = (languageList, userLang) => languageList\n .map(lang => lang.toLowerCase()).find((lang) => lang === userLang.toLowerCase());\n\n const usersBorwserLang1 = window.navigator.language || ''; // e.g. en-GB or or ''\n const usersBorwserLang2 = usersBorwserLang1.split('-')[0]; // e.g. en or undefined\n const usersSpairLangs = window.navigator.languages; // e.g [en, en-GB, en-US]\n return isLangSupported(availibleLocales, usersBorwserLang1)\n || isLangSupported(availibleLocales, usersBorwserLang2)\n || usersSpairLangs.find((spair) => isLangSupported(availibleLocales, spair))\n || defaultLanguage;\n },\n\n /* Get users language, if not available then call auto-detect */\n getLanguage() {\n const availibleLocales = this.$i18n.availableLocales; // All available locales\n const usersLang = localStorage[localStorageKeys.LANGUAGE] || this.appConfig.language;\n if (usersLang) {\n if (availibleLocales.includes(usersLang)) {\n return usersLang;\n } else {\n ErrorHandler(`Unsupported Language: '${usersLang}'`);\n }\n }\n return this.autoDetectLanguage(availibleLocales);\n },\n\n /* Fetch or detect users language, then apply it */\n applyLanguage() {\n const language = this.getLanguage();\n this.$i18n.locale = language;\n document.getElementsByTagName('html')[0].setAttribute('lang', language);\n },\n hideLoader() {\n const loader = document.getElementById('loader');\n if (loader) loader.style.display = 'none';\n },\n },\n /* When component mounted, hide splash and initiate the injection of custom styles */\n mounted() {\n this.applyLanguage();\n this.hideSplash();\n if (this.appConfig.customCss) {\n const cleanedCss = this.appConfig.customCss.replace(/<\\/?[^>]+(>|$)/g, '');\n this.injectCustomStyles(cleanedCss);\n this.hideLoader();\n }\n welcomeMsg();\n },\n};\n</script>\n\n<style lang=\"scss\">\n/* Import styles used globally throughout the app */\n@import '@/styles/global-styles.scss';\n@import '@/styles/color-palette.scss';\n@import '@/styles/dimensions.scss';\n@import '@/styles/color-themes.scss';\n@import '@/styles/typography.scss';\n@import '@/styles/user-defined-themes.scss';\n\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--11-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--11-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=387a9fca&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\",style:(_vm.getBackgroundImage())},[_c('SettingsContainer',{ref:\"filterComp\",staticClass:\"settings-outer\",attrs:{\"displayLayout\":_vm.layout,\"iconSize\":_vm.itemSizeBound,\"externalThemes\":_vm.getExternalCSSLinks(),\"sections\":_vm.allSections,\"appConfig\":_vm.appConfig,\"pageInfo\":_vm.pageInfo,\"modalOpen\":_vm.modalOpen},on:{\"user-is-searchin\":_vm.searching,\"change-display-layout\":_vm.setLayoutOrientation,\"change-icon-size\":_vm.setItemSize,\"change-modal-visibility\":_vm.updateModalVisibility}}),(_vm.checkTheresData(_vm.sections))?_c('div',{class:\"item-group-container \"\n + \"orientation-\" + _vm.layout + \" \"\n + \"item-size-\" + _vm.itemSizeBound + \" \"\n + (this.colCount ? (\"col-count-\" + (this.colCount) + \" \") : '')},_vm._l((_vm.filteredTiles),function(section,index){return _c('Section',{key:index,class:(_vm.searchValue && _vm.filterTiles(section.items, _vm.searchValue).length === 0) ? 'no-results' : '',attrs:{\"title\":section.name,\"icon\":section.icon || undefined,\"displayData\":_vm.getDisplayData(section),\"groupId\":(\"section-\" + index),\"items\":_vm.filterTiles(section.items, _vm.searchValue),\"searchTerm\":_vm.searchValue,\"itemSize\":_vm.itemSizeBound},on:{\"itemClicked\":function($event){return _vm.finishedSearching()},\"change-modal-visibility\":_vm.updateModalVisibility}})}),1):_vm._e(),(_vm.checkIfResults())?_c('div',{staticClass:\"no-data\"},[_vm._v(\" \"+_vm._s(_vm.searchValue ? _vm.$t('home.no-results') : _vm.$t('home.no-data'))+\" \")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(_vm.searchVisible)?_c('SearchBar',{ref:\"SearchBar\",attrs:{\"active\":!_vm.modalOpen},on:{\"user-is-searchin\":_vm.userIsTypingSomething}}):_vm._e(),_c('div',{staticClass:\"options-outer\"},[_c('div',{class:(\"options-container \" + (!_vm.settingsVisible ? 'hide' : ''))},[_c('ThemeSelector',{attrs:{\"externalThemes\":_vm.externalThemes,\"confTheme\":_vm.getInitialTheme(),\"userThemes\":_vm.getUserThemes()},on:{\"modalChanged\":_vm.modalChanged}}),_c('LayoutSelector',{attrs:{\"displayLayout\":_vm.displayLayout},on:{\"layoutUpdated\":_vm.updateDisplayLayout}}),_c('ItemSizeSelector',{attrs:{\"iconSize\":_vm.iconSize},on:{\"iconSizeUpdated\":_vm.updateIconSize}}),_c('ConfigLauncher',{attrs:{\"sections\":_vm.sections,\"pageInfo\":_vm.pageInfo,\"appConfig\":_vm.appConfig},on:{\"modalChanged\":_vm.modalChanged}}),(_vm.userState != 'noone')?_c('AuthButtons',{attrs:{\"userType\":_vm.userState}}):_vm._e()],1),_c('div',{class:(\"show-hide-container \" + (_vm.settingsVisible? 'hide-btn' : 'show-btn'))},[_c('button',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(((_vm.settingsVisible? 'Hide' : 'Open') + \" Settings Menu\")),expression:\"`${settingsVisible? 'Hide' : 'Open'} Settings Menu`\"}],attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.toggleSettingsVisibility()}}},[(_vm.settingsVisible)?_c('IconClose'):_c('IconOpen')],1)])]),_c('KeyboardShortcutInfo'),_c('AppInfoModal')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{class:_vm.minimalSearch ? 'minimal' : 'normal',on:{\"submit\":function($event){$event.preventDefault();return _vm.searchSubmitted.apply(null, arguments)}}},[_c('label',{attrs:{\"for\":\"filter-tiles\"}},[_vm._v(_vm._s(_vm.$t('search.search-label')))]),_c('div',{staticClass:\"search-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.input),expression:\"input\"}],ref:\"filter\",attrs:{\"id\":\"filter-tiles\",\"placeholder\":_vm.$t('search.search-placeholder')},domProps:{\"value\":(_vm.input)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.input=$event.target.value},_vm.userIsTypingSomething],\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.clearFilterInput.apply(null, arguments)}}}),((!_vm.searchPrefs.disableWebSearch) && _vm.input.length > 0)?_c('p',{staticClass:\"web-search-note\"},[_vm._v(\" \"+_vm._s(_vm.$t('search.enter-to-search-web'))+\" \")]):_vm._e()]),(_vm.input.length > 0)?_c('i',{staticClass:\"clear-search\",attrs:{\"title\":_vm.$t('search.clear-search-tooltip')},on:{\"click\":_vm.clearFilterInput}},[_vm._v(\"x\")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * Class encapsulating the functionality that enables the user to\n * navigate through tiles/ search result grid using the arrow keys\n * This code is very hacky, it's best not to look at it for too long\n */\nexport default class ArrowKeyNavigation {\n constructor(index) {\n this.index = index;\n }\n\n resetIndex() {\n this.index = 0;\n }\n\n /* Figures out which element is next, based on the key pressed *\n * current index and total number of items. Then calls focus function */\n arrowNavigation(key) {\n if (this.index === undefined) this.index = 0; // Start at beginning\n else if (key === 37) { // Left --> Previous\n this.index -= 1;\n } else if (key === 38) { // Up --> Previous\n this.index = ArrowKeyNavigation.goToPrevious(this.index);\n } else if (key === 39) { // Right --> Next\n this.index += 1;\n } else if (key === 40) { // Down --> Next\n this.index = ArrowKeyNavigation.goToNext(this.index);\n }\n /* Ensure the index is within bounds, then focus element */\n this.index = ArrowKeyNavigation.getSafeElementIndex(this.index);\n ArrowKeyNavigation.selectItemByIndex(this.index).focus();\n }\n\n /* Returns the number of visible items / results */\n static getNumResults() {\n return document.getElementsByClassName('item').length;\n }\n\n /* Returns the index for an element, ensuring that it's within bounds */\n static getSafeElementIndex(index) {\n const numResults = ArrowKeyNavigation.getNumResults();\n if (index < 0) return numResults - 1;\n else if (index >= numResults) return 0;\n return index;\n }\n\n /* Selects a given element, by it's ID. If out of bounds, returns element 0 */\n static selectItemByIndex(index) {\n return (index >= 0 && index <= ArrowKeyNavigation.getNumResults())\n ? document.getElementsByClassName('item')[index] : [document.getElementsByClassName('item')];\n }\n\n /* Returns the index of the first cell in the previous/ above row */\n static findPreviousRow(startingIndex) {\n const isSameRow = (indx, pos) => ArrowKeyNavigation.selectItemByIndex(indx).offsetTop === pos;\n const checkPreviousIndex = (currentIndex, yPos) => {\n if (currentIndex >= ArrowKeyNavigation.getNumResults()) return checkPreviousIndex(0, yPos);\n else if (isSameRow(currentIndex, yPos)) return checkPreviousIndex(currentIndex - 1, yPos);\n return currentIndex;\n };\n const position = ArrowKeyNavigation.selectItemByIndex(startingIndex).offsetTop;\n return checkPreviousIndex(startingIndex, position);\n }\n\n /* Moves to the cell directly above the current */\n static goToPrevious(startingIndex) {\n const isBelow = (start, end) => (ArrowKeyNavigation.selectItemByIndex(start).offsetTop\n < ArrowKeyNavigation.selectItemByIndex(end).offsetTop);\n const nextIndex = ArrowKeyNavigation.findPreviousRow(startingIndex);\n const count = nextIndex - startingIndex;\n const rowLen = nextIndex - ArrowKeyNavigation.findNextRow(startingIndex) + 1;\n const adjustment = isBelow(startingIndex, nextIndex) ? 0 : rowLen - count;\n return nextIndex + adjustment;\n }\n\n /* Returns the index of the first cell in the next/ below row */\n static findNextRow(startingIndex) {\n const isSameRow = (indx, pos) => ArrowKeyNavigation.selectItemByIndex(indx).offsetTop === pos;\n const checkNextIndex = (currentIndex, yPos) => {\n if (currentIndex >= ArrowKeyNavigation.getNumResults()) return checkNextIndex(0, yPos);\n else if (isSameRow(currentIndex, yPos)) return checkNextIndex(currentIndex + 1, yPos);\n return currentIndex;\n };\n const position = ArrowKeyNavigation.selectItemByIndex(startingIndex).offsetTop;\n return checkNextIndex(startingIndex, position);\n }\n\n /* Moves to the cell directly below the current */\n static goToNext(startingIndex) {\n const isAbove = (start, end) => (ArrowKeyNavigation.selectItemByIndex(start).offsetTop\n > ArrowKeyNavigation.selectItemByIndex(end).offsetTop);\n const nextIndex = ArrowKeyNavigation.findNextRow(startingIndex);\n const count = nextIndex - startingIndex;\n const rowLen = nextIndex - ArrowKeyNavigation.findPreviousRow(startingIndex) - 1;\n const adjustment = isAbove(startingIndex, nextIndex) ? 0 : rowLen - count;\n return nextIndex + adjustment;\n }\n}\n","/* Dashy: Licensed under MIT, (C) Alicia Sykes 2021 <https://aliciasykes.com> */\n\n/* Tile filtering utility */\nimport ErrorHandler from '@/utils/ErrorHandler';\n\n/**\n * Extracts the site name from domain\n * @param {string} url The URL to process\n * @returns {string} The hostname from URL\n */\nconst getDomainFromUrl = (url) => {\n if (!url) return '';\n const urlPattern = /^(?:https?:\\/\\/)?(?:w{3}\\.)?([a-z\\d.-]+)\\.(?:[a-z.]{2,10})(?:[/\\w.-]*)*/;\n const domainPattern = url.match(urlPattern);\n return domainPattern ? domainPattern[1] : '';\n};\n\n/**\n * Compares search term to a given data attribute\n * Ignores case, special characters and order\n * @param {string or other} compareStr The value to compare to\n * @param {string} searchStr The users search term\n * @returns {boolean} true if a match, otherwise false\n */\nconst filterHelper = (compareStr, searchStr) => {\n if (!compareStr) return false;\n const process = (input) => input && input.toString().toLowerCase().replace(/[^\\w\\s]/gi, '');\n return process(compareStr).includes(process(searchStr));\n};\n\n/**\n * Filter tiles based on users search term, and returns a filtered list\n * Will match based on title, description, provider, hostname from url and tags\n * Ignores case, special characters and other irrelevant things\n * @param {array} allTiles An array of tiles\n * @param {string} searchTerm The users search term\n * @returns A filtered array of tiles\n */\nexport const searchTiles = (allTiles, searchTerm) => {\n if (!searchTerm) return allTiles; // If no search term, then return all\n if (!allTiles) return []; // If no data, then skip\n return allTiles.filter((tile) => {\n const {\n title, description, provider, url, tags,\n } = tile;\n return filterHelper(title, searchTerm)\n || filterHelper(provider, searchTerm)\n || filterHelper(description, searchTerm)\n || filterHelper(tags, searchTerm)\n || filterHelper(getDomainFromUrl(url), searchTerm);\n });\n};\n\n/* From a list of search bangs, return the URL associated with it */\nexport const getSearchEngineFromBang = (searchQuery, bangList) => {\n const bangNames = Object.keys(bangList);\n const foundBang = bangNames.find((bang) => searchQuery.includes(bang));\n return bangList[foundBang];\n};\n\n/* For a given search engine key, return the corresponding URL, or throw error */\nexport const findUrlForSearchEngine = (searchEngine, availableSearchEngines) => {\n // If missing search engine, report error return false\n if (!searchEngine) { ErrorHandler('No search engine specified'); return undefined; }\n // If search engine is already a URL, then return it\n if ((/(http|https):\\/\\/[^]*/).test(searchEngine)) return searchEngine;\n // If search engine was found successfully, return the URL\n if (availableSearchEngines[searchEngine]) return availableSearchEngines[searchEngine];\n // Otherwise, there's been an error, log it and return false\n ErrorHandler(`Specified Search Engine was not Found: '${searchEngine}'`);\n return undefined;\n};\n\n/* Removes all known bangs from a search query */\nexport const stripBangs = (searchQuery, bangList) => {\n const bangNames = Object.keys(bangList || {});\n let q = searchQuery;\n bangNames.forEach((bang) => { q = q.replace(bang, ''); });\n return q.trim();\n};\n","<template>\n <form @submit.prevent=\"searchSubmitted\" :class=\"minimalSearch ? 'minimal' : 'normal'\">\n <label for=\"filter-tiles\">{{ $t('search.search-label') }}</label>\n <div class=\"search-wrap\">\n <input\n id=\"filter-tiles\"\n v-model=\"input\"\n ref=\"filter\"\n :placeholder=\"$t('search.search-placeholder')\"\n v-on:input=\"userIsTypingSomething\"\n @keydown.esc=\"clearFilterInput\" />\n <p v-if=\"(!searchPrefs.disableWebSearch) && input.length > 0\" class=\"web-search-note\">\n {{ $t('search.enter-to-search-web') }}\n </p>\n </div>\n <i v-if=\"input.length > 0\"\n class=\"clear-search\"\n :title=\"$t('search.clear-search-tooltip')\"\n @click=\"clearFilterInput\">x</i>\n </form>\n</template>\n\n<script>\nimport router from '@/router';\nimport ArrowKeyNavigation from '@/utils/ArrowKeyNavigation';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport { getCustomKeyShortcuts } from '@/utils/ConfigHelpers';\nimport { getSearchEngineFromBang, findUrlForSearchEngine, stripBangs } from '@/utils/Search';\nimport {\n searchEngineUrls,\n defaultSearchEngine,\n defaultSearchOpeningMethod,\n searchBangs as defaultSearchBangs,\n} from '@/utils/defaults';\n\nexport default {\n name: 'FilterTile',\n inject: ['config'],\n props: {\n active: Boolean,\n minimalSearch: Boolean, // If true, then keep it simple\n },\n data() {\n return {\n input: '', // Users current search term\n akn: new ArrowKeyNavigation(), // Class that manages arrow key naviagtion\n getCustomKeyShortcuts,\n };\n },\n computed: {\n searchPrefs() {\n return this.config.appConfig.webSearch || {};\n },\n },\n mounted() {\n window.addEventListener('keydown', this.handleKeyPress);\n },\n beforeDestroy() {\n window.removeEventListener('keydown', this.handleKeyPress);\n },\n methods: {\n /* Call correct function dependending on which key is pressed */\n handleKeyPress(event) {\n const currentElem = document.activeElement.id;\n const { key, keyCode } = event;\n const notAlreadySearching = currentElem !== 'filter-tiles';\n // If a modal is open, then do nothing\n if (!this.active) return;\n if (/^[/:!a-zA-Z]$/.test(key) && notAlreadySearching) {\n // Letter or bang key pressed - start searching\n if (this.$refs.filter) this.$refs.filter.focus();\n this.userIsTypingSomething();\n } else if (/^[0-9]$/.test(key)) {\n // Number key pressed, check if user has a custom binding\n this.handleHotKey(key);\n } else if (keyCode >= 37 && keyCode <= 40) {\n // Arrow key pressed - start navigation\n this.akn.arrowNavigation(keyCode);\n } else if (keyCode === 27) {\n // Esc key pressed - reset form\n this.clearFilterInput();\n }\n },\n /* Emmits users's search term up to parent */\n userIsTypingSomething() {\n this.$emit('user-is-searchin', this.input);\n },\n /* Resets everything to initial state, when user is finished */\n clearFilterInput() {\n this.input = ''; // Clear input model\n this.userIsTypingSomething(); // Emmit new empty value\n document.activeElement.blur(); // Remove focus\n this.akn.resetIndex(); // Reset current element index\n },\n /* If configured, launch specific app when hotkey pressed */\n handleHotKey(key) {\n const usersHotKeys = this.getCustomKeyShortcuts();\n usersHotKeys.forEach((hotkey) => {\n if (hotkey.hotkey === parseInt(key, 10)) {\n if (hotkey.url) window.open(hotkey.url, '_blank');\n }\n });\n },\n /* Launch search results, with users desired opening method */\n launchWebSearch(url, method) {\n switch (method) {\n case 'newtab':\n window.open(url, '_blank');\n break;\n case 'sametab':\n window.open(url, '_self');\n break;\n case 'workspace':\n router.push({ name: 'workspace', query: { url } });\n break;\n default:\n ErrorHandler(`Unknown opening method: ${method}`);\n window.open(url, '_blank');\n }\n },\n\n /* Launch web search, to correct search engine, passing in users query */\n searchSubmitted() {\n // Get search preferences from appConfig\n const { searchPrefs } = this;\n if (!searchPrefs.disableWebSearch) { // Only proceed if user hasn't disabled web search\n const bangList = { ...defaultSearchBangs, ...(searchPrefs.searchBangs || {}) };\n const openingMethod = searchPrefs.openingMethod || defaultSearchOpeningMethod;\n const searchBang = getSearchEngineFromBang(this.input, bangList);\n const searchEngine = searchPrefs.searchEngine || defaultSearchEngine;\n // Use either search bang, or preffered search engine\n const desiredSearchEngine = searchBang || searchEngine;\n const isCustomSearch = (searchPrefs.searchEngine === 'custom' && searchPrefs.customSearchEngine);\n let searchUrl = isCustomSearch\n ? searchPrefs.customSearchEngine\n : findUrlForSearchEngine(desiredSearchEngine, searchEngineUrls);\n if (searchUrl) { // Append search query to URL, and launch\n searchUrl += encodeURIComponent(stripBangs(this.input, bangList));\n this.launchWebSearch(searchUrl, openingMethod);\n this.clearFilterInput();\n }\n }\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n@import '@/styles/media-queries.scss';\n\n form.normal {\n display: flex;\n align-items: center;\n border-radius: 0 0 var(--curve-factor-navbar) 0;\n padding: 0 0.2rem 0.2rem 0;\n background: var(--search-container-background);\n .search-wrap {\n display: flex;\n flex-direction: column;\n width: 100%;\n p.web-search-note {\n margin: 0 0.5rem;\n font-size: 0.8rem;\n color: var(--minimal-view-search-color);\n opacity: var(--dimming-factor);\n }\n }\n label {\n display: inline;\n color: var(--search-label-color);\n margin: 0.5rem;\n display: inline;\n }\n input {\n display: inline-block;\n width: 200px;\n height: 1rem;\n padding: 0.5rem;\n margin: 0.5rem;\n outline: none;\n border: none;\n border-radius: var(--curve-factor);\n background: var(--search-field-background);\n color: var(--settings-text-color);\n border: 1px solid var(--outline-color);\n &:focus {\n border-color: var(--settings-text-color);\n opacity: var(--dimming-factor);\n }\n }\n .clear-search {\n //position: absolute;\n color: var(--settings-text-color);\n padding: 0 0.3rem 0.1rem 0.3rem;\n font-style: normal;\n font-size: 1rem;\n opacity: var(--dimming-factor);\n border-radius: 50px;\n cursor: pointer;\n right: 0.5rem;\n top: 1rem;\n border: 1px solid var(--settings-text-color);\n font-size: 1rem;\n margin: 0.25rem;\n &:hover {\n opacity: 1;\n background: var(--background-darker);\n }\n }\n }\n\n @include tablet {\n form.normal {\n display: block;\n text-align: center;\n }\n }\n @include phone {\n form.nomral {\n flex: 1;\n border-radius: 0;\n text-align: center;\n padding: 0.25rem 0;\n display: block;\n }\n }\n\n form.minimal {\n display: flex;\n align-items: center;\n label { display: none; }\n .search-wrap {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n p.web-search-note {\n margin: 0;\n color: var(--minimal-view-search-color);\n opacity: var(--dimming-factor);\n }\n }\n input {\n display: inline-block;\n width: 80%;\n max-width: 400px;\n font-size: 1.2rem;\n padding: 0.5rem 1rem;\n margin: 1rem auto;\n outline: none;\n border: 1px solid var(--outline-color);\n border-radius: var(--curve-factor);\n background: var(--minimal-view-search-background);\n color: var(--minimal-view-search-color);\n &:focus {\n border-color: var(--minimal-view-search-color);\n opacity: var(--dimming-factor);\n }\n }\n .clear-search {\n color: var(--minimal-view-search-color);\n padding: 0.15rem 0.5rem 0.2rem 0.5rem;\n font-style: normal;\n font-size: 1rem;\n opacity: var(--dimming-factor);\n border-radius: 50px;\n cursor: pointer;\n right: 0.5rem;\n top: 1rem;\n border: 1px solid var(--minimal-view-search-color);\n font-size: 1rem;\n margin: 0.5rem;\n &:hover {\n opacity: 1;\n color: var(--minimal-view-search-background);\n background: var(--minimal-view-search-color);\n }\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=41c07888&scoped=true&\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=js&\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SearchBar.vue?vue&type=style&index=0&id=41c07888&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41c07888\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeViewSwitcher),expression:\"closeViewSwitcher\"}],staticClass:\"config-options\"},[_c('span',{staticClass:\"config-label\"},[_vm._v(_vm._s(_vm.$t('settings.config-launcher-label')))]),_c('div',{staticClass:\"config-buttons\"},[_c('IconSpanner',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.config-launcher-tooltip'))),expression:\"tooltip($t('settings.config-launcher-tooltip'))\"}],attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.showEditor()}}}),_c('IconViewMode',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('alternate-views.alternate-view-heading'))),expression:\"tooltip($t('alternate-views.alternate-view-heading'))\"}],attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.openChangeViewMenu()}}})],1),_c('modal',{attrs:{\"name\":_vm.modalNames.CONF_EDITOR,\"resizable\":true,\"width\":\"60%\",\"height\":\"85%\",\"classes\":\"dashy-modal\"},on:{\"closed\":function($event){return _vm.$emit('modalChanged', false)}}},[_c('ConfigContainer',{attrs:{\"config\":_vm.combineConfig()}})],1),_c('modal',{attrs:{\"name\":_vm.modalNames.LANG_SWITCHER,\"classes\":\"dashy-modal\",\"resizable\":true,\"width\":\"35%\",\"height\":\"60%\"}},[_c('LanguageSwitcher')],1),(_vm.viewSwitcherOpen)?_c('div',{staticClass:\"view-switcher\"},[_c('ul',[_c('li',[_c('router-link',{attrs:{\"to\":\"/home\"}},[_c('IconHome'),_c('span',[_vm._v(_vm._s(_vm.$t('alternate-views.default')))])],1)],1),_c('li',[_c('router-link',{attrs:{\"to\":\"/minimal\"}},[_c('IconMinimalView'),_c('span',[_vm._v(_vm._s(_vm.$t('alternate-views.minimal')))])],1)],1),_c('li',[_c('router-link',{attrs:{\"to\":\"/workspace\"}},[_c('IconWorkspaceView'),_c('span',[_vm._v(_vm._s(_vm.$t('alternate-views.workspace')))])],1)],1)])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Tabs',{ref:\"tabView\",attrs:{\"navAuto\":true,\"name\":\"Add Item\"}},[_c('TabItem',{staticClass:\"main-tab\",attrs:{\"name\":_vm.$t('config.main-tab')}},[_c('div',{staticClass:\"main-options-container\"},[_c('div',{staticClass:\"config-buttons\"},[_c('h2',[_vm._v(\"Configuration Options\")]),_c('a',{staticClass:\"hyperlink-wrapper\",on:{\"click\":function($event){return _vm.downloadConfigFile('conf.yml', _vm.yaml)}}},[_c('button',{staticClass:\"config-button center\"},[_c('DownloadIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.download-config-button'))+\" \")],1)]),_c('button',{staticClass:\"config-button center\",on:{\"click\":function () { return _vm.navigateToTab(1); }}},[_c('EditIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.edit-config-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function () { return _vm.navigateToTab(3); }}},[_c('CustomCssIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.edit-css-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function () { return _vm.navigateToTab(2); }}},[_c('CloudIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.backupId ? _vm.$t('config.edit-cloud-sync-button') : _vm.$t('config.cloud-sync-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function($event){return _vm.openLanguageSwitchModal()}}},[_c('LanguageIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.change-language-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function($event){return _vm.openRebuildAppModal()}}},[_c('RebuildIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.rebuild-app-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function($event){return _vm.resetLocalSettings()}}},[_c('DeleteIcon',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.reset-settings-button'))+\" \")],1),_c('button',{staticClass:\"config-button center\",on:{\"click\":function($event){return _vm.openAboutModal()}}},[_c('IconAbout',{staticClass:\"button-icon\"}),_vm._v(\" \"+_vm._s(_vm.$t('config.app-info-button'))+\" \")],1),_c('p',{staticClass:\"small-screen-note\",staticStyle:{\"display\":\"none\"}},[_vm._v(\" You are using a very small screen, and some screens in this menu may not be optimal \")]),_c('p',{staticClass:\"language\"},[_vm._v(_vm._s(_vm.getLanguage()))]),_c('AppVersion')],1),_c('div',{staticClass:\"config-note\"},[_c('span',[_vm._v(_vm._s(_vm.$t('config.backup-note')))])])]),_c('RebuildApp')],1),_c('TabItem',{attrs:{\"name\":_vm.$t('config.edit-config-tab')}},[_c('JsonEditor',{attrs:{\"config\":_vm.config}})],1),_c('TabItem',{attrs:{\"name\":_vm.$t('cloud-sync.title')}},[_c('CloudBackupRestore',{attrs:{\"config\":_vm.config}})],1),_c('TabItem',{attrs:{\"name\":_vm.$t('config.custom-css-tab')}},[_c('CustomCssEditor',{attrs:{\"config\":_vm.config}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"json-editor-outer\"},[_c('v-jsoneditor',{attrs:{\"options\":_vm.options},model:{value:(_vm.jsonData),callback:function ($$v) {_vm.jsonData=$$v},expression:\"jsonData\"}}),_c('div',{staticClass:\"save-options\"},[_c('span',{staticClass:\"save-option-title\"},[_vm._v(_vm._s(_vm.$t('config-editor.save-location-label'))+\":\")]),_c('div',{staticClass:\"option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.saveMode),expression:\"saveMode\"}],staticClass:\"radio-option\",attrs:{\"type\":\"radio\",\"id\":\"local\",\"value\":\"local\",\"disabled\":!_vm.allowWriteToDisk},domProps:{\"checked\":_vm._q(_vm.saveMode,\"local\")},on:{\"change\":function($event){_vm.saveMode=\"local\"}}}),_c('label',{staticClass:\"save-option-label\",attrs:{\"for\":\"local\"}},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.location-local-label'))+\" \")])]),_c('div',{staticClass:\"option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.saveMode),expression:\"saveMode\"}],staticClass:\"radio-option\",attrs:{\"type\":\"radio\",\"id\":\"file\",\"value\":\"file\",\"disabled\":!_vm.allowWriteToDisk},domProps:{\"checked\":_vm._q(_vm.saveMode,\"file\")},on:{\"change\":function($event){_vm.saveMode=\"file\"}}}),_c('label',{staticClass:\"save-option-label\",attrs:{\"for\":\"file\"}},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.location-disk-label'))+\" \")])])]),_c('button',{class:(\"save-button \" + (!_vm.isValid ? 'err' : '')),on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.save-button'))+\" \")]),_c('p',{staticClass:\"errors\"},[_c('ul',[_vm._l((_vm.errorMessages),function(error,index){return _c('li',{key:index,class:(\"type-\" + (error.type))},[_vm._v(\" \"+_vm._s(error.msg)+\" \")])}),(_vm.errorMessages.length < 1)?_c('li',{staticClass:\"type-valid\"},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.valid-label'))+\" \")]):_vm._e()],2)]),(_vm.saveSuccess !== undefined)?_c('p',{class:(\"response-output status-\" + (_vm.saveSuccess ? 'success' : 'fail'))},[_vm._v(\" \"+_vm._s(_vm.saveSuccess ? _vm.$t('config-editor.status-success-msg') : _vm.$t('config-editor.status-fail-msg'))+\" \")]):_vm._e(),(!_vm.allowWriteToDisk)?_c('p',{staticClass:\"no-permission-note\"},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.not-admin-note'))+\" \")]):_vm._e(),_c('p',{staticClass:\"response-output\"},[_vm._v(_vm._s(_vm.responseText))]),(_vm.saveSuccess)?_c('p',{staticClass:\"response-output\"},[_vm._v(\" \"+_vm._s(_vm.$t('config-editor.success-note-l1'))+\" \"+_vm._s(_vm.$t('config-editor.success-note-l2'))+\" \"+_vm._s(_vm.$t('config-editor.success-note-l3'))+\" \")]):_vm._e(),_c('p',{staticClass:\"note\"},[_vm._v(_vm._s(_vm.$t('config.backup-note')))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"json-editor-outer\">\n <!-- Main JSON editor -->\n <v-jsoneditor\n v-model=\"jsonData\"\n :options=\"options\"\n />\n <!-- Options raido, and save button -->\n <div class=\"save-options\">\n <span class=\"save-option-title\">{{ $t('config-editor.save-location-label') }}:</span>\n <div class=\"option\">\n <input type=\"radio\" id=\"local\" value=\"local\"\n v-model=\"saveMode\" class=\"radio-option\" :disabled=\"!allowWriteToDisk\" />\n <label for=\"local\" class=\"save-option-label\">\n {{ $t('config-editor.location-local-label') }}\n </label>\n </div>\n <div class=\"option\">\n <input type=\"radio\" id=\"file\" value=\"file\" v-model=\"saveMode\" class=\"radio-option\"\n :disabled=\"!allowWriteToDisk\" />\n <label for=\"file\" class=\"save-option-label\">\n {{ $t('config-editor.location-disk-label') }}\n </label>\n </div>\n </div>\n <button :class=\"`save-button ${!isValid ? 'err' : ''}`\" @click=\"save()\">\n {{ $t('config-editor.save-button') }}\n </button>\n <!-- List validation warnings -->\n <p class=\"errors\">\n <ul>\n <li v-for=\"(error, index) in errorMessages\" :key=\"index\" :class=\"`type-${error.type}`\">\n {{error.msg}}\n </li>\n <li v-if=\"errorMessages.length < 1\" class=\"type-valid\">\n {{ $t('config-editor.valid-label') }}\n </li>\n </ul>\n </p>\n <!-- Information notes -->\n <p v-if=\"saveSuccess !== undefined\"\n :class=\"`response-output status-${saveSuccess ? 'success' : 'fail'}`\">\n {{saveSuccess\n ? $t('config-editor.status-success-msg') : $t('config-editor.status-fail-msg') }}\n </p>\n <p v-if=\"!allowWriteToDisk\" class=\"no-permission-note\">\n {{ $t('config-editor.not-admin-note') }}\n </p>\n <p class=\"response-output\">{{ responseText }}</p>\n <p v-if=\"saveSuccess\" class=\"response-output\">\n {{ $t('config-editor.success-note-l1') }}\n {{ $t('config-editor.success-note-l2') }}\n {{ $t('config-editor.success-note-l3') }}\n </p>\n <p class=\"note\">{{ $t('config.backup-note') }}</p>\n </div>\n</template>\n\n<script>\n\nimport axios from 'axios';\nimport ProgressBar from 'rsup-progress';\nimport VJsoneditor from 'v-jsoneditor';\nimport ErrorHandler, { InfoHandler } from '@/utils/ErrorHandler';\nimport configSchema from '@/utils/ConfigSchema.json';\nimport JsonToYaml from '@/utils/JsonToYaml';\nimport { localStorageKeys, serviceEndpoints } from '@/utils/defaults';\nimport { isUserAdmin } from '@/utils/Auth';\n\nexport default {\n name: 'JsonEditor',\n props: {\n config: Object,\n },\n components: {\n VJsoneditor,\n },\n data() {\n return {\n jsonData: this.config,\n errorMessages: [],\n saveMode: 'file',\n options: {\n schema: configSchema,\n mode: 'tree',\n modes: ['tree', 'code', 'preview'],\n name: 'config',\n onValidationError: this.validationErrors,\n },\n jsonParser: JsonToYaml,\n responseText: '',\n saveSuccess: undefined,\n allowWriteToDisk: this.shouldAllowWriteToDisk(),\n progress: new ProgressBar({ color: 'var(--progress-bar)' }),\n };\n },\n computed: {\n isValid() {\n return this.errorMessages.length < 1;\n },\n },\n mounted() {\n if (!this.allowWriteToDisk) this.saveMode = 'local';\n },\n methods: {\n shouldAllowWriteToDisk() {\n const { appConfig } = this.config;\n return appConfig.allowConfigEdit !== false && isUserAdmin();\n },\n save() {\n if (this.saveMode === 'local' || !this.allowWriteToDisk) {\n this.saveConfigLocally();\n } else if (this.saveMode === 'file') {\n this.writeConfigToDisk();\n } else {\n this.$toasted.show(this.$t('config-editor.error-msg-save-mode'));\n }\n },\n writeConfigToDisk() {\n // 1. Convert JSON into YAML\n const yaml = this.jsonParser(this.jsonData);\n // 2. Prepare the request\n const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;\n const endpoint = `${baseUrl}${serviceEndpoints.save}`;\n const headers = { 'Content-Type': 'text/plain' };\n const body = { config: yaml, timestamp: new Date() };\n const request = axios.post(endpoint, body, headers);\n // 3. Make the request, and handle response\n this.progress.start();\n request.then((response) => {\n this.saveSuccess = response.data.success || false;\n this.responseText = response.data.message;\n if (this.saveSuccess) {\n this.carefullyClearLocalStorage();\n this.showToast(this.$t('config-editor.success-msg-disk'), true);\n } else {\n this.showToast(this.$t('config-editor.error-msg-cannot-save'), false);\n }\n InfoHandler('Config has been written to disk succesfully', 'Config Update');\n this.progress.end();\n })\n .catch((error) => {\n this.saveSuccess = false;\n this.responseText = error;\n this.showToast(error, false);\n ErrorHandler(`Failed to save config. ${error}`);\n this.progress.end();\n });\n },\n saveConfigLocally() {\n const data = this.jsonData;\n if (data.sections) {\n localStorage.setItem(localStorageKeys.CONF_SECTIONS, JSON.stringify(data.sections));\n }\n if (data.pageInfo) {\n localStorage.setItem(localStorageKeys.PAGE_INFO, JSON.stringify(data.pageInfo));\n }\n if (data.appConfig) {\n data.appConfig.auth = this.config.appConfig.auth || [];\n localStorage.setItem(localStorageKeys.APP_CONFIG, JSON.stringify(data.appConfig));\n }\n if (data.appConfig.theme) {\n localStorage.setItem(localStorageKeys.THEME, data.appConfig.theme);\n }\n InfoHandler('Config has succesfully been saved in browser storage', 'Config Update');\n this.showToast(this.$t('config-editor.success-msg-local'), true);\n },\n carefullyClearLocalStorage() {\n localStorage.removeItem(localStorageKeys.PAGE_INFO);\n localStorage.removeItem(localStorageKeys.APP_CONFIG);\n localStorage.removeItem(localStorageKeys.CONF_SECTIONS);\n },\n validationErrors(errors) {\n const errorMessages = [];\n errors.forEach((error) => {\n switch (error.type) {\n case 'validation':\n errorMessages.push({\n type: 'validation',\n msg: `${this.$t('config-editor.warning-msg-validation')}: `\n + `${error.error.keyword} ${error.error.message}`,\n });\n break;\n case 'error':\n errorMessages.push({\n type: 'parse',\n msg: error.message,\n });\n break;\n default:\n errorMessages.push({\n type: 'editor',\n msg: this.$t('config-editor.error-msg-bad-json'),\n });\n break;\n }\n });\n this.errorMessages = errorMessages;\n },\n showToast(message, success) {\n this.$toasted.show(message, { className: `toast-${success ? 'success' : 'error'}` });\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import '@/styles/media-queries.scss';\n\n.json-editor-outer {\n text-align: center;\n}\np.note {\n font-size: 0.8rem;\n color: var(--medium-grey);\n margin: 0.2rem;\n}\np.errors {\n text-align: left;\n margin: 0.5rem auto;\n width: 95%;\n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n li {\n &.type-validation {\n color: var(--warning);\n &::before { content: \"⚠️\"; }\n }\n &.type-parse {\n color: var(--danger);\n &::before { content: \"❌\"; }\n }\n &.type-valid {\n color: var(--success);\n &::before { content: \"✅\"; }\n }\n }\n }\n}\np.response-output {\n font-size: 0.8rem;\n text-align: left;\n margin: 0.5rem auto;\n width: 95%;\n color: var(--config-settings-color);\n &.status-success {\n font-weight: bold;\n color: var(--success);\n }\n &.status-fail {\n font-weight: bold;\n color: var(--danger);\n }\n}\n\np.no-permission-note {\n color: var(--config-settings-color);\n}\n\nbutton.save-button {\n padding: 0.5rem 1rem;\n margin: 0.25rem auto;\n font-size: 1.2rem;\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n border: 1px solid var(--config-settings-background);\n border-radius: var(--curve-factor);\n cursor: pointer;\n &:hover {\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n border-color: var(--config-settings-color);\n }\n &.err {\n opacity: 0.8;\n cursor: default;\n &:hover {\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n border-color: var(--danger);\n }\n }\n}\n\ndiv.save-options {\n display: flex;\n align-items: flex-start;\n justify-content: center;\n padding: 0.5rem;\n margin-bottom: 0.5rem;\n background: var(--code-editor-background);\n color: var(--code-editor-color);\n border-top: 2px solid var(--config-settings-background);\n @include tablet-down { flex-direction: column; }\n .option {\n @include tablet-up { margin-left: 2rem; }\n }\n span.save-option-title {\n cursor: default;\n }\n input.radio-option {\n cursor: pointer;\n }\n label.save-option-label {\n cursor: pointer;\n }\n}\n\n.jsoneditor-container.min-box {\n height: 58vh;\n}\n\n.jsoneditor, .jsoneditor-menu {\n border-color: var(--primary);\n}\n.jsoneditor {\n border-bottom: none;\n}\n\n.jsoneditor-menu, .pico-modal-header {\n background: var(--config-settings-background) !important;\n color: var(--config-settings-color) !important;\n}\n.jsoneditor-contextmenu .jsoneditor-menu li button {\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n &.jsoneditor-selected, &.jsoneditor-selected:focus, &.jsoneditor-selected:hover {\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n }\n}\ndiv.jsoneditor-search div.jsoneditor-frame {\n border-radius: var(--curve-factor);\n}\n.jsoneditor-poweredBy {\n display: none;\n}\n.jsoneditor-tree, pre.jsoneditor-preview {\n background: var(--code-editor-background);\n text-align: left;\n}\n\n.jsoneditor-jmespath-label {\n color: var(--config-settings-color) !important;\n}\n.jsoneditor-jmespath-block.jsoneditor-modal-actions input {\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n border: 1px solid var(--config-settings-background);\n border-radius: var(--curve-factor);\n &:hover {\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n border-color: var(--config-settings-color);\n }\n}\ntextarea.jsoneditor-transform-preview, div.jsoneditor-jmespath-block textarea#query {\n border: 1px solid var(--config-settings-color);\n border-radius: var(--curve-factor);\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonEditor.vue?vue&type=template&id=951378b2&\"\nimport script from \"./JsonEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JsonEditor.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"css-editor-outer\"},[_c('div',{staticClass:\"css-wrapper\"},[_c('h2',{staticClass:\"css-input-title\"},[_vm._v(\"Custom CSS\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customCss),expression:\"customCss\"}],staticClass:\"css-editor\",domProps:{\"value\":(_vm.customCss)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.customCss=$event.target.value}}}),_vm._v(\" \"),_c('Button',{staticClass:\"save-button\",attrs:{\"click\":_vm.save}},[_vm._v(_vm._s(_vm.$t('config.css-save-btn')))]),_c('p',{staticClass:\"quick-note\"},[_c('b',[_vm._v(_vm._s(_vm.$t('config.css-note-label'))+\":\")]),_vm._v(\" \"+_vm._s(_vm.$t('config.css-note-l1'))+\" \"+_vm._s(_vm.$t('config.css-note-l2'))+\" \"+_vm._s(_vm.$t('config.css-note-l3'))+\" \")])],1),_c('CustomThemeMaker',{staticClass:\"color-config\",attrs:{\"themeToEdit\":_vm.currentTheme}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"theme-configurator-wrapper \" + (_vm.showingAllVars ? 'showing-all' : ''))},[_c('h3',{staticClass:\"configurator-title\"},[_vm._v(_vm._s(_vm.$t('theme-maker.title')))]),_c('div',{staticClass:\"color-row-container\"},_vm._l((Object.keys(_vm.customColors)),function(colorName){return _c('div',{key:colorName,staticClass:\"color-row\"},[_c('label',{staticClass:\"color-name\",attrs:{\"for\":(\"color-input-\" + colorName)}},[_vm._v(\" \"+_vm._s(colorName.replaceAll('-', ' '))+\" \")]),(_vm.isColor(colorName, _vm.customColors[colorName]))?_c('v-swatches',{attrs:{\"show-fallback\":\"\",\"fallback-input-type\":\"color\",\"popover-x\":\"left\",\"swatches\":_vm.swatches},on:{\"input\":function($event){return _vm.setVariable(colorName, _vm.customColors[colorName])}},model:{value:(_vm.customColors[colorName]),callback:function ($$v) {_vm.$set(_vm.customColors, colorName, $$v)},expression:\"customColors[colorName]\"}},[_c('input',{staticClass:\"swatch-input form__input__element\",style:(_vm.makeSwatchStyles(colorName)),attrs:{\"slot\":\"trigger\",\"id\":(\"color-input-\" + colorName),\"readonly\":\"\"},domProps:{\"value\":_vm.customColors[colorName]},slot:\"trigger\"})]):_c('input',{staticClass:\"misc-input\",attrs:{\"id\":(\"color-input-\" + colorName)},domProps:{\"value\":_vm.customColors[colorName]},on:{\"input\":function($event){return _vm.setVariable(colorName, _vm.customColors[colorName])}}})],1)}),0),_c('p',{staticClass:\"action-text-btn\",on:{\"click\":_vm.exportToClipboard}},[_vm._v(\" \"+_vm._s(_vm.$t('theme-maker.export-button'))+\" \")]),_c('p',{staticClass:\"action-text-btn show-all-vars-btn\",on:{\"click\":_vm.resetAndSave}},[_vm._v(\" \"+_vm._s(_vm.$t('theme-maker.reset-button'))+\" '\"+_vm._s(_vm.themeToEdit)+\"' \")]),_c('p',{staticClass:\"action-text-btn\",on:{\"click\":_vm.findAllVariableNames}},[_vm._v(\" \"+_vm._s(_vm.$t('theme-maker.show-all-button'))+\" \")]),_c('div',{staticClass:\"action-buttons\"},[_c('Button',{attrs:{\"click\":_vm.saveChanges}},[_c('SaveIcon'),_vm._v(\" \"+_vm._s(_vm.$t('theme-maker.save-button'))+\" \")],1),_c('Button',{attrs:{\"click\":_vm.resetUnsavedColors}},[_c('CancelIcon'),_vm._v(\" \"+_vm._s(_vm.$t('theme-maker.cancel-button'))+\" \")],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:_vm.disallow ? 'disallowed': '',attrs:{\"disabled\":_vm.disabled},on:{\"click\":function($event){_vm.click ? _vm.click() : function () { return null; }}}},[_vm._t(\"default\"),_vm._t(\"text\"),_vm._t(\"icon\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <button\n @click=\"click ? click() : () => null\"\n :disabled=\"disabled\"\n :class=\"disallow ? 'disallowed': ''\"\n >\n <slot></slot>\n <slot name=\"text\"></slot>\n <slot name=\"icon\"></slot>\n </button>\n</template>\n\n<script>\n\nexport default {\n name: 'Button',\n props: {\n text: String,\n click: Function,\n disabled: Boolean,\n disallow: Boolean,\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n/* Layout settings */\nbutton {\n display: flex;\n justify-content: center;\n flex-direction: row-reverse;\n align-items: center;\n padding: 0.5rem 0.75rem;\n margin: 0.5rem auto;\n font-size: 1.2rem;\n min-width: 10rem;\n cursor: pointer;\n svg {\n width: 1.2rem;\n margin: 0 0.5rem;\n path, g {\n fill: currentColor;\n }\n }\n &.disallowed {\n cursor: not-allowed !important;\n }\n}\n\n/* Default visual settings, can be overridden when needed */\nbutton {\n color: var(--primary);\n background: var(--background);\n border: 1px solid var(--primary);\n border-radius: var(--curve-factor);\n &:hover:not(:disabled) {\n color: var(--background);\n background: var(--primary);\n border-color: var(--background);\n }\n &:disabled {\n cursor: progress;\n opacity: var(--dimming-factor);\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Button.vue?vue&type=template&id=7c0cff8c&scoped=true&\"\nimport script from \"./Button.vue?vue&type=script&lang=js&\"\nexport * from \"./Button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Button.vue?vue&type=style&index=0&id=7c0cff8c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c0cff8c\",\n null\n \n)\n\nexport default component.exports","<template>\n <div :class=\"`theme-configurator-wrapper ${showingAllVars ? 'showing-all' : ''}`\">\n <h3 class=\"configurator-title\">{{ $t('theme-maker.title') }}</h3>\n <div class=\"color-row-container\">\n <div class=\"color-row\" v-for=\"colorName in Object.keys(customColors)\" :key=\"colorName\">\n <label :for=\"`color-input-${colorName}`\" class=\"color-name\">\n {{colorName.replaceAll('-', ' ')}}\n </label>\n <v-swatches\n v-if=\"isColor(colorName, customColors[colorName])\"\n v-model=\"customColors[colorName]\"\n show-fallback\n fallback-input-type=\"color\"\n popover-x=\"left\"\n :swatches=\"swatches\"\n @input=\"setVariable(colorName, customColors[colorName])\"\n >\n <input\n :id=\"`color-input-${colorName}`\"\n slot=\"trigger\"\n :value=\"customColors[colorName]\"\n class=\"swatch-input form__input__element\"\n readonly\n :style=\"makeSwatchStyles(colorName)\"\n />\n </v-swatches>\n <input v-else\n :id=\"`color-input-${colorName}`\"\n :value=\"customColors[colorName]\"\n class=\"misc-input\"\n @input=\"setVariable(colorName, customColors[colorName])\"\n />\n </div> <!-- End of color list -->\n </div>\n <p @click=\"exportToClipboard\" class=\"action-text-btn\">\n {{ $t('theme-maker.export-button') }}\n </p>\n <p @click=\"resetAndSave\" class=\"action-text-btn show-all-vars-btn\">\n {{ $t('theme-maker.reset-button') }} '{{ themeToEdit }}'\n </p>\n <p @click=\"findAllVariableNames\" class=\"action-text-btn\">\n {{ $t('theme-maker.show-all-button') }}\n </p>\n <div class=\"action-buttons\">\n <Button :click=\"saveChanges\">\n <SaveIcon /> {{ $t('theme-maker.save-button') }}\n </Button>\n <Button :click=\"resetUnsavedColors\">\n <CancelIcon /> {{ $t('theme-maker.cancel-button') }}\n </Button>\n </div>\n </div>\n</template>\n\n<script>\nimport VSwatches from 'vue-swatches';\nimport 'vue-swatches/dist/vue-swatches.css';\nimport { localStorageKeys, mainCssVars, swatches } from '@/utils/defaults';\n\nimport Button from '@/components/FormElements/Button';\nimport SaveIcon from '@/assets/interface-icons/save-config.svg';\nimport CancelIcon from '@/assets/interface-icons/config-cancel.svg';\n\nexport default {\n name: 'ThemeMaker',\n components: {\n VSwatches,\n Button,\n SaveIcon,\n CancelIcon,\n },\n data() {\n return {\n customColors: this.makeInitialData(mainCssVars),\n showingAllVars: false,\n swatches,\n };\n },\n props: {\n themeToEdit: String,\n },\n methods: {\n /* Finds the current dominent value for a given CSS variable */\n getCssVariableValue(cssVar) {\n return getComputedStyle(document.documentElement).getPropertyValue(cssVar).trim() || 'inherit';\n },\n /* Sets the value to a given variable in the DOM */\n setVariable(variable, value) {\n document.documentElement.style.setProperty(`--${variable}`, value);\n },\n /* Saves the users omdified variables in local storage */\n saveChanges() {\n const priorSettings = JSON.parse(localStorage[localStorageKeys.CUSTOM_COLORS] || '{}');\n priorSettings[this.themeToEdit] = this.customColors;\n localStorage.setItem(localStorageKeys.CUSTOM_COLORS, JSON.stringify(priorSettings));\n this.$toasted.show(this.$t('theme-maker.saved-toast', { theme: this.themeToEdit }));\n this.$emit('closeThemeConfigurator');\n },\n /* Itterates over available variables, removing them from the DOM */\n resetUnsavedColors() {\n const variables = Object.keys(this.customColors);\n variables.forEach((variable) => {\n document.documentElement.style.removeProperty(`--${variable}`);\n });\n this.customColors = this.makeInitialData(mainCssVars);\n this.$emit('closeThemeConfigurator');\n },\n /* Resets styles, and removes data for current theme from local storage */\n resetAndSave() {\n const priorSettings = JSON.parse(localStorage[localStorageKeys.CUSTOM_COLORS] || '{}');\n delete priorSettings[this.themeToEdit];\n localStorage.setItem(localStorageKeys.CUSTOM_COLORS, JSON.stringify(priorSettings));\n this.resetUnsavedColors();\n this.$toasted.show(this.$t('theme-maker.reset-toast', { theme: this.themeToEdit }));\n },\n /* Generates CSS for the currently applied variables, and copys to users clipboard */\n exportToClipboard() {\n const themeName = this.themeToEdit.replace(/^\\w/, c => c.toUpperCase());\n let clipboardText = `// Custom Colors for ${themeName}\\n`;\n Object.keys(this.customColors).forEach((customVar) => {\n clipboardText += (`--${customVar}: ${this.customColors[customVar]};\\n`);\n });\n navigator.clipboard.writeText(clipboardText);\n this.$toasted.show(this.$t('theme-maker.copied-toast', { theme: themeName }));\n },\n /* Returns a JSON object, with the variable name as key, and color as value */\n makeInitialData(variableArray) {\n const data = {};\n const hasDash = (colorVar) => (/^--/.exec(colorVar));\n const addDash = (colorVar) => (hasDash(colorVar) ? colorVar : `--${colorVar}`);\n const removeDash = (colorVar) => (hasDash(colorVar) ? colorVar.replace('--', '') : colorVar);\n variableArray.forEach((colorName) => {\n data[removeDash(colorName)] = this.getCssVariableValue(addDash(colorName));\n });\n return data;\n },\n /* Find all available CSS variables for the current applied theme */\n findAllVariableNames() {\n const availableVariables = Array.from(document.styleSheets)\n .filter(sheet => sheet.href === null || sheet.href.startsWith(window.location.origin))\n .reduce(\n ((acc, sheet) => ([\n ...acc,\n ...Array.from(sheet.cssRules).reduce(\n (def, rule) => (rule.selectorText === ':root'\n ? [...def, ...Array.from(rule.style).filter(name => name.startsWith('--'))] : def),\n [],\n ),\n ])),\n [],\n );\n this.customColors = this.makeInitialData(availableVariables);\n this.showingAllVars = true;\n },\n /* Returns a complmenting text color for the palete input foreground */\n /* White if the color is dark, otherwise black */\n getForegroundColor(colorHex) {\n const hexToRgb = (hex) => {\n const colorParts = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n if (!colorParts || colorParts.length < 3) return 'black';\n const parse = (index) => parseInt(colorParts[index], 16);\n return colorParts ? { r: parse(1), g: parse(2), b: parse(3) } : null;\n };\n const getLightness = (rgb) => (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n return getLightness(hexToRgb(colorHex.trim())) < 100 ? 'white' : 'black';\n },\n /* The contents of the style attribute, to set background and text color of swatch */\n makeSwatchStyles(colorName) {\n const contrastingColor = this.getForegroundColor(this.customColors[colorName]);\n return `background:${this.customColors[colorName]};`\n + `color:${contrastingColor}; border: 1px solid ${contrastingColor}`;\n },\n /* Determines if a given variable should NOT use the color picker component */\n isColor(variableName, variableValue) {\n // If value is a dimension, then it aint a color\n if ((/rem|px|%/.exec(variableValue))) return false;\n const nonColorVariables = [ // Known non-color variables\n '--curve-factor', '--curve-factor-navbar', '--curve-factor-small',\n '--dimming-factor', '--scroll-bar-width', '--header-height', '--footer-height',\n '--item-group-padding', '--item-shadow', '--item-hover-shadow:', '--item-icon-transform',\n '--item-icon-transform-hover', '--item-group-shadow', '--context-menu-shadow',\n '--settings-container-shadow', '--side-bar-width',\n ];\n // If the variable name is known to not be a color (in above list)\n if (nonColorVariables.includes(`--${variableName}`)) return false;\n return true; // It must be a color, we'll use the color picker\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import '@/styles/style-helpers.scss';\n\ndiv.theme-configurator-wrapper {\n position: absolute;\n top: 4rem;\n right: 1rem;\n width: 16rem;\n min-height: 12rem;\n max-height: 28rem;\n padding: 0.5rem;\n z-index: 5;\n overflow-y: visible;\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n border-radius: var(--curve-factor);\n box-shadow: 0 8px 10px -2px rgba(0, 0, 0, 0.6), 1px 1px 6px var(--primary);\n\n h3.configurator-title {\n text-align: center;\n font-weight: normal;\n margin: 0.4rem;\n }\n\n div.color-row-container {\n max-height: 16rem;\n overflow-y: visible;\n @extend .scroll-bar;\n div.color-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0.25rem 0;\n border-bottom: 1px dashed var(--primary);\n label.color-name {\n text-transform: capitalize;\n }\n }\n }\n\n input.swatch-input, input.misc-input {\n border: none;\n margin: 0.2rem;\n padding: 0.5rem;\n width: 4rem;\n border-radius: var(--curve-factor);\n font-family: var(--font-monospace);\n color: var(--black);\n font-weight: bold;\n cursor: pointer;\n &:hover {\n box-shadow: inset 0 0 4px 4px #00000033;\n }\n &:active {\n box-shadow: inset 0 0 4px 4px #00000080;\n outline: none;\n }\n }\n}\n\np.action-text-btn {\n cursor: pointer;\n margin: 0.5rem auto 0;\n padding: 0.2rem 0.4rem;\n width: fit-content;\n text-align: center;\n text-decoration: underline;\n border-radius: var(--curve-factor);\n border: 1px solid var(--background-darker);\n &:hover {\n background: var(--background);\n border-color: var(--primary);\n text-decoration: none;\n }\n &:active {\n background: var(--primary);\n color: var(--background);\n }\n &.hide {\n display: none;\n }\n}\n\ndiv.action-buttons {\n display: flex;\n justify-content: center;\n button {\n min-width: 6rem;\n padding: 0.25rem 0.5rem;\n margin: 1rem 0.5rem 0.5rem;\n }\n}\n\ndiv.theme-configurator-wrapper.showing-all {\n overflow: auto;\n div.color-row-container {\n overflow: auto;\n }\n p.show-all-vars-btn {\n display: none;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomThemeMaker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomThemeMaker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomThemeMaker.vue?vue&type=template&id=57ccdb6d&\"\nimport script from \"./CustomThemeMaker.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomThemeMaker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomThemeMaker.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"css-editor-outer\">\n <!-- Add raw custom CSS -->\n <div class=\"css-wrapper\">\n <h2 class=\"css-input-title\">Custom CSS</h2>\n <textarea class=\"css-editor\" v-model=\"customCss\" />\n <Button class=\"save-button\" :click=\"save\">{{ $t('config.css-save-btn') }}</button>\n <p class=\"quick-note\">\n <b>{{ $t('config.css-note-label') }}:</b>\n {{ $t('config.css-note-l1') }} {{ $t('config.css-note-l2') }} {{ $t('config.css-note-l3') }}\n </p>\n </div>\n\n <!-- UI color configurator -->\n <CustomThemeMaker :themeToEdit=\"currentTheme\" class=\"color-config\" />\n </div>\n</template>\n\n<script>\n\nimport CustomThemeMaker from '@/components/Settings/CustomThemeMaker';\nimport Button from '@/components/FormElements/Button';\nimport { getTheme } from '@/utils/ConfigHelpers';\nimport { localStorageKeys } from '@/utils/defaults';\nimport { InfoHandler } from '@/utils/ErrorHandler';\n\nexport default {\n name: 'StyleEditor',\n props: {\n config: Object,\n },\n components: {\n Button,\n CustomThemeMaker,\n },\n data() {\n return {\n customCss: this.config.appConfig.customCss || '\\n\\n',\n currentTheme: getTheme(),\n };\n },\n methods: {\n /* Save custom CSS in browser, call inject, and show success message */\n save() {\n // Get, and sanitize users CSS\n const css = this.customCss.replace(/<\\/?[^>]+(>|$)/g, '');\n // Update app config, and apply settings locally\n const appConfig = { ...this.config.appConfig };\n appConfig.customCss = css;\n localStorage.setItem(localStorageKeys.APP_CONFIG, JSON.stringify(appConfig));\n // Immidiatley inject new CSS\n this.inject(css);\n // If reseting styles, then refresh the page\n if (css === '') setTimeout(() => { location.reload(); }, 1500); // eslint-disable-line no-restricted-globals\n // Show status message\n InfoHandler('User syles has been saved', 'Custom CSS Update');\n this.$toasted.show('Changes saved successfully');\n },\n /* Formats CSS, and applies it to page */\n inject(userStyles) {\n const cleanedCss = userStyles.replace(/<\\/?[^>]+(>|$)/g, '');\n const style = document.createElement('style');\n style.textContent = cleanedCss;\n document.head.append(style);\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n\n// Main layout\ndiv.css-editor-outer {\n text-align: center;\n padding-bottom: 1rem;\n display: flex;\n flex-direction: column;\n\n div.css-wrapper {\n display: flex;\n flex-direction: column;\n }\n h2.css-input-title {\n margin: 0.5rem 0 0.2rem;\n }\n}\n\n// Save button\nbutton.save-button{\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n border: 1px solid var(--config-settings-background);\n &:hover:not(:disabled) {\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n border-color: var(--config-settings-color);\n }\n}\n\n// CSS textarea input\n.css-editor {\n margin: 1rem auto;\n padding: 0.5rem;\n width: 80%;\n height: 8rem;\n max-height: 16rem;\n min-height: 4rem;\n resize: vertical;\n outline: none;\n border: 1px solid var(--config-settings-color);\n border-radius: var(--curve-factor);\n background: var(--transparent-50);\n color: var(--config-settings-color);\n &:focus {\n box-shadow: 0 40px 70px -2px rgba(0, 0, 0, 0.6), 1px 1px 6px var(--config-settings-color);\n }\n}\n\n// Info note\np.quick-note {\n text-align: left;\n width: 80%;\n margin: 1rem auto;\n padding: 0.5rem;\n font-size: 0.9rem;\n opacity: var(--dimming-factor);\n border-radius: var(--curve-factor);\n}\n\n// Theme editor\n.color-config.theme-configurator-wrapper {\n border: 1px solid var(--config-settings-color);\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n position: relative;\n width: 80%;\n max-width: 24rem;\n margin: 1rem auto;\n box-shadow: none;\n right: 0;\n top: 0;\n max-height: unset;\n .color-row-container {\n text-align: left;\n max-height: unset;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCss.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCss.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomCss.vue?vue&type=template&id=692fd1f4&\"\nimport script from \"./CustomCss.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomCss.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomCss.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cloud-backup-restore-wrapper\"},[_c('div',{staticClass:\"section intro\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('cloud-sync.title')))]),_c('p',{staticClass:\"intro\"},[_vm._v(\" \"+_vm._s(_vm.$t('cloud-sync.intro-l1'))+\" \"),_c('br'),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('cloud-sync.intro-l2'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('cloud-sync.intro-l3'))+\" \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md\"}},[_vm._v(\"docs\")])])]),_c('div',{staticClass:\"section backup-section\"},[(_vm.backupId)?_c('h3',[_vm._v(_vm._s(_vm.$t('cloud-sync.backup-title-setup')))]):_c('h3',[_vm._v(_vm._s(_vm.$t('cloud-sync.backup-title-setup')))]),_c('Input',{attrs:{\"name\":\"backup-password\",\"label\":_vm.backupId\n ? _vm.$t('cloud-sync.password-label-update') : _vm.$t('cloud-sync.password-label-setup'),\"layout\":\"vertical\",\"type\":\"password\"},model:{value:(_vm.backupPassword),callback:function ($$v) {_vm.backupPassword=$$v},expression:\"backupPassword\"}}),_c('Button',{attrs:{\"click\":_vm.checkPass},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.backupId ? _vm.$t('cloud-sync.backup-button-update') : _vm.$t('cloud-sync.backup-button-setup'))+\" \")]},proxy:true},{key:\"icon\",fn:function(){return [_c('IconBackup')]},proxy:true}])}),(_vm.backupId)?_c('div',{staticClass:\"results-view\"},[_c('span',{staticClass:\"backup-id-label\"},[_vm._v(_vm._s(_vm.$t('cloud-sync.backup-id-label'))+\": \")]),_c('pre',{staticClass:\"backup-id-value\"},[_vm._v(_vm._s(_vm.backupId))]),_c('span',{staticClass:\"backup-id-note\"},[_vm._v(_vm._s(_vm.$t('cloud-sync.backup-id-note')))])]):_vm._e()],1),_c('div',{staticClass:\"section restore-section\"},[_c('h3',[_vm._v(_vm._s(_vm.$t('cloud-sync.restore-title')))]),_c('Input',{attrs:{\"name\":\"restore-code\",\"label\":_vm.$t('cloud-sync.restore-id-label')},model:{value:(_vm.restoreCode),callback:function ($$v) {_vm.restoreCode=$$v},expression:\"restoreCode\"}}),_c('Input',{attrs:{\"name\":\"restore-password\",\"label\":_vm.$t('cloud-sync.restore-password-label'),\"type\":\"password\"},model:{value:(_vm.restorePassword),callback:function ($$v) {_vm.restorePassword=$$v},expression:\"restorePassword\"}}),_c('Button',{attrs:{\"click\":_vm.restoreBackup},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(_vm._s(_vm.$t('cloud-sync.restore-button')))]},proxy:true},{key:\"icon\",fn:function(){return [_c('IconRestore')]},proxy:true}])})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"input-container \" + _vm.layout)},[(_vm.label)?_c('label',{attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(_vm.label))]):_vm._e(),_c('input',{attrs:{\"type\":_vm.type,\"name\":_vm.name,\"id\":_vm.name,\"placeholder\":_vm.placeholder},domProps:{\"value\":_vm.value},on:{\"input\":function($event){return _vm.updateValue($event.target.value)}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div :class=\"`input-container ${layout}`\">\n <label v-if=\"label\" for=\"name\">{{label}}</label>\n <input\n :type=\"type\"\n :value=\"value\"\n v-on:input=\"updateValue($event.target.value)\"\n :name=\"name\"\n :id=\"name\"\n :placeholder=\"placeholder\"\n />\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'Input',\n props: {\n value: String, // The value bound to v-model\n label: String, // An optional label to display above\n name: String, // Required unique ID value, for accessibility\n placeholder: String, // Optional placeholder value\n type: {\n default: 'text', // Input type, e.g. text, password, number\n type: String,\n },\n layout: { // Layout alignment direction, either horizonal or verical\n validator: (value) => ['horizontal', 'vertical'].indexOf(value) !== -1,\n type: String,\n default: 'vertical',\n },\n },\n methods: {\n updateValue(value) {\n this.$emit('input', value);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\ndiv.input-container {\n margin: 0.25rem auto;\n display: flex;\n align-items: baseline;\n &.vertical {\n flex-direction: column;\n }\n &.horizontal {\n flex-direction: row;\n justify-content: space-between;\n label { margin-right: 0.25rem; }\n }\n\n input {\n min-width: 10rem;\n padding: 0.5rem 0.75rem;\n margin: 0.5rem auto;\n font-size: 1.2rem;\n box-sizing: border-box;\n color: var(--primary);\n background: var(--background);;\n border: 1px solid var(--primary);\n border-radius: var(--curve-factor);\n &:focus {\n box-shadow: 1px 1px 6px var(--config-settings-color);\n outline: none;\n }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=5df13ed2&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Input.vue?vue&type=style&index=0&id=5df13ed2&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5df13ed2\",\n null\n \n)\n\nexport default component.exports","import sha256 from 'crypto-js/sha256';\nimport aes from 'crypto-js/aes';\nimport Utf8 from 'crypto-js/enc-utf8';\nimport axios from 'axios';\nimport { backupEndpoint } from '@/utils/defaults';\n\nconst ENDPOINT = backupEndpoint; // 'https://dashy-sync-service.as93.net';\n\n/* Stringify, encrypt and encode data for transmission */\nconst encryptData = (data, password) => {\n const stringifiedData = JSON.stringify(data);\n const encryptedData = aes.encrypt(stringifiedData, password);\n return encryptedData.toString();\n};\n\n/* Decrypt, decode and parse received data */\nconst decryptData = (data, password) => aes.decrypt(data, password).toString(Utf8);\n\n/* Returns a splice of the hash of the users password */\nconst makeSubHash = (pass) => sha256(pass).toString().slice(0, 14);\n\n/* Makes the backup */\nexport const backup = (data, password) => axios.post(ENDPOINT, {\n userData: encryptData(data, password),\n subHash: makeSubHash(password),\n});\n\n/* Updates and existing backup */\nexport const update = (data, password, backupId) => axios.put(ENDPOINT, {\n backupId,\n userData: encryptData(data, password),\n subHash: makeSubHash(password),\n});\n\nconst encodeGetParams = p => Object.entries(p).map(kv => kv.map(encodeURIComponent).join('=')).join('&');\n\n/* Restores the backup */\nexport const restore = (backupId, password) => {\n const params = encodeGetParams({ backupId, subHash: makeSubHash(password) });\n const url = `${ENDPOINT}/?${params}`;\n return new Promise((resolve, reject) => {\n axios.get(url).then((response) => {\n if (!response.data || response.data.errorMsg) {\n reject(response.data.errorMsg || 'Error');\n } else {\n const decryptedData = decryptData(response.data.userData.userData, password);\n try { resolve(JSON.parse(decryptedData)); } catch (e) { reject(e); }\n }\n });\n });\n};\n","<template>\n <div class=\"cloud-backup-restore-wrapper\">\n <div class=\"section intro\">\n <h2>{{ $t('cloud-sync.title') }}</h2>\n <p class=\"intro\">\n {{ $t('cloud-sync.intro-l1') }}\n <br><br>\n {{ $t('cloud-sync.intro-l2') }}\n <br>\n {{ $t('cloud-sync.intro-l3') }}\n <a href=\"https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md\">docs</a>\n </p>\n </div>\n <div class=\"section backup-section\">\n <h3 v-if=\"backupId\">{{ $t('cloud-sync.backup-title-setup') }}</h3>\n <h3 v-else>{{ $t('cloud-sync.backup-title-setup') }}</h3>\n <Input\n v-model=\"backupPassword\"\n name=\"backup-password\"\n :label=\"backupId\n ? $t('cloud-sync.password-label-update') : $t('cloud-sync.password-label-setup')\"\n layout=\"vertical\"\n type=\"password\"\n />\n <Button :click=\"checkPass\">\n <template v-slot:text>\n {{backupId\n ? $t('cloud-sync.backup-button-update') : $t('cloud-sync.backup-button-setup')}}\n </template>\n <template v-slot:icon><IconBackup /></template>\n </Button>\n <div class=\"results-view\" v-if=\"backupId\">\n <span class=\"backup-id-label\">{{ $t('cloud-sync.backup-id-label') }}: </span>\n <pre class=\"backup-id-value\">{{ backupId }}</pre>\n <span class=\"backup-id-note\">{{ $t('cloud-sync.backup-id-note') }}</span>\n </div>\n </div>\n <div class=\"section restore-section\">\n <h3>{{ $t('cloud-sync.restore-title') }}</h3>\n <Input\n v-model=\"restoreCode\"\n name=\"restore-code\"\n :label=\"$t('cloud-sync.restore-id-label')\"\n />\n <Input\n v-model=\"restorePassword\"\n name=\"restore-password\"\n :label=\"$t('cloud-sync.restore-password-label')\"\n type=\"password\"\n />\n <Button :click=\"restoreBackup\">\n <template v-slot:text>{{ $t('cloud-sync.restore-button') }}</template>\n <template v-slot:icon><IconRestore /></template>\n </Button>\n </div>\n </div>\n</template>\n\n<script>\n\nimport sha256 from 'crypto-js/sha256';\nimport ProgressBar from 'rsup-progress';\nimport Button from '@/components/FormElements/Button';\nimport Input from '@/components/FormElements/Input';\nimport IconBackup from '@/assets/interface-icons/config-backup.svg';\nimport IconRestore from '@/assets/interface-icons/config-restore.svg';\nimport { backup, update, restore } from '@/utils/CloudBackup';\nimport { localStorageKeys } from '@/utils/defaults';\nimport { InfoHandler, WarningInfoHandler } from '@/utils/ErrorHandler';\n\nexport default {\n name: 'CloudBackupRestore',\n props: {\n config: Object,\n },\n data() {\n return {\n backupPassword: '',\n restorePassword: '',\n restoreCode: '',\n backupId: localStorage[localStorageKeys.BACKUP_ID] || '',\n progress: new ProgressBar({ color: 'var(--progress-bar)' }),\n };\n },\n components: {\n Button,\n Input,\n IconBackup,\n IconRestore,\n },\n methods: {\n restoreBackup() {\n this.progress.start();\n restore(this.restoreCode, this.restorePassword)\n .then((response) => {\n this.restoreFromBackup(response, this.restoreCode);\n this.progress.end();\n }).catch((msg) => {\n this.showErrorMsg(msg);\n this.progress.end();\n });\n },\n checkPass() {\n const savedHash = localStorage[localStorageKeys.BACKUP_HASH] || undefined;\n if (!this.backupPassword) {\n this.showErrorMsg(this.$t('cloud-sync.backup-missing-password'));\n } else if (!savedHash) {\n this.makeBackup();\n } else if (savedHash === this.makeHash(this.backupPassword)) {\n this.makeUpdate();\n } else {\n this.showErrorMsg(this.$t('cloud-sync.backup-error-password'));\n }\n },\n makeBackup() {\n this.progress.start();\n backup(this.config, this.backupPassword)\n .then((response) => {\n if (!response.data || response.data.errorMsg || !response.data.backupId) {\n this.showErrorMsg(response.data.errorMsg || 'Error');\n } else { // All clear, no error\n this.updateUiAfterBackup(response.data.backupId, false);\n }\n this.progress.end();\n }).catch(() => {\n this.showErrorMsg(this.$t('cloud-sync.backup-error-unknown'));\n this.progress.end();\n });\n },\n makeUpdate() {\n this.progress.start();\n update(this.config, this.backupPassword, this.backupId)\n .then((response) => {\n if (!response.data || response.data.errorMsg || !response.data.backupId) {\n this.showErrorMsg(response.data.errorMsg || 'Error');\n } else { // All clear, no error\n this.updateUiAfterBackup(response.data.backupId, true);\n }\n this.progress.end();\n }).catch(() => {\n this.showErrorMsg(this.$t('cloud-sync.backup-error-unknown'));\n this.progress.end();\n });\n },\n restoreFromBackup(config, backupId) {\n localStorage.setItem(localStorageKeys.CONF_SECTIONS, JSON.stringify(config.sections));\n localStorage.setItem(localStorageKeys.APP_CONFIG, JSON.stringify(config.appConfig));\n localStorage.setItem(localStorageKeys.PAGE_INFO, JSON.stringify(config.pageInfo));\n if (config.appConfig.theme) {\n localStorage.setItem(localStorageKeys.THEME, config.appConfig.theme);\n }\n this.setBackupIdLocally(backupId, this.restorePassword);\n this.showSuccessMsg(this.$t('cloud-sync.restore-success-msg'));\n setTimeout(() => { location.reload(); }, 1500); // eslint-disable-line no-restricted-globals\n },\n updateUiAfterBackup(backupId, isUpdate = false) {\n this.setBackupIdLocally(backupId, this.backupPassword);\n this.showSuccessMsg(\n `${isUpdate ? 'Update' : 'Backup'} ${this.$t('cloud-sync.backup-success-msg')}`,\n );\n this.backupPassword = '';\n },\n showErrorMsg(errorMsg) {\n WarningInfoHandler(errorMsg, 'Cloud Backup');\n this.$toasted.show(errorMsg, { className: 'toast-error' });\n },\n showSuccessMsg(msg) {\n InfoHandler(msg, 'Cloud Backup');\n this.$toasted.show(msg, { className: 'toast-success' });\n },\n makeHash(pass) {\n return sha256(pass).toString();\n },\n setBackupIdLocally(backupId, pass) {\n this.backupId = backupId;\n const hash = this.makeHash(pass);\n localStorage.setItem(localStorageKeys.BACKUP_ID, backupId);\n localStorage.setItem(localStorageKeys.BACKUP_HASH, hash);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n @import '@/styles/style-helpers.scss';\n div.cloud-backup-restore-wrapper {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n text-align: center;\n overflow: auto;\n height: 100%;\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n @extend .scroll-bar;\n\n .section {\n display: flex;\n flex-direction: column;\n width: fit-content;\n margin: 0 auto 1rem auto;\n padding: 0 0.5rem 1rem 0.5rem;\n &:first-child {\n border-bottom: 1px dashed var(--config-settings-color);\n }\n &.intro {\n width: 100%;\n height: fit-content;\n a {\n color: var(--config-settings-color);\n }\n }\n }\n\n h2 { font-size: 2rem; }\n h3 { font-size: 1.6rem; }\n p.intro {\n text-align: left;\n font-size: 1rem;\n margin: 0.25rem;\n padding: 0.25rem;\n }\n }\n\n div.results-view {\n width: 16rem;\n margin: 0.5rem auto;\n padding: 0.5rem 0.75rem;\n box-sizing: border-box;\n border: 1px dashed var(--config-settings-color);\n border-radius: var(--curve-factor);\n text-align: left;\n .backup-id-label, .backup-id-value {\n display: inline;\n font-size: 1rem;\n margin-right: 0.5rem;\n }\n .backup-id-note {\n font-size: 0.8rem;\n display: block;\n opacity: 0.8;\n margin-top: 0.5rem;\n }\n }\n\n /* Overide form element colors, so that config menu can be themed by user */\n input, button, {\n color: var(--config-settings-color);\n border: 1px solid var(--config-settings-color);\n background: none;\n width: 16rem;\n }\n input:focus {\n box-shadow: 1px 1px 6px var(--config-settings-color);\n }\n button:hover {\n color: var(--config-settings-background);\n border: 1px solid var(--config-settings-background);\n background: var(--config-settings-color);\n }\n h2, h3 {\n margin: 1rem;\n }\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloudBackupRestore.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloudBackupRestore.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CloudBackupRestore.vue?vue&type=template&id=2c1cbd90&scoped=true&\"\nimport script from \"./CloudBackupRestore.vue?vue&type=script&lang=js&\"\nexport * from \"./CloudBackupRestore.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CloudBackupRestore.vue?vue&type=style&index=0&id=2c1cbd90&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c1cbd90\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{attrs:{\"name\":_vm.modalName,\"resizable\":true,\"width\":\"50%\",\"height\":\"60%\",\"classes\":\"dashy-modal\"}},[_c('div',{staticClass:\"rebuild-app-container\"},[_c('h3',{staticClass:\"rebuild-app-title\"},[_vm._v(_vm._s(_vm.$t('app-rebuild.title')))]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('app-rebuild.rebuild-note-l1'))+\" \"+_vm._s(_vm.$t('app-rebuild.rebuild-note-l2'))),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('app-rebuild.rebuild-note-l3'))+\" \")]),_c('Button',{attrs:{\"click\":_vm.startBuild,\"disabled\":_vm.loading || !_vm.allowRebuild,\"disallow\":!_vm.allowRebuild},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.loading ? _vm.$t('app-rebuild.rebuilding-status-1') : _vm.$t('app-rebuild.rebuild-button'))+\" \")]},proxy:true},{key:\"icon\",fn:function(){return [_c('RebuildIcon')]},proxy:true}])}),(!_vm.allowRebuild)?_c('div',[_c('p',{staticClass:\"disallow-rebuild-msg\"},[_vm._v(_vm._s(_vm.$t('app-rebuild.error-permission')))])]):_vm._e(),(_vm.loading)?_c('div',{staticClass:\"loader-info\"},[_c('LoadingAnimation',{staticClass:\"loader\"}),_c('p',{staticClass:\"loading-message\"},[_vm._v(_vm._s(_vm.$t('app-rebuild.rebuilding-status-2'))+\"...\")])],1):_vm._e(),(_vm.success !== undefined)?_c('div',{staticClass:\"rebuild-response\"},[(_vm.success)?_c('p',{staticClass:\"response-status success\"},[_vm._v(\" ✅ \"+_vm._s(_vm.$t('app-rebuild.success-msg'))+\" \")]):_c('p',{staticClass:\"response-status failure\"},[_vm._v(\" ❌ \"+_vm._s(_vm.$t('app-rebuild.fail-msg'))+\" \")]),_c('pre',{staticClass:\"output\"},[_c('code',[_vm._v(_vm._s(_vm.output || _vm.error))])]),_c('p',{staticClass:\"rebuild-message\"},[_vm._v(_vm._s(_vm.message))]),(_vm.success)?_c('p',{staticClass:\"rebuild-message\"},[_vm._v(\" \"+_vm._s(_vm.$t('app-rebuild.reload-note'))+\" \")]):_vm._e(),(_vm.success)?_c('Button',{attrs:{\"click\":_vm.refreshPage},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(_vm._s(_vm.$t('app-rebuild.reload-button')))]},proxy:true},{key:\"icon\",fn:function(){return [_c('ReloadIcon')]},proxy:true}],null,false,3658341317)}):_vm._e()],1):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal :name=\"modalName\" :resizable=\"true\" width=\"50%\" height=\"60%\" classes=\"dashy-modal\">\n <div class=\"rebuild-app-container\">\n <!-- Title, intro and start button -->\n <h3 class=\"rebuild-app-title\">{{ $t('app-rebuild.title') }}</h3>\n <p>\n {{ $t('app-rebuild.rebuild-note-l1') }}\n {{ $t('app-rebuild.rebuild-note-l2') }}<br>\n {{ $t('app-rebuild.rebuild-note-l3') }}\n </p>\n <Button :click=\"startBuild\" :disabled=\"loading || !allowRebuild\" :disallow=\"!allowRebuild\">\n <template v-slot:text>\n {{ loading ? $t('app-rebuild.rebuilding-status-1') : $t('app-rebuild.rebuild-button') }}\n </template>\n <template v-slot:icon><RebuildIcon /></template>\n </Button>\n <div v-if=\"!allowRebuild\">\n <p class=\"disallow-rebuild-msg\">{{ $t('app-rebuild.error-permission') }}</p>\n </div>\n <!-- Loading animation and text (shown while build is happening) -->\n <div v-if=\"loading\" class=\"loader-info\">\n <LoadingAnimation class=\"loader\" />\n <p class=\"loading-message\">{{ $t('app-rebuild.rebuilding-status-2') }}...</p>\n </div>\n <!-- Build response, and next actions (shown after build is done) -->\n <div class=\"rebuild-response\" v-if=\"success !== undefined\">\n <p v-if=\"success\" class=\"response-status success\">\n ✅ {{ $t('app-rebuild.success-msg') }}\n </p>\n <p v-else class=\"response-status failure\">\n ❌ {{ $t('app-rebuild.fail-msg') }}\n </p>\n <pre class=\"output\"><code>{{ output || error }}</code></pre>\n <p class=\"rebuild-message\">{{ message }}</p>\n <p v-if=\"success\" class=\"rebuild-message\">\n {{ $t('app-rebuild.reload-note') }}\n </p>\n <Button :click=\"refreshPage\" v-if=\"success\">\n <template v-slot:text>{{ $t('app-rebuild.reload-button') }}</template>\n <template v-slot:icon><ReloadIcon /></template>\n </Button>\n </div>\n </div>\n </modal>\n</template>\n\n<script>\nimport axios from 'axios';\nimport ProgressBar from 'rsup-progress';\nimport Button from '@/components/FormElements/Button';\nimport RebuildIcon from '@/assets/interface-icons/application-rebuild.svg';\nimport ReloadIcon from '@/assets/interface-icons/application-reload.svg';\nimport LoadingAnimation from '@/assets/interface-icons/loader.svg';\nimport { modalNames, serviceEndpoints } from '@/utils/defaults';\n\nexport default {\n name: 'RebuildApp',\n inject: ['config'],\n components: {\n Button,\n RebuildIcon,\n ReloadIcon,\n LoadingAnimation,\n },\n data: () => ({\n modalName: modalNames.REBUILD_APP,\n loading: false,\n success: undefined,\n error: '',\n output: '',\n message: '',\n allowRebuild: true,\n progress: new ProgressBar({ color: 'var(--progress-bar)' }),\n }),\n methods: {\n /* Calls to the rebuild endpoint, to kickoff the app build */\n startBuild() {\n const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;\n const endpoint = `${baseUrl}${serviceEndpoints.rebuild}`;\n this.loading = true;\n this.progress.start();\n axios.get(endpoint)\n .then((response) => {\n this.finished(response.data || false);\n this.progress.end();\n })\n .catch((error) => {\n this.finished({ success: false, error });\n this.progress.end();\n });\n },\n /* Called when rebuild is complete, updates UI with either success or fail message */\n finished(responseData) {\n this.loading = false;\n if (responseData) {\n const {\n success, output, error, message,\n } = responseData;\n this.success = success;\n this.output = output;\n this.message = message;\n this.error = error;\n }\n this.$toasted.show(\n (this.success\n ? `✅ ${this.$t('app-rebuild.success-msg')}` : `❌ ${this.$t('app-rebuild.fail-msg')}`),\n { className: `toast-${this.success ? 'success' : 'error'}` },\n );\n },\n refreshPage() {\n location.reload(); // eslint-disable-line no-restricted-globals\n },\n },\n mounted() {\n if (this.config) {\n if (this.config.appConfig) {\n if (this.config.appConfig.allowConfigEdit === false) {\n this.allowRebuild = false;\n }\n }\n }\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n.rebuild-app-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 1rem;\n color: var(--config-settings-color);\n background: var(--config-settings-background);\n overflow: auto;\n\n button {\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n }\n\n p.disallow-rebuild-msg {\n color: var(--danger);\n font-size: 1.2rem;\n margin: 0.2rem auto;\n text-align: center;\n }\n\n h3.rebuild-app-title {\n text-align: center;\n font-size: 2rem;\n margin: 1rem;\n }\n div.loader-info {\n margin: 0.2rem auto;\n text-align: center;\n svg.loader {\n width: 100px;\n }\n p.loading-message {\n margin: 0;\n font-size: 0.8rem;\n opacity: var(--dimming-factor);\n animation: 3s fadeIn;\n animation-fill-mode: forwards;\n opacity: 0;\n @keyframes fadeIn {\n 90% { opacity: 0; }\n 95% { opacity: 0.8; }\n 100% { opacity: 1; }\n }\n }\n }\n div.rebuild-response {\n width: 80%;\n margin: 0 auto 4rem auto;\n text-align: center;\n p.response-status {\n font-size: 1rem;\n text-align: left;\n &.success {\n color: var(--success);\n }\n &.failure {\n color: var(--danger);\n }\n }\n pre.output {\n padding: 1rem;\n font-size: 0.75rem;\n border-radius: var(--curve-factor-small);\n text-align: left;\n color: var(--white);\n background: var(--black);\n white-space: pre-wrap;\n }\n p.rebuild-message {\n font-size: 1rem;\n text-align: left;\n margin: 0.8rem 0;\n color: var(--config-settings-color);\n }\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RebuildApp.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RebuildApp.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RebuildApp.vue?vue&type=template&id=e1fe6988&scoped=true&\"\nimport script from \"./RebuildApp.vue?vue&type=script&lang=js&\"\nexport * from \"./RebuildApp.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RebuildApp.vue?vue&type=style&index=0&id=e1fe6988&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e1fe6988\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVersionValid())?_c('div',{staticClass:\"app-version\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('updates.app-version-note'))+\" \"+_vm._s(_vm.appVersion)+\" \")]),(_vm.checksEnabled)?_c('div',[(!_vm.finished)?_c('p',[_vm._v(\" \"+_vm._s(_vm.error ? 'Error checking for updates.' : 'Chcekcing for Updates...')+\" \")]):_vm._e(),(_vm.finished && _vm.isUpToDate)?_c('p',{staticClass:\"up-to-date\"},[_vm._v(\" ✅ \"+_vm._s(_vm.$t('updates.up-to-date'))+\" \")]):(_vm.finished && !_vm.veryOutOfDate)?_c('p',{staticClass:\"update-availible\"},[_vm._v(\" ⚠️\"+_vm._s(_vm.$t('updates.out-of-date'))+\": \"),_c('b',[_vm._v(_vm._s(_vm.latestVersion))])]):(_vm.finished && _vm.veryOutOfDate)?_c('p',{staticClass:\"big-update-availible\"},[_vm._v(\" ❗ \"+_vm._s(_vm.$t('updates.out-of-date'))+\": \"),_c('b',[_vm._v(_vm._s(_vm.latestVersion))]),_c('span',{staticClass:\"please-update\"},[_vm._v(\" \"+_vm._s(_vm.$t('updates.unsupported-version-l1'))+\".\"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('updates.unsupported-version-2'))+\" \"+_vm._s(_vm.latestVersion)+\" \")])]):_vm._e()]):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"app-version\" v-if=\"isVersionValid()\">\n <!-- Current Version -->\n <p>\n {{ $t('updates.app-version-note') }} {{ appVersion }}\n </p>\n <div v-if=\"checksEnabled\">\n <!-- Results haven't come in yet, either still checking, or error -->\n <p v-if=\"!finished\">\n {{ error ? 'Error checking for updates.' : 'Chcekcing for Updates...' }}\n </p>\n <!-- App is up-to-date -->\n <p v-if=\"finished && isUpToDate\" class=\"up-to-date\">\n ✅ {{ $t('updates.up-to-date') }}\n </p>\n <!-- An update is available, but not too out-of-date -->\n <p v-else-if=\"finished && !veryOutOfDate\" class=\"update-availible\">\n ⚠️{{ $t('updates.out-of-date') }}: <b>{{ latestVersion }}</b>\n </p>\n <!-- Update available, app is VERY out of date, show some additional info -->\n <p v-else-if=\"finished && veryOutOfDate\" class=\"big-update-availible\">\n ❗ {{ $t('updates.out-of-date') }}: <b>{{ latestVersion }}</b>\n <span class=\"please-update\">\n {{ $t('updates.unsupported-version-l1') }}.<br>\n {{ $t('updates.unsupported-version-2') }} {{ latestVersion }}\n </span>\n </p>\n </div>\n </div>\n</template>\n\n<script>\nimport axios from 'axios';\nimport ProgressBar from 'rsup-progress';\nimport ErrorHandler from '@/utils/ErrorHandler';\n\nexport default {\n name: 'AppInfoModal',\n inject: ['config'],\n data() {\n return {\n appVersion: process.env.VUE_APP_VERSION, // Current version, from package.json\n progress: new ProgressBar({ color: 'var(--progress-bar)' }),\n latestVersion: '', // Will store latest version, when request returns\n checksEnabled: true, // Should we check for updates\n isUpToDate: true, // Is current version === latest version\n veryOutOfDate: false, // If the app is more than 5 versions out of date\n finished: false, // Set to true when request is done\n error: false, // Set to true if checkig fails\n };\n },\n mounted() {\n const appConfig = this.config.appConfig || {};\n if (!this.appVersion || (appConfig && appConfig.disableUpdateChecks)) {\n // Either current version isn't found, or user disabled checks\n this.checksEnabled = false;\n } else {\n this.checkVersion(); // Trigger the check\n }\n },\n methods: {\n /* Gets the apps latest version from Dashy's git repo */\n checkVersion() {\n const packageUrl = 'https://raw.githubusercontent.com/Lissy93/dashy/master/package.json';\n this.progress.start();\n axios.get(packageUrl).then((response) => {\n if (response && response.data && response.data.version) {\n this.latestVersion = response.data.version;\n this.isUpToDate = this.checkIfUpToDate(this.appVersion, this.latestVersion);\n this.finished = true;\n this.progress.end();\n }\n }).catch(() => {\n this.error = true;\n this.progress.end();\n });\n },\n /* Compares the current version, with the package.json version */\n checkIfUpToDate(currentVersion, latestVersion) {\n const parse = (version) => parseInt(version.replaceAll('.', ''), 10);\n const difference = parse(latestVersion) - parse(currentVersion);\n if (difference > 5) this.veryOutOfDate = true;\n return difference <= 0;\n },\n /* Checks that the input version is correctly parsed */\n isVersionValid() {\n const isValid = !Number.isNaN(parseInt(this.appVersion.replaceAll('.', ''), 10));\n if (!isValid) { // If invalid, then record an error\n ErrorHandler(\n 'Unable to check for updates, because current version is unavailible.'\n + ` ${this.appVersion} is not a valid version.`,\n );\n }\n return isValid;\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\ndiv.app-version {\n color: var(--settings-text-color);\n text-align: center;\n p {\n margin: 0.5rem auto;\n color: var(--transparent-white-50);\n cursor: default;\n &.up-to-date {\n color: var(--success);\n font-weight: bold;\n opacity: 0.8;\n }\n &.update-availible {\n color: var(--warning);\n opacity: 0.8;\n }\n &.big-update-availible {\n color: var(--danger);\n .please-update {\n font-size: 0.8rem;\n color: var(--danger);\n display: block;\n }\n }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppVersion.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppVersion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppVersion.vue?vue&type=template&id=3b1179a6&scoped=true&\"\nimport script from \"./AppVersion.vue?vue&type=script&lang=js&\"\nexport * from \"./AppVersion.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppVersion.vue?vue&type=style&index=0&id=3b1179a6&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b1179a6\",\n null\n \n)\n\nexport default component.exports","<template>\n <Tabs :navAuto=\"true\" name=\"Add Item\" ref=\"tabView\">\n <TabItem :name=\"$t('config.main-tab')\" class=\"main-tab\">\n <div class=\"main-options-container\">\n <div class=\"config-buttons\">\n <h2>Configuration Options</h2>\n <a class=\"hyperlink-wrapper\" @click=\"downloadConfigFile('conf.yml', yaml)\">\n <button class=\"config-button center\">\n <DownloadIcon class=\"button-icon\"/>\n {{ $t('config.download-config-button') }}\n </button>\n </a>\n <button class=\"config-button center\" @click=\"() => navigateToTab(1)\">\n <EditIcon class=\"button-icon\"/>\n {{ $t('config.edit-config-button') }}\n </button>\n <button class=\"config-button center\" @click=\"() => navigateToTab(3)\">\n <CustomCssIcon class=\"button-icon\"/>\n {{ $t('config.edit-css-button') }}\n </button>\n <button class=\"config-button center\" @click=\"() => navigateToTab(2)\">\n <CloudIcon class=\"button-icon\"/>\n {{backupId ? $t('config.edit-cloud-sync-button') : $t('config.cloud-sync-button') }}\n </button>\n <button class=\"config-button center\" @click=\"openLanguageSwitchModal()\">\n <LanguageIcon class=\"button-icon\"/>\n {{ $t('config.change-language-button') }}\n </button>\n <button class=\"config-button center\" @click=\"openRebuildAppModal()\">\n <RebuildIcon class=\"button-icon\"/>\n {{ $t('config.rebuild-app-button') }}\n </button>\n <button class=\"config-button center\" @click=\"resetLocalSettings()\">\n <DeleteIcon class=\"button-icon\"/>\n {{ $t('config.reset-settings-button') }}\n </button>\n <button class=\"config-button center\" @click=\"openAboutModal()\">\n <IconAbout class=\"button-icon\" />\n {{ $t('config.app-info-button') }}\n </button>\n <p class=\"small-screen-note\" style=\"display: none;\">\n You are using a very small screen, and some screens in this menu may not be optimal\n </p>\n <p class=\"language\">{{ getLanguage() }}</p>\n <AppVersion />\n </div>\n <div class=\"config-note\">\n <span>{{ $t('config.backup-note') }}</span>\n </div>\n </div>\n <!-- Rebuild App Modal -->\n <RebuildApp />\n </TabItem>\n <TabItem :name=\"$t('config.edit-config-tab')\">\n <JsonEditor :config=\"config\" />\n </TabItem>\n <TabItem :name=\"$t('cloud-sync.title')\">\n <CloudBackupRestore :config=\"config\" />\n </TabItem>\n <TabItem :name=\"$t('config.custom-css-tab')\">\n <CustomCssEditor :config=\"config\" />\n </TabItem>\n </Tabs>\n</template>\n\n<script>\n\nimport JsonToYaml from '@/utils/JsonToYaml';\nimport { localStorageKeys, modalNames } from '@/utils/defaults';\nimport { getUsersLanguage } from '@/utils/ConfigHelpers';\nimport JsonEditor from '@/components/Configuration/JsonEditor';\nimport CustomCssEditor from '@/components/Configuration/CustomCss';\nimport CloudBackupRestore from '@/components/Configuration/CloudBackupRestore';\nimport RebuildApp from '@/components/Configuration/RebuildApp';\nimport AppVersion from '@/components/Configuration/AppVersion';\n\nimport DownloadIcon from '@/assets/interface-icons/config-download-file.svg';\nimport DeleteIcon from '@/assets/interface-icons/config-delete-local.svg';\nimport EditIcon from '@/assets/interface-icons/config-edit-json.svg';\nimport CustomCssIcon from '@/assets/interface-icons/config-custom-css.svg';\nimport CloudIcon from '@/assets/interface-icons/cloud-backup-restore.svg';\nimport RebuildIcon from '@/assets/interface-icons/application-rebuild.svg';\nimport LanguageIcon from '@/assets/interface-icons/config-language.svg';\nimport IconAbout from '@/assets/interface-icons/application-about.svg';\n\nexport default {\n name: 'ConfigContainer',\n data() {\n return {\n jsonParser: JsonToYaml,\n backupId: localStorage[localStorageKeys.BACKUP_ID] || '',\n appVersion: process.env.VUE_APP_VERSION,\n latestVersion: '',\n };\n },\n props: {\n config: Object,\n },\n computed: {\n sections: function getSections() {\n return this.config.sections;\n },\n yaml() {\n return this.jsonParser(this.config);\n },\n },\n components: {\n JsonEditor,\n CustomCssEditor,\n CloudBackupRestore,\n RebuildApp,\n AppVersion,\n DownloadIcon,\n DeleteIcon,\n EditIcon,\n CloudIcon,\n CustomCssIcon,\n LanguageIcon,\n RebuildIcon,\n IconAbout,\n },\n methods: {\n /* Progamatically navigates to a given tab by index */\n navigateToTab(tabInxex) {\n const itemToSelect = this.$refs.tabView.navItems[tabInxex];\n this.$refs.tabView.activeTabItem(itemToSelect);\n },\n openRebuildAppModal() {\n this.$modal.show(modalNames.REBUILD_APP);\n },\n openAboutModal() {\n this.$modal.show(modalNames.ABOUT_APP);\n },\n openLanguageSwitchModal() {\n this.$modal.show(modalNames.LANG_SWITCHER);\n },\n copyConfigToClipboard() {\n navigator.clipboard.writeText(this.jsonParser(this.config));\n this.$toasted.show(this.$t('config.data-copied-msg'));\n },\n /* Checks that the user is sure, then resets site-wide local storage, and reloads page */\n resetLocalSettings() {\n const msg = `${this.$t('config.reset-config-msg-l1')\n }${this.$t('config.reset-config-msg-l2')}\\n\\n${this.$t('config.reset-config-msg-l3')}`;\n const isTheUserSure = confirm(msg); // eslint-disable-line no-alert, no-restricted-globals\n if (isTheUserSure) {\n localStorage.clear();\n this.$toasted.show(this.$t('config.data-cleared-msg'));\n setTimeout(() => {\n location.reload(true); // eslint-disable-line no-restricted-globals\n }, 1900);\n }\n },\n /* Generates a new file, with the YAML contents, and triggers a download */\n downloadConfigFile(filename, filecontents) {\n const element = document.createElement('a');\n element.setAttribute('href', `data:text/plain;charset=utf-8, ${encodeURIComponent(filecontents)}`);\n element.setAttribute('download', filename);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n },\n getLanguage() {\n const lang = getUsersLanguage();\n return lang ? `${lang.flag} ${lang.name}` : '';\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/style-helpers.scss';\n@import '@/styles/media-queries.scss';\n\npre {\n color: var(--config-code-color);\n font-weight: bold !important;\n padding: 0.5rem 1rem;\n}\n\na.config-button, button.config-button {\n display: flex;\n align-items: center;\n padding: 0.5rem 1rem;\n margin: 0.25rem auto;\n font-size: 1.2rem;\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n border: 1px solid var(--config-settings-color);\n border-radius: var(--curve-factor);\n text-decoration: none;\n cursor: pointer;\n margin: 0.5rem auto;\n min-width: 18rem;\n width: 100%;\n svg.button-icon {\n path {\n fill: var(--config-settings-color);\n }\n width: 1rem;\n height: 1rem;\n padding: 0.2rem;\n margin-right: 0.5rem;\n }\n &:hover {\n background: var(--config-settings-color);\n color: var(--config-settings-background);\n svg path {\n fill: var(--config-settings-background);\n }\n }\n}\n\na.hyperlink-wrapper {\n margin: 0 auto;\n text-decoration: none;\n min-width: 18rem;\n width: 100%;\n}\n\np.app-version, p.language {\n margin: 0.5rem auto;\n font-size: 1rem;\n color: var(--transparent-white-50);\n cursor: default;\n}\n\ndiv.code-container {\n background: var(--config-code-background);\n #conf-yaml span {\n font-family: var(--font-monospace), monospace !important;\n &.hljs-attr {\n font-weight: bold !important;\n }\n }\n .yaml-action-buttons {\n position: absolute;\n top: 1.5rem;\n right: 0.5rem;\n display: flex;\n flex-direction: column;\n border: 1px dashed;\n padding: 0.5rem;\n border-radius: 4px;\n h2 {\n margin: 0;\n text-align: center;\n color: var(--config-code-color);\n }\n a.yaml-button {\n padding: 0.25rem 0.5rem;\n font-size: 1rem;\n color: var(--config-code-color);\n border-radius: var(--curve-factor);\n cursor: pointer;\n text-decoration: underline;\n border: 1px solid var(--config-code-background);\n &:hover {\n color: var(--config-code-color);\n border-color: var(--config-code-color);\n text-decoration: none;\n }\n &:active {\n color: var(--config-code-background);\n background-color: var(--config-settings-color);\n text-decoration: none;\n }\n }\n }\n}\n\n.tab-item {\n overflow-y: auto;\n @extend .scroll-bar;\n background: var(--config-settings-background);\n &.main-tab {\n min-height: 500px;\n }\n}\n\n.main-options-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.config-buttons {\n display: flex;\n flex-direction: column;\n background: var(--config-settings-background);\n height: calc(100% - 2rem);\n width: fit-content;\n margin: 0 auto;\n padding: 2rem 1rem 0;\n h2 {\n margin: 0 auto 1rem auto;\n color: var(--config-settings-color);\n }\n}\n\n.config-note {\n width: 80%;\n bottom: 1rem;\n left: 10%;\n margin: 0.5rem auto;\n padding: 0.5rem 0.75rem;\n border: 1px dashed var(--config-settings-color);\n border-radius: var(--curve-factor);\n text-align: left;\n opacity: var(--dimming-factor);\n color: var(--config-settings-color);\n background: var(--config-settings-background);\n cursor: default;\n p.sub-title {\n font-weight: bold;\n margin: 0;\n display: inline;\n }\n &:hover { opacity: 1; }\n display: none;\n @include tablet-up { display: block; }\n}\np.small-screen-note {\n @include phone {\n display: block !important;\n }\n margin: 0.5rem auto;\n padding: 0 0.5rem;\n text-align: center;\n opacity: 0.8;\n font-size: 0.9rem;\n color: var(--warning);\n }\n</style>\n\n<style lang=\"scss\">\n\n.tabs__content {\n height: -webkit-fill-available;\n height: -moz-available;\n height: stretch;\n height: 100%; // Firefox\n}\n\n.tab-item {\n background: var(--config-settings-background) !important;\n}\n\n.tab__pagination {\n background: var(--config-settings-background) !important;\n color: var(--config-settings-color) !important;\n .tab__nav__items .tab__nav__item {\n span {\n color: var(--config-settings-color) !important;\n }\n &:hover {\n background: var(--config-settings-color) !important;\n span {\n color: var(--config-settings-background) !important;\n }\n }\n &.active {\n span {\n font-weight: bold !important;\n color: var(--config-settings-color) !important;\n }\n }\n }\n .tab__nav__items .tab__nav__item.active {\n border-bottom: 2px solid var(--config-settings-color) !important;\n }\n hr.tab__slider {\n background: var(--config-settings-color) !important;\n }\n}\n\n#conf-yaml {\n background: var(--white);\n .hljs-attr {\n color: #9c03f5;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigContainer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ConfigContainer.vue?vue&type=template&id=dcfaf5de&scoped=true&\"\nimport script from \"./ConfigContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./ConfigContainer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ConfigContainer.vue?vue&type=style&index=0&id=dcfaf5de&scoped=true&lang=scss&\"\nimport style1 from \"./ConfigContainer.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dcfaf5de\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"language-switcher\"},[_c('h3',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t('language-switcher.title')))]),_c('p',{staticClass:\"intro\"},[_vm._v(_vm._s(_vm.$t('language-switcher.dropdown-label'))+\":\")]),_c('v-select',{staticClass:\"language-dropdown\",attrs:{\"selectOnTab\":true,\"options\":_vm.languageList,\"label\":\"friendlyName\",\"input\":_vm.applyLanguageLocally()},model:{value:(_vm.language),callback:function ($$v) {_vm.language=$$v},expression:\"language\"}}),_c('Button',{staticClass:\"save-button\",attrs:{\"click\":_vm.saveLanguage,\"disallow\":!_vm.language}},[_vm._v(\" \"+_vm._s(_vm.$t('language-switcher.save-button'))+\" \"),_c('SaveConfigIcon')],1),(_vm.language)?_c('p',{staticClass:\"current-lang\"},[_vm._v(\" 🌐 \"+_vm._s(_vm.language.flag)+\" \"+_vm._s(_vm.language.name)+\" \")]):_vm._e(),(_vm.$i18n.availableLocales.length <= 1)?_c('p',{staticClass:\"sad-times\"},[_vm._v(\" There are not currently any additional languages supported, but stay tuned as more are on their way! \")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"language-switcher\">\n <h3 class=\"title\">{{ $t('language-switcher.title') }}</h3>\n <p class=\"intro\">{{ $t('language-switcher.dropdown-label') }}:</p>\n <v-select\n v-model=\"language\"\n :selectOnTab=\"true\"\n :options=\"languageList\"\n class=\"language-dropdown\"\n label=\"friendlyName\"\n :input=\"applyLanguageLocally()\"\n />\n <Button class=\"save-button\" :click=\"saveLanguage\" :disallow=\"!language\">\n {{ $t('language-switcher.save-button') }}\n <SaveConfigIcon />\n </Button>\n <p v-if=\"language\" class=\"current-lang\">\n 🌐 {{ language.flag }} {{ language.name }}\n </p>\n <p v-if=\"$i18n.availableLocales.length <= 1\" class=\"sad-times\">\n There are not currently any additional languages supported,\n but stay tuned as more are on their way!\n </p>\n </div>\n</template>\n\n<script>\nimport Button from '@/components/FormElements/Button';\nimport SaveConfigIcon from '@/assets/interface-icons/save-config.svg';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport { languages } from '@/utils/languages';\nimport { localStorageKeys, modalNames } from '@/utils/defaults';\n\nexport default {\n name: 'LanguageSwitcher',\n inject: ['config'],\n components: {\n Button,\n SaveConfigIcon,\n },\n data() {\n return {\n language: this.getCurrentLanguage(), // The currently selected language\n modalName: modalNames.LANG_SWITCHER, // Key for modal\n };\n },\n computed: {\n /* Return the array of language objects, plus a friends name */\n languageList: () => languages.map((lang) => {\n const newLang = lang;\n newLang.friendlyName = `${lang.flag} ${lang.name}`;\n return newLang;\n }),\n },\n methods: {\n /* Check if language is supported */\n checkLocale(selectedLanguage) {\n if (!selectedLanguage || !selectedLanguage.code) return false;\n const i18nLocales = this.$i18n.availableLocales;\n return i18nLocales.includes(selectedLanguage.code);\n },\n /* Apply language locally */\n applyLanguageLocally() {\n if (this.language && this.language.code) {\n this.$i18n.locale = this.language.code;\n } else {\n ErrorHandler('Error applying language, it\\'s config may be missing of incomplete');\n }\n },\n /* Save language to local storage, show success msg and close modal */\n saveLanguage() {\n const selectedLanguage = this.language;\n if (this.checkLocale(selectedLanguage)) {\n localStorage.setItem(localStorageKeys.LANGUAGE, selectedLanguage.code);\n this.applyLanguageLocally();\n const successMsg = `${selectedLanguage.flag} `\n + `${this.$t('language-switcher.success-msg')} ${selectedLanguage.name}`;\n this.$toasted.show(successMsg, { className: 'toast-success' });\n this.$modal.hide(this.modalName);\n } else {\n this.$toasted.show('Unable to update language', { className: 'toast-error' });\n ErrorHandler('Unable to apply language');\n }\n },\n /* Gets the users current language from local storage */\n getCurrentLanguage() {\n const getLanguageFromIso = (iso) => languages.find((lang) => lang.code === iso);\n const current = localStorage[localStorageKeys.LANGUAGE] || this.config.appConfig.language;\n return getLanguageFromIso(current);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n.language-switcher {\n height: 100%;\n margin: 0;\n padding: 1rem;\n background: var(--config-settings-background);\n color: var(--config-settings-color);\n h3.title {\n text-align: center;\n }\n p.intro {\n margin: 0;\n }\n button.save-button {\n margin: 0 auto;\n width: 100%;\n }\n p.sad-times {\n color: var(--warning);\n text-align: center;\n }\n p.current-lang {\n color: var(--success);\n opacity: var(--dimming-factor);\n text-align: center;\n position: absolute;\n margin: 1rem auto;\n cursor: default;\n width: 100%;\n bottom: 0;\n }\n}\n\n</style>\n\n<style lang=\"scss\">\n@import '@/styles/style-helpers.scss';\n.language-dropdown {\n margin: 1rem auto;\n ul.vs__dropdown-menu {\n max-height: 14rem;\n @extend .scroll-bar;\n }\n div.vs__dropdown-toggle {\n padding: 0.2rem 0;\n }\n div, input {\n cursor: pointer;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LanguageSwitcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LanguageSwitcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LanguageSwitcher.vue?vue&type=template&id=1720d3c1&scoped=true&\"\nimport script from \"./LanguageSwitcher.vue?vue&type=script&lang=js&\"\nexport * from \"./LanguageSwitcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LanguageSwitcher.vue?vue&type=style&index=0&id=1720d3c1&scoped=true&lang=scss&\"\nimport style1 from \"./LanguageSwitcher.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1720d3c1\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"config-options\" v-click-outside=\"closeViewSwitcher\">\n <!-- Button and label -->\n <span class=\"config-label\">{{ $t('settings.config-launcher-label') }}</span>\n <div class=\"config-buttons\">\n <IconSpanner @click=\"showEditor()\" tabindex=\"-2\"\n v-tooltip=\"tooltip($t('settings.config-launcher-tooltip'))\" />\n <IconViewMode @click=\"openChangeViewMenu()\" tabindex=\"-2\"\n v-tooltip=\"tooltip($t('alternate-views.alternate-view-heading'))\" />\n </div>\n\n <!-- Modal containing all the configuration options -->\n <modal :name=\"modalNames.CONF_EDITOR\" :resizable=\"true\" width=\"60%\" height=\"85%\"\n @closed=\"$emit('modalChanged', false)\" classes=\"dashy-modal\">\n <ConfigContainer :config=\"combineConfig()\" />\n </modal>\n\n <!-- Modal for manually changing locale -->\n <modal :name=\"modalNames.LANG_SWITCHER\" classes=\"dashy-modal\"\n :resizable=\"true\" width=\"35%\" height=\"60%\">\n <LanguageSwitcher />\n </modal>\n\n <!-- Menu for switching view -->\n <div v-if=\"viewSwitcherOpen\" class=\"view-switcher\">\n <ul>\n <li>\n <router-link to=\"/home\">\n <IconHome /><span>{{ $t('alternate-views.default') }}</span>\n </router-link>\n </li>\n <li>\n <router-link to=\"/minimal\">\n <IconMinimalView /><span>{{ $t('alternate-views.minimal') }}</span>\n </router-link>\n <li>\n <router-link to=\"/workspace\">\n <IconWorkspaceView /><span>{{ $t('alternate-views.workspace') }}</span>\n </router-link>\n </li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\n\nimport ConfigContainer from '@/components/Configuration/ConfigContainer';\nimport LanguageSwitcher from '@/components/Settings/LanguageSwitcher';\nimport { topLevelConfKeys, localStorageKeys, modalNames } from '@/utils/defaults';\nimport IconSpanner from '@/assets/interface-icons/config-editor.svg';\nimport IconViewMode from '@/assets/interface-icons/application-change-view.svg';\nimport IconHome from '@/assets/interface-icons/application-home.svg';\nimport IconWorkspaceView from '@/assets/interface-icons/open-workspace.svg';\nimport IconMinimalView from '@/assets/interface-icons/application-minimal.svg';\n\nexport default {\n name: 'ConfigLauncher',\n data() {\n return {\n modalNames,\n viewSwitcherOpen: false,\n };\n },\n components: {\n ConfigContainer,\n LanguageSwitcher,\n IconSpanner,\n IconViewMode,\n IconHome,\n IconWorkspaceView,\n IconMinimalView,\n },\n props: {\n sections: Array,\n pageInfo: Object,\n appConfig: Object,\n },\n methods: {\n showEditor: function show() {\n this.$modal.show(modalNames.CONF_EDITOR);\n this.$emit('modalChanged', true);\n },\n combineConfig() {\n const conf = {};\n conf[topLevelConfKeys.APP_CONFIG] = this.appConfig;\n conf[topLevelConfKeys.PAGE_INFO] = this.pageInfo;\n conf[topLevelConfKeys.SECTIONS] = this.sections;\n conf[topLevelConfKeys.APP_CONFIG].theme = localStorage[localStorageKeys.THEME]\n || conf[topLevelConfKeys.APP_CONFIG].theme;\n return conf;\n },\n tooltip(content) {\n return { content, trigger: 'hover focus', delay: 250 };\n },\n openChangeViewMenu() {\n this.viewSwitcherOpen = !this.viewSwitcherOpen;\n },\n closeViewSwitcher() {\n this.viewSwitcherOpen = false;\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n.config-options {\n display: flex;\n flex-direction: column;\n color: var(--settings-text-color);\n min-width: 3.2rem;\n svg {\n path {\n fill: var(--settings-text-color);\n }\n width: 1rem;\n height: 1rem;\n margin: 0.2rem;\n padding: 0.2rem;\n text-align: center;\n background: var(--background);\n border: 1px solid currentColor;\n border-radius: var(--curve-factor);\n cursor: pointer;\n &:hover, &.selected {\n background: var(--settings-text-color);\n path { fill: var(--background); }\n }\n }\n}\n\n.view-switcher {\n position: absolute;\n right: 1rem;\n margin-top: 3rem;\n z-index: 5;\n background: var(--background);\n border: 1px solid var(--settings-text-color);\n border-radius: var(--curve-factor);\n box-shadow: var(--settings-container-shadow);\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n li {\n cursor: pointer;\n padding: 0.25rem 0.75rem;\n a {\n color: var(--settings-text-color);\n text-decoration: none;\n display: flex;\n align-items: center;\n }\n &:hover {\n background: var(--settings-text-color);\n a { color: var(--background); }\n }\n svg {\n margin: 0 0.25rem 0 0;\n border: none;\n }\n }\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigLauncher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigLauncher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ConfigLauncher.vue?vue&type=template&id=199b60a3&scoped=true&\"\nimport script from \"./ConfigLauncher.vue?vue&type=script&lang=js&\"\nexport * from \"./ConfigLauncher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ConfigLauncher.vue?vue&type=style&index=0&id=199b60a3&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"199b60a3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeThemeConfigurator),expression:\"closeThemeConfigurator\"}],staticClass:\"theme-selector-section\"},[_c('div',[_c('span',{staticClass:\"theme-label\"},[_vm._v(_vm._s(_vm.$t('settings.theme-label')))]),_c('v-select',{staticClass:\"theme-dropdown\",attrs:{\"options\":_vm.themeNames,\"tabindex\":-2},model:{value:(_vm.selectedTheme),callback:function ($$v) {_vm.selectedTheme=$$v},expression:\"selectedTheme\"}})],1),_c('IconPalette',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.$t('theme-maker.title')),expression:\"$t('theme-maker.title')\"}],staticClass:\"color-button\",on:{\"click\":_vm.openThemeConfigurator}}),(_vm.themeConfiguratorOpen)?_c('CustomThemeMaker',{attrs:{\"themeToEdit\":_vm.selectedTheme},on:{\"closeThemeConfigurator\":function($event){return _vm.closeThemeConfigurator()}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ErrorHandler from '@/utils/ErrorHandler';\nimport { getTheme, getCustomColors } from '@/utils/ConfigHelpers';\nimport { mainCssVars } from '@/utils/defaults';\n\n/* Returns users current theme */\nexport const GetTheme = () => getTheme();\n\n/* Gets user custom color preferences for current theme, and applies to DOM */\nexport const ApplyCustomVariables = (theme) => {\n mainCssVars.forEach((vName) => { document.documentElement.style.removeProperty(`--${vName}`); });\n const themeColors = getCustomColors()[theme];\n if (themeColors) {\n Object.keys(themeColors).forEach((customVar) => {\n document.documentElement.style.setProperty(`--${customVar}`, themeColors[customVar]);\n });\n }\n};\n\n/* Sets the theme, by updating data-theme attribute on the html tag */\nexport const ApplyLocalTheme = (newTheme) => {\n const htmlTag = document.getElementsByTagName('html')[0];\n if (htmlTag.hasAttribute('data-theme')) htmlTag.removeAttribute('data-theme');\n htmlTag.setAttribute('data-theme', newTheme);\n};\n\n/**\n * A function for pre-loading, and easy switching of external stylesheets\n * External CSS is preloaded to avoid FOUC\n */\nexport const LoadExternalTheme = function th() {\n /* Preload selected external theme */\n const preloadTheme = (href) => {\n const link = document.createElement('link');\n link.rel = 'stylesheet';\n link.href = href;\n document.head.appendChild(link);\n return new Promise((resolve, reject) => {\n link.onload = e => {\n const { sheet } = e.target;\n sheet.disabled = true;\n resolve(sheet);\n };\n link.onerror = reject;\n });\n };\n\n /* Check theme is selected, and it exists */\n const checkTheme = (themes, name) => {\n if ((!name) || (name !== 'custom' && !themes[name])) {\n ErrorHandler(`Theme: '${name || '[not selected]'}' does not exist.`);\n return false;\n }\n return true;\n };\n\n /* Disable all but selected theme */\n const selectTheme = (themes, name) => {\n if (checkTheme(themes, name)) {\n const t = themes; // To avoid ESLint complaining about mutating a param\n Object.keys(themes).forEach(n => { t[n].disabled = (n !== name); });\n }\n };\n\n const themes = {};\n\n return {\n add(name, href) { return preloadTheme(href).then(s => { themes[name] = s; }); },\n set theme(name) { selectTheme(themes, name); },\n get theme() { return Object.keys(themes).find(n => !themes[n].disabled); },\n };\n};\n","<template>\n <div class=\"theme-selector-section\" v-click-outside=\"closeThemeConfigurator\">\n <div>\n <span class=\"theme-label\">{{ $t('settings.theme-label') }}</span>\n <v-select\n :options=\"themeNames\"\n v-model=\"selectedTheme\"\n class=\"theme-dropdown\"\n :tabindex=\"-2\"\n />\n </div>\n <IconPalette\n class=\"color-button\"\n @click=\"openThemeConfigurator\"\n v-tooltip=\"$t('theme-maker.title')\"\n />\n <CustomThemeMaker\n v-if=\"themeConfiguratorOpen\"\n :themeToEdit=\"selectedTheme\"\n @closeThemeConfigurator=\"closeThemeConfigurator()\"\n />\n </div>\n</template>\n\n<script>\n\nimport CustomThemeMaker from '@/components/Settings/CustomThemeMaker';\nimport {\n LoadExternalTheme,\n ApplyLocalTheme,\n ApplyCustomVariables,\n} from '@/utils/ThemeHelper';\nimport Defaults, { localStorageKeys } from '@/utils/defaults';\nimport IconPalette from '@/assets/interface-icons/config-color-palette.svg';\n\nexport default {\n name: 'ThemeSelector',\n props: {\n externalThemes: Object,\n confTheme: String,\n userThemes: Array,\n },\n components: {\n CustomThemeMaker,\n IconPalette,\n },\n watch: {\n /* When the theme changes, then call the update method */\n selectedTheme(newTheme) {\n this.updateTheme(newTheme);\n },\n },\n data() {\n return {\n selectedTheme: this.getInitialTheme(),\n builtInThemes: [...Defaults.builtInThemes, ...this.userThemes],\n themeHelper: new LoadExternalTheme(),\n themeConfiguratorOpen: false, // Control the opening of theme config popup\n ApplyLocalTheme,\n ApplyCustomVariables,\n };\n },\n computed: {\n /* Combines all theme names (builtin and user defined) together */\n themeNames: function themeNames() {\n const externalThemeNames = Object.keys(this.externalThemes);\n const specialThemes = ['custom'];\n return [...externalThemeNames, ...this.builtInThemes, ...specialThemes];\n },\n },\n created() {\n // Pass all user custom stylesheets to the themehelper\n const added = Object.keys(this.externalThemes).map(\n name => this.themeHelper.add(name, this.externalThemes[name]),\n );\n // Quicker loading, if the theme is local we can apply it immidiatley\n if (this.isThemeLocal(this.selectedTheme)) {\n this.updateTheme(this.selectedTheme);\n // If it's an external stylesheet, then wait for promise to resolve\n } else if (this.selectedTheme !== Defaults.theme) {\n Promise.all(added).then(() => {\n this.updateTheme(this.selectedTheme);\n });\n }\n },\n methods: {\n /* Get default theme */\n getInitialTheme() {\n return localStorage[localStorageKeys.THEME] || this.confTheme || Defaults.theme;\n },\n /* Determines if a given theme is local / not a custom user stylesheet */\n isThemeLocal(themeToCheck) {\n return this.builtInThemes.includes(themeToCheck);\n },\n /* Opens the theme color configurator popup */\n openThemeConfigurator() {\n this.$emit('modalChanged', true);\n this.themeConfiguratorOpen = true;\n },\n /* Closes the theme color configurator popup */\n closeThemeConfigurator() {\n // this.$emit('modalChanged', false);\n this.themeConfiguratorOpen = false;\n },\n /* Updates theme. Checks if the new theme is local or external,\n and calls appropirate updating function. Updates local storage */\n updateTheme(newTheme) {\n if (newTheme === 'Default') {\n this.resetToDefault();\n this.themeHelper.theme = 'Default';\n } else if (this.isThemeLocal(newTheme)) {\n this.ApplyLocalTheme(newTheme);\n } else {\n this.themeHelper.theme = newTheme;\n }\n this.ApplyCustomVariables(newTheme);\n localStorage.setItem(localStorageKeys.THEME, newTheme);\n },\n /* Removes any applied themes */\n resetToDefault() {\n document.getElementsByTagName('html')[0].removeAttribute('data-theme');\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n\n@import 'vue-select/src/scss/vue-select.scss';\n@import '@/styles/style-helpers.scss';\n\n.theme-dropdown {\n div.vs__dropdown-toggle {\n border-color: var(--settings-text-color);\n border-radius: var(--curve-factor);\n min-width: 8rem;\n max-width: 16rem;\n height: 1.8rem;\n font-size: 0.85rem;\n cursor: pointer;\n }\n span.vs__selected, li.vs__dropdown-option {\n color: var(--settings-text-color);\n text-transform: capitalize;\n }\n svg.vs__open-indicator {\n fill: var(--settings-text-color);\n }\n ul.vs__dropdown-menu {\n width: auto;\n z-index: 12;\n max-width: 13rem;\n overflow-x: hidden;\n @extend .scroll-bar;\n background: var(--background);\n border-radius: var(--curve-factor);\n border-top: 1px solid var(--settings-text-color);\n }\n li.vs__dropdown-option--highlight {\n background: var(--settings-text-color);\n color: var(--background);\n }\n button.vs__clear {\n display: none;\n }\n}\n\n.theme-selector-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n height: 100%;\n span.theme-label {\n font-size: 1rem;\n color: var(--settings-text-color);\n margin: 1px 0 2px 0;\n }\n}\n\nsvg.color-button {\n path {\n fill: var(--settings-text-color);\n }\n width: 1rem;\n height: 1rem;\n padding: 0.2rem;\n margin: 0.5rem;\n align-self: flex-end;\n text-align: center;\n background: var(--background);\n border: 1px solid var(--settings-text-color);;\n border-radius: var(--curve-factor);\n cursor: pointer;\n &:hover, &.selected {\n background: var(--settings-text-color);\n path { fill: var(--background); }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThemeSelector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ThemeSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ThemeSelector.vue?vue&type=template&id=c4f9d088&\"\nimport script from \"./ThemeSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./ThemeSelector.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ThemeSelector.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"options-label\"},[_vm._v(_vm._s(_vm.$t('settings.layout-label')))]),_c('div',{staticClass:\"display-options\"},[_c('IconDeafault',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.layout-auto'))),expression:\"tooltip($t('settings.layout-auto'))\"}],class:(\"layout-icon \" + (_vm.displayLayout === 'auto' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateDisplayLayout('auto')}}}),_c('IconHorizontal',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.layout-horizontal'))),expression:\"tooltip($t('settings.layout-horizontal'))\"}],class:(\"layout-icon \" + (_vm.displayLayout === 'horizontal' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateDisplayLayout('horizontal')}}}),_c('IconVertical',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.layout-vertical'))),expression:\"tooltip($t('settings.layout-vertical'))\"}],class:(\"layout-icon \" + (_vm.displayLayout === 'vertical' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateDisplayLayout('vertical')}}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <span class=\"options-label\">{{ $t('settings.layout-label') }}</span>\n <div class=\"display-options\">\n <IconDeafault\n @click=\"updateDisplayLayout('auto')\"\n v-tooltip=\"tooltip($t('settings.layout-auto'))\"\n :class=\"`layout-icon ${displayLayout === 'auto' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n <IconHorizontal\n @click=\"updateDisplayLayout('horizontal')\"\n v-tooltip=\"tooltip($t('settings.layout-horizontal'))\"\n :class=\"`layout-icon ${displayLayout === 'horizontal' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n <IconVertical\n @click=\"updateDisplayLayout('vertical')\"\n v-tooltip=\"tooltip($t('settings.layout-vertical'))\"\n :class=\"`layout-icon ${displayLayout === 'vertical' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport IconDeafault from '@/assets/interface-icons/layout-default.svg';\nimport IconHorizontal from '@/assets/interface-icons/layout-horizontal.svg';\nimport IconVertical from '@/assets/interface-icons/layout-vertical.svg';\n\nexport default {\n name: 'LayoutSelector',\n data() {\n return {\n input: '',\n };\n },\n props: {\n displayLayout: String,\n },\n components: {\n IconDeafault,\n IconHorizontal,\n IconVertical,\n },\n methods: {\n updateDisplayLayout(layout) {\n this.$emit('layoutUpdated', layout);\n },\n tooltip(content) {\n return { content, trigger: 'hover focus', delay: 250 };\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\nspan.options-label {\n color: var(--settings-text-color);\n}\n\n.display-options {\n color: var(--settings-text-color);\n svg {\n path {\n fill: var(--settings-text-color);\n }\n width: 1rem;\n height: 1rem;\n margin: 0.2rem;\n padding: 0.2rem;\n text-align: center;\n background: var(--background);\n border: 1px solid currentColor;\n border-radius: var(--curve-factor);\n cursor: pointer;\n &:hover, &.selected {\n background: var(--settings-text-color);\n path { fill: var(--background); }\n }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LayoutSelector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LayoutSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LayoutSelector.vue?vue&type=template&id=b3a6111c&scoped=true&\"\nimport script from \"./LayoutSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./LayoutSelector.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LayoutSelector.vue?vue&type=style&index=0&id=b3a6111c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3a6111c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"options-label\"},[_vm._v(_vm._s(_vm.$t('settings.item-size-label')))]),_c('div',{staticClass:\"display-options\"},[_c('IconSmall',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.item-size-small'))),expression:\"tooltip($t('settings.item-size-small'))\"}],class:(\"layout-icon \" + (_vm.iconSize === 'small' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateIconSize('small')}}}),_c('IconMedium',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.item-size-medium'))),expression:\"tooltip($t('settings.item-size-medium'))\"}],class:(\"layout-icon \" + (_vm.iconSize === 'medium' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateIconSize('medium')}}}),_c('IconLarge',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.item-size-large'))),expression:\"tooltip($t('settings.item-size-large'))\"}],class:(\"layout-icon \" + (_vm.iconSize === 'large' ? 'selected' : '')),attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.updateIconSize('large')}}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <span class=\"options-label\">{{ $t('settings.item-size-label') }}</span>\n <div class=\"display-options\">\n <IconSmall\n @click=\"updateIconSize('small')\"\n v-tooltip=\"tooltip($t('settings.item-size-small'))\"\n :class=\"`layout-icon ${iconSize === 'small' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n <IconMedium\n @click=\"updateIconSize('medium')\"\n v-tooltip=\"tooltip($t('settings.item-size-medium'))\"\n :class=\"`layout-icon ${iconSize === 'medium' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n <IconLarge\n @click=\"updateIconSize('large')\"\n v-tooltip=\"tooltip($t('settings.item-size-large'))\"\n :class=\"`layout-icon ${iconSize === 'large' ? 'selected' : ''}`\"\n tabindex=\"-2\"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport IconSmall from '@/assets/interface-icons/icon-size-small.svg';\nimport IconMedium from '@/assets/interface-icons/icon-size-medium.svg';\nimport IconLarge from '@/assets/interface-icons/icon-size-large.svg';\n\nexport default {\n name: 'IconSizeSelector',\n data() {\n return {\n input: '',\n };\n },\n props: {\n iconSize: String,\n },\n components: {\n IconSmall,\n IconMedium,\n IconLarge,\n },\n methods: {\n updateIconSize(iconSize) {\n this.$emit('iconSizeUpdated', iconSize);\n },\n tooltip(content) {\n return { content, trigger: 'hover focus', delay: 250 };\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\nspan.options-label {\n color: var(--settings-text-color);\n}\n\n.display-options {\n color: var(--settings-text-color);\n svg {\n path {\n fill: var(--settings-text-color);\n }\n width: 1rem;\n height: 1rem;\n margin: 0.2rem;\n padding: 0.2rem;\n text-align: center;\n background: var(--background);\n border: 1px solid currentColor;\n border-radius: var(--curve-factor);\n cursor: pointer;\n &:hover, &.selected {\n background: var(--settings-text-color);\n path { fill: var(--background); }\n }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemSizeSelector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemSizeSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ItemSizeSelector.vue?vue&type=template&id=1ff45660&scoped=true&\"\nimport script from \"./ItemSizeSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemSizeSelector.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ItemSizeSelector.vue?vue&type=style&index=0&id=1ff45660&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1ff45660\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"user-type-note\"},[_vm._v(_vm._s(_vm.makeText()))]),_c('div',{staticClass:\"display-options\"},[(_vm.userType == _vm.userStateEnum.loggedIn)?_c('IconLogout',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.sign-out-tooltip'))),expression:\"tooltip($t('settings.sign-out-tooltip'))\"}],staticClass:\"layout-icon\",attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.logout()}}}):_vm._e(),(_vm.userType == _vm.userStateEnum.guestAccess)?_c('IconLogout',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip(_vm.$t('settings.sign-in-tooltip'))),expression:\"tooltip($t('settings.sign-in-tooltip'))\"}],staticClass:\"layout-icon\",attrs:{\"tabindex\":\"-2\"},on:{\"click\":function($event){return _vm.goToLogin()}}}):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <!-- If auth configured, show status text -->\n <span class=\"user-type-note\">{{ makeText() }}</span>\n <div class=\"display-options\">\n <!-- If user logged in, show logout button -->\n <IconLogout\n v-if=\"userType == userStateEnum.loggedIn\"\n @click=\"logout()\"\n v-tooltip=\"tooltip($t('settings.sign-out-tooltip'))\"\n class=\"layout-icon\" tabindex=\"-2\"\n />\n <!-- If not logged in, and gues mode enabled, show login button -->\n <IconLogout\n v-if=\"userType == userStateEnum.guestAccess\"\n @click=\"goToLogin()\"\n v-tooltip=\"tooltip($t('settings.sign-in-tooltip'))\"\n class=\"layout-icon\" tabindex=\"-2\"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport router from '@/router';\nimport { logout as registerLogout } from '@/utils/Auth';\nimport { localStorageKeys, userStateEnum } from '@/utils/defaults';\nimport IconLogout from '@/assets/interface-icons/user-logout.svg';\n\nexport default {\n name: 'AuthButtons',\n components: {\n IconLogout,\n },\n props: {\n userType: Number,\n },\n data() {\n return {\n userStateEnum,\n };\n },\n methods: {\n logout() {\n registerLogout();\n this.$toasted.show(this.$t('login.logout-message'));\n setTimeout(() => {\n router.push({ path: '/login' });\n }, 500);\n },\n goToLogin() {\n router.push({ path: '/login' });\n },\n tooltip(content) {\n return { content, trigger: 'hover focus', delay: 250 };\n },\n makeText() {\n if (this.userType === userStateEnum.loggedIn) {\n const username = localStorage[localStorageKeys.USERNAME];\n return username ? this.$t('settings.sign-in-welcome', { username }) : '';\n }\n if (this.userType === userStateEnum.guestAccess) {\n return this.$t('settings.sign-in-tooltip');\n }\n return '';\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/style-helpers.scss';\n\nspan.user-type-note {\n color: var(--settings-text-color);\n text-transform: capitalize;\n margin-right: 0.5rem;\n}\n\n.display-options {\n @extend .svg-button;\n color: var(--settings-text-color);\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthButtons.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthButtons.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AuthButtons.vue?vue&type=template&id=67393502&scoped=true&\"\nimport script from \"./AuthButtons.vue?vue&type=script&lang=js&\"\nexport * from \"./AuthButtons.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AuthButtons.vue?vue&type=style&index=0&id=67393502&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67393502\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"slide-fade\"}},[(!_vm.shouldHide)?_c('div',{staticClass:\"kb-sc-info\"},[_c('h5',[_vm._v(\"There are keyboard shortcuts! ⌨️🙌\")]),_c('div',{staticClass:\"close\",attrs:{\"title\":\"Hide forever [Esc]\"},on:{\"click\":function($event){return _vm.hideWelcomeHelper()}}},[_vm._v(\"x\")]),_c('p',{attrs:{\"title\":\"Press [Esc] to hide this tip forever. See there's even a shortcut for that! 🚀\"}},[_vm._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 🥳 \")])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <transition name=\"slide-fade\">\n <div class=\"kb-sc-info\" v-if=\"!shouldHide\">\n <h5>There are keyboard shortcuts! ⌨️🙌</h5>\n <div class=\"close\" title=\"Hide forever [Esc]\" @click=\"hideWelcomeHelper()\">x</div>\n <p title=\"Press [Esc] to hide this tip forever. See there's even a shortcut for that! 🚀\">\n Just start typing to filter. Then use the tab key to cycle through results,\n and press enter to launch the selected item, or alt + enter to open in a modal.\n You can hit Esc at anytime to clear the search. Easy 🥳\n </p>\n </div>\n </transition>\n</template>\n\n<script>\n\nimport { localStorageKeys } from '@/utils/defaults';\n\nexport default {\n name: 'KeyboardShortcutInfo',\n data() {\n return {\n shouldHide: true, // False = show/ true = hide. Intuitive, eh?\n timeDelay: 3000, // Short delay in ms before popup appears\n };\n },\n methods: {\n /**\n * Returns true if the key exists in session storage, otherwise false\n * And the !! just converts 'false' to false, as strings resolve to true\n */\n shouldHideWelcomeMessage() {\n return !!localStorage[localStorageKeys.HIDE_WELCOME_BANNER];\n },\n /**\n * Update session storage, so that it won't be shown again\n * Trigger the hide function, and remove the event listerner\n */\n hideWelcomeHelper() {\n this.shouldHide = true;\n localStorage.setItem(localStorageKeys.HIDE_WELCOME_BANNER, true);\n window.removeEventListener('keyup', this.keyPressEvent);\n },\n /* Passed to window function, to add/ remove event listener */\n keyPressEvent(event) {\n if (event.keyCode === 27) this.hideWelcomeHelper();\n },\n },\n /**\n * Once mounted, if it's the users first time here, then we wait 3 seconds,\n * and show the helpfull little keyboard shortcut dialog.\n * Then we listen for the Esc key to be pressed, and hide the dialog.\n */\n mounted() {\n const shouldHide = this.shouldHideWelcomeMessage();\n if (!shouldHide) {\n window.setTimeout(() => { this.shouldHide = shouldHide; }, this.timeDelay);\n window.addEventListener('keyup', this.keyPressEvent);\n } else { // Meh, component not needed.\n // No point wasting valuable bytes of your 32GB Ram, lets kill it\n this.$destroy();\n }\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n@import '@/styles/media-queries.scss';\n\n.kb-sc-info {\n position: fixed;\n width: 30em;\n bottom: 0;\n right: 10px;\n margin: 0.5em;\n padding: 0.1em 0.3em;\n z-index: 6;\n border-radius: 12px;\n border: 1px solid var(--welcome-popup-background);\n -webkit-box-shadow: 2px 1px 5px #130f23;\n box-shadow: 2px 1px 5px #130f23;\n border: 1px solid var(--welcome-popup-text-color);\n color: var(--welcome-popup-text-color);\n background: var(--welcome-popup-background);\n cursor: default;\n opacity: 0.94;\n @include phone {\n display: none;\n }\n h5 { /* The dialog title */\n position: absolute;\n top: -35px;\n left: 20px;\n border: 1px solid var(--welcome-popup-text-color);\n color: var(--welcome-popup-text-color);\n background: var(--welcome-popup-background);\n padding: 4px;\n border-radius: var(--curve-factor);\n }\n .close { /* The little exit icon, in top-right */\n float: right;\n border-radius: 20px;\n width: 1em;\n padding: 0 0 6px 6px;\n height: 1em;\n background: var(--transparent-50);\n margin-top: 3px;\n border: 1px solid transparent;\n cursor: pointer;\n &:hover {\n border: 1px solid var(--welcome-popup-text-color);\n opacity: var(--dimming-factor);\n }\n }\n}\n/* Animations, animations everywhere */\n.slide-fade-enter-active {\n transition: all 1s ease;\n}\n.slide-fade-leave-active {\n transition: all .8s cubic-bezier(.93,.01,.89,.5);\n}\n.slide-fade-enter, .slide-fade-leave-to {\n transform: translateY(35em);\n opacity: 0;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyboardShortcutInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyboardShortcutInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./KeyboardShortcutInfo.vue?vue&type=template&id=c5f17d9a&scoped=true&\"\nimport script from \"./KeyboardShortcutInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./KeyboardShortcutInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./KeyboardShortcutInfo.vue?vue&type=style&index=0&id=c5f17d9a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5f17d9a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{attrs:{\"name\":_vm.modalName,\"resizable\":true,\"width\":\"55%\",\"height\":\"80%\",\"classes\":\"dashy-modal\"}},[_c('div',{staticClass:\"about-modal\"},[_c('router-link',{staticClass:\"title\",attrs:{\"to\":\"/about\"}},[_c('h2',[_vm._v(\"App Info\")])]),_c('h3',[_vm._v(\"Error Log\")]),(_vm.errorLog)?_c('pre',{staticClass:\"logs\"},[_c('code',[_vm._v(_vm._s(_vm.errorLog))])]):_c('p',[_vm._v(\"No recent errors detected :)\")]),_c('hr'),_c('h3',[_vm._v(\"Help & Support\")]),_vm._v(\" For getting support with running or configuring Dashy, see the \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/discussions\"}},[_vm._v(\"Discussions\")]),_c('h3',[_vm._v(\"Report a Bug\")]),_vm._v(\" If you think you've found a bug, then please \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/issues/new/choose\"}},[_vm._v(\"raise it on GitHub\")]),_vm._v(\". \"),_c('br'),_vm._v(\"Include version you are running, environment info, output of the console (press F12), and any suppoting scerenshots. \"),_c('h3',[_vm._v(\"Supporting Dashy\")]),_vm._v(\" For ways that you can get involved, check out the \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/blob/master/docs/contributing.md\"}},[_vm._v(\"Contributing\")]),_vm._v(\" page. \"),_c('h3',[_vm._v(\"More Info\")]),_vm._v(\" Source: \"),_c('a',{attrs:{\"href\":\"https://github.com/lissy93/dashy\"}},[_vm._v(\"github.com/lissy93/dashy\")]),_c('br'),_vm._v(\" Documentation: \"),_c('a',{attrs:{\"href\":\"https://dashy.to/docs\"}},[_vm._v(\"dashy.to/docs\")]),_c('h3',[_vm._v(\"License\")]),_vm._v(\" Licensed under MIT X11. Copyright \"),_c('a',{attrs:{\"href\":\"https://aliciasykes.com\"}},[_vm._v(\"Alicia Sykes\")]),_vm._v(\" © 2021.\"),_c('br'),_vm._v(\" For licenses for third-party modules, please see \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/blob/master/.github/LEGAL.md\"}},[_vm._v(\"Legal\")]),_vm._v(\". For a list of contributors, and application thank-you's, see \"),_c('a',{attrs:{\"href\":\"https://github.com/Lissy93/dashy/blob/master/docs/credits.md\"}},[_vm._v(\"Credits\")]),_c('h3',[_vm._v(\"Version\")]),_c('AppVersion',{staticClass:\"app-version\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal :name=\"modalName\" :resizable=\"true\" width=\"55%\" height=\"80%\" classes=\"dashy-modal\">\n <div class=\"about-modal\">\n <router-link to=\"/about\" class=\"title\"><h2>App Info</h2></router-link>\n <!-- Error Log -->\n <h3>Error Log</h3>\n <pre v-if=\"errorLog\" class=\"logs\"><code>{{ errorLog }}</code></pre>\n <p v-else>No recent errors detected :)</p>\n <hr />\n <!-- Help Links -->\n <h3>Help & Support</h3>\n For getting support with running or configuring Dashy, see the <a href=\"https://github.com/Lissy93/dashy/discussions\">Discussions</a>\n <h3>Report a Bug</h3>\n If you think you've found a bug, then please <a href=\"https://github.com/Lissy93/dashy/issues/new/choose\">raise it on GitHub</a>.\n <br>Include version you are running, environment info, output of the console (press F12),\n and any suppoting scerenshots.\n <h3>Supporting Dashy</h3>\n For ways that you can get involved, check out the <a href=\"https://github.com/Lissy93/dashy/blob/master/docs/contributing.md\">Contributing</a> page.\n <h3>More Info</h3>\n Source: <a href=\"https://github.com/lissy93/dashy\">github.com/lissy93/dashy</a><br>\n Documentation: <a href=\"https://dashy.to/docs\">dashy.to/docs</a>\n <!-- License -->\n <h3>License</h3>\n Licensed under MIT X11. Copyright <a href=\"https://aliciasykes.com\">Alicia Sykes</a> © 2021.<br>\n For licenses for third-party modules, please see <a href=\"https://github.com/Lissy93/dashy/blob/master/.github/LEGAL.md\">Legal</a>.\n For a list of contributors, and application thank-you's, see <a href=\"https://github.com/Lissy93/dashy/blob/master/docs/credits.md\">Credits</a>\n <!-- App Version -->\n <h3>Version</h3>\n <AppVersion class=\"app-version\" />\n </div>\n </modal>\n</template>\n\n<script>\nimport AppVersion from '@/components/Configuration/AppVersion';\nimport { modalNames, sessionStorageKeys } from '@/utils/defaults';\n\nexport default {\n name: 'AppInfoModal',\n components: {\n AppVersion,\n },\n data() {\n return {\n modalName: modalNames.ABOUT_APP,\n appVersion: process.env.VUE_APP_VERSION,\n errorLog: this.getErrorLog(),\n };\n },\n methods: {\n getErrorLog() {\n return sessionStorage.getItem(sessionStorageKeys.ERROR_LOG) || '';\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\nspan.options-label {\n color: var(--settings-text-color);\n}\n\ndiv.about-modal {\n background: var(--about-page-background);\n color: var(--about-page-color);\n overflow-y: auto;\n padding: 0 1rem;\n height: 100%;\n p, ul li, a {\n font-size: 1rem;\n }\n\n a.title {\n text-decoration: none;\n h2 {\n font-size: 1.8rem;\n text-align: center;\n margin: 1rem;\n }\n }\n h3 {\n font-size: 1rem;\n margin: 0.5rem 0 0.2rem 0;\n color: var(--about-page-accent);\n }\n a {\n color: var(--about-page-accent);\n }\n a.info {\n text-decoration: underline;\n margin-left: 0.2rem;\n }\n .app-version {\n text-align: left;\n }\n pre.logs {\n max-height: 200px;\n overflow-y: auto;\n padding: 1rem;\n font-size: 0.75rem;\n border-radius: var(--curve-factor-small);\n text-align: left;\n color: var(--white);\n background: var(--black);\n white-space: pre-wrap;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppInfoModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppInfoModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppInfoModal.vue?vue&type=template&id=643308c1&scoped=true&\"\nimport script from \"./AppInfoModal.vue?vue&type=script&lang=js&\"\nexport * from \"./AppInfoModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AppInfoModal.vue?vue&type=style&index=0&id=643308c1&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"643308c1\",\n null\n \n)\n\nexport default component.exports","<template>\n <section>\n <SearchBar ref=\"SearchBar\"\n @user-is-searchin=\"userIsTypingSomething\"\n v-if=\"searchVisible\"\n :active=\"!modalOpen\"\n />\n <div class=\"options-outer\">\n <div :class=\"`options-container ${!settingsVisible ? 'hide' : ''}`\">\n <ThemeSelector :externalThemes=\"externalThemes\" @modalChanged=\"modalChanged\"\n :confTheme=\"getInitialTheme()\" :userThemes=\"getUserThemes()\" />\n <LayoutSelector :displayLayout=\"displayLayout\" @layoutUpdated=\"updateDisplayLayout\"/>\n <ItemSizeSelector :iconSize=\"iconSize\" @iconSizeUpdated=\"updateIconSize\" />\n <ConfigLauncher :sections=\"sections\" :pageInfo=\"pageInfo\" :appConfig=\"appConfig\"\n @modalChanged=\"modalChanged\" />\n <AuthButtons v-if=\"userState != 'noone'\" :userType=\"userState\" />\n </div>\n <div :class=\"`show-hide-container ${settingsVisible? 'hide-btn' : 'show-btn'}`\">\n <button @click=\"toggleSettingsVisibility()\"\n v-tooltip=\"`${settingsVisible? 'Hide' : 'Open'} Settings Menu`\" tabindex=\"-2\">\n <IconClose v-if=\"settingsVisible\" />\n <IconOpen v-else />\n </button>\n </div>\n </div>\n <KeyboardShortcutInfo />\n <AppInfoModal />\n </section>\n</template>\n\n<script>\nimport SearchBar from '@/components/Settings/SearchBar';\nimport ConfigLauncher from '@/components/Settings/ConfigLauncher';\nimport ThemeSelector from '@/components/Settings/ThemeSelector';\nimport LayoutSelector from '@/components/Settings/LayoutSelector';\nimport ItemSizeSelector from '@/components/Settings/ItemSizeSelector';\nimport AuthButtons from '@/components/Settings/AuthButtons';\nimport KeyboardShortcutInfo from '@/components/Settings/KeyboardShortcutInfo';\nimport AppInfoModal from '@/components/Configuration/AppInfoModal';\nimport IconOpen from '@/assets/interface-icons/config-open-settings.svg';\nimport IconClose from '@/assets/interface-icons/config-close.svg';\nimport {\n localStorageKeys,\n visibleComponents as defaultVisibleComponents,\n} from '@/utils/defaults';\n\nimport { getUserState } from '@/utils/Auth';\n\nexport default {\n name: 'SettingsContainer',\n props: {\n displayLayout: String,\n iconSize: String,\n externalThemes: Object,\n appConfig: Object,\n pageInfo: Object,\n sections: Array,\n modalOpen: Boolean,\n },\n components: {\n SearchBar,\n ConfigLauncher,\n ThemeSelector,\n LayoutSelector,\n ItemSizeSelector,\n AuthButtons,\n KeyboardShortcutInfo,\n AppInfoModal,\n IconOpen,\n IconClose,\n },\n inject: ['visibleComponents'],\n methods: {\n userIsTypingSomething(something) {\n this.$emit('user-is-searchin', something);\n },\n clearFilterInput() {\n this.$refs.SearchBar.clearFilterInput();\n },\n updateDisplayLayout(layout) {\n this.$emit('change-display-layout', layout);\n },\n updateIconSize(iconSize) {\n this.$emit('change-icon-size', iconSize);\n },\n modalChanged(changedTo) {\n this.$emit('change-modal-visibility', changedTo);\n },\n getInitialTheme() {\n return this.appConfig.theme || '';\n },\n /* Gets user themes if available */\n getUserThemes() {\n const userThemes = this.appConfig.cssThemes || [];\n if (typeof userThemes === 'string') return [userThemes];\n return userThemes;\n },\n toggleSettingsVisibility() {\n this.settingsVisible = !this.settingsVisible;\n localStorage.setItem(localStorageKeys.HIDE_SETTINGS, this.settingsVisible);\n },\n getSettingsVisibility() {\n return JSON.parse(localStorage[localStorageKeys.HIDE_SETTINGS]\n || (this.visibleComponents || defaultVisibleComponents).settings);\n },\n },\n computed: {\n /**\n * Determines which button should display, based on the user type\n * 0 = Auth not configured, don't show anything\n * 1 = Auth condifured, and user logged in, show logout button\n * 2 = Auth configured, guest access enabled, and not logged in, show login\n * Note that if auth is enabled, but not guest access, and user not logged in,\n * then they will never be able to view the homepage, so no button needed\n */\n userState() {\n return getUserState();\n },\n },\n data() {\n return {\n settingsVisible: this.getSettingsVisibility(),\n searchVisible: (this.visibleComponents || defaultVisibleComponents).searchBar,\n };\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n@import '@/styles/media-queries.scss';\n\n section {\n display: flex;\n align-items: center;\n align-items: stretch;\n background: linear-gradient(0deg, var(--background) 0%, var(--background-darker) 100%);\n box-shadow: var(--settings-container-shadow);\n }\n .options-outer {\n display: flex;\n position: relative;\n flex: 1;\n background: var(--settings-background);\n border-radius: var(--curve-factor-navbar);\n }\n .options-container {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-end;\n flex: 1;\n padding: 0.5rem 1.5rem 0.5rem 1rem;\n border-radius: var(--curve-factor-navbar) 0 0;\n background: var(--settings-background);\n div {\n margin-left: 0.5rem;\n opacity: var(--dimming-factor);\n opacity: 1;\n &:hover { opacity: 1; }\n }\n &.hide {\n display: none;\n }\n @include very-tiny-phone {\n flex-direction: column;\n align-items: baseline;\n }\n }\n\n .show-hide-container {\n display: flex;\n // align-items: center;\n background: var(--settings-background);\n color: var(--settings-text-color);\n width: 1.5rem;\n position: absolute;\n top: 4px;\n right: 4px;\n &.show-btn {\n width: 2rem;\n top: 0.5rem;\n right: 0.5rem;\n @include phone {\n top: -3rem !important;\n }\n }\n button {\n width: 100%;\n padding: 2px 2px 0 2px;\n margin: 2px;\n border-radius: var(--curve-factor);\n height: fit-content;\n background: none;\n border: none;\n color: var(--settings-text-color);\n cursor: pointer;\n opacity: var(--dimming-factor);\n }\n &:hover button {\n background: var(--settings-text-color);\n color: var(--settings-background);\n }\n }\n\n @include tablet {\n section {\n display: block;\n margin: 0 auto;\n background: none;\n .options-container {\n justify-content: center;\n }\n }\n }\n\n @include phone {\n .options-container, .show-hide-button {\n // display: none;\n }\n }\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsContainer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingsContainer.vue?vue&type=template&id=797ad208&scoped=true&\"\nimport script from \"./SettingsContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingsContainer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SettingsContainer.vue?vue&type=style&index=0&id=797ad208&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"797ad208\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Collapsable',{attrs:{\"title\":_vm.title,\"icon\":_vm.icon,\"uniqueKey\":_vm.groupId,\"collapsed\":_vm.displayData.collapsed,\"cols\":_vm.displayData.cols,\"rows\":_vm.displayData.rows,\"color\":_vm.displayData.color,\"customStyles\":_vm.displayData.customStyles}},[(!_vm.items || _vm.items.length < 1)?_c('div',{staticClass:\"no-items\"},[_vm._v(\" No Items to Show Yet \")]):_c('div',{class:(\"there-are-items \" + (_vm.isGridLayout? 'item-group-grid': '')),style:(_vm.gridStyle)},[_vm._l((_vm.sortedItems),function(item){return _c('Item',{key:_vm.makeId(_vm.title, item.title),attrs:{\"id\":_vm.makeId(_vm.title, item.title),\"url\":item.url,\"title\":item.title,\"description\":item.description,\"icon\":item.icon,\"target\":item.target,\"color\":item.color,\"backgroundColor\":item.backgroundColor,\"statusCheckUrl\":item.statusCheckUrl,\"statusCheckHeaders\":item.statusCheckHeaders,\"itemSize\":_vm.newItemSize,\"hotkey\":item.hotkey,\"provider\":item.provider,\"enableStatusCheck\":_vm.shouldEnableStatusCheck(item.statusCheck),\"statusCheckInterval\":_vm.getStatusCheckInterval(),\"statusCheckAllowInsecure\":item.statusCheckAllowInsecure},on:{\"itemClicked\":function($event){return _vm.$emit('itemClicked')},\"triggerModal\":_vm.triggerModal}})}),_c('div',{ref:\"modalContainer\"})],2),_c('IframeModal',{ref:(\"iframeModal-\" + _vm.groupId),attrs:{\"name\":(\"iframeModal-\" + _vm.groupId)},on:{\"closed\":function($event){return _vm.$emit('itemClicked')},\"modalChanged\":_vm.modalChanged}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"item-wrapper wrap-size-\" + _vm.itemSize)},[_c('a',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.getTooltipOptions()),expression:\"getTooltipOptions()\"}],class:(\"item \" + (!_vm.icon? 'short': '') + \" size-\" + _vm.itemSize),style:((\"--open-icon: \" + (_vm.getUnicodeOpeningIcon()) + \"; \" + _vm.customStyles)),attrs:{\"href\":(_vm.target !== 'modal' && _vm.target !== 'workspace') ? _vm.url : '#',\"target\":_vm.target === 'newtab' ? '_blank' : '',\"rel\":\"noopener noreferrer\",\"tabindex\":\"0\",\"id\":(\"link-\" + _vm.id)},on:{\"click\":_vm.itemOpened,\"mouseup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"right\",39,$event.key,[\"Right\",\"ArrowRight\"])){ return null; }if('button' in $event && $event.button !== 2){ return null; }return _vm.openContextMenu.apply(null, arguments)},\"contextmenu\":function($event){$event.preventDefault();}}},[_c('div',{class:(\"tile-title \" + (!_vm.icon? 'bounce no-icon': '')),attrs:{\"id\":(\"tile-\" + _vm.id)}},[_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(_vm.description))])]),_c('Icon',{staticClass:\"bounce\",style:(_vm.customStyles),attrs:{\"icon\":_vm.icon,\"url\":_vm.url,\"size\":_vm.itemSize,\"color\":_vm.color}}),_c('ItemOpenMethodIcon',{staticClass:\"opening-method-icon\",attrs:{\"isSmall\":!_vm.icon || _vm.itemSize === 'small',\"openingMethod\":_vm.target,\"position\":\"bottom right\",\"hotkey\":_vm.hotkey}}),(_vm.enableStatusCheck)?_c('StatusIndicator',{staticClass:\"status-indicator\",attrs:{\"statusSuccess\":_vm.statusResponse ? _vm.statusResponse.successStatus : undefined,\"statusText\":_vm.statusResponse ? _vm.statusResponse.message : undefined}}):_vm._e()],1),_c('ContextMenu',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeContextMenu),expression:\"closeContextMenu\"}],attrs:{\"show\":_vm.contextMenuOpen,\"posX\":_vm.contextPos.posX,\"posY\":_vm.contextPos.posY,\"id\":(\"context-menu-\" + _vm.id)},on:{\"contextItemClick\":_vm.contextItemClick}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"item-icon wrapper-\" + _vm.size)},[(_vm.iconType === 'font-awesome')?_c('i',{class:(_vm.icon + \" \" + _vm.size)}):(_vm.iconType === 'emoji')?_c('i',{class:(\"emoji-icon \" + _vm.size)},[_vm._v(_vm._s(_vm.getEmoji(_vm.iconPath)))]):(_vm.iconType === 'mdi')?_c('span',{class:(\"mdi \" + _vm.icon + \" \" + _vm.size)}):(_vm.iconType === 'si')?_c('svg',{class:(\"simple-icons \" + _vm.size),attrs:{\"role\":\"img\",\"viewBox\":\"0 0 24 24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":_vm.getSimpleIcon(_vm.icon)}})]):(_vm.icon)?_c('img',{class:(\"tile-icon \" + _vm.size + \" \" + (_vm.broken ? 'broken' : '')),attrs:{\"src\":_vm.iconPath},on:{\"error\":_vm.imageNotFound}}):_vm._e(),(_vm.broken)?_c('BrokenImage',{staticClass:\"missing-image\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div :class=\"`item-icon wrapper-${size}`\">\n <!-- Font-Awesome Icon -->\n <i v-if=\"iconType === 'font-awesome'\" :class=\"`${icon} ${size}`\" ></i>\n <!-- Emoji Icon -->\n <i v-else-if=\"iconType === 'emoji'\" :class=\"`emoji-icon ${size}`\" >{{getEmoji(iconPath)}}</i>\n <!-- Material Design Icon -->\n <span v-else-if=\"iconType === 'mdi'\" :class=\" `mdi ${icon} ${size}`\"></span>\n <!-- Simple-Icons -->\n <svg v-else-if=\"iconType === 'si'\" :class=\"`simple-icons ${size}`\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path :d=\"getSimpleIcon(icon)\" />\n </svg>\n <!-- Standard image asset icon -->\n <img v-else-if=\"icon\" :src=\"iconPath\" @error=\"imageNotFound\"\n :class=\"`tile-icon ${size} ${broken ? 'broken' : ''}`\"\n />\n <!-- Icon could not load/ broken url -->\n <BrokenImage v-if=\"broken\" class=\"missing-image\" />\n </div>\n</template>\n\n<script>\nimport simpleIcons from 'simple-icons';\nimport BrokenImage from '@/assets/interface-icons/broken-icon.svg';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport EmojiUnicodeRegex from '@/utils/EmojiUnicodeRegex';\nimport emojiLookup from '@/utils/emojis.json';\nimport { faviconApi as defaultFaviconApi, faviconApiEndpoints, iconCdns } from '@/utils/defaults';\nimport { asciiHash } from '@/utils/MiscHelpers';\n\nexport default {\n name: 'Icon',\n inject: ['config'],\n props: {\n icon: String, // Path to icon asset\n url: String, // Used for fetching the favicon\n size: String, // Either small, medium or large\n },\n components: {\n BrokenImage,\n },\n computed: {\n /* Determines the type of icon */\n iconType: function iconType() {\n return this.determineImageType(this.icon);\n },\n /* Gets the icon path, dependent on icon type */\n iconPath: function iconPath() {\n return this.getIconPath(this.icon, this.url);\n },\n },\n data() {\n return {\n broken: false, // If true, was unable to resolve icon\n };\n },\n methods: {\n /* Check if a string is in a URL format. Used to identify tile icon source */\n isUrl(str) {\n const pattern = new RegExp(/(http|https):\\/\\/(\\w+:{0,1}\\w*)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%!\\-/]))?/);\n return pattern.test(str);\n },\n /* Returns true if the input is a path to an image file */\n isImage(img) {\n const fileExtRegex = /(?:\\.([^.]+))?$/;\n const validImgExtensions = ['svg', 'png', 'jpg'];\n const splitPath = fileExtRegex.exec(img);\n if (splitPath.length >= 1) return validImgExtensions.includes(splitPath[1]);\n return false;\n },\n /* Determins if a given string is an emoji, and if so what type it is */\n isEmoji(img) {\n if (EmojiUnicodeRegex.test(img) && img.match(/./gu).length) { // Is a unicode emoji\n return { isEmoji: true, emojiType: 'glyph' };\n } else if (new RegExp(/^:.*:$/).test(img)) { // Is a shortcode emoji\n return { isEmoji: true, emojiType: 'shortcode' };\n } else if (img.substring(0, 2) === 'U+' && img.length === 7) {\n return { isEmoji: true, emojiType: 'unicode' };\n }\n return { isEmoji: false, emojiType: '' };\n },\n /* Formats and gets emoji from unicode or shortcode */\n getEmoji(emojiCode) {\n const { emojiType } = this.isEmoji(emojiCode);\n if (emojiType === 'shortcode') {\n if (emojiLookup[emojiCode]) return emojiLookup[emojiCode];\n } else if (emojiType === 'unicode') {\n return String.fromCodePoint(parseInt(emojiCode.substr(2), 16));\n }\n return emojiCode; // Emoji is a glyph already, just return\n },\n /* Get favicon URL, for items which use the favicon as their icon */\n getFavicon(fullUrl, specificApi) {\n if (this.shouldUseDefaultFavicon(fullUrl)) { // Check if we should use local icon\n const urlParts = fullUrl.split('/');\n if (urlParts.length >= 2) return `${urlParts[0]}/${urlParts[1]}/${urlParts[2]}/${iconCdns.faviconName}`;\n } else if (fullUrl.includes('http')) { // Service is running publicly\n const host = this.getHostName(fullUrl);\n const faviconApi = specificApi || this.config.appConfig.faviconApi || defaultFaviconApi;\n const endpoint = faviconApiEndpoints[faviconApi];\n return endpoint.replace('$URL', host);\n }\n return '';\n },\n /* Get the URL for a favicon, but using the non-default favicon API */\n getCustomFavicon(fullUrl, faviconIdentifier) {\n const faviconApi = faviconIdentifier.split('favicon-')[1];\n if (!faviconApi) {\n ErrorHandler('Favicon API not specified');\n } else if (!Object.keys(faviconApiEndpoints).includes(faviconApi)) {\n ErrorHandler(`The specified favicon API, '${faviconApi}' cannot be found.`);\n } else {\n return this.getFavicon(fullUrl, faviconApi);\n }\n // Error encountered, favicon service not found\n this.broken = true;\n return undefined;\n },\n /* If using favicon for icon, and if service is running locally (determined by local IP) */\n /* or if user prefers local favicon, then return true */\n shouldUseDefaultFavicon(fullUrl) {\n const isLocalIP = /(127\\.)|(192\\.168\\.)|(10\\.)|(172\\.1[6-9]\\.)|(172\\.2[0-9]\\.)|(172\\.3[0-1]\\.)|(::1$)|([fF][cCdD])|(localhost)/;\n return (isLocalIP.test(fullUrl) || this.config.appConfig.faviconApi === 'local');\n },\n /* Fetches the path of local images, from Docker container */\n getLocalImagePath(img) {\n return `${iconCdns.localPath}/${img}`;\n },\n /* Formats the URL for fetching the generative icons */\n getGenerativeIcon(url) {\n const host = encodeURI(url) || Math.random().toString();\n return iconCdns.generative.replace('{icon}', asciiHash(host));\n },\n /* Returns the SVG path content */\n getSimpleIcon(img) {\n const imageName = img.replace('si-', '');\n const icon = simpleIcons.Get(imageName);\n return icon.path;\n },\n /* Gets home-lab icon from GitHub */\n getHomeLabIcon(img) {\n const imageName = img.replace('hl-', '').toLocaleLowerCase();\n return iconCdns.homeLabIcons.replace('{icon}', imageName);\n },\n /* Checks if the icon is from a local image, remote URL, SVG or font-awesome */\n getIconPath(img, url) {\n switch (this.determineImageType(img)) {\n case 'url': return img;\n case 'img': return this.getLocalImagePath(img);\n case 'favicon': return this.getFavicon(url);\n case 'custom-favicon': return this.getCustomFavicon(url, img);\n case 'generative': return this.getGenerativeIcon(url);\n case 'mdi': return img; // Material design icons\n case 'simple-icons': return this.getSimpleIcon(img);\n case 'home-lab-icons': return this.getHomeLabIcon(img);\n case 'svg': return img; // Local SVG icon\n case 'emoji': return img; // Emoji/ unicode\n default: return '';\n }\n },\n /* Checks if the icon is from a local image, remote URL, SVG or font-awesome */\n determineImageType(img) {\n let imgType = '';\n if (!img) imgType = 'none';\n else if (this.isUrl(img)) imgType = 'url';\n else if (this.isImage(img)) imgType = 'img';\n else if (img.includes('fa-')) imgType = 'font-awesome';\n else if (img.includes('mdi-')) imgType = 'mdi';\n else if (img.includes('si-')) imgType = 'si';\n else if (img.includes('hl-')) imgType = 'home-lab-icons';\n else if (img.includes('favicon-')) imgType = 'custom-favicon';\n else if (img === 'favicon') imgType = 'favicon';\n else if (img === 'generative') imgType = 'generative';\n else if (this.isEmoji(img).isEmoji) imgType = 'emoji';\n else imgType = 'none';\n return imgType;\n },\n /* For a given URL, return the hostname only. Used for favicon and generative icons */\n getHostName(url) {\n try { return new URL(url).hostname; } catch (e) { return url; }\n },\n /* Called when the path to the image cannot be resolved */\n imageNotFound() {\n this.broken = true;\n ErrorHandler(`The path to '${this.icon}' could not be resolved`);\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n\n/* Icon wraper */\n.item-icon {\n &.wrapper-medium {\n min-height: 2.5rem;\n }\n &.wrapper-large {\n min-width: 3.5rem;\n text-align: center;\n }\n}\n\n /* Default Image Icon */\n .tile-icon {\n min-width: 1rem;\n max-width: 2rem;\n min-height: 1rem;\n max-height: 2rem;\n object-fit: cover;\n filter: var(--item-icon-transform);\n border-radius: var(--curve-factor);\n &.small {\n max-width: 1.5rem;\n max-height: 1.5rem;\n }\n &.large {\n max-width: 3rem;\n max-height: 3rem;\n }\n &.broken {\n display: none;\n }\n }\n /* Font-Awesome and Material Design Icons */\n i.fas, i.fab, i.far, i.fal, i.fad, span.mdi {\n font-size: 2rem;\n color: currentColor;\n margin: 1px 4px;\n &.small {\n font-size: 1.5rem;\n }\n &.large {\n font-size: 2.5rem;\n }\n }\n span.mdi {\n font-size: 2.5rem;\n }\n object.tile-icon {\n width: 55px;\n height: 55px;\n svg, svg g, svg g path {\n fill: currentColor;\n }\n }\n /* Simple Icons */\n .item-icon .simple-icons {\n width: 2rem;\n &.small { width: 1.5rem; }\n &.large { width: 2.5rem; }\n }\n\n .item-icon .simple-icons path {\n fill: currentColor;\n }\n /* Emoji Icons */\n i.emoji-icon {\n font-style: normal;\n font-size: 2rem;\n margin: 0.2rem;\n &.small {\n font-size: 1.5rem;\n }\n &.large {\n font-size: 2.5rem;\n }\n }\n /* Icon Not Found */\n .missing-image {\n width: 3.5rem;\n path {\n fill: currentColor;\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemIcon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemIcon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ItemIcon.vue?vue&type=template&id=22ee7f44&\"\nimport script from \"./ItemIcon.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemIcon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ItemIcon.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.makeClass(_vm.position, _vm.isSmall, _vm.isTransparent)},[(_vm.openingMethod === 'newtab')?_c('NewTabOpenIcon'):(_vm.openingMethod === 'sametab')?_c('SameTabOpenIcon'):(_vm.openingMethod === 'modal')?_c('IframeOpenIcon'):(_vm.openingMethod === 'workspace')?_c('WorkspaceOpenIcon'):_vm._e()],1),(_vm.hotkey)?_c('div',{class:(\"hotkey-denominator \" + (_vm.makeClass(_vm.position, _vm.isSmall, _vm.isTransparent)))},[_vm._v(\" \"+_vm._s(_vm.hotkey)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div :class=\"makeClass(position, isSmall, isTransparent)\">\n <NewTabOpenIcon v-if=\"openingMethod === 'newtab'\" />\n <SameTabOpenIcon v-else-if=\"openingMethod === 'sametab'\" />\n <IframeOpenIcon v-else-if=\"openingMethod === 'modal'\" />\n <WorkspaceOpenIcon v-else-if=\"openingMethod === 'workspace'\" />\n </div>\n <div v-if=\"hotkey\" :class=\"`hotkey-denominator ${makeClass(position, isSmall, isTransparent)}`\">\n {{ hotkey }}\n </div>\n </div>\n</template>\n\n<script>\n/* This component displays a small icon, indicating opening method */\n\n// Import Icons\nimport NewTabOpenIcon from '@/assets/interface-icons/open-new-tab.svg';\nimport SameTabOpenIcon from '@/assets/interface-icons/open-current-tab.svg';\nimport IframeOpenIcon from '@/assets/interface-icons/open-iframe.svg';\nimport WorkspaceOpenIcon from '@/assets/interface-icons/open-workspace.svg';\n\nexport default {\n name: 'ItemOpenMethodIcon',\n props: {\n openingMethod: String, // newtab | sametab | modal | workspace\n isSmall: Boolean, // If true, will apply small class\n position: String, // Position classes: top, bottom, left, right\n isTransparent: Boolean, // If true, will apply opacity\n hotkey: Number, // Optional hotkey to also display\n },\n methods: {\n /* Returns custom class string, from optional props */\n makeClass(position = 'top right', isSmall = false, transparent = false) {\n return `opening-method-icon\n ${position || 'top right'}\n ${isSmall ? 'short' : ''}\n ${transparent ? 'transparent' : ''}`;\n },\n },\n components: {\n NewTabOpenIcon,\n SameTabOpenIcon,\n IframeOpenIcon,\n WorkspaceOpenIcon,\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n.opening-method-icon {\n svg {\n position: absolute;\n width: 1rem;\n margin: 2px;\n path {\n fill: currentColor;\n }\n }\n &.top svg { top: 0; }\n &.bottom svg { bottom: 0; }\n &.left svg { left: 0; }\n &.right svg { right: 0; }\n\n &.short svg {\n width: 0.8rem;\n margin: 0;\n }\n\n &.transparent svg {\n opacity: 0.5;\n }\n}\n\ndiv.hotkey-denominator {\n position: absolute;\n font-size: 0.8rem;\n margin: 2px;\n bottom: 2px;\n color: currentColor;\n border-radius: 18px;\n border: 1px solid currentColor;\n padding: 0.1rem 0.4rem 0.2rem 0.4rem;\n &.top { right: 0; } // Position opposite of opening method icon\n &.bottom { left: 0; }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemOpenMethodIcon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemOpenMethodIcon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ItemOpenMethodIcon.vue?vue&type=template&id=b0684bc4&scoped=true&\"\nimport script from \"./ItemOpenMethodIcon.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemOpenMethodIcon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ItemOpenMethodIcon.vue?vue&type=style&index=0&id=b0684bc4&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0684bc4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:({\n content: _vm.statusText || _vm.otherStatusText,\n classes: ['status-tooltip', (\"tip-\" + (_vm.color()))],\n delay: { show: 0, hide: 150 }\n }),expression:\"{\\n content: statusText || otherStatusText,\\n classes: ['status-tooltip', `tip-${color()}`],\\n delay: { show: 0, hide: 150 }\\n }\"}],staticClass:\"indicator\"},[_c('div',{class:(\"dot dot-\" + (_vm.color()))},[_vm._m(0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('span')])}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"indicator\"\n v-tooltip=\"{\n content: statusText || otherStatusText,\n classes: ['status-tooltip', `tip-${color()}`],\n delay: { show: 0, hide: 150 }\n }\">\n <div :class=\"`dot dot-${color()}`\">\n <span><span></span></span>\n </div>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'StatusIndicator',\n props: {\n statusText: String,\n statusSuccess: Boolean,\n },\n methods: {\n /* Returns a color, based on success status */\n color() {\n switch (this.statusSuccess) {\n case undefined: return ((new Date() - this.startTime) > 2000) ? 'grey' : 'yellow';\n case true: return 'green'; // Success!\n default: return 'red'; // Not success, therefore failure\n }\n },\n },\n data() {\n return {\n startTime: new Date(), // Used for timeout\n otherStatusText: 'Checking...', // Used before server has responded\n };\n },\n mounted() {\n setTimeout(() => {\n if (!this.statusText) this.otherStatusText = 'Request timed out';\n }, 2000);\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n.indicator {\n padding: 5px;\n transition: all .2s ease-in-out;\n cursor: help;\n z-index: 5;\n &:hover {\n transform: scale(1.25);\n filter: saturate(2);\n opacity: 1;\n }\n}\n\n@keyframes pulse {\n 0% { opacity: .75; transform: scale(1); }\n 25% { opacity: 0.75; transform: scale(1); }\n 100% { opacity: 0; transform: scale(1.8); }\n}\n@keyframes applyOpacity {\n 50% { opacity: 0.9; }\n to { opacity: 0.8; }\n}\n\n.dot {\n border-radius: 50%;\n height: 12px;\n width: 12px;\n animation: applyOpacity 1s ease-in 8s forwards;\n > span, > span span, > span span:after {\n animation: pulse 1s linear 0.5s 2;\n border-radius: 50%;\n display: block;\n height: 12px;\n width: 12px;\n content: '';\n }\n &.dot-green {\n background-color: var(--success);\n span, span:after {\n background-color: var(--success);\n opacity: 0.4;\n }\n }\n &.dot-red {\n background-color: var(--danger);\n span, span:after {\n background-color: var(--danger);\n opacity: 0.4;\n }\n }\n &.dot-yellow {\n background-color: var(--warning);\n span, span:after {\n background-color: var(--warning);\n opacity: 0.4;\n }\n }\n &.dot-grey {\n background-color: var(--medium-grey);\n span, span:after {\n background-color: var(--medium-grey);\n opacity: 0.4;\n }\n }\n}\n\n</style>\n\n<style lang=\"scss\">\n.status-tooltip {\n background: var(--status-check-tooltip-background) !important;\n color: var(--status-check-tooltip-color);\n font-size: 1rem;\n z-index: 10;\n &.tip-grey { --status-color: var(--medium-grey); }\n &.tip-green { --status-color: var(--success); }\n &.tip-yellow { --status-color: var(--warning); }\n &.tip-red { --status-color: var(--danger); }\n .tooltip-inner {\n border: 1px solid var(--status-color);\n // color: var(--status-color);\n }\n .tooltip-arrow {\n --description-tooltip-color: var(--status-color);\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatusIndicator.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatusIndicator.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StatusIndicator.vue?vue&type=template&id=d1a6f18c&scoped=true&\"\nimport script from \"./StatusIndicator.vue?vue&type=script&lang=js&\"\nexport * from \"./StatusIndicator.vue?vue&type=script&lang=js&\"\nimport style0 from \"./StatusIndicator.vue?vue&type=style&index=0&id=d1a6f18c&scoped=true&lang=scss&\"\nimport style1 from \"./StatusIndicator.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d1a6f18c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"slide\"}},[(_vm.show && _vm.menuEnabled)?_c('div',{staticClass:\"context-menu\",style:(_vm.posX && _vm.posY ? (\"top:\" + _vm.posY + \"px;left:\" + _vm.posX + \"px;\") : '')},[_c('ul',[_c('li',{on:{\"click\":function($event){return _vm.launch('sametab')}}},[_c('SameTabOpenIcon'),_c('span',[_vm._v(_vm._s(_vm.$t('menu.sametab')))])],1),_c('li',{on:{\"click\":function($event){return _vm.launch('newtab')}}},[_c('NewTabOpenIcon'),_c('span',[_vm._v(_vm._s(_vm.$t('menu.newtab')))])],1),_c('li',{on:{\"click\":function($event){return _vm.launch('modal')}}},[_c('IframeOpenIcon'),_c('span',[_vm._v(_vm._s(_vm.$t('menu.modal')))])],1),_c('li',{on:{\"click\":function($event){return _vm.launch('workspace')}}},[_c('WorkspaceOpenIcon'),_c('span',[_vm._v(_vm._s(_vm.$t('menu.workspace')))])],1)])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <transition name=\"slide\">\n <div class=\"context-menu\" v-if=\"show && menuEnabled\"\n :style=\"posX && posY ? `top:${posY}px;left:${posX}px;` : ''\">\n <ul>\n <li @click=\"launch('sametab')\">\n <SameTabOpenIcon />\n <span>{{ $t('menu.sametab') }}</span>\n </li>\n <li @click=\"launch('newtab')\">\n <NewTabOpenIcon />\n <span>{{ $t('menu.newtab') }}</span>\n </li>\n <li @click=\"launch('modal')\">\n <IframeOpenIcon />\n <span>{{ $t('menu.modal') }}</span>\n </li>\n <li @click=\"launch('workspace')\">\n <WorkspaceOpenIcon />\n <span>{{ $t('menu.workspace') }}</span>\n </li>\n </ul>\n </div>\n </transition>\n</template>\n\n<script>\n// Import icons for each element\nimport SameTabOpenIcon from '@/assets/interface-icons/open-current-tab.svg';\nimport NewTabOpenIcon from '@/assets/interface-icons/open-new-tab.svg';\nimport IframeOpenIcon from '@/assets/interface-icons/open-iframe.svg';\nimport WorkspaceOpenIcon from '@/assets/interface-icons/open-workspace.svg';\n\nexport default {\n name: 'ContextMenu',\n inject: ['config'],\n components: {\n SameTabOpenIcon,\n NewTabOpenIcon,\n IframeOpenIcon,\n WorkspaceOpenIcon,\n },\n props: {\n posX: Number, // The X coordinate for positioning\n posY: Number, // The Y coordinate for positioning\n show: Boolean, // Should show or hide the menu\n },\n data() {\n return {\n menuEnabled: !this.isMenuDisabled(), // Specifies if the context menu should be used\n };\n },\n methods: {\n /* Called on item click, emits an event up to Item */\n /* in order to launch the current app to a given target */\n launch(target) {\n this.$emit('contextItemClick', target);\n },\n /* Checks if the user as disabled context menu in config */\n isMenuDisabled() {\n if (this.config && this.config.appConfig) {\n return !!this.config.appConfig.disableContextMenu;\n }\n return false;\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n\ndiv.context-menu {\n position: absolute;\n margin: 0;\n padding: 0;\n z-index: 8;\n background: var(--context-menu-background);\n color: var(--context-menu-color);\n border: 1px solid var(--context-menu-secondary-color);\n border-radius: var(--curve-factor);\n box-shadow: var(--context-menu-shadow);\n opacity: 0.98;\n\n ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n li {\n cursor: pointer;\n padding: 0.5rem 1rem;\n display: flex;\n flex-direction: row;\n font-size: 1rem;\n &:not(:last-child) {\n border-bottom: 1px solid var(--context-menu-secondary-color);\n }\n &:hover {\n background: var(--context-menu-secondary-color);\n }\n svg {\n width: 1rem;\n margin-right: 0.5rem;\n path { fill: currentColor; }\n }\n }\n }\n}\n\n// Define enter and leave transitions\n.slide-enter-active { animation: slide-in .1s; }\n.slide-leave-active { animation: slide-in .1s reverse; }\n@keyframes slide-in {\n 0% { transform: scaleY(0.5) scaleX(0.8) translateY(-50px); }\n 100% { transform: scaleY(1) translateY(0) translateY(0); }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContextMenu.vue?vue&type=template&id=583ec03e&\"\nimport script from \"./ContextMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./ContextMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContextMenu.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template ref=\"container\">\n <div :class=\"`item-wrapper wrap-size-${itemSize}`\">\n <a @click=\"itemOpened\"\n @mouseup.right=\"openContextMenu\"\n @contextmenu.prevent\n :href=\"(target !== 'modal' && target !== 'workspace') ? url : '#'\"\n :target=\"target === 'newtab' ? '_blank' : ''\"\n :class=\"`item ${!icon? 'short': ''} size-${itemSize}`\"\n v-tooltip=\"getTooltipOptions()\"\n rel=\"noopener noreferrer\" tabindex=\"0\"\n :id=\"`link-${id}`\"\n :style=\"`--open-icon: ${getUnicodeOpeningIcon()}; ${customStyles}`\"\n >\n <!-- Item Text -->\n <div :class=\"`tile-title ${!icon? 'bounce no-icon': ''}`\" :id=\"`tile-${id}`\" >\n <span class=\"text\">{{ title }}</span>\n <p class=\"description\">{{ description }}</p>\n </div>\n <!-- Item Icon -->\n <Icon :icon=\"icon\" :url=\"url\" :size=\"itemSize\" :color=\"color\"\n v-bind:style=\"customStyles\" class=\"bounce\" />\n <!-- Small icon, showing opening method on hover -->\n <ItemOpenMethodIcon class=\"opening-method-icon\" :isSmall=\"!icon || itemSize === 'small'\"\n :openingMethod=\"target\" position=\"bottom right\"\n :hotkey=\"hotkey\" />\n <!-- Status indicator dot (if enabled) showing weather srevice is availible -->\n <StatusIndicator\n class=\"status-indicator\"\n v-if=\"enableStatusCheck\"\n :statusSuccess=\"statusResponse ? statusResponse.successStatus : undefined\"\n :statusText=\"statusResponse ? statusResponse.message : undefined\"\n />\n </a>\n <ContextMenu\n :show=\"contextMenuOpen\"\n v-click-outside=\"closeContextMenu\"\n :posX=\"contextPos.posX\"\n :posY=\"contextPos.posY\"\n :id=\"`context-menu-${id}`\"\n @contextItemClick=\"contextItemClick\"\n />\n </div>\n</template>\n\n<script>\nimport axios from 'axios';\nimport router from '@/router';\nimport Icon from '@/components/LinkItems/ItemIcon.vue';\nimport ItemOpenMethodIcon from '@/components/LinkItems/ItemOpenMethodIcon';\nimport StatusIndicator from '@/components/LinkItems/StatusIndicator';\nimport ContextMenu from '@/components/LinkItems/ContextMenu';\nimport { localStorageKeys, serviceEndpoints } from '@/utils/defaults';\n\nexport default {\n name: 'Item',\n inject: ['config'],\n props: {\n id: String, // The unique ID of a tile (e.g. 001)\n title: String, // The main text of tile, required\n subtitle: String, // Optional sub-text\n description: String, // Optional tooltip hover text\n icon: String, // Optional path to icon, within public/img/tile-icons\n color: String, // Optional text and icon color, specified in hex code\n backgroundColor: String, // Optional item background color\n url: String, // URL to the resource, optional but recommended\n provider: String, // Optional provider name, for external apps\n hotkey: Number, // Shortcut for quickly launching app\n target: { // Where resource will open, either 'newtab', 'sametab' or 'modal'\n type: String,\n default: 'newtab',\n validator: (value) => ['newtab', 'sametab', 'modal', 'workspace'].indexOf(value) !== -1,\n },\n itemSize: String,\n enableStatusCheck: Boolean,\n statusCheckHeaders: Object,\n statusCheckUrl: String,\n statusCheckInterval: Number,\n statusCheckAllowInsecure: Boolean,\n },\n data() {\n return {\n contextMenuOpen: false,\n getId: this.id,\n customStyles: {\n color: this.color,\n background: this.backgroundColor,\n },\n statusResponse: undefined,\n contextPos: {\n posX: undefined,\n posY: undefined,\n },\n };\n },\n components: {\n Icon,\n ItemOpenMethodIcon,\n StatusIndicator,\n ContextMenu,\n },\n methods: {\n /* Called when an item is clicked, manages the opening of modal & resets the search field */\n itemOpened(e) {\n if (e.altKey || this.target === 'modal') {\n e.preventDefault();\n this.$emit('triggerModal', this.url);\n } else if (this.target === 'workspace') {\n router.push({ name: 'workspace', query: { url: this.url } });\n } else {\n this.$emit('itemClicked');\n }\n // Update the most/ last used ledger, for smart-sorting\n if (!this.config.appConfig.disableSmartSort) {\n this.incrementMostUsedCount(this.id);\n this.incrementLastUsedCount(this.id);\n }\n },\n /* Open custom context menu, and set position */\n openContextMenu(e) {\n this.contextMenuOpen = !this.contextMenuOpen;\n if (e && window) {\n // Calculate placement based on cursor and scroll position\n this.contextPos = {\n posX: e.clientX + window.pageXOffset,\n posY: e.clientY + window.pageYOffset,\n };\n }\n },\n /* Closes the context menu, called when user clicks literally anywhere */\n closeContextMenu() {\n this.contextMenuOpen = false;\n },\n /* Returns configuration object for the tooltip */\n getTooltipOptions() {\n if (!this.description && !this.provider) return {}; // If no description, then skip\n const description = this.description ? this.description : '';\n const providerText = this.provider ? `<b>Provider</b>: ${this.provider}` : '';\n const lb1 = description && providerText ? '<br>' : '';\n const hotkeyText = this.hotkey ? `<br>Press '${this.hotkey}' to launch` : '';\n return {\n content: providerText + lb1 + description + hotkeyText,\n trigger: 'hover focus',\n hideOnTargetClick: true,\n html: true,\n placement: this.statusResponse ? 'left' : 'auto',\n delay: { show: 600, hide: 200 },\n classes: `item-description-tooltip tooltip-is-${this.itemSize}`,\n };\n },\n /* Used by certain themes, which display an icon with animated CSS */\n getUnicodeOpeningIcon() {\n switch (this.target) {\n case 'newtab': return '\"\\\\f360\"';\n case 'sametab': return '\"\\\\f24d\"';\n case 'modal': return '\"\\\\f2d0\"';\n default: return '\"\\\\f054\"';\n }\n },\n /* Pulls together all user options, returns URL + Get params for ping endpoint */\n makeApiUrl() {\n const {\n url, statusCheckUrl, statusCheckHeaders, statusCheckAllowInsecure,\n } = this;\n const encode = (str) => encodeURIComponent(str);\n this.statusResponse = undefined;\n // Find base URL, where the API is hosted\n const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;\n // Find correct URL to check, and encode\n const urlToCheck = `?&url=${encode(statusCheckUrl || url)}`;\n // Get, stringify and encode any headers\n const headers = statusCheckHeaders\n ? `&headers=${encode(JSON.stringify(statusCheckHeaders))}` : '';\n // Deterimine if user disabled security\n const enableInsecure = statusCheckAllowInsecure ? '&enableInsecure=true' : '';\n // Construct the full API endpoint's URL with GET params\n return `${baseUrl}${serviceEndpoints.statusCheck}/${urlToCheck}${headers}${enableInsecure}`;\n },\n /* Checks if a given service is currently online */\n checkWebsiteStatus() {\n const endpoint = this.makeApiUrl();\n axios.get(endpoint)\n .then((response) => {\n if (response.data) this.statusResponse = response.data;\n })\n .catch(() => { // Something went very wrong.\n this.statusResponse = {\n statusText: 'Failed to make request',\n statusSuccess: false,\n };\n });\n },\n /* Handle navigation options from the context menu */\n contextItemClick(method) {\n const { url } = this;\n this.contextMenuOpen = false;\n switch (method) {\n case 'newtab':\n window.open(url, '_blank');\n break;\n case 'sametab':\n window.open(url, '_self');\n break;\n case 'modal':\n this.$emit('triggerModal', url);\n break;\n case 'workspace':\n router.push({ name: 'workspace', query: { url } });\n break;\n default: window.open(url, '_blank');\n }\n },\n /* Used for smart-sort when sorting items by most used apps */\n incrementMostUsedCount(itemId) {\n const mostUsed = JSON.parse(localStorage.getItem(localStorageKeys.MOST_USED) || '{}');\n let counter = mostUsed[itemId] || 0;\n counter += 1;\n mostUsed[itemId] = counter;\n localStorage.setItem(localStorageKeys.MOST_USED, JSON.stringify(mostUsed));\n },\n /* Used for smart-sort when sorting by last used apps */\n incrementLastUsedCount(itemId) {\n const lastUsed = JSON.parse(localStorage.getItem(localStorageKeys.LAST_USED) || '{}');\n lastUsed[itemId] = new Date().getTime();\n localStorage.setItem(localStorageKeys.LAST_USED, JSON.stringify(lastUsed));\n },\n },\n mounted() {\n // If ststus checking is enabled, then check service status\n if (this.enableStatusCheck) this.checkWebsiteStatus();\n // If continious status checking is enabled, then start ever-lasting loop\n if (this.statusCheckInterval > 0) {\n setInterval(this.checkWebsiteStatus, this.statusCheckInterval * 1000);\n }\n },\n};\n</script>\n\n<style lang=\"scss\">\n\n.item-wrapper {\n flex-grow: 1;\n flex-basis: 6rem;\n &.wrap-size-large {\n flex-basis: 12rem;\n }\n}\n\n.item {\n flex-grow: 1;\n color: var(--item-text-color);\n vertical-align: middle;\n margin: 0.5rem;\n background: var(--item-background);\n text-align: center;\n padding: 2px;\n outline: 2px solid transparent;\n border: 1px solid var(--outline-color);\n border-radius: var(--curve-factor);\n box-shadow: var(--item-shadow);\n cursor: pointer;\n text-decoration: none;\n position: relative;\n transition: all 0.2s ease-in-out 0s;\n &:hover {\n box-shadow: var(--item-hover-shadow);\n background: var(--item-background-hover);\n color: var(--item-text-color-hover);\n position: relative;\n .tile-title span.text {\n white-space: pre-wrap;\n }\n }\n &:focus {\n outline: 2px solid var(--primary);\n }\n &.short:not(.size-large) {\n height: 2rem;\n .tile-title { overflow: visible; }\n }\n}\n\n/* Text in tile */\n.tile-title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 120px;\n height: 30px;\n position: relative;\n padding: 0;\n z-index: 2;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n word-break: keep-all;\n span.text {\n white-space: nowrap;\n }\n}\n\n/* Colored dot showing service status */\n.status-indicator {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.opening-method-icon {\n display: none; // Hidden by default, visible on hover\n}\n\n/* Manage hover and focus actions */\n.item:hover, .item:focus {\n /* Show opening-method icon */\n .opening-method-icon {\n display: block;\n }\n\n /* Trigger text-marquee for text that doesn't fit */\n .tile-title.is-overflowing{\n .overflow-dots {\n opacity: 0;\n }\n span.text {\n transform: translateX(calc(100px - 100%));\n }\n }\n\n /* Apply transofmation of icons on hover */\n .tile-icon, .tile-svg {\n filter: var(--item-icon-transform-hover);\n }\n}\n\n/* Specify layout for alternate sized icons */\n.item {\n /* Small Tile Specific Themes */\n &.size-small {\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-end;\n align-items: center;\n height: 2rem;\n padding-top: 4px;\n div img, div svg.missing-image {\n width: 2rem;\n }\n .tile-title {\n height: fit-content;\n min-height: 1.2rem;\n text-align: left;\n max-width:140px;\n span.text {\n text-align: left;\n padding-left: 10%;\n }\n }\n }\n /* Medium Tile Specific Themes */\n &.size-medium {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: auto;\n div img, div svg.missing-image {\n width: 2.5rem;\n margin-bottom: 0.25rem;\n }\n .tile-title {\n min-width: 100px;\n max-width: 160px;\n &.no-icon {\n text-align: left;\n width: 100%;\n max-width: inherit;\n margin-left: 0.5rem;\n }\n }\n }\n /* Large Tile Specific Themes */\n &.size-large {\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-end;\n text-align: left;\n overflow: hidden;\n align-items: center;\n max-height: 6rem;\n margin: 0.2rem;\n padding: 0.5rem;\n img {\n padding: 0.1rem 0.25rem;\n }\n .tile-title {\n height: auto;\n padding: 0.1rem 0.25rem;\n span.text {\n position: relative;\n font-weight: bold;\n font-size: 1.1rem;\n width: 100%;\n }\n p.description {\n margin: 0;\n display: block;\n white-space: pre-wrap;\n text-overflow: ellipsis;\n font-size: .9em;\n line-height: 1rem;\n height: 2rem;\n }\n }\n }\n p.description {\n display: none; // By default, we don't show the description\n }\n &:before { // Certain themes (e.g. material) show css animated fas icon on hover\n display: none;\n font-family: FontAwesome;\n content: var(--open-icon, \"\\f054\") !important;\n }\n}\n\n</style>\n\n<!-- An un-scoped style tag, since tooltip is outside this DOM tree -->\n<style lang=\"scss\">\n\n.disabled-link {\n pointer-events: none;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Item.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Item.vue?vue&type=template&id=2307f2e4&ref=container&\"\nimport script from \"./Item.vue?vue&type=script&lang=js&\"\nexport * from \"./Item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Item.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./Item.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"collapsable \" + (_vm.checkSpanNum(_vm.cols, 'col')) + \" \" + (_vm.checkSpanNum(_vm.rows, 'row'))),style:(((_vm.color ? 'background: '+_vm.color : '') + \"; \" + (_vm.sanitizeCustomStyles(_vm.customStyles)) + \";\"))},[_c('input',{staticClass:\"toggle\",attrs:{\"id\":(\"collapsible-\" + _vm.uniqueKey),\"type\":\"checkbox\",\"tabIndex\":\"-1\"},domProps:{\"checked\":_vm.getCollapseState()},on:{\"change\":_vm.collapseChanged}}),_c('label',{staticClass:\"lbl-toggle\",attrs:{\"for\":(\"collapsible-\" + _vm.uniqueKey),\"tabindex\":\"-1\"}},[(_vm.icon)?_c('Icon',{staticClass:\"section-icon\",attrs:{\"icon\":_vm.icon,\"size\":\"small\",\"url\":_vm.title}}):_vm._e(),_c('h3',[_vm._v(_vm._s(_vm.title))])],1),_c('div',{staticClass:\"collapsible-content\"},[_c('div',{staticClass:\"content-inner\"},[_vm._t(\"default\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div :class=\"`collapsable ${checkSpanNum(cols, 'col')} ${checkSpanNum(rows, 'row')}`\"\n :style=\"`${color ? 'background: '+color : ''}; ${sanitizeCustomStyles(customStyles)};`\"\n >\n <input\n :id=\"`collapsible-${uniqueKey}`\"\n class=\"toggle\"\n type=\"checkbox\"\n :checked=\"getCollapseState()\"\n @change=\"collapseChanged\"\n tabIndex=\"-1\"\n >\n <label :for=\"`collapsible-${uniqueKey}`\" class=\"lbl-toggle\" tabindex=\"-1\">\n <Icon v-if=\"icon\" :icon=\"icon\" size=\"small\" :url=\"title\" class=\"section-icon\" />\n <h3>{{ title }}</h3>\n </label>\n <div class=\"collapsible-content\">\n <div class=\"content-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n\nimport { localStorageKeys } from '@/utils/defaults';\nimport Icon from '@/components/LinkItems/ItemIcon.vue';\n\nexport default {\n name: 'CollapsableContainer',\n props: {\n uniqueKey: String,\n title: String,\n icon: String,\n collapsed: Boolean,\n cols: Number,\n rows: Number,\n color: String,\n customStyles: String,\n },\n components: {\n Icon,\n },\n methods: {\n /* Check that row & column span is valid, and not over the max */\n checkSpanNum(span, classPrefix) {\n const maxSpan = 4;\n let numSpan = /^\\d*$/.test(span) ? parseInt(span, 10) : 1;\n numSpan = (numSpan > maxSpan) ? maxSpan : numSpan;\n return `${classPrefix}-${numSpan}`;\n },\n /* Removes all special characters, except those allowed in valid CSS */\n sanitizeCustomStyles(userCss) {\n return userCss ? userCss.replace(/[^a-zA-Z0-9- :;.]/g, '') : '';\n },\n /* If not already done, then add object structure to local storage */\n initialiseStorage() {\n /* Initialize function will create and set a blank object to storage */\n const initStorage = () => localStorage.setItem(\n localStorageKeys.COLLAPSE_STATE, JSON.stringify({}),\n );\n if (!localStorage[localStorageKeys.COLLAPSE_STATE]) initStorage(); // Initialise if not set\n try { // Check storage is valid JSON, and has not been corrupted\n JSON.parse(localStorage[localStorageKeys.COLLAPSE_STATE]);\n } catch {\n initStorage();\n }\n return JSON.parse(localStorage[localStorageKeys.COLLAPSE_STATE]);\n },\n getCollapseState() {\n const collapseStateObject = this.initialiseStorage();\n let collapseState = !this.collapsed;\n if (collapseStateObject[this.uniqueKey] !== undefined) {\n collapseState = collapseStateObject[this.uniqueKey];\n }\n return collapseState;\n },\n setCollapseState(id, newState) {\n // Get the current localstorage collapse state object\n const collapseState = JSON.parse(localStorage[localStorageKeys.COLLAPSE_STATE]);\n // Add the new state to it\n collapseState[id] = newState;\n // Stringify, and set the new object into local storage\n localStorage.setItem(localStorageKeys.COLLAPSE_STATE, JSON.stringify(collapseState));\n },\n collapseChanged(whatChanged) {\n this.initialiseStorage();\n this.setCollapseState(this.uniqueKey.toString(), whatChanged.srcElement.checked);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n\n@import '@/styles/media-queries.scss';\n\n.collapsable {\n padding: var(--item-group-padding);\n margin: 10px;\n border-radius: var(--curve-factor);\n background: var(--item-group-outer-background);\n box-shadow: var(--item-group-shadow);\n height: fit-content;\n width: 100%;\n width: stretch;\n\n grid-row-start: span 1;\n &.row-2 { grid-row-start: span 2; }\n &.row-3 { grid-row-start: span 3; }\n &.row-4 { grid-row-start: span 4; }\n\n grid-column-start: span 1;\n @include tablet-up {\n &.col-2 { grid-column-start: span 2; }\n &.col-3 { grid-column-start: span 2; }\n &.col-4 { grid-column-start: span 2; }\n }\n @include laptop-up {\n &.col-2 { grid-column-start: span 2; }\n &.col-3 { grid-column-start: span 3; }\n &.col-4 { grid-column-start: span 3; }\n }\n @include monitor-up {\n &.col-2 { grid-column-start: span 2; }\n &.col-3 { grid-column-start: span 3; }\n &.col-4 { grid-column-start: span 4; }\n }\n\n .wrap-collabsible {\n margin-bottom: 1.2rem 0;\n }\n\n input[type='checkbox'] {\n display: none;\n }\n\n label.lbl-toggle {\n outline: none;\n display: block;\n padding: 0.25rem;\n cursor: pointer;\n border-radius: var(--curve-factor);\n transition: all 0.25s ease-out;\n text-align: left;\n color: var(--item-group-heading-text-color); //var(--item-group-background);\n h3 {\n margin: 0;\n padding: 0;\n display: inline;\n }\n .section-icon {\n display: inline;\n margin-right: 0.5rem;\n }\n }\n\n .lbl-toggle:hover {\n color: var(--item-group-heading-text-color-hover);\n }\n\n .lbl-toggle::before {\n content: ' ';\n display: inline-block;\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n border-left: 5px solid currentColor;\n vertical-align: middle;\n margin-right: .7rem;\n transform: translateY(-2px);\n transition: transform .2s ease-out;\n }\n\n .toggle:checked + .lbl-toggle::before {\n transform: rotate(90deg) translateX(-3px);\n }\n\n .collapsible-content {\n max-height: 0px;\n overflow: hidden;\n transition: max-height .25s ease-in-out;\n background: var(--item-group-background);\n border-radius: 0 0 var(--curve-factor) var(--curve-factor);\n }\n\n .toggle:checked + .lbl-toggle + .collapsible-content {\n max-height: 3000px;\n }\n\n .toggle:checked + .lbl-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n .collapsible-content .content-inner {\n padding: 0.5rem;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Collapsable.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Collapsable.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Collapsable.vue?vue&type=template&id=ac1beaa4&scoped=true&\"\nimport script from \"./Collapsable.vue?vue&type=script&lang=js&\"\nexport * from \"./Collapsable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Collapsable.vue?vue&type=style&index=0&id=ac1beaa4&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ac1beaa4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{attrs:{\"name\":_vm.name,\"resizable\":true,\"width\":\"80%\",\"height\":\"80%\",\"classes\":\"dashy-modal\"},on:{\"closed\":function($event){return _vm.modalClosed()}}},[_c('div',{attrs:{\"slot\":\"top-right\"},on:{\"click\":function($event){return _vm.hide()}},slot:\"top-right\"},[_vm._v(\"Close\")]),_c('a',{staticClass:\"close-button\",attrs:{\"title\":\"Close\"},on:{\"click\":function($event){return _vm.hide()}}},[_vm._v(\"x\")]),(_vm.url)?_c('iframe',{staticClass:\"frame\",attrs:{\"src\":_vm.url},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close.apply(null, arguments)}}}):_c('div',{staticClass:\"no-url\"},[_vm._v(\"No URL Specified\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <modal :name=\"name\" :resizable=\"true\" width=\"80%\" height=\"80%\" @closed=\"modalClosed()\"\n classes=\"dashy-modal\">\n <div slot=\"top-right\" @click=\"hide()\">Close</div>\n <a @click=\"hide()\" class=\"close-button\" title=\"Close\">x</a>\n <iframe v-if=\"url\" :src=\"url\" @keydown.esc=\"close\" class=\"frame\"/>\n <div v-else class=\"no-url\">No URL Specified</div>\n </modal>\n</template>\n\n<script>\nexport default {\n name: 'IframeModal',\n props: {\n name: String,\n },\n data: () => ({\n url: '#',\n }),\n methods: {\n show(url) {\n this.url = url;\n this.$modal.show(this.name);\n this.$emit('modalChanged', true);\n },\n hide() {\n this.$modal.hide(this.name);\n },\n modalClosed() {\n this.$emit('modalChanged', false);\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n\n.frame {\n width: 100%;\n height: 100%;\n border: none;\n}\n\n.no-url {\n margin: 4rem auto;\n width: fit-content;\n font-size: 2rem;\n padding: 0.5rem;\n border: 1px dashed #ff0000;\n border-radius: 3px;\n background: #f4f2f2;\n}\n\n.close-button {\n position: absolute;\n right: 0;\n padding: 0.5rem;\n border: 0;\n border-radius: 0 0 0 10px;\n background: var(--primary);\n color: var(--background);\n border-left: 1px solid var(--primary);\n border-bottom: 1px solid var(--primary);\n cursor: pointer;\n &:hover {\n background: var(--background);\n color: var(--primary);\n }\n\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IframeModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IframeModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IframeModal.vue?vue&type=template&id=08cda45c&\"\nimport script from \"./IframeModal.vue?vue&type=script&lang=js&\"\nexport * from \"./IframeModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./IframeModal.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <Collapsable\n :title=\"title\"\n :icon=\"icon\"\n :uniqueKey=\"groupId\"\n :collapsed=\"displayData.collapsed\"\n :cols=\"displayData.cols\"\n :rows=\"displayData.rows\"\n :color=\"displayData.color\"\n :customStyles=\"displayData.customStyles\"\n >\n <div v-if=\"!items || items.length < 1\" class=\"no-items\">\n No Items to Show Yet\n </div>\n <div v-else\n :class=\"`there-are-items ${isGridLayout? 'item-group-grid': ''}`\"\n :style=\"gridStyle\"\n >\n <Item\n v-for=\"(item) in sortedItems\"\n :id=\"makeId(title, item.title)\"\n :key=\"makeId(title, item.title)\"\n :url=\"item.url\"\n :title=\"item.title\"\n :description=\"item.description\"\n :icon=\"item.icon\"\n :target=\"item.target\"\n :color=\"item.color\"\n :backgroundColor=\"item.backgroundColor\"\n :statusCheckUrl=\"item.statusCheckUrl\"\n :statusCheckHeaders=\"item.statusCheckHeaders\"\n :itemSize=\"newItemSize\"\n :hotkey=\"item.hotkey\"\n :provider=\"item.provider\"\n :enableStatusCheck=\"shouldEnableStatusCheck(item.statusCheck)\"\n :statusCheckInterval=\"getStatusCheckInterval()\"\n :statusCheckAllowInsecure=\"item.statusCheckAllowInsecure\"\n @itemClicked=\"$emit('itemClicked')\"\n @triggerModal=\"triggerModal\"\n />\n <div ref=\"modalContainer\"></div>\n </div>\n <IframeModal\n :ref=\"`iframeModal-${groupId}`\"\n :name=\"`iframeModal-${groupId}`\"\n @closed=\"$emit('itemClicked')\"\n @modalChanged=\"modalChanged\"\n />\n </Collapsable>\n</template>\n\n<script>\nimport { sortOrder as defaultSortOrder, localStorageKeys } from '@/utils/defaults';\nimport ErrorHandler from '@/utils/ErrorHandler';\nimport Item from '@/components/LinkItems/Item.vue';\nimport Collapsable from '@/components/LinkItems/Collapsable.vue';\nimport IframeModal from '@/components/LinkItems/IframeModal.vue';\n\nexport default {\n name: 'Section',\n inject: ['config'],\n props: {\n groupId: String,\n title: String,\n icon: String,\n displayData: Object,\n items: Array,\n itemSize: String,\n modalOpen: Boolean,\n },\n components: {\n Collapsable,\n Item,\n IframeModal,\n },\n computed: {\n sortOrder() {\n return this.displayData.sortBy || defaultSortOrder;\n },\n /* If the sortBy attribute is specified, then return sorted data */\n sortedItems() {\n let { items } = this;\n if (this.config.appConfig.disableSmartSort) return items;\n if (this.sortOrder === 'alphabetical') {\n this.sortAlphabetically(items);\n } else if (this.sortOrder === 'reverse-alphabetical') {\n this.sortAlphabetically(items).reverse();\n } else if (this.sortOrder === 'most-used') {\n items = this.sortByMostUsed(items);\n } else if (this.sortOrder === 'last-used') {\n items = this.sortBLastUsed(items);\n } else if (this.sortOrder === 'random') {\n items = this.sortRandomly(items);\n } else if (this.sortOrder && this.sortOrder !== 'default') {\n ErrorHandler(`Unknown Sort order '${this.sortOrder}' under '${this.title}'`);\n }\n return items;\n },\n newItemSize() {\n return this.displayData.itemSize || this.itemSize;\n },\n isGridLayout() {\n return this.displayData.sectionLayout === 'grid'\n || !!(this.displayData.itemCountX || this.displayData.itemCountY);\n },\n gridStyle() {\n let styles = '';\n styles += this.displayData.itemCountX\n ? `grid-template-columns: repeat(${this.displayData.itemCountX}, minmax(0, 1fr));` : '';\n styles += this.displayData.itemCountY\n ? `grid-template-rows: repeat(${this.displayData.itemCountY}, minmax(0, 1fr));` : '';\n return styles;\n },\n },\n methods: {\n /* Returns a unique lowercase string, based on name, for section ID */\n makeId(sectionStr, itemStr) {\n const charSum = sectionStr.split('').map((a) => a.charCodeAt(0)).reduce((x, y) => x + y);\n return `${charSum}_${itemStr.replace(/\\s+/g, '-').replace(/[^a-zA-Z ]/g, '').toLowerCase()}`;\n },\n /* Opens the iframe modal */\n triggerModal(url) {\n this.$refs[`iframeModal-${this.groupId}`].show(url);\n },\n /* Emmit value upwards when iframe modal opened/ closed */\n modalChanged(changedTo) {\n this.$emit('change-modal-visibility', changedTo);\n },\n /* Determines if user has enabled online status checks */\n shouldEnableStatusCheck(itemPreference) {\n const globalPreference = this.config.appConfig.statusCheck || false;\n return itemPreference !== undefined ? itemPreference : globalPreference;\n },\n /* Determine how often to re-fire status checks */\n getStatusCheckInterval() {\n let interval = this.config.appConfig.statusCheckInterval;\n if (!interval) return 0;\n if (interval > 60) interval = 60;\n if (interval < 1) interval = 0;\n return interval;\n },\n /* Sorts items alphabetically using the title attribute */\n sortAlphabetically(items) {\n return items.sort((a, b) => (a.title > b.title ? 1 : -1));\n },\n /* Sorts items by most used to least used, based on click-count */\n sortByMostUsed(items) {\n const usageCount = JSON.parse(localStorage.getItem(localStorageKeys.MOST_USED) || '{}');\n const gmu = (item) => usageCount[this.makeId(this.title, item.title)] || 0;\n items.reverse().sort((a, b) => (gmu(a) < gmu(b) ? 1 : -1));\n return items;\n },\n /* Sorts items by most recently used */\n sortBLastUsed(items) {\n const usageCount = JSON.parse(localStorage.getItem(localStorageKeys.LAST_USED) || '{}');\n const glu = (item) => usageCount[this.makeId(this.title, item.title)] || 0;\n items.reverse().sort((a, b) => (glu(a) < glu(b) ? 1 : -1));\n return items;\n },\n /* Sorts items randomly */\n sortRandomly(items) {\n return items\n .map((value) => ({ value, sort: Math.random() }))\n .sort((a, b) => a.sort - b.sort)\n .map(({ value }) => value);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\n.no-items {\n width: 100px;\n margin: 0 auto;\n padding: 0.8rem;\n text-align: center;\n cursor: default;\n color: var(--primary);\n background: var(--item-background);\n border-radius: var(--curve-factor);\n box-shadow: var(--item-shadow);\n}\n\n.there-are-items {\n height: 100%;\n display: flex;\n flex-wrap: wrap;\n &.item-group-grid {\n display: grid;\n overflow: auto;\n @extend .scroll-bar;\n @include phone { --item-col-count: 1; }\n @include tablet { --item-col-count: 2; }\n @include laptop { --item-col-count: 2; }\n @include monitor { --item-col-count: 3; }\n @include big-screen { --item-col-count: 4; }\n @include big-screen-up { --item-col-count: 5; }\n grid-template-columns: repeat(var(--item-col-count, 2), minmax(0, 1fr));\n }\n}\n.orientation-horizontal {\n display: flex;\n flex-direction: column;\n .there-are-items {\n display: grid;\n @include phone { --item-col-count: 2; }\n @include tablet { --item-col-count: 4; }\n @include laptop { --item-col-count: 6; }\n @include monitor { --item-col-count: 8; }\n @include big-screen { --item-col-count: 10; }\n @include big-screen-up { --item-col-count: 12; }\n grid-template-columns: repeat(var(--item-col-count, 2), minmax(0, 1fr));\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Section.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Section.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Section.vue?vue&type=template&id=76304559&scoped=true&\"\nimport script from \"./Section.vue?vue&type=script&lang=js&\"\nexport * from \"./Section.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Section.vue?vue&type=style&index=0&id=76304559&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76304559\",\n null\n \n)\n\nexport default component.exports","<!-- Main homepage for default view -->\n<template>\n <div class=\"home\" :style=\"getBackgroundImage()\">\n <!-- Search bar, layout options and settings -->\n <SettingsContainer ref=\"filterComp\"\n @user-is-searchin=\"searching\"\n @change-display-layout=\"setLayoutOrientation\"\n @change-icon-size=\"setItemSize\"\n @change-modal-visibility=\"updateModalVisibility\"\n :displayLayout=\"layout\"\n :iconSize=\"itemSizeBound\"\n :externalThemes=\"getExternalCSSLinks()\"\n :sections=\"allSections\"\n :appConfig=\"appConfig\"\n :pageInfo=\"pageInfo\"\n :modalOpen=\"modalOpen\"\n class=\"settings-outer\"\n />\n <!-- Main content, section for each group of items -->\n <div v-if=\"checkTheresData(sections)\"\n :class=\"`item-group-container `\n + `orientation-${layout} `\n + `item-size-${itemSizeBound} `\n + (this.colCount ? `col-count-${this.colCount} ` : '')\"\n >\n <Section\n v-for=\"(section, index) in filteredTiles\"\n :key=\"index\"\n :title=\"section.name\"\n :icon=\"section.icon || undefined\"\n :displayData=\"getDisplayData(section)\"\n :groupId=\"`section-${index}`\"\n :items=\"filterTiles(section.items, searchValue)\"\n :searchTerm=\"searchValue\"\n :itemSize=\"itemSizeBound\"\n @itemClicked=\"finishedSearching()\"\n @change-modal-visibility=\"updateModalVisibility\"\n :class=\"\n (searchValue && filterTiles(section.items, searchValue).length === 0) ? 'no-results' : ''\"\n />\n </div>\n <!-- Show message when there's no data to show -->\n <div v-if=\"checkIfResults()\" class=\"no-data\">\n {{searchValue ? $t('home.no-results') : $t('home.no-data')}}\n </div>\n </div>\n</template>\n\n<script>\n\nimport SettingsContainer from '@/components/Settings/SettingsContainer.vue';\nimport Section from '@/components/LinkItems/Section.vue';\nimport { searchTiles } from '@/utils/Search';\nimport Defaults, { localStorageKeys, iconCdns } from '@/utils/defaults';\n\nexport default {\n name: 'home',\n props: {\n sections: Array, // Main site content\n appConfig: Object, // Main site configuation (optional)\n pageInfo: Object, // Page metadata (optional)\n },\n components: {\n SettingsContainer,\n Section,\n },\n data: () => ({\n searchValue: '',\n layout: '',\n itemSizeBound: '',\n modalOpen: false, // When true, keybindings are disabled\n }),\n computed: {\n /* Get class for num columns, if specified by user */\n colCount() {\n let { colCount } = this.appConfig;\n if (!colCount) return null;\n if (colCount < 1) colCount = 1;\n if (colCount > 8) colCount = 8;\n return colCount;\n },\n /* Combines sections from config file, with those in local storage */\n allSections() {\n // If the user has stored sections in local storage, return those\n const localSections = localStorage[localStorageKeys.CONF_SECTIONS];\n if (localSections) {\n const json = JSON.parse(localSections);\n if (json.length >= 1) return json;\n }\n // Otherwise, return the usuall data from conf.yml\n return this.sections;\n },\n filteredTiles() {\n const sections = this.allSections;\n return sections.filter((section) => this.filterTiles(section.items, this.searchValue));\n },\n /* Updates layout (when button clicked), and saves in local storage */\n layoutOrientation: {\n get() { return this.appConfig.layout || Defaults.layout; },\n set: function setLayout(layout) {\n localStorage.setItem(localStorageKeys.LAYOUT_ORIENTATION, layout);\n this.layout = layout;\n },\n },\n /* Updates icon size (when button clicked), and saves in local storage */\n iconSize: {\n get() { return this.appConfig.iconSize || Defaults.iconSize; },\n set: function setIconSize(iconSize) {\n localStorage.setItem(localStorageKeys.ICON_SIZE, iconSize);\n this.itemSizeBound = iconSize;\n },\n },\n },\n methods: {\n /* Returns true if there is one or more sections in the config */\n checkTheresData(sections) {\n const localSections = localStorage[localStorageKeys.CONF_SECTIONS];\n return (sections && sections.length >= 1) || (localSections && localSections.length >= 1);\n },\n /* Updates local data with search value, triggered from filter comp */\n searching(searchValue) {\n this.searchValue = searchValue || '';\n },\n /* Clears input field, once a searched item is opened */\n finishedSearching() {\n this.$refs.filterComp.clearFilterInput();\n },\n /* Returns only the tiles that match the users search query */\n filterTiles(allTiles, searchTerm) {\n return searchTiles(allTiles, searchTerm);\n },\n /* Returns optional section display preferences if available */\n getDisplayData(section) {\n return !section.displayData ? {} : section.displayData;\n },\n /* Sets layout attribute, which is used by Section */\n setLayoutOrientation(layout) {\n this.layoutOrientation = layout;\n },\n /* Sets item size attribute, which is used by Section */\n setItemSize(itemSize) {\n this.iconSize = itemSize;\n },\n /* Update data when modal is open (so that key bindings can be disabled) */\n updateModalVisibility(modalState) {\n this.modalOpen = modalState;\n },\n /* Returns an array of links to external CSS from the Config */\n getExternalCSSLinks() {\n const availibleThemes = {};\n if (this.appConfig) {\n if (this.appConfig.externalStyleSheet) {\n const externals = this.appConfig.externalStyleSheet;\n if (Array.isArray(externals)) {\n externals.forEach((ext, i) => {\n availibleThemes[`External Stylesheet ${i + 1}`] = ext;\n });\n } else {\n availibleThemes['External Stylesheet'] = this.appConfig.externalStyleSheet;\n }\n }\n }\n availibleThemes.Default = '#';\n return availibleThemes;\n },\n /* Checks if any sections or items use icons from a given CDN */\n checkIfIconLibraryNeeded(prefix) {\n let isNeeded = false;\n if (!this.allSections) return false;\n this.allSections.forEach((section) => {\n if (section.icon && section.icon.includes(prefix)) isNeeded = true;\n section.items.forEach((item) => {\n if (item.icon && item.icon.includes(prefix)) isNeeded = true;\n });\n });\n return isNeeded;\n },\n /* Checks if any of the icons are Font Awesome glyphs */\n checkIfFontAwesomeNeeded() {\n let isNeeded = this.checkIfIconLibraryNeeded('fa-');\n const currentTheme = localStorage[localStorageKeys.THEME]; // Some themes require FA\n if (['material', 'material-dark'].includes(currentTheme)) isNeeded = true;\n return isNeeded;\n },\n /* Injects font-awesome's script tag, only if needed */\n initiateFontAwesome() {\n if (this.appConfig.enableFontAwesome || this.checkIfFontAwesomeNeeded()) {\n const fontAwesomeScript = document.createElement('script');\n const faKey = this.appConfig.fontAwesomeKey || Defaults.fontAwesomeKey;\n fontAwesomeScript.setAttribute('src', `${iconCdns.fa}/${faKey}.js`);\n document.head.appendChild(fontAwesomeScript);\n }\n },\n /* Checks if any of the icons are Material Design Icons */\n checkIfMdiNeeded() {\n return this.checkIfIconLibraryNeeded('mdi-');\n },\n /* Injects Material Design Icons, only if needed */\n initiateMaterialDesignIcons() {\n if (this.checkIfMdiNeeded()) {\n const mdiStylesheet = document.createElement('link');\n mdiStylesheet.setAttribute('rel', 'stylesheet');\n mdiStylesheet.setAttribute('href', iconCdns.mdi);\n document.head.appendChild(mdiStylesheet);\n }\n },\n /* Returns true if there is more than 1 sub-result visible during searching */\n checkIfResults() {\n if (!this.allSections) return false;\n else {\n let itemsFound = true;\n this.allSections.forEach((section) => {\n if (this.filterTiles(section.items, this.searchValue).length > 0) itemsFound = false;\n });\n return itemsFound;\n }\n },\n /* If user has a background image, then generate CSS attributes */\n getBackgroundImage() {\n if (this.appConfig && this.appConfig.backgroundImg) {\n return `background: url('${this.appConfig.backgroundImg}');background-size:cover;`;\n }\n return '';\n },\n },\n mounted() {\n this.initiateFontAwesome();\n this.initiateMaterialDesignIcons();\n this.layout = this.layoutOrientation;\n this.itemSizeBound = this.iconSize;\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\n.home {\n padding-bottom: 1px;\n background: var(--background);\n min-height: calc(99.9vh - var(--footer-height));\n}\n\n/* Outside container wrapping the item groups*/\n.item-group-container {\n display: grid;\n gap: 0.5rem;\n margin: 0 auto;\n max-width: 90%;\n overflow: auto;\n @extend .scroll-bar;\n @include monitor-up {\n max-width: 1400px;\n }\n\n /* Options for alternate layouts, triggered by buttons */\n &.orientation-horizontal {\n display: flex;\n flex-direction: column;\n }\n &.orientation-vertical {\n max-width: 100%;\n @include tablet-up {\n display: flex;\n flex-direction: row;\n }\n }\n &.orientation-horizontal, &.orientation-vertical {\n @include phone { --content-max-width: 100%; }\n @include tablet { --content-max-width: 98%; }\n @include laptop { --content-max-width: 90%; }\n @include monitor { --content-max-width: 85%; }\n @include big-screen { --content-max-width: 80%; }\n @include big-screen-up { --content-max-width: 60%; }\n max-width: var(--content-max-width, 90%);\n }\n\n /* Specify number of columns, based on screen size or user preference */\n @include phone { --col-count: 1; }\n @include tablet { --col-count: 2; }\n @include laptop { --col-count: 2; }\n @include monitor { --col-count: 3; }\n @include big-screen { --col-count: 4; }\n @include big-screen-up { --col-count: 5; }\n\n @include tablet-up {\n &.col-count-1 { --col-count: 1; }\n &.col-count-2 { --col-count: 2; }\n &.col-count-3 { --col-count: 3; }\n &.col-count-4 { --col-count: 4; }\n &.col-count-5 { --col-count: 5; }\n &.col-count-6 { --col-count: 6; }\n &.col-count-7 { --col-count: 7; }\n &.col-count-8 { --col-count: 8; }\n }\n\n grid-template-columns: repeat(var(--col-count, 2), minmax(0, 1fr));\n\n /* Hide when search term returns nothing */\n .no-results { display: none; }\n}\n\n/* Custom styles only applied when there is no sections in config */\n.no-data {\n font-size: 2rem;\n color: var(--background);\n background: #ffffffeb;\n width: fit-content;\n margin: 2rem auto;\n padding: 0.5rem 1rem;\n border-radius: var(--curve-factor);\n}\n\n/* Settings section, includes search, config and user settings */\nsection.settings-outer {\n border-bottom: 1px solid var(--outline-color);\n @include phone {\n flex-direction: column;\n }\n}\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=c541a1c2&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=c541a1c2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c541a1c2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-page\"},[(_vm.isUserAlreadyLoggedIn)?_c('div',{staticClass:\"already-logged-in\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('login.already-logged-in-title')))]),_c('p',{staticClass:\"already-logged-in\"},[_vm._v(\" \"+_vm._s(_vm.$t('login.already-logged-in-text'))+\" \"),_c('span',{staticClass:\"username\"},[_vm._v(_vm._s(_vm.existingUsername))])]),_c('Button',{staticClass:\"login-button\",attrs:{\"click\":_vm.stayLoggedIn}},[_vm._v(\" \"+_vm._s(_vm.$t('login.proceed-to-dashboard'))+\" \")]),_c('Button',{staticClass:\"login-button\",attrs:{\"click\":_vm.getOut}},[_vm._v(_vm._s(_vm.$t('login.log-out-button')))]),_c('span',{staticClass:\"already-logged-in-note\"},[_vm._v(\" You need to log out, in order to proceed as a different user. \")]),_c('transition',{attrs:{\"name\":\"bounce\"}},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.message),expression:\"message\"}],class:(\"login-error-message \" + _vm.status)},[_vm._v(_vm._s(_vm.message))])])],1):_vm._e(),((!_vm.isUserAlreadyLoggedIn) && _vm.isAuthenticationEnabled)?_c('form',{staticClass:\"login-form\"},[_c('h2',{staticClass:\"login-title\"},[_vm._v(_vm._s(_vm.$t('login.title')))]),_c('Input',{staticClass:\"login-field username\",attrs:{\"type\":\"text\",\"label\":_vm.$t('login.username-label')},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}}),_c('Input',{staticClass:\"login-field password\",attrs:{\"type\":\"password\",\"label\":_vm.$t('login.password-label')},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('label',[_vm._v(_vm._s(_vm.$t('login.remember-me-label')))]),_c('v-select',{staticClass:\"login-time-dropdown\",attrs:{\"selectOnTab\":true,\"options\":_vm.dropDownMenu},model:{value:(_vm.timeout),callback:function ($$v) {_vm.timeout=$$v},expression:\"timeout\"}}),_c('Button',{staticClass:\"login-button\",attrs:{\"click\":_vm.submitLogin}},[_vm._v(\" \"+_vm._s(_vm.$t('login.login-button'))+\" \")]),_c('transition',{attrs:{\"name\":\"bounce\"}},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.message),expression:\"message\"}],class:(\"login-error-message \" + _vm.status)},[_vm._v(_vm._s(_vm.message))])])],1):_vm._e(),(_vm.isGuestAccessEnabled && !_vm.isUserAlreadyLoggedIn && _vm.isAuthenticationEnabled)?_c('form',{staticClass:\"guest-form\"},[_c('h2',{staticClass:\"login-title\"},[_vm._v(\"Guest Access\")]),_c('Button',{staticClass:\"login-button\",attrs:{\"click\":_vm.guestLogin}},[_vm._v(\" \"+_vm._s(_vm.$t('login.proceed-guest-button'))+\" \")]),_vm._m(0)],1):_vm._e(),(!_vm.isAuthenticationEnabled)?_c('div',{staticClass:\"not-configured\"},[_c('h2',[_vm._v(\"Error\")]),_c('p',[_vm._v(\"Authentication is not enabled, or no users have been configured\")]),_c('Button',{staticClass:\"login-button\",attrs:{\"click\":_vm.guestLogin}},[_vm._v(\" Go Home \")])],1):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"guest-intro\"},[_vm._v(\" This instance has guest access enabled.\"),_c('br'),_vm._v(\" Guests have view-only access to dashboards, so cannot write any changes to disk. \")])}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"login-page\">\n <!-- User is already logged in -->\n <div v-if=\"isUserAlreadyLoggedIn\" class=\"already-logged-in\">\n <h2>{{ $t('login.already-logged-in-title') }}</h2>\n <p class=\"already-logged-in\">\n {{ $t('login.already-logged-in-text') }}\n <span class=\"username\">{{ existingUsername }}</span>\n </p>\n <Button class=\"login-button\" :click=\"stayLoggedIn\">\n {{ $t('login.proceed-to-dashboard') }}\n </Button>\n <Button class=\"login-button\" :click=\"getOut\">{{ $t('login.log-out-button') }}</Button>\n <span class=\"already-logged-in-note\">\n You need to log out, in order to proceed as a different user.\n </span>\n <transition name=\"bounce\">\n <p :class=\"`login-error-message ${status}`\" v-show=\"message\">{{ message }}</p>\n </transition>\n </div>\n <!-- Main login form -->\n <form class=\"login-form\" v-if=\"(!isUserAlreadyLoggedIn) && isAuthenticationEnabled\">\n <h2 class=\"login-title\">{{ $t('login.title') }}</h2>\n <Input\n v-model=\"username\"\n type=\"text\"\n :label=\"$t('login.username-label')\"\n class=\"login-field username\"\n />\n <Input\n v-model=\"password\"\n type=\"password\"\n :label=\"$t('login.password-label')\"\n class=\"login-field password\"\n />\n <label>{{ $t('login.remember-me-label') }}</label>\n <v-select\n v-model=\"timeout\"\n :selectOnTab=\"true\"\n :options=\"dropDownMenu\"\n class=\"login-time-dropdown\"\n />\n <Button class=\"login-button\" :click=\"submitLogin\">\n {{ $t('login.login-button') }}\n </Button>\n <transition name=\"bounce\">\n <p :class=\"`login-error-message ${status}`\" v-show=\"message\">{{ message }}</p>\n </transition>\n </form>\n <!-- Guest login form -->\n <form class=\"guest-form\"\n v-if=\"isGuestAccessEnabled && !isUserAlreadyLoggedIn && isAuthenticationEnabled\">\n <h2 class=\"login-title\">Guest Access</h2>\n <Button class=\"login-button\" :click=\"guestLogin\">\n {{ $t('login.proceed-guest-button') }}\n </Button>\n <p class=\"guest-intro\">\n This instance has guest access enabled.<br>\n Guests have view-only access to dashboards,\n so cannot write any changes to disk.\n </p>\n </form>\n <!-- Edge case - guest mode enabled, but no users configured -->\n <div class=\"not-configured\" v-if=\"!isAuthenticationEnabled\">\n <h2>Error</h2>\n <p>Authentication is not enabled, or no users have been configured</p>\n <Button class=\"login-button\" :click=\"guestLogin\">\n Go Home\n </Button>\n </div>\n </div>\n</template>\n\n<script>\nimport router from '@/router';\nimport Button from '@/components/FormElements/Button';\nimport Input from '@/components/FormElements/Input';\nimport Defaults, { localStorageKeys } from '@/utils/defaults';\nimport { InfoHandler, WarningInfoHandler } from '@/utils/ErrorHandler';\nimport {\n checkCredentials,\n login,\n isLoggedIn,\n logout,\n isGuestAccessEnabled,\n} from '@/utils/Auth';\n\nexport default {\n name: 'login',\n components: {\n Button,\n Input,\n },\n props: {\n appConfig: Object,\n },\n data() {\n return {\n username: '',\n password: '',\n message: '',\n status: 'waiting', // wating, error, success\n timeout: undefined,\n };\n },\n computed: {\n /* Data for timeout dropdown menu, translated label + value in ms */\n dropDownMenu() {\n return [\n { label: this.$t('login.remember-me-never'), time: 0 },\n { label: this.$t('login.remember-me-hour'), time: 14400 * 1000 },\n { label: this.$t('login.remember-me-day'), time: 86400 * 1000 },\n { label: this.$t('login.remember-me-week'), time: 604800 * 1000 },\n ];\n },\n /* Translations for login response messages */\n responseMessages() {\n return {\n missingUsername: this.$t('login.error-missing-username'),\n missingPassword: this.$t('login.error-missing-password'),\n incorrectUsername: this.$t('login.error-incorrect-username'),\n incorrectPassword: this.$t('login.error-incorrect-password'),\n successMsg: this.$t('login.success-message'),\n };\n },\n existingUsername() {\n return localStorage[localStorageKeys.USERNAME];\n },\n users() {\n const auth = this.appConfig.auth || {};\n return Array.isArray(auth) ? auth : auth.users || [];\n },\n isUserAlreadyLoggedIn() {\n const loggedIn = (!this.users || this.users.length === 0 || isLoggedIn());\n return (loggedIn && this.existingUsername);\n },\n isGuestAccessEnabled() {\n return isGuestAccessEnabled();\n },\n isAuthenticationEnabled() {\n return (this.appConfig && this.appConfig.auth && this.users.length > 0);\n },\n },\n methods: {\n /* Checks form is filled in, then initiates the login, and redirects to /home */\n submitLogin() {\n // Use selected timeout, if available,else revedrt to zero\n const timeout = this.timeout ? this.timeout.time : 0;\n // Check users credentials\n const response = checkCredentials(\n this.username,\n this.password,\n this.users, // All users\n this.responseMessages, // Translated response messages\n );\n this.message = response.msg; // Show error or success message to the user\n this.status = response.correct ? 'success' : 'error';\n if (response.correct) { // Yay, credentials were correct :)\n login(this.username, this.password, timeout); // Login, to set the cookie\n this.goHome();\n InfoHandler(`Succesfully signed in as ${this.username}`, 'Authentication');\n } else {\n WarningInfoHandler('Unable to Sign In', 'Authentication', this.message);\n }\n },\n /* Calls function to double-check guest access enabled, then log in as guest */\n guestLogin() {\n const isAllowed = this.isGuestAccessEnabled;\n if (isAllowed) {\n this.$toasted.show('Logged in as Guest, Redirecting...', { className: 'toast-success' });\n InfoHandler('Logged in as Guest', 'Authentication');\n this.goHome();\n } else {\n this.$toasted.show('Guest Access Not Allowed', { className: 'toast-error' });\n WarningInfoHandler('Guest Access Not Allowed', 'Authentication');\n }\n },\n /* Calls logout, shows status message, and refreshed page */\n getOut() {\n logout();\n this.status = 'success';\n this.message = 'Logging out...';\n this.refreshPage();\n },\n /* Logged in user redirects to home page */\n stayLoggedIn() {\n this.status = 'success';\n this.message = 'Redirecting...';\n this.goHome();\n },\n /* Refreshes the page */\n refreshPage() {\n setTimeout(() => { location.reload(); }, 250); // eslint-disable-line no-restricted-globals\n },\n /* Redirects to the homepage */\n goHome() {\n setTimeout(() => { // Wait a short while, then redirect back home\n router.push({ path: '/' });\n }, 250);\n },\n /* Since Theme setter isn't loaded at this point, we must manually get and apply users theme */\n setTheme() {\n const theme = localStorage[localStorageKeys.THEME] || Defaults.theme;\n document.getElementsByTagName('html')[0].setAttribute('data-theme', theme);\n },\n },\n created() {\n this.setTheme();\n setTimeout(() => { this.timeout = this.dropDownMenu[0]; }, 1); //eslint-disable-line\n },\n};\n\n</script>\n\n<style lang=\"scss\">\n\n/* Login page base styles */\n.login-page {\n display: flex;\n align-items: center;\n justify-content: center;\n justify-content: space-evenly;\n min-height: calc(100vh - var(--footer-height));\n\n /* User is already logged in note */\n div.already-logged-in {\n margin: 0 auto 0.5rem;\n p.already-logged-in {\n margin: 0 auto 0.5rem;\n text-align: center;\n }\n span.username {\n font-weight: bold;\n text-transform: capitalize;\n }\n span.already-logged-in-note {\n font-size: 0.8rem;\n opacity: var(--dimming-factor);\n text-align: left;\n }\n }\n\n /* Login form container */\n form.login-form, form.guest-form, div.already-logged-in, div.not-configured {\n background: var(--login-form-background);\n color: var(--login-form-color);\n border: 1px solid var(--login-form-color);\n border-radius: var(--curve-factor);\n font-size: 1.4rem;\n padding: 2rem;\n margin: 2rem;\n max-width: 22rem;\n display: flex;\n flex-direction: column;\n\n /* Login form title */\n h2 {\n font-size: 2rem;\n margin: 0 0 1rem 0;\n text-align: center;\n cursor: default;\n }\n\n /* Set sizings for input fields and login button */\n .login-field input, Button.login-button {\n width: 20rem;\n margin: 0.5rem auto;\n font-size: 1.4rem;\n padding: 0.5rem 1rem;\n }\n\n /* Custom colors for username/ password input fields */\n .login-field input {\n color: var(--login-form-color);\n border-color: var(--login-form-color);\n background: var(--login-form-background);\n }\n /* Custom colors for Login Button */\n Button.login-button {\n background: var(--login-form-color);\n border-color: var(--login-form-background);\n color: var(--login-form-background);\n &:hover {\n color: var(--login-form-color);\n border-color: var(--login-form-color);\n background: var(--login-form-background);\n }\n &:active, &:focus {\n box-shadow: 1px 1px 6px var(--login-form-color);\n }\n }\n /* Apply color to status message, depending on status */\n p.login-error-message {\n font-size: 1rem;\n text-align: center;\n &.waiting { color: var(--login-form-color); }\n &.success { color: var(--success); }\n &.error { color: var(--warning); }\n }\n p.guest-intro {\n font-size: 0.8rem;\n opacity: var(--dimming-factor);\n text-align: left;\n }\n }\n}\n\n/* Enter animations for error/ success message */\n.bounce-enter-active { animation: bounce-in 0.25s; }\n.bounce-leave-active { animation: bounce-in 0.25s reverse; }\n@keyframes bounce-in {\n 0% { transform: scale(0); }\n 50% { transform: scale(1.25); }\n 100% { transform: scale(1); }\n}\n\n/* Custom styles for dropdown component */\n.v-select.login-time-dropdown {\n margin: 0.5rem 0;\n .vs__dropdown-toggle {\n border-color: var(--login-form-color);\n background: var(--login-form-background);\n cursor: pointer;\n span.vs__selected {\n color: var(--login-form-color);\n }\n .vs__actions svg path { fill: var(--login-form-color); }\n }\n ul.vs__dropdown-menu {\n background: var(--login-form-background);\n border-color: var(--login-form-color);\n li {\n color: var(--login-form-color);\n &:hover {\n color: var(--login-form-background);\n background: var(--login-form-color);\n }\n &.vs__dropdown-option--highlight {\n color: var(--login-form-background) !important;\n background: var(--login-form-color);\n }\n }\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=4b1d221e&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"work-space\"},[_c('SideBar',{attrs:{\"sections\":_vm.sections,\"initUrl\":_vm.getInitialUrl()},on:{\"launch-app\":_vm.launchApp}}),(!_vm.isMultiTaskingEnabled)?_c('WebContent',{attrs:{\"url\":_vm.url}}):_c('MultiTaskingWebComtent',{attrs:{\"url\":_vm.url}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"side-bar\"},[_vm._l((_vm.sections),function(section,index){return _c('div',{key:index,staticClass:\"side-bar-section\"},[_c('div',{staticClass:\"side-bar-item-container\",on:{\"click\":function($event){return _vm.openSection(index)}}},[_c('SideBarItem',{staticClass:\"item\",attrs:{\"icon\":section.icon,\"title\":section.name}})],1),_c('transition',{attrs:{\"name\":\"slide\"}},[(_vm.isOpen[index])?_c('SideBarSection',{attrs:{\"items\":section.items},on:{\"launch-app\":_vm.launchApp}}):_vm._e()],1)],1)}),_c('div',{staticClass:\"switch-view-buttons\"},[_c('router-link',{attrs:{\"to\":\"/home\"}},[_c('IconHome',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.$t('alternate-views.default')),expression:\"$t('alternate-views.default')\"}],staticClass:\"view-icon\"})],1),_c('router-link',{attrs:{\"to\":\"/minimal\"}},[_c('IconMinimalView',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.$t('alternate-views.minimal')),expression:\"$t('alternate-views.minimal')\"}],staticClass:\"view-icon\"})],1)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.tooltip),expression:\"tooltip\"}],class:(\"side-bar-item \" + (_vm.icon ? 'w-icon' : 'text-only')),on:{\"click\":function($event){return _vm.itemClicked()}}},[(_vm.icon)?_c('Icon',{attrs:{\"icon\":_vm.icon,\"size\":\"small\",\"url\":_vm.url}}):_c('p',{staticClass:\"small-title\"},[_vm._v(_vm._s(_vm.title))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div @click=\"itemClicked()\"\n :class=\"`side-bar-item ${icon ? 'w-icon' : 'text-only'}`\" v-tooltip=\"tooltip\">\n <Icon v-if=\"icon\" :icon=\"icon\" size=\"small\" :url=\"url\" />\n <p class=\"small-title\" v-else>{{ title }}</p>\n </div>\n</template>\n\n<script>\n\nimport Icon from '@/components/LinkItems/ItemIcon.vue';\n\nexport default {\n name: 'SideBarItem',\n inject: ['config'],\n props: {\n icon: String,\n title: String,\n url: String,\n target: String,\n click: Function,\n },\n components: {\n Icon,\n },\n methods: {\n itemClicked() {\n if (this.url) this.$emit('launch-app', { url: this.url, target: this.target });\n },\n },\n data() {\n return {\n tooltip: {\n disabled: !this.title,\n content: this.title,\n trigger: 'hover focus',\n placement: 'bottom-end',\n },\n };\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n\ndiv.side-bar-item {\n color: var(--side-bar-item-color);\n background: var(--side-bar-item-background);\n text-align: center;\n &.text-only {\n background: none;\n border: none;\n box-shadow: none;\n p.small-title {\n margin: 0.1rem 0 0 -0.5rem;\n font-size: 0.6rem;\n transform: rotate(-25deg);\n padding: 0.5rem 0;\n }\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SideBarItem.vue?vue&type=template&id=b3babe3c&scoped=true&\"\nimport script from \"./SideBarItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SideBarItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SideBarItem.vue?vue&type=style&index=0&id=b3babe3c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3babe3c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sub-side-bar\"},_vm._l((_vm.items),function(item,index){return _c('div',{key:index},[_c('SideBarItem',{staticClass:\"item\",attrs:{\"icon\":item.icon,\"title\":item.title,\"url\":item.url,\"target\":item.target},on:{\"launch-app\":_vm.launchApp}})],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"sub-side-bar\">\n <div v-for=\"(item, index) in items\" :key=\"index\">\n <SideBarItem\n class=\"item\"\n :icon=\"item.icon\"\n :title=\"item.title\"\n :url=\"item.url\"\n :target=\"item.target\"\n @launch-app=\"launchApp\"\n />\n </div>\n </div>\n</template>\n\n<script>\n\nimport SideBarItem from '@/components/Workspace/SideBarItem.vue';\n\nexport default {\n name: 'SideBarSection',\n inject: ['config'],\n props: {\n items: Array,\n },\n components: {\n SideBarItem,\n },\n methods: {\n launchApp(options) {\n this.$emit('launch-app', options);\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\ndiv.sub-side-bar {\n display: flex;\n flex-direction: column;\n background: var(--side-bar-background-lighter);\n border-radius: var(--curve-factor);\n margin: 0.2rem;\n color: var(--side-bar-color);\n text-align: center;\n z-index: 3;\n .item:not(:last-child) {\n border-bottom: 1px dashed var(--side-bar-color);\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarSection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarSection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SideBarSection.vue?vue&type=template&id=7b11b6e1&scoped=true&\"\nimport script from \"./SideBarSection.vue?vue&type=script&lang=js&\"\nexport * from \"./SideBarSection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SideBarSection.vue?vue&type=style&index=0&id=7b11b6e1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7b11b6e1\",\n null\n \n)\n\nexport default component.exports","<template>\n <nav class=\"side-bar\">\n <div v-for=\"(section, index) in sections\" :key=\"index\" class=\"side-bar-section\">\n <div @click=\"openSection(index)\" class=\"side-bar-item-container\">\n <SideBarItem\n class=\"item\"\n :icon=\"section.icon\"\n :title=\"section.name\"\n />\n </div>\n <transition name=\"slide\">\n <SideBarSection\n v-if=\"isOpen[index]\"\n :items=\"section.items\"\n @launch-app=\"launchApp\"\n />\n </transition>\n </div>\n <div class=\"switch-view-buttons\">\n <router-link to=\"/home\">\n <IconHome class=\"view-icon\" v-tooltip=\"$t('alternate-views.default')\" />\n </router-link>\n <router-link to=\"/minimal\">\n <IconMinimalView class=\"view-icon\" v-tooltip=\"$t('alternate-views.minimal')\" />\n </router-link>\n </div>\n </nav>\n</template>\n\n<script>\n\nimport SideBarItem from '@/components/Workspace/SideBarItem.vue';\nimport SideBarSection from '@/components/Workspace/SideBarSection.vue';\nimport IconHome from '@/assets/interface-icons/application-home.svg';\nimport IconMinimalView from '@/assets/interface-icons/application-minimal.svg';\n\nexport default {\n name: 'SideBar',\n inject: ['config'],\n props: {\n sections: Array,\n initUrl: String,\n },\n data() {\n return {\n isOpen: new Array(this.sections.length).fill(false),\n };\n },\n components: {\n SideBarItem,\n SideBarSection,\n IconMinimalView,\n IconHome,\n },\n methods: {\n /* Toggles the section clicked, and closes all other sections */\n openSection(index) {\n this.isOpen = this.isOpen.map((val, ind) => (ind !== index ? false : !val));\n },\n /* When item clicked, emit a launch event */\n launchApp(options) {\n this.$emit('launch-app', options);\n },\n /* If an initial URL is specified, then open relevant section */\n openDefaultSection() {\n if (!this.initUrl) return;\n const process = (url) => url.replace(/[^\\w\\s]/gi, '').toLowerCase();\n const compare = (item) => (process(item.url) === process(this.initUrl));\n this.sections.forEach((section, sectionIndex) => {\n if (section.items.findIndex(compare) !== -1) this.openSection(sectionIndex);\n });\n },\n },\n mounted() {\n this.openDefaultSection();\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\nnav.side-bar {\n position: fixed;\n display: flex;\n flex-direction: column;\n background: var(--side-bar-background);\n color: var(--side-bar-color);\n height: 100%;\n width: var(--side-bar-width);\n text-align: center;\n overflow: auto;\n @extend .scroll-bar;\n .side-bar-item-container {\n z-index: 5;\n }\n .item:not(:last-child) {\n border-bottom: 1px dashed var(--side-bar-color);\n z-index: 5;\n }\n}\n\n.slide-leave-active,\n.slide-enter-active {\n transition: all 0.1s ease-in-out;\n}\n.slide-enter {\n transform: translate(0, -80%);\n}\n.slide-leave-to {\n transform: translate(0, -80%);\n}\n\n.switch-view-buttons {\n margin-top: 0.5rem;\n display: flex;\n @extend .svg-button;\n .view-icon {\n border: none;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SideBar.vue?vue&type=template&id=7296886d&scoped=true&\"\nimport script from \"./SideBar.vue?vue&type=script&lang=js&\"\nexport * from \"./SideBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SideBar.vue?vue&type=style&index=0&id=7296886d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7296886d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"web-content\",attrs:{\"id\":_vm.id}},[_c('iframe',{attrs:{\"src\":_vm.url}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"web-content\" :id=\"id\">\n <iframe :src=\"url\" />\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'WebContent',\n props: {\n url: String,\n id: {\n type: String,\n default: 'web-app-view',\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n\niframe {\n position: absolute;\n left: var(--side-bar-width);\n height: calc(100% - var(--header-height));\n width: calc(100% - var(--side-bar-width));\n border: none;\n background: white;\n}\n\n.web-content.hide {\n display: none;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebContent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebContent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WebContent.vue?vue&type=template&id=f1f96a0a&scoped=true&\"\nimport script from \"./WebContent.vue?vue&type=script&lang=js&\"\nexport * from \"./WebContent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WebContent.vue?vue&type=style&index=0&id=f1f96a0a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1f96a0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"multi-taking-view\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"multi-taking-view\" ref=\"container\"></div>\n</template>\n\n<script>\nimport Vue from 'vue';\nimport WebContent from '@/components/Workspace/WebContent';\n\nexport default {\n name: 'WebContent',\n props: {\n url: String, // The URL of currently visible app\n },\n data: () => ({\n openApps: [], // List of all currently open apps\n }),\n watch: {\n /* Update the currently open app, when URL changes */\n url() { this.launchApp(); },\n },\n methods: {\n /* Check if app already open or not, and call appropriate opener */\n launchApp() {\n if (this.openApps.includes(this.url)) {\n this.openExistingApp();\n } else {\n this.openApps.push(this.url);\n this.appendNewApp();\n }\n },\n /* Opens a new app */\n appendNewApp() {\n const ComponentClass = Vue.extend(WebContent);\n const instance = new ComponentClass({\n propsData: { url: this.url, id: btoa(this.url) },\n });\n instance.$mount(); // pass nothing\n this.$refs.container.appendChild(instance.$el);\n },\n /* Switches visibility to an already open app */\n openExistingApp() {\n Array.from(document.getElementsByClassName('web-content')).forEach((frame) => {\n frame.classList.add('hide');\n });\n document.getElementById(btoa(this.url)).classList.remove('hide');\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n\niframe {\n position: absolute;\n left: var(--side-bar-width);\n height: calc(100% - var(--header-height));\n width: calc(100% - var(--side-bar-width));\n border: none;\n background: white;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiTaskingWebComtent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiTaskingWebComtent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MultiTaskingWebComtent.vue?vue&type=template&id=2a7b9297&scoped=true&\"\nimport script from \"./MultiTaskingWebComtent.vue?vue&type=script&lang=js&\"\nexport * from \"./MultiTaskingWebComtent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MultiTaskingWebComtent.vue?vue&type=style&index=0&id=2a7b9297&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2a7b9297\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"work-space\">\n <SideBar :sections=\"sections\" @launch-app=\"launchApp\" :initUrl=\"getInitialUrl()\" />\n <WebContent :url=\"url\" v-if=\"!isMultiTaskingEnabled\" />\n <MultiTaskingWebComtent :url=\"url\" v-else />\n </div>\n</template>\n\n<script>\n\nimport SideBar from '@/components/Workspace/SideBar';\nimport WebContent from '@/components/Workspace/WebContent';\nimport MultiTaskingWebComtent from '@/components/Workspace/MultiTaskingWebComtent';\nimport Defaults from '@/utils/defaults';\nimport { GetTheme, ApplyLocalTheme, ApplyCustomVariables } from '@/utils/ThemeHelper';\n\nexport default {\n name: 'Workspace',\n props: {\n sections: Array,\n appConfig: Object,\n },\n data: () => ({\n url: '',\n GetTheme,\n ApplyLocalTheme,\n ApplyCustomVariables,\n }),\n computed: {\n isMultiTaskingEnabled() {\n return this.appConfig.enableMultiTasking || false;\n },\n },\n components: {\n SideBar,\n WebContent,\n MultiTaskingWebComtent,\n },\n methods: {\n launchApp(options) {\n if (options.target === 'newtab') {\n window.open(options.url, '_blank');\n } else {\n this.url = options.url;\n }\n },\n setTheme() {\n const theme = this.GetTheme();\n this.ApplyLocalTheme(theme);\n this.ApplyCustomVariables(theme);\n },\n initiateFontAwesome() {\n const fontAwesomeScript = document.createElement('script');\n const faKey = this.appConfig.fontAwesomeKey || Defaults.fontAwesomeKey;\n fontAwesomeScript.setAttribute('src', `https://kit.fontawesome.com/${faKey}.js`);\n document.head.appendChild(fontAwesomeScript);\n },\n /* Returns a service URL, if set as a URL param, or if user has specified landing URL */\n getInitialUrl() {\n const route = this.$route;\n if (route.query && route.query.url) {\n return decodeURI(route.query.url);\n } else if (this.appConfig.workspaceLandingUrl) {\n return this.appConfig.workspaceLandingUrl;\n }\n return undefined;\n },\n },\n mounted() {\n this.setTheme();\n this.initiateFontAwesome();\n this.url = this.getInitialUrl();\n },\n};\n\n</script>\n\n<style scoped lang=\"scss\">\n.work-space {\n min-height: calc(100vh - var(--footer-height));\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Workspace.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Workspace.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Workspace.vue?vue&type=template&id=0f1a789a&scoped=true&\"\nimport script from \"./Workspace.vue?vue&type=script&lang=js&\"\nexport * from \"./Workspace.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Workspace.vue?vue&type=style&index=0&id=0f1a789a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0f1a789a\",\n null\n \n)\n\nexport default component.exports","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"minimal-home\",style:(_vm.getBackgroundImage() + _vm.setColumnCount())},[_c('div',{staticClass:\"minimal-buttons\"},[_c('ConfigLauncher',{staticClass:\"config-launcher\",attrs:{\"sections\":_vm.sections,\"pageInfo\":_vm.pageInfo,\"appConfig\":_vm.appConfig},on:{\"modalChanged\":_vm.modalChanged}})],1),_c('div',{staticClass:\"title-and-search\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('h1',[_vm._v(_vm._s(_vm.pageInfo.title))])]),_c('MinimalSearch',{ref:\"filterComp\",attrs:{\"active\":!_vm.modalOpen},on:{\"user-is-searchin\":function (s) { this$1.searchValue = s; }}})],1),(_vm.checkTheresData(_vm.sections))?_c('div',{class:(\"item-group-container \" + (!_vm.tabbedView ? 'showing-all' : ''))},[_vm._l((_vm.getSections(_vm.sections)),function(section,index){return _c('MinimalHeading',{key:(\"heading-\" + index),staticClass:\"headings\",attrs:{\"index\":index,\"title\":section.name,\"selected\":_vm.selectedSection === index},on:{\"sectionSelected\":_vm.sectionSelected}})}),_vm._l((_vm.getSections(_vm.sections)),function(section,index){return _c('MinimalSection',{key:(\"body-\" + index),attrs:{\"index\":index,\"title\":section.name,\"icon\":section.icon || undefined,\"groupId\":(\"section-\" + index),\"items\":_vm.filterTiles(section.items),\"selected\":_vm.selectedSection === index,\"showAll\":!_vm.tabbedView,\"itemSize\":\"small\"},on:{\"sectionSelected\":_vm.sectionSelected,\"itemClicked\":function($event){return _vm.finishedSearching()},\"change-modal-visibility\":_vm.updateModalVisibility}})}),(_vm.checkIfResults())?_c('div',{staticClass:\"no-data\"},[_vm._v(\" \"+_vm._s(_vm.searchValue ? _vm.$t('home.no-results') : _vm.$t('home.no-data'))+\" \")]):_vm._e()],2):_c('div',{staticClass:\"no-data\"},[_vm._v(\" \"+_vm._s(_vm.$t('home.no-data'))+\" \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"minimal-section-inner \" + (_vm.selected ? 'selected' : '') + \" \" + (_vm.showAll ? 'show-all': ''))},[(_vm.selected || _vm.showAll)?_c('div',{staticClass:\"section-items\"},_vm._l((_vm.items),function(item,index){return _c('Item',{key:(index + \"_\" + (_vm.makeId(item.title))),attrs:{\"id\":(index + \"_\" + (_vm.makeId(item.title))),\"url\":item.url,\"title\":item.title,\"description\":item.description,\"icon\":item.icon,\"target\":item.target,\"color\":item.color,\"backgroundColor\":item.backgroundColor,\"statusCheckUrl\":item.statusCheckUrl,\"statusCheckHeaders\":item.statusCheckHeaders,\"itemSize\":_vm.itemSize,\"hotkey\":item.hotkey,\"enableStatusCheck\":_vm.shouldEnableStatusCheck(item.statusCheck),\"statusCheckInterval\":_vm.getStatusCheckInterval()},on:{\"itemClicked\":function($event){return _vm.$emit('itemClicked')},\"triggerModal\":_vm.triggerModal}})}),1):_vm._e(),_c('IframeModal',{ref:(\"iframeModal-\" + _vm.groupId),attrs:{\"name\":(\"iframeModal-\" + _vm.groupId)},on:{\"closed\":function($event){return _vm.$emit('itemClicked')},\"modalChanged\":_vm.modalChanged}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div :class=\"`minimal-section-inner ${selected ? 'selected' : ''} ${showAll ? 'show-all': ''}`\">\n <div class=\"section-items\" v-if=\"selected || showAll\">\n <Item\n v-for=\"(item, index) in items\"\n :id=\"`${index}_${makeId(item.title)}`\"\n :key=\"`${index}_${makeId(item.title)}`\"\n :url=\"item.url\"\n :title=\"item.title\"\n :description=\"item.description\"\n :icon=\"item.icon\"\n :target=\"item.target\"\n :color=\"item.color\"\n :backgroundColor=\"item.backgroundColor\"\n :statusCheckUrl=\"item.statusCheckUrl\"\n :statusCheckHeaders=\"item.statusCheckHeaders\"\n :itemSize=\"itemSize\"\n :hotkey=\"item.hotkey\"\n :enableStatusCheck=\"shouldEnableStatusCheck(item.statusCheck)\"\n :statusCheckInterval=\"getStatusCheckInterval()\"\n @itemClicked=\"$emit('itemClicked')\"\n @triggerModal=\"triggerModal\"\n />\n </div>\n <IframeModal\n :ref=\"`iframeModal-${groupId}`\"\n :name=\"`iframeModal-${groupId}`\"\n @closed=\"$emit('itemClicked')\"\n @modalChanged=\"modalChanged\"\n />\n </div>\n</template>\n\n<script>\nimport Item from '@/components/LinkItems/Item.vue';\nimport IframeModal from '@/components/LinkItems/IframeModal.vue';\n\nexport default {\n name: 'ItemGroup',\n inject: ['config'],\n props: {\n groupId: String,\n title: String,\n icon: String,\n displayData: Object,\n items: Array,\n itemSize: String,\n modalOpen: Boolean,\n index: Number,\n selected: Boolean,\n showAll: Boolean,\n },\n components: {\n Item,\n IframeModal,\n },\n methods: {\n selectSection(index) {\n this.$emit('sectionSelected', index);\n },\n /* Returns a unique lowercase string, based on name, for section ID */\n makeId(str) {\n return str.replace(/\\s+/g, '-').replace(/[^a-zA-Z ]/g, '').toLowerCase();\n },\n /* Opens the iframe modal */\n triggerModal(url) {\n this.$refs[`iframeModal-${this.groupId}`].show(url);\n },\n modalChanged(changedTo) {\n this.$emit('change-modal-visibility', changedTo);\n },\n shouldEnableStatusCheck(itemPreference) {\n const globalPreference = this.config.appConfig.statusCheck || false;\n return itemPreference !== undefined ? itemPreference : globalPreference;\n },\n getStatusCheckInterval() {\n let interval = this.config.appConfig.statusCheckInterval;\n if (!interval) return 0;\n if (interval > 60) interval = 60;\n if (interval < 1) interval = 0;\n return interval;\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\n.minimal-section-inner {\n height: 100%;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n background: var(--minimal-view-group-background);\n border-radius: 0 0 var(--curve-factor) var(--curve-factor);\n .section-items {\n display: grid;\n @include phone { --minimal-col-count: 1; }\n @include tablet { --minimal-col-count: 2; }\n @include laptop { --minimal-col-count: 3; }\n @include monitor { --minimal-col-count: 4; }\n @include big-screen { --minimal-col-count: 5; }\n @include big-screen-up { --minimal-col-count: 6; }\n grid-template-columns: repeat(var(--minimal-col-count, 1), minmax(0, 1fr));\n }\n &.selected {\n border: 1px solid var(--minimal-view-group-color);\n grid-column-start: span var(--col-count, 3);\n }\n &.show-all {\n border: none;\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalSection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalSection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MinimalSection.vue?vue&type=template&id=1468c835&scoped=true&\"\nimport script from \"./MinimalSection.vue?vue&type=script&lang=js&\"\nexport * from \"./MinimalSection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MinimalSection.vue?vue&type=style&index=0&id=1468c835&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1468c835\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:(\"minimal-section-heading \" + (_vm.selected ? 'selected' : '')),on:{\"click\":function($event){return _vm.selectSection(_vm.index)}}},[_c('h3',[_vm._v(_vm._s(_vm.title))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div\n @click=\"selectSection(index)\"\n :class=\"`minimal-section-heading ${selected ? 'selected' : ''}`\">\n <h3>{{ title }}</h3>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'MinimalHeadings',\n props: {\n index: Number,\n title: String,\n selected: Boolean,\n },\n methods: {\n selectSection(index) {\n this.$emit('sectionSelected', index);\n },\n },\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\ndiv.minimal-section-heading {\n cursor: pointer;\n padding: 0.5rem 0.25rem;\n margin-bottom: 0;\n background: var(--minimal-view-section-heading-background);\n border: 1px solid var(--minimal-view-section-heading-color);\n border-bottom: none;\n border-radius: var(--curve-factor) var(--curve-factor) 0 0;\n h3 {\n margin: 0;\n color: var(--minimal-view-section-heading-color);\n }\n &.selected {\n background: var(--minimal-view-section-heading-color);\n h3 {\n color: var(--minimal-view-section-heading-background);\n }\n }\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalHeading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalHeading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MinimalHeading.vue?vue&type=template&id=5f187f16&scoped=true&\"\nimport script from \"./MinimalHeading.vue?vue&type=script&lang=js&\"\nexport * from \"./MinimalHeading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MinimalHeading.vue?vue&type=style&index=0&id=5f187f16&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5f187f16\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('SearchBar',{ref:\"MinimalSearchBar\",attrs:{\"active\":true,\"minimalSearch\":true},on:{\"user-is-searchin\":_vm.userIsTypingSomething}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <SearchBar\n ref=\"MinimalSearchBar\"\n @user-is-searchin=\"userIsTypingSomething\"\n :active=\"true\"\n :minimalSearch=\"true\"\n />\n</template>\n\n<script>\nimport SearchBar from '@/components/Settings/SearchBar';\n\nexport default {\n name: 'MinimalSearch',\n inject: ['config'],\n components: {\n SearchBar,\n },\n props: {\n active: Boolean,\n },\n data() {\n return {\n input: '', // Users current search term\n };\n },\n methods: {\n /* Emmits users's search term up to parent */\n userIsTypingSomething(searchValue) {\n this.input = searchValue;\n this.$emit('user-is-searchin', searchValue);\n },\n /* Emmits an event to reset state when user is finished searching */\n clearMinFilterInput() {\n this.$refs.MinimalSearchBar.clearFilterInput();\n },\n },\n};\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalSearch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalSearch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MinimalSearch.vue?vue&type=template&id=2922e3ba&\"\nimport script from \"./MinimalSearch.vue?vue&type=script&lang=js&\"\nexport * from \"./MinimalSearch.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"minimal-home\" :style=\"getBackgroundImage() + setColumnCount()\">\n <!-- Buttons for config and home page -->\n <div class=\"minimal-buttons\">\n <ConfigLauncher :sections=\"sections\" :pageInfo=\"pageInfo\" :appConfig=\"appConfig\"\n @modalChanged=\"modalChanged\" class=\"config-launcher\" />\n </div>\n <!-- Page title and search bar -->\n <div class=\"title-and-search\">\n <router-link to=\"/\">\n <h1>{{ pageInfo.title }}</h1>\n </router-link>\n <MinimalSearch\n @user-is-searchin=\"(s) => { this.searchValue = s; }\"\n :active=\"!modalOpen\" ref=\"filterComp\" />\n </div>\n <div v-if=\"checkTheresData(sections)\"\n :class=\"`item-group-container ${!tabbedView ? 'showing-all' : ''}`\">\n <!-- Section heading buttons -->\n <MinimalHeading\n v-for=\"(section, index) in getSections(sections)\"\n :key=\"`heading-${index}`\"\n :index=\"index\"\n :title=\"section.name\"\n :selected=\"selectedSection === index\"\n @sectionSelected=\"sectionSelected\"\n class=\"headings\"\n />\n <!-- Section item groups -->\n <MinimalSection\n v-for=\"(section, index) in getSections(sections)\"\n :key=\"`body-${index}`\"\n :index=\"index\"\n :title=\"section.name\"\n :icon=\"section.icon || undefined\"\n :groupId=\"`section-${index}`\"\n :items=\"filterTiles(section.items)\"\n :selected=\"selectedSection === index\"\n :showAll=\"!tabbedView\"\n itemSize=\"small\"\n @sectionSelected=\"sectionSelected\"\n @itemClicked=\"finishedSearching()\"\n @change-modal-visibility=\"updateModalVisibility\"\n />\n <div v-if=\"checkIfResults()\" class=\"no-data\">\n {{searchValue ? $t('home.no-results') : $t('home.no-data')}}\n </div>\n </div>\n <div v-else class=\"no-data\"> {{ $t('home.no-data') }} </div>\n </div>\n</template>\n\n<script>\n\nimport MinimalSection from '@/components/MinimalView/MinimalSection.vue';\nimport MinimalHeading from '@/components/MinimalView/MinimalHeading.vue';\nimport MinimalSearch from '@/components/MinimalView/MinimalSearch.vue';\nimport { GetTheme, ApplyLocalTheme, ApplyCustomVariables } from '@/utils/ThemeHelper';\nimport { searchTiles } from '@/utils/Search';\nimport Defaults, { localStorageKeys } from '@/utils/defaults';\nimport ConfigLauncher from '@/components/Settings/ConfigLauncher';\n\nexport default {\n name: 'home',\n props: {\n sections: Array, // Main site content\n appConfig: Object, // Main site configuation (optional)\n pageInfo: Object,\n },\n components: {\n MinimalSection,\n MinimalHeading,\n MinimalSearch,\n ConfigLauncher,\n },\n data: () => ({\n searchValue: '',\n layout: '',\n modalOpen: false, // When true, keybindings are disabled\n selectedSection: 0, // The index of currently selected section\n tabbedView: true, // By default use tabs, when searching then show all instead\n theme: GetTheme(),\n }),\n watch: {\n /* When the theme changes, then call the update method */\n searchValue() {\n this.tabbedView = !this.searchValue || this.searchValue.length === 0;\n },\n },\n methods: {\n sectionSelected(index) {\n this.selectedSection = index;\n },\n /* Returns true if there is one or more sections in the config */\n checkTheresData(sections) {\n const localSections = localStorage[localStorageKeys.CONF_SECTIONS];\n return (sections && sections.length >= 1) || (localSections && localSections.length >= 1);\n },\n /* Returns sections from local storage if available, otherwise uses the conf.yml */\n getSections(sections) {\n // If the user has stored sections in local storage, return those\n const localSections = localStorage[localStorageKeys.CONF_SECTIONS];\n if (localSections) {\n const json = JSON.parse(localSections);\n if (json.length >= 1) return json;\n }\n // Otherwise, return the usuall data from conf.yml\n return sections;\n },\n /* Updates local data with search value, triggered from filter comp */\n searching(searchValue) {\n this.searchValue = searchValue || '';\n },\n /* Clears input field, once a searched item is opened */\n finishedSearching() {\n this.$refs.filterComp.clearMinFilterInput();\n },\n /* Extracts the site name from domain, used for the searching functionality */\n getDomainFromUrl(url) {\n if (!url) return '';\n const urlPattern = /^(?:https?:\\/\\/)?(?:w{3}\\.)?([a-z\\d.-]+)\\.(?:[a-z.]{2,10})(?:[/\\w.-]*)*/;\n const domainPattern = url.match(urlPattern);\n return domainPattern ? domainPattern[1] : '';\n },\n /* Returns only the tiles that match the users search query */\n filterTiles(allTiles) {\n if (!allTiles) return [];\n return searchTiles(allTiles, this.searchValue);\n },\n /* Update data when modal is open (so that key bindings can be disabled) */\n updateModalVisibility(modalState) {\n this.modalOpen = modalState;\n },\n /* Checks if any of the icons are Font Awesome glyphs */\n checkIfFontAwesomeNeeded() {\n let isNeeded = false;\n if (!this.sections) return false;\n this.sections.forEach((section) => {\n if (section.icon && section.icon.includes('fa-')) isNeeded = true;\n section.items.forEach((item) => {\n if (item.icon && item.icon.includes('fa-')) isNeeded = true;\n });\n });\n return isNeeded;\n },\n /* Injects font-awesome's script tag, only if needed */\n initiateFontAwesome() {\n if (this.appConfig.enableFontAwesome || this.checkIfFontAwesomeNeeded()) {\n const fontAwesomeScript = document.createElement('script');\n const faKey = this.appConfig.fontAwesomeKey || Defaults.fontAwesomeKey;\n fontAwesomeScript.setAttribute('src', `https://kit.fontawesome.com/${faKey}.js`);\n document.head.appendChild(fontAwesomeScript);\n }\n },\n /* Returns true if there is more than 1 sub-result visible during searching */\n checkIfResults() {\n if (!this.sections) return false;\n else {\n let itemsFound = true;\n this.sections.forEach((section) => {\n if (this.filterTiles(section.items).length > 0) itemsFound = false;\n });\n return itemsFound;\n }\n },\n /* Make CSS to set the number of columns based on the number of sections */\n setColumnCount() {\n return `--col-count: ${this.sections.length};`;\n },\n /* Make CSS styles to apply the users custom background image */\n getBackgroundImage() {\n if (this.appConfig && this.appConfig.backgroundImg) {\n return `background: url('${this.appConfig.backgroundImg}');background-size:cover;`;\n }\n return '';\n },\n /* If theme present, then call helper to apply it, and any custom colors */\n applyTheme() {\n if (this.theme) {\n ApplyLocalTheme(this.theme);\n ApplyCustomVariables(this.theme);\n }\n },\n modalChanged(modalState) {\n this.modalOpen = modalState;\n },\n },\n mounted() {\n this.initiateFontAwesome();\n this.applyTheme();\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/styles/media-queries.scss';\n@import '@/styles/style-helpers.scss';\n\n.minimal-home {\n display: flex;\n flex-direction: column;\n margin: 1rem auto;\n padding-bottom: 1px;\n padding-top: 10vh;\n min-height: calc(99vh - var(--footer-height));\n width: 90%;\n max-width: 1000px;\n background: var(--minimal-view-background-color);\n}\n\n.title-and-search {\n text-align: center;\n h1 {\n color: var(--minimal-view-title-color);\n margin: 0;\n font-size: 3rem;\n }\n a {\n text-decoration: none;\n }\n}\n\n/* Outside container wrapping the item groups*/\n.item-group-container {\n display: grid;\n gap: 0 0.5rem;\n margin: 3rem auto;\n width: 90%;\n grid-template-columns: repeat(var(--col-count), 1fr);\n @extend .scroll-bar;\n\n &.showing-all {\n flex-direction: column;\n display: flex;\n .headings {\n display: none;\n }\n }\n}\n\n @include phone {\n .item-group-container {\n display: flex;\n flex-direction: column;\n }\n}\n\n.no-data {\n font-size: 2rem;\n color: var(--minimal-view-background-color);\n background: #ffffffeb;\n width: fit-content;\n margin: 2rem auto;\n padding: 0.5rem 1rem;\n border-radius: var(--curve-factor);\n}\n\n.minimal-buttons {\n position: absolute;\n top: 0.5rem;\n right: 1rem;\n display: flex;\n .home-page-icon {\n color: var(--minimal-view-settings-color);\n width: 1.5rem;\n height: 1.5rem;\n @extend .svg-button;\n }\n}\n</style>\n\n<style lang=\"scss\">\n.minimal-home .minimal-buttons {\n .config-launcher span.config-label { display: none; }\n svg { opacity: var(--dimming-factor); border: none; }\n &:hover svg { opacity: 1; }\n .view-switcher {\n margin-top: 2rem;\n right: 0;\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minimal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--11-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minimal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Minimal.vue?vue&type=template&id=d888aa64&scoped=true&\"\nimport script from \"./Minimal.vue?vue&type=script&lang=js&\"\nexport * from \"./Minimal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Minimal.vue?vue&type=style&index=0&id=d888aa64&lang=scss&scoped=true&\"\nimport style1 from \"./Minimal.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d888aa64\",\n null\n \n)\n\nexport default component.exports","/**\n * This is the router config, which defined the location for\n * each page within the app, and how they should be loaded\n * Note that the page paths are defined in @/utils/defaults.js\n */\n\n// Import Vue.js and vue router\nimport Vue from 'vue';\nimport Router from 'vue-router';\nimport ProgressBar from 'rsup-progress';\n\n// Import views, that are not lazy-loaded\nimport Home from '@/views/Home.vue';\nimport Login from '@/views/Login.vue';\nimport Workspace from '@/views/Workspace.vue';\nimport Minimal from '@/views/Minimal.vue';\n\n// Import helper functions, config data and defaults\nimport { isAuthEnabled, isLoggedIn, isGuestAccessEnabled } from '@/utils/Auth';\nimport { config } from '@/utils/ConfigHelpers';\nimport { metaTagData, startingView, routePaths } from '@/utils/defaults';\nimport ErrorHandler from '@/utils/ErrorHandler';\n\nVue.use(Router);\nconst progress = new ProgressBar({ color: 'var(--progress-bar)' });\n\n/* Returns true if user is already authenticated, or if auth is not enabled */\nconst isAuthenticated = () => {\n const authEnabled = isAuthEnabled();\n const userLoggedIn = isLoggedIn();\n const guestEnabled = isGuestAccessEnabled();\n return (!authEnabled || userLoggedIn || guestEnabled);\n};\n\n/* Get the users chosen starting view from app config, or return default */\nconst getStartingView = () => config.appConfig.startingView || startingView;\n\n/**\n * Returns the component that should be rendered at the base path,\n * Defaults to Home, but the user can change this to Workspace of Minimal\n */\nconst getStartingComponent = () => {\n const usersPreference = getStartingView();\n switch (usersPreference) {\n case 'default': return Home;\n case 'minimal': return Minimal;\n case 'workspace': return Workspace;\n default: return Home;\n }\n};\n\n/* Returns the meta tags for each route */\nconst makeMetaTags = (defaultTitle) => ({\n title: config.pageInfo.title || defaultTitle,\n metaTags: metaTagData,\n});\n\n/* List of all routes, props, components and metadata */\nconst router = new Router({\n routes: [\n { // The default view can be customized by the user\n path: '/',\n name: `landing-page-${getStartingView()}`,\n component: getStartingComponent(),\n props: config,\n meta: makeMetaTags('Home Page'),\n },\n { // Default home page\n path: routePaths.home,\n name: 'home',\n component: Home,\n props: config,\n meta: makeMetaTags('Home Page'),\n },\n { // Workspace view page\n path: routePaths.workspace,\n name: 'workspace',\n component: Workspace,\n props: config,\n meta: makeMetaTags('Workspace'),\n },\n { // Minimal view page\n path: routePaths.minimal,\n name: 'minimal',\n component: Minimal,\n props: config,\n meta: makeMetaTags('Start Page'),\n },\n { // The login page\n path: routePaths.login,\n name: 'login',\n component: Login,\n props: {\n appConfig: config.appConfig,\n },\n beforeEnter: (to, from, next) => {\n // If the user already logged in + guest mode not enabled, then redirect home\n if (isAuthenticated() && !isGuestAccessEnabled()) router.push({ path: '/' });\n next();\n },\n },\n { // The about app page\n path: routePaths.about,\n name: 'about', // We lazy load the About page so as to not slow down the app\n component: () => import('./views/About.vue'),\n meta: makeMetaTags('About Dashy'),\n },\n { // The export config page\n path: routePaths.download,\n name: 'download',\n component: () => import('./views/DownloadConfig.vue'),\n props: config,\n meta: makeMetaTags('Download Config'),\n },\n { // Page not found, any non-defined routes will land here\n path: routePaths.notFound,\n name: '404',\n component: () => import('./views/404.vue'),\n meta: makeMetaTags('404 Not Found'),\n beforeEnter: (to, from, next) => {\n if (to.redirectedFrom) { // Log error, if redirected here from another route\n ErrorHandler(`Route not found: '${to.redirectedFrom}'`);\n }\n next();\n },\n },\n { // Redirect any not-found routed to the 404 view\n path: '*',\n redirect: '/404',\n },\n ],\n});\n\n/**\n * Before loading a route, check if the user has authentication enabled\n * if so, then ensure that they are correctly logged in as a valid user\n * If not logged in, prevent all access and redirect them to login page\n * */\nrouter.beforeEach((to, from, next) => {\n progress.start();\n if (to.name !== 'login' && !isAuthenticated()) next({ name: 'login' });\n else next();\n});\n\n/* If title is missing, then apply default page title */\nrouter.afterEach((to) => {\n progress.end();\n Vue.nextTick(() => {\n document.title = to.meta.title || 'Dashy';\n });\n});\n\n// All done - export the now configured router\nexport default router;\n","import { register } from 'register-service-worker';\nimport { sessionStorageKeys } from '@/utils/defaults';\nimport { statusMsg, statusErrorMsg } from '@/utils/CoolConsole';\nimport conf from '../../public/conf.yml';\n\n/* Sets a local storage item with the state from the SW lifecycle */\nconst setSwStatus = (swStateToSet) => {\n const initialSwState = {\n ready: false,\n registered: false,\n cached: false,\n updateFound: false,\n updated: false,\n offline: false,\n error: false,\n devMode: false,\n disabledByUser: false,\n };\n const sessionData = sessionStorage[sessionStorageKeys.SW_STATUS];\n const currentSwState = sessionData ? JSON.parse(sessionData) : initialSwState;\n try {\n const newSwState = { ...currentSwState, ...swStateToSet };\n sessionStorage.setItem(sessionStorageKeys.SW_STATUS, JSON.stringify(newSwState));\n } catch (e) {\n statusErrorMsg('Service Worker Status', 'Error Updating SW Status', e);\n }\n};\n\n/**\n * Checks if service workers should be enabled\n * Disable if not running in production\n * Or disable if user specified to disable\n */\nconst shouldEnableServiceWorker = () => {\n if (conf && conf.appConfig && conf.appConfig.enableServiceWorker) {\n setSwStatus({ disabledByUser: false });\n return true;\n } else if (process.env.NODE_ENV !== 'production') {\n setSwStatus({ devMode: true });\n return false;\n }\n setSwStatus({ disabledByUser: true });\n return false;\n};\n\n/* Calls to the print status function */\nconst printSwStatus = (msg) => {\n statusMsg('Service Worker Status', msg);\n};\n\nconst swUrl = `${process.env.BASE_URL || '/'}service-worker.js`;\n\n/* If service worker enabled, then register it, and print message when status changes */\nconst registerServiceWorker = () => {\n if (shouldEnableServiceWorker()) {\n register(swUrl, {\n ready() {\n setSwStatus({ ready: true });\n printSwStatus(\n 'Dashy is being served from cache by a service worker.\\n'\n + 'For more details, visit https://goo.gl/AFskqB',\n );\n },\n registered() {\n setSwStatus({ registered: true });\n printSwStatus('Service worker has been registered.');\n },\n cached() {\n setSwStatus({ cached: true });\n printSwStatus('App has been cached for offline use.');\n },\n updatefound() {\n setSwStatus({ updateFound: true });\n printSwStatus('New content is downloading...');\n },\n updated() {\n setSwStatus({ updated: true });\n printSwStatus('New content is available; please refresh the page.');\n },\n offline() {\n setSwStatus({ offline: true });\n printSwStatus('No internet connection found. Dashy is running in offline mode.');\n },\n error(error) {\n setSwStatus({ error: true });\n statusErrorMsg('Service Worker Status', 'Error during SW registration', error);\n },\n });\n }\n};\n\nexport default registerServiceWorker;\n","/**\n * A simple Vue directive to trigger an event when the user\n * clicks anywhere other than the specified element.\n * Used to close context menu's popup menus and tips.\n */\n\nconst instances = [];\n\nfunction onDocumentClick(e, el, fn) {\n const { target } = e;\n if (el !== target && !el.contains(target)) {\n fn(e);\n }\n}\n\nexport default {\n bind(element, binding) {\n const el = element;\n el.dataset.outsideClickIndex = instances.length;\n\n const fn = binding.value;\n const click = (e) => {\n onDocumentClick(e, el, fn);\n };\n\n document.addEventListener('click', click);\n document.addEventListener('touchstart', click);\n instances.push(click);\n },\n unbind(el) {\n if (!el.dataset) return;\n const index = el.dataset.outsideClickIndex;\n const handler = instances[index];\n document.removeEventListener('click', handler);\n instances.splice(index, 1);\n },\n};\n","/**\n * NOTE: No data is EVER sent to any external service without your explicit consent.\n * In the case of error reporting, Sentry will not even be initialized unless\n * you have purposely set appConfig.enableErrorReporting: true.\n * It is false by default.\n * You may want to enable error reporting if you have encountered a bug,\n * as access to the console errors enable it to be triaged an fixed effectively\n */\n\n/* eslint-disable global-require */\n\nimport ConfigAccumulator from '@/utils/ConfigAccumalator';\nimport { sentryDsn } from '@/utils/defaults';\n\nconst ErrorReporting = (Vue, router) => {\n // Fetch users config\n const appConfig = new ConfigAccumulator().appConfig() || {};\n // Check if error reporting is enabled. Only proceed if user has turned it on.\n if (appConfig.enableErrorReporting) {\n // Get current app version\n const appVersion = process.env.VUE_APP_VERSION ? `Dashy@${process.env.VUE_APP_VERSION}` : '';\n // Import Sentry\n const Sentry = require('@sentry/vue');\n const { Integrations } = require('@sentry/tracing');\n // Get the Data Source Name for your or Dashy's Sentry instance\n const dsn = appConfig.sentryDsn || sentryDsn;\n // Initialize Sentry\n Sentry.init({\n Vue,\n dsn,\n integrations: [\n new Integrations.BrowserTracing({\n routingInstrumentation: Sentry.vueRouterInstrumentation(router),\n }),\n ],\n tracesSampleRate: 1.0,\n release: appVersion,\n });\n } else {\n // Error reporting has not been enabled by the user. Do Nothing.\n }\n};\n\nexport default ErrorReporting;\n","/* eslint-disable no-multi-spaces */\n// Import core framework and essential utils\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'; // i18n for localization\nimport Keycloak from 'keycloak-js';\n\n// Import component Vue plugins, used throughout the app\nimport VTooltip from 'v-tooltip'; // A Vue directive for Popper.js, tooltip component\nimport VModal from 'vue-js-modal'; // Modal component\nimport VSelect from 'vue-select'; // Select dropdown component\nimport VTabs from 'vue-material-tabs'; // Tab view component, used on the config page\nimport Toasted from 'vue-toasted'; // Toast component, used to show confirmation notifications\n\n// Import base Dashy components and utils\nimport Dashy from '@/App.vue'; // Main Dashy Vue app\nimport router from '@/router'; // Router, for navigation\nimport serviceWorker from '@/utils/InitServiceWorker'; // Service worker initialization\nimport clickOutside from '@/utils/ClickOutside'; // Directive for closing popups, modals, etc\nimport { messages } from '@/utils/languages'; // Language texts\nimport ErrorReporting from '@/utils/ErrorReporting'; // Error reporting initializer (off)\nimport { toastedOptions, tooltipOptions, language as defaultLanguage } from '@/utils/defaults';\nimport { isKeycloakEnabled, getKeycloakConfig } from '@/utils/Auth'; // Keycloak auth config\n\n// Initialize global Vue components\nVue.use(VueI18n);\nVue.use(VTooltip, tooltipOptions);\nVue.use(VModal);\nVue.use(VTabs);\nVue.use(Toasted, toastedOptions);\nVue.component('v-select', VSelect);\nVue.directive('clickOutside', clickOutside);\n\nVue.config.productionTip = false; // Disable annoying console message\n\n// Setup i18n translations\nconst i18n = new VueI18n({\n locale: defaultLanguage,\n fallbackLocale: defaultLanguage,\n messages,\n});\n\n// Checks if service worker not disable, and if so will registers it\nserviceWorker();\n\n// Checks if user enabled error reporting, and if so will initialize it\nErrorReporting(Vue, router);\n\n// Render function\nconst render = (awesome) => awesome(Dashy);\n\n// If Keycloak not enabled, then proceed straight to the app\nif (!isKeycloakEnabled()) {\n new Vue({ router, render, i18n }).$mount('#app');\n} else { // Keycloak is enabled, redirect to KC login page\n const { serverUrl, realm, clientId } = getKeycloakConfig();\n const initOptions = {\n url: `${serverUrl}/auth`, realm, clientId, onLoad: 'login-required',\n };\n const keycloak = Keycloak(initOptions);\n keycloak.init({ onLoad: initOptions.onLoad }).then((auth) => {\n if (!auth) {\n // Not authenticated, reload to Keycloak login page\n window.location.reload();\n } else {\n // Yay - user successfully authenticated with Keycloak, render the app!\n new Vue({ router, render, i18n }).$mount('#app');\n }\n });\n}\n","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-sliders-h fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-th-list fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"th-list\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M149.333 216v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-80c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 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 24zM125.333 32H24C10.745 32 0 42.745 0 56v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zm80 448H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm-24-424v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24zm24 264H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-home fa-w-18\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"home\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 576 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M570.24 247.41L512 199.52V104a8 8 0 00-8-8h-32a8 8 0 00-7.95 7.88v56.22L323.87 45a56.06 56.06 0 00-71.74 0L5.76 247.41a16 16 0 00-2 22.54L14 282.25a16 16 0 0022.53 2L64 261.69V448a32.09 32.09 0 0032 32h128a32.09 32.09 0 0032-32V344h64v104a32.09 32.09 0 0032 32h128a32.07 32.07 0 0032-31.76V261.67l27.53 22.62a16 16 0 0022.53-2L572.29 270a16 16 0 00-2.05-22.59zM463.85 432H368V328a32.09 32.09 0 00-32-32h-96a32.09 32.09 0 00-32 32v104h-96V222.27L288 77.65l176 144.56z\"}})])\n )\n }\n }\n ","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","module.exports = {\n /* Default pageInfo object, used if user does not specify their own */\n pageInfo: {\n title: 'Dashy',\n description: '',\n navLinks: [\n { title: 'Home', path: '/' },\n { title: 'Source', path: 'https://github.com/Lissy93/dashy' },\n ],\n footerText: '',\n },\n /* Default appConfig to be used, if user does not specify their own */\n appConfig: {},\n /* Default language code */\n language: 'en',\n /* The page to use as the starting homepage */\n startingView: 'default',\n /* Default icon size to be applied on initial load */\n iconSize: 'medium',\n /* Default layout to be applied on initial load */\n layout: 'auto',\n /* Default theme to be applied on initial load */\n theme: 'default',\n /* Default Font-Awesome API key, for FA icons (if used) */\n fontAwesomeKey: '0821c65656',\n /* Default API to use for fetching of user service favicon icons (if enabled) */\n faviconApi: 'faviconkit',\n /* The default sort order for sections */\n sortOrder: 'default',\n /* The page paths for each route within the app for the router */\n routePaths: {\n home: '/home',\n minimal: '/minimal',\n workspace: '/workspace',\n about: '/about',\n login: '/login',\n download: '/download',\n notFound: '/404',\n },\n /* Server Endpoints */\n serviceEndpoints: {\n statusPing: '/status-ping',\n statusCheck: '/status-check',\n save: '/config-manager/save',\n rebuild: '/config-manager/rebuild',\n },\n /* List of built-in themes, to be displayed within the theme-switcher dropdown */\n builtInThemes: [\n 'callisto',\n 'oblivion',\n 'material',\n 'material-dark',\n 'dracula',\n 'colorful',\n 'dashy-docs',\n 'minimal-dark',\n 'minimal-light',\n 'nord',\n 'nord-frost',\n 'thebe',\n 'cyberpunk',\n 'matrix',\n 'matrix-red',\n 'raspberry-jam',\n 'bee',\n 'tiger',\n 'vaporware',\n 'material-original',\n 'material-dark-original',\n 'high-contrast-dark',\n 'high-contrast-light',\n ],\n /* Which structural components should be visible by default */\n visibleComponents: {\n splashScreen: false,\n navigation: true,\n pageTitle: true,\n searchBar: true,\n settings: true,\n footer: true,\n },\n /* A list of route names that page furniture (header, footer, etc) should be hidden on */\n hideFurnitureOn: [\n 'minimal',\n 'login',\n 'download',\n 'landing-page-minimal',\n // '404',\n ],\n /* Key names for local storage identifiers */\n localStorageKeys: {\n LANGUAGE: 'language',\n HIDE_WELCOME_BANNER: 'hideWelcomeHelpers',\n LAYOUT_ORIENTATION: 'layoutOrientation',\n COLLAPSE_STATE: 'collapseState',\n ICON_SIZE: 'iconSize',\n THEME: 'theme',\n CUSTOM_COLORS: 'customColors',\n CONF_SECTIONS: 'confSections',\n PAGE_INFO: 'pageInfo',\n APP_CONFIG: 'appConfig',\n BACKUP_ID: 'backupId',\n BACKUP_HASH: 'backupHash',\n HIDE_SETTINGS: 'hideSettings',\n USERNAME: 'username',\n MOST_USED: 'mostUsed',\n LAST_USED: 'lastUsed',\n },\n /* Key names for cookie identifiers */\n cookieKeys: {\n AUTH_TOKEN: 'authenticationToken',\n },\n /* Key names for session storage identifiers */\n sessionStorageKeys: {\n SW_STATUS: 'serviceWorkerStatus',\n ERROR_LOG: 'errorLog',\n },\n /* Unique IDs of modals within the app */\n modalNames: {\n CONF_EDITOR: 'CONF_EDITOR',\n CLOUD_BACKUP: 'CLOUD_BACKUP',\n REBUILD_APP: 'REBUILD_APP',\n THEME_MAKER: 'THEME_MAKER',\n ABOUT_APP: 'ABOUT_APP',\n LANG_SWITCHER: 'LANG_SWITCHER',\n },\n /* Key names for the top-level objects in conf.yml */\n topLevelConfKeys: {\n PAGE_INFO: 'pageInfo',\n APP_CONFIG: 'appConfig',\n SECTIONS: 'sections',\n },\n /* Which CSS variables to show in the first view of theme configurator */\n mainCssVars: ['primary', 'background', 'background-darker'],\n /* Amount of time to show splash screen, when enabled, in milliseconds */\n splashScreenTime: 1900,\n /* Page meta-data, rendered in the header of each view */\n metaTagData: [\n { name: 'description', content: 'A simple static homepage for you\\'re server' },\n ],\n /* Default option for Toast messages */\n toastedOptions: {\n position: 'bottom-center',\n duration: 2500,\n keepOnHover: true,\n className: 'toast-message',\n iconPack: 'fontawesome',\n },\n /* Default tooltip options */\n tooltipOptions: {\n defaultTrigger: 'hover focus',\n defaultHideOnTargetClick: true,\n autoHide: true,\n defaultHtml: false,\n defaultPlacement: 'auto',\n defaultLoadingContent: 'Loading...',\n defaultDelay: { show: 380, hide: 0 },\n // delay: { show: 380, hide: 0 },\n },\n /* Server location of the Backup & Sync cloud function */\n backupEndpoint: 'https://dashy-sync-service.as93.net',\n /* Available services for fetching favicon icon for user apps */\n faviconApiEndpoints: {\n mcapi: 'https://eu.mc-api.net/v3/server/favicon/$URL',\n clearbit: 'https://logo.clearbit.com/$URL',\n faviconkit: 'https://api.faviconkit.com/$URL/64',\n google: 'https://www.google.com/s2/favicons?sz=128&domain_url=$URL',\n allesedv: 'https://f1.allesedv.com/128/$URL',\n webmasterapi: 'https://api.webmasterapi.com/v1/favicon/yEwx0ZFs0CSPshHq/$URL',\n },\n /* The URL to CDNs used for external icons. These are only loaded when required */\n iconCdns: {\n fa: 'https://kit.fontawesome.com',\n mdi: 'https://cdn.jsdelivr.net/npm/@mdi/font@5.9.55/css/materialdesignicons.min.css',\n si: 'https://unpkg.com/simple-icons@v5/icons',\n generative: 'https://avatars.dicebear.com/api/identicon/{icon}.svg',\n localPath: '/item-icons',\n faviconName: 'favicon.ico',\n homeLabIcons: 'https://raw.githubusercontent.com/WalkxCode/dashboard-icons/master/png/{icon}.png',\n },\n /* URLs for web search engines */\n searchEngineUrls: {\n // Common\n duckduckgo: 'https://duckduckgo.com/?q=',\n google: 'https://google.com/search?q=',\n whoogle: 'https://whoogle.sdf.org/search?q=',\n qwant: 'https://www.qwant.com/?q=',\n startpage: 'https://www.startpage.com/do/search?query=',\n // Niche\n 'searx-bar': 'https://searx.bar/search?q=',\n 'searx-info': 'https://searx.info/search?q=',\n 'searx-tiekoetter': 'https://searx.tiekoetter.com/search?q=',\n 'searx-bissisoft': 'https://searx.bissisoft.com/search?q=',\n ecosia: 'https://www.ecosia.org/search?q=',\n metager: 'https://metager.org/meta/meta.ger3?eingabe=',\n swisscows: 'https://swisscows.com/web?query=',\n mojeek: 'https://www.mojeek.com/search?q=',\n peekier: 'https://peekier.com/#!',\n // Specific\n wikipedia: 'https://en.wikipedia.org/w/?search=',\n stackoverflow: 'https://stackoverflow.com/search?q=',\n wolframalpha: 'https://www.wolframalpha.com/input/?i=',\n reddit: 'https://www.reddit.com/search/?q=',\n youtube: 'https://youtube.com/results?q=',\n github: 'https://github.com/search?q=',\n bbc: 'https://www.bbc.co.uk/search?q=',\n },\n defaultSearchEngine: 'duckduckgo',\n defaultSearchOpeningMethod: 'newtab',\n searchBangs: {\n '/b': 'bbc',\n '/d': 'duckduckgo',\n '/g': 'google',\n '/r': 'reddit',\n '/w': 'wikipedia',\n '/y': 'youtube',\n '/gh': 'github',\n '/so': 'stackoverflow',\n '/wa': 'wolframalpha',\n },\n /* Available built-in colors for the theme builder */\n swatches: [\n ['#eb5cad', '#985ceb', '#5346f3', '#5c90eb'],\n ['#5cdfeb', '#00CCB4', '#5ceb8d', '#afeb5c'],\n ['#eff961', '#ebb75c', '#eb615c', '#eb2d6c'],\n ['#060913', '#141b33', '#1c2645', '#263256'],\n ['#2b2d42', '#1a535c', '#372424', '#312437'],\n ['#f5f5f5', '#d9d9d9', '#bfbfbf', '#9a9a9a'],\n ['#636363', '#363636', '#313941', '#0d0d0d'],\n ],\n /* Use your own self-hosted Sentry instance. Only used if error reporting is turned on */\n sentryDsn: 'https://3138ea85f15a4fa883a5b27a4dc8ee28@o937511.ingest.sentry.io/5887934',\n /* A JS enum for indicating the user state, when guest mode + authentication is enabled */\n userStateEnum: {\n notConfigured: 0,\n loggedIn: 1,\n guestAccess: 2,\n notLoggedIn: 3,\n },\n /* Progressive Web App settings, used by Vue Config */\n pwa: {\n name: 'Dashy',\n manifestPath: './manifest.json',\n themeColor: '#00af87',\n msTileColor: '#0b1021',\n mode: 'production',\n iconPaths: {\n manifestCrossorigin: 'use-credentials',\n favicon64: './web-icons/favicon-64x64.png',\n favicon32: './web-icons/favicon-32x32.png',\n maskIcon: './web-icons/dashy-logo.png',\n msTileImage: './web-icons/dashy-logo.png',\n },\n },\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LayoutSelector.vue?vue&type=style&index=0&id=b3a6111c&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-times-circle fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"100\",\"height\":\"100\",\"preserveAspectRatio\":\"xMidYMid\"}, attrs),\n ...rest,\n },\n children.concat([_c('defs',[_c('clipPath',{attrs:{\"id\":\"a\"}},[_c('path',{attrs:{\"d\":\"M20 0h60v100H20z\"}})])]),_c('path',{attrs:{\"fill\":\"none\",\"stroke\":\"var(--primary, #00af87)\",\"stroke-width\":\"6\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"10\",\"clip-path\":\"url(#a)\",\"d\":\"M90 76.7V28.3c0-2.7-2.2-5-5-5h-3.4c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5h-3.4c-2.7 0-5-2.2-5-5V28.3c0-2.7-2.2-5-5-5H55c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5h-3.4c-2.7 0-5-2.2-5-5V28.3c0-2.7-2.2-5-5-5h-3.4c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5H15c-2.7 0-5-2.2-5-5V23.3\"}},[_c('animateTransform',{attrs:{\"attributeName\":\"transform\",\"type\":\"translate\",\"repeatCount\":\"indefinite\",\"dur\":\"1.4925373134328357s\",\"values\":\"-20 0;7 0\",\"keyTimes\":\"0;1\"}}),_c('animate',{attrs:{\"attributeName\":\"stroke-dasharray\",\"repeatCount\":\"indefinite\",\"dur\":\"1.4925373134328357s\",\"values\":\"0 72 125 232;0 197 125 233\",\"keyTimes\":\"0;1\"}})])])\n )\n }\n }\n ","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minimal.vue?vue&type=style&index=1&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-cloud-upload-alt fa-w-20\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextMenu.vue?vue&type=style&index=0&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-expand fa-w-14\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"expand\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 448 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minimal.vue?vue&type=style&index=0&id=d888aa64&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthButtons.vue?vue&type=style&index=0&id=67393502&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigLauncher.vue?vue&type=style&index=0&id=199b60a3&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-css3-alt fa-w-12\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiTaskingWebComtent.vue?vue&type=style&index=0&id=2a7b9297&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatusIndicator.vue?vue&type=style&index=0&id=d1a6f18c&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=style&index=0&id=7c0cff8c&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonEditor.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Item.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MinimalHeading.vue?vue&type=style&index=0&id=5f187f16&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemSizeSelector.vue?vue&type=style&index=0&id=1ff45660&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloudBackupRestore.vue?vue&type=style&index=0&id=2c1cbd90&scoped=true&lang=scss&\"","module.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\"}]}]}","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-window-close fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"window-close\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-save fa-w-14\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"save\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 448 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-expand-arrows-alt fa-w-14\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyboardShortcutInfo.vue?vue&type=style&index=0&id=c5f17d9a&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"d\":\"M132.893 310.534l-30.082 10.911L91.9 291.364l30.081-10.911z\"}}),_c('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\"}}),_c('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\"}}),_c('path',{attrs:{\"d\":\"M96.656 243.686L85.721 213.63l30.07-10.94 10.935 30.055z\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCss.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=style&index=0&id=d162889c&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppVersion.vue?vue&type=style&index=0&id=3b1179a6&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=6b8e7f1e&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemOpenMethodIcon.vue?vue&type=style&index=0&id=b0684bc4&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=style&index=0&id=41c07888&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Section.vue?vue&type=style&index=0&id=76304559&scoped=true&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-table fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"table\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64v-96h160v96zm0-160H64v-96h160v96zm224 160H288v-96h160v96zm0-160H288v-96h160v96z\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-file-download fa-w-12\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Nav.vue?vue&type=style&index=0&id=68c1bd5c&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBarItem.vue?vue&type=style&index=0&id=b3babe3c&lang=scss&scoped=true&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-compress-arrows-alt fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n 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\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemIcon.vue?vue&type=style&index=0&lang=scss&\"","module.exports = /(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\u0023-\\u0039]\\ufe0f?\\u20e3|\\u3299|\\u3297|\\u303d|\\u3030|\\u24c2|\\ud83c[\\udd70-\\udd71]|\\ud83c[\\udd7e-\\udd7f]|\\ud83c\\udd8e|\\ud83c[\\udd91-\\udd9a]|\\ud83c[\\udde6-\\uddff]|[\\ud83c[\\ude01-\\ude02]|\\ud83c\\ude1a|\\ud83c\\ude2f|[\\ud83c[\\ude32-\\ude3a]|[\\ud83c[\\ude50-\\ude51]|\\u203c|\\u2049|[\\u25aa-\\u25ab]|\\u25b6|\\u25c0|[\\u25fb-\\u25fe]|\\u00a9|\\u00ae|\\u2122|\\u2139|\\ud83c\\udc04|[\\u2600-\\u26FF]|\\u2b05|\\u2b06|\\u2b07|\\u2b1b|\\u2b1c|\\u2b50|\\u2b55|\\u231a|\\u231b|\\u2328|\\u23cf|[\\u23e9-\\u23f3]|[\\u23f8-\\u23fa]|\\ud83c\\udccf|\\u2934|\\u2935|[\\u2190-\\u21ff])/;\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideBar.vue?vue&type=style&index=0&id=7296886d&lang=scss&scoped=true&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-download fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fal\",\"data-icon\":\"download\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-edit fa-w-18\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"far\",\"data-icon\":\"edit\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 576 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('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\"}})])\n )\n }\n }\n ","import { typeOf } from 'remedial';\n\nconst trimWhitespace = (input) => input.split('\\n').map(x => x.trimRight()).join('\\n');\n\nconst throwError = (msg) => {\n throw new Error(`Error in Json to YAML conversion: ${msg}`);\n};\n\n/* A function that converts valid JSON into valid YAML */\nconst stringify = (data) => {\n let indentLevel = '';\n const handlers = {\n undefined() {\n return 'null';\n },\n null() {\n return 'null';\n },\n number(x) {\n return x;\n },\n boolean(x) {\n return x ? 'true' : 'false';\n },\n string(x) {\n return JSON.stringify(x);\n },\n array(x) {\n let output = '';\n if (x.length === 0) {\n output += '[]';\n return output;\n }\n\n indentLevel = indentLevel.replace(/$/, ' ');\n x.forEach((y) => {\n const handler = handlers[typeOf(y)];\n\n if (!handler) throwError(typeOf(y));\n\n output += `\\n${indentLevel}- ${handler(y, true)}`;\n });\n indentLevel = indentLevel.replace(/ {2}/, '');\n\n return output;\n },\n object(x, inArray, rootNode) {\n let output = '';\n\n if (Object.keys(x).length === 0) {\n output += '{}';\n return output;\n }\n\n if (!rootNode) {\n indentLevel = indentLevel.replace(/$/, ' ');\n }\n\n Object.keys(x).forEach((k, i) => {\n const val = x[k];\n const handler = handlers[typeOf(val)];\n\n if (typeof val === 'undefined') {\n return;\n }\n\n if (!handler) throwError(typeOf(val));\n\n if (!(inArray && i === 0)) {\n output += `\\n${indentLevel}`;\n }\n\n output += `${k}: ${handler(val)}`;\n });\n indentLevel = indentLevel.replace(/ {2}/, '');\n\n return output;\n },\n function() {\n return '[object Function]';\n },\n };\n\n return trimWhitespace(`${handlers[typeOf(data)](data, true, true)}\\n`);\n};\n\nexport default stringify;\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Workspace.vue?vue&type=style&index=0&id=0f1a789a&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Collapsable.vue?vue&type=style&index=0&id=ac1beaa4&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageTitle.vue?vue&type=style&index=0&id=28f9cb72&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IframeModal.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LanguageSwitcher.vue?vue&type=style&index=1&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LanguageSwitcher.vue?vue&type=style&index=0&id=1720d3c1&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Item.vue?vue&type=style&index=1&lang=scss&\"","\n module.exports = {\n functional: true,\n render(_h, _vm) {\n const { _c, _v, data, children = [] } = _vm;\n\n const {\n class: classNames,\n staticClass,\n style,\n staticStyle,\n attrs = {},\n ...rest\n } = data;\n\n return _c(\n 'svg',\n {\n class: [\"svg-inline--fa fa-columns fa-w-16\",classNames,staticClass],\n style: [style,staticStyle],\n attrs: Object.assign({\"aria-hidden\":\"true\",\"data-prefix\":\"fas\",\"data-icon\":\"columns\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}, attrs),\n ...rest,\n },\n children.concat([_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z\"}})])\n )\n }\n }\n "],"sourceRoot":""} |