style(ui): Improve login UI design
This commit is contained in:
1 parent
0b4720d94b
commit
1613274cb0
9 files changed
+72
-30
No files matched your search
+31
-13
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div v-if="retrievedConfig" class="container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500" id="global">
|
||||
<Loading v-if="!retrievedConfig" class="h-64 w-64 px-4" />
|
||||
<div v-else :class="[config && config.oidc && !config.authenticated ? 'hidden' : '', 'container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500']" id="global">
|
||||
<div class="mb-2">
|
||||
<div class="flex flex-wrap">
|
||||
<div class="w-3/4 text-left my-auto">
|
||||
@@ -7,25 +8,40 @@
|
||||
</div>
|
||||
<div class="w-1/4 flex justify-end">
|
||||
<a :href="link" target="_blank" style="width:100px">
|
||||
<img v-if="logo" :src="logo" alt="Gatus" class="object-scale-down" style="max-width: 100px; min-width: 50px; min-height:50px;"/>
|
||||
<img v-else src="./assets/logo.svg" alt="Gatus" class="object-scale-down" style="max-width: 100px; min-width: 50px; min-height:50px;"/>
|
||||
<img v-if="logo" :src="logo" alt="Gatus" class="object-scale-down" style="max-width: 100px; min-width: 50px; min-height:50px;" />
|
||||
<img v-else src="./assets/logo.svg" alt="Gatus" class="object-scale-down" style="max-width: 100px; min-width: 50px; min-height:50px;" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="$route && $route.query.error" class="text-red-500 text-center my-2">
|
||||
<div class="text-xl">
|
||||
<span class="text-red-500" v-if="$route.query.error === 'access_denied'">You do not have access to this status page</span>
|
||||
<span class="text-red-500" v-else>{{ $route.query.error }}</span>
|
||||
<router-view @showTooltip="showTooltip" />
|
||||
</div>
|
||||
|
||||
<div v-if="config && config.oidc && !config.authenticated" class="mx-auto max-w-md pt-12">
|
||||
<img src="./assets/logo.svg" alt="Gatus" class="mx-auto" style="max-width:160px; min-width:50px; min-height:50px;"/>
|
||||
<h2 class="mt-4 text-center text-4xl font-extrabold text-gray-800 dark:text-gray-200">
|
||||
Gatus
|
||||
</h2>
|
||||
<div class="mt-8 py-7 px-4 rounded-sm sm:bg-gray-100 sm:border sm:border-gray-300 sm:shadow-2xl sm:px-10">
|
||||
<div class="sm:mx-auto sm:w-full">
|
||||
<h2 class="mb-4 text-center text-xl font-bold text-gray-600 dark:text-gray-200 dark:sm:text-gray-600 ">
|
||||
Sign in
|
||||
</h2>
|
||||
</div>
|
||||
<div v-if="$route && $route.query.error" class="text-red-500 text-center my-2">
|
||||
<div class="text-xl">
|
||||
<span class="text-red-500" v-if="$route.query.error === 'access_denied'">You do not have access to this status page</span>
|
||||
<span class="text-red-500" v-else>{{ $route.query.error }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a :href="`${SERVER_URL}/oidc/login`" class="max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-green-800 rounded-md shadow-lg text-sm text-white bg-green-700 hover:bg-green-800">
|
||||
Login with OIDC
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="config && config.oidc && !config.authenticated">
|
||||
<a :href="`${SERVER_URL}/oidc/login`" class="max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-lg text-white bg-green-700 hover:bg-green-800">
|
||||
Login with OIDC
|
||||
</a>
|
||||
</div>
|
||||
<router-view @showTooltip="showTooltip"/>
|
||||
</div>
|
||||
|
||||
<Tooltip :result="tooltip.result" :event="tooltip.event"/>
|
||||
<Social/>
|
||||
</template>
|
||||
@@ -35,10 +51,12 @@
|
||||
import Social from './components/Social.vue'
|
||||
import Tooltip from './components/Tooltip.vue';
|
||||
import {SERVER_URL} from "@/main";
|
||||
import Loading from "@/components/Loading";
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
Loading,
|
||||
Social,
|
||||
Tooltip
|
||||
},
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="flex justify-center items-center mx-auto">
|
||||
<img :class="`animate-spin opacity-60 rounded-full`" src="../assets/logo.svg" alt="Gatus logo" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
@@ -22,34 +22,34 @@
|
||||
<div class="flex space-x-4 text-center text-2xl mt-6 relative bottom-2 mb-10">
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last 7 days</h2>
|
||||
<img :src="generateUptimeBadgeImageURL('7d')" alt="7d uptime badge" class="mx-auto" />
|
||||
<img :src="generateUptimeBadgeImageURL('7d')" alt="7d uptime badge" class="mx-auto"/>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last 24 hours</h2>
|
||||
<img :src="generateUptimeBadgeImageURL('24h')" alt="24h uptime badge" class="mx-auto" />
|
||||
<img :src="generateUptimeBadgeImageURL('24h')" alt="24h uptime badge" class="mx-auto"/>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last hour</h2>
|
||||
<img :src="generateUptimeBadgeImageURL('1h')" alt="1h uptime badge" class="mx-auto" />
|
||||
<img :src="generateUptimeBadgeImageURL('1h')" alt="1h uptime badge" class="mx-auto"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="endpointStatus && endpointStatus.key" class="mt-12">
|
||||
<h1 class="text-xl xl:text-3xl font-mono text-gray-400">RESPONSE TIME</h1>
|
||||
<hr/>
|
||||
<img :src="generateResponseTimeChartImageURL()" alt="response time chart" class="mt-6" />
|
||||
<img :src="generateResponseTimeChartImageURL()" alt="response time chart" class="mt-6"/>
|
||||
<div class="flex space-x-4 text-center text-2xl mt-6 relative bottom-2 mb-10">
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last 7 days</h2>
|
||||
<img :src="generateResponseTimeBadgeImageURL('7d')" alt="7d response time badge" class="mx-auto mt-2" />
|
||||
<img :src="generateResponseTimeBadgeImageURL('7d')" alt="7d response time badge" class="mx-auto mt-2"/>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last 24 hours</h2>
|
||||
<img :src="generateResponseTimeBadgeImageURL('24h')" alt="24h response time badge" class="mx-auto mt-2" />
|
||||
<img :src="generateResponseTimeBadgeImageURL('24h')" alt="24h response time badge" class="mx-auto mt-2"/>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h2 class="text-sm text-gray-400 mb-1">Last hour</h2>
|
||||
<img :src="generateResponseTimeBadgeImageURL('1h')" alt="1h response time badge" class="mx-auto mt-2" />
|
||||
<img :src="generateResponseTimeBadgeImageURL('1h')" alt="1h response time badge" class="mx-auto mt-2"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -105,8 +105,9 @@ export default {
|
||||
fetchData() {
|
||||
//console.log("[Details][fetchData] Fetching data");
|
||||
fetch(`${this.serverUrl}/api/v1/endpoints/${this.$route.params.key}/statuses?page=${this.currentPage}`, {credentials: 'include'})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
.then(response => {
|
||||
if (response.status === 200) {
|
||||
response.json().then(data => {
|
||||
if (JSON.stringify(this.endpointStatus) !== JSON.stringify(data)) {
|
||||
this.endpointStatus = data;
|
||||
this.uptime = data.uptime;
|
||||
@@ -141,6 +142,12 @@ export default {
|
||||
this.events = events;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
response.text().then(text => {
|
||||
console.log(`[Details][fetchData] Error: ${text}`);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
generateUptimeBadgeImageURL(duration) {
|
||||
return `${this.serverUrl}/api/v1/endpoints/${this.endpointStatus.key}/uptimes/${duration}/badge.svg`;
|
||||
|
||||
@@ -25,14 +25,20 @@ export default {
|
||||
emits: ['showTooltip', 'toggleShowAverageResponseTime'],
|
||||
methods: {
|
||||
fetchData() {
|
||||
//console.log("[Home][fetchData] Fetching data");
|
||||
fetch(`${SERVER_URL}/api/v1/endpoints/statuses?page=${this.currentPage}`, {credentials: 'include'})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
.then(response => {
|
||||
if (response.status === 200) {
|
||||
response.json().then(data => {
|
||||
if (JSON.stringify(this.endpointStatuses) !== JSON.stringify(data)) {
|
||||
this.endpointStatuses = data;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
response.text().then(text => {
|
||||
console.log(`[Home][fetchData] Error: ${text}`);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
changePage(page) {
|
||||
this.currentPage = page;
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
/*
|
||||
! tailwindcss v3.0.8 | MIT License | https://tailwindcss.com
|
||||
*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Consolas,Monaco,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.top-2{top:.5rem}.left-2{left:.5rem}.bottom-2{bottom:.5rem}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-top:auto;margin-bottom:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.mt-12{margin-top:3rem}.mt-6{margin-top:1.5rem}.mb-10{margin-bottom:2.5rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.w-3\/4{width:75%}.w-1\/4{width:25%}.w-full{width:100%}.w-1\/2{width:50%}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.overflow-x-hidden{overflow-x:hidden}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-transparent{border-color:transparent}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-bordeLine truncated
|
||||
*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Consolas,Monaco,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.top-2{top:.5rem}.left-2{left:.5rem}.bottom-2{bottom:.5rem}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-top:auto;margin-bottom:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mb-4{margin-bottom:1rem}.mt-3{margin-top:.75rem}.mt-12{margin-top:3rem}.mt-6{margin-top:1.5rem}.mb-10{margin-bottom:2.5rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-64{height:16rem}.w-64{width:16rem}.w-3\/4{width:75%}.w-1\/4{width:25%}.w-full{width:100%}.w-1\/2{width:50%}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*var(--tw-space-x-reverse));margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))}.overflow-x-hidden{overflow-x:hidden}.rounded-sm{border-radius:.125rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashLine truncated
|
||||
@@ -1 +1 @@
|
||||
(function(){"use strict";var e={5906:function(e,t,n){n.d(t,{L:function(){return Vt}});n(6992),n(8674),n(9601),n(7727);var o=n(9963),s=(n(9254),n(6252)),r=n(3577),i=n.p+"img/logo.svg",a={key:0,class:"container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500",id:"global"},l={class:"mb-2"},u={class:"flex flex-wrap"},g={class:"w-3/4 text-left my-auto"},c={class:"text-3xl xl:text-5xl lg:text-4xl font-light"},d={class:"w-1/4 flex justify-end"},h=["href"],p=["src"],f={key:1,src:i,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},m={key:0,class:"text-red-500 text-center my-2"},A={class:"text-xl"},v={key:0,class:"text-red-500"},w={key:1,class:"text-red-500"},y={key:1},x=["href"];function T(e,t,n,o,i,T){var k=(0,s.up)("router-view"),b=(0,s.up)("Tooltip"),R=(0,s.up)("Social");return(0,s.wg)(),(0,s.iD)(s.HY,null,[i.retrievedConfig?((0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("div",l,[(0,s._)("div",u,[(0,s._)("div",g,[(0,s._)("div",c,(0,r.zw)(T.header),1)]),(0,s._)("div",d,[(0,s._)("a",{href:T.link,target:"_blank",style:{width:"100px"}},[T.logo?((0,s.wg)(),(0,s.iD)("img",{key:0,src:T.logo,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},null,8,p)):((0,s.wg)(),(0,s.iD)("img",f))],8,h)])])]),e.$route&&e.$route.query.error?((0,s.wg)(),(0,s.iD)("div",m,[(0,s._)("div",A,["access_denied"===e.$route.query.error?((0,s.wg)(),(0,s.iD)("span",v,"You do not have access to this status page")):((0,s.wg)(),(0,s.iD)("span",w,(0,r.zw)(e.$route.query.error),1))])])):(0,s.kq)("",!0),i.config&&i.config.oidc&&!i.config.authenticated?((0,s.wg)(),(0,s.iD)("div",y,[(0,s._)("a",{href:"".concat(i.SERVER_URL,"/oidc/login"),class:"max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-lg text-white bg-green-700 hover:bg-green-800"}," Login with OIDC ",8,x)])):(0,s.kq)("",!0),(0,s.Wm)(k,{onShowTooltip:T.showTooltip},null,8,["onShowTooltip"])])):(0,s.kq)("",!0),(0,s.Wm)(b,{result:i.tooltip.result,event:i.tooltip.event},null,8,["result","event"]),(0,s.Wm)(R)],64)}n(1539);var k=function(e){return(0,s.dD)("data-v-a4b3d200"),e=e(),(0,s.Cn)(),e},b={id:"social"},R=k((function(){return(0,s._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,s._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,s._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1)})),I=[R];function D(e,t,n,o,r,i){return(0,s.wg)(),(0,s.iD)("div",b,I)}var C={name:"Social"},S=n(3744);const B=(0,S.Z)(C,[["render",D],["__scopeId","data-v-a4b3d200"]]);var E=B,P=(n(6977),(0,s._)("div",{class:"tooltip-title"},"Timestamp:",-1)),U={id:"tooltip-timestamp"},O=(0,s._)("div",{class:"tooltip-title"},"Response time:",-1),H={id:"tooltip-response-time"},z=(0,s._)("div",{class:"tooltip-title"},"Conditions:",-1),M={id:"tooltip-conditions"},Q=(0,s._)("br",null,null,-1),W={key:0,id:"tooltip-errors-container"},q=(0,s._)("div",{class:"tooltip-title"},"Errors:",-1),X={id:"tooltip-errors"},Y=(0,s._)("br",null,null,-1);function K(e,t,n,o,i,a){return(0,s.wg)(),(0,s.iD)("div",{id:"tooltip",ref:"tooltip",class:(0,r.C_)(i.hidden?"invisible":""),style:(0,r.j5)("top:"+i.top+"px; left:"+i.left+"px")},[n.result?(0,s.WI)(e.$slots,"default",{key:0},(function(){return[P,(0,s._)("code",U,(0,r.zw)(a.prettifyTimestamp(n.result.timestamp)),1),O,(0,s._)("code",H,(0,r.zw)((n.result.duration/1e6).toFixed(0))+"ms",1),z,(0,s._)("code",M,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.result.conditionResults,(function(t){return(0,s.WI)(e.$slots,"default",{key:t},(function(){return[(0,s.Uk)((0,r.zw)(t.success?"✓":"X")+" ~ "+(0,r.zw)(t.condition),1),Q]}))})),128))]),n.result.errors&&n.result.errors.length?((0,s.wg)(),(0,s.iD)("div",W,[q,(0,s._)("code",X,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.result.errors,(function(t){return(0,s.WI)(e.$slots,"default",{key:t},(function(){return[(0,s.Uk)(" - "+(0,r.zw)(t),1),Y]}))})),128))])])):(0,s.kq)("",!0)]})):(0,s.kq)("",!0)],6)}n(4916),n(5306);var F={name:"Endpoints",props:{event:Event,result:Object},methods:{prettifyTimestamp:function(e){var t=new Date(e),n=t.getFullYear(),o=(t.getMonth()+1<10?"0":"")+(t.getMonth()+1),s=(t.getDate()<10?"0":"")+t.getDate(),r=(t.getHours()<10?"0":"")+t.getHours(),i=(Line truncated
|
||||
(function(){"use strict";var e={5574:function(e,t,n){n.d(t,{L:function(){return ln}});n(6992),n(8674),n(9601),n(7727);var s=n(9963),o=(n(9254),n(6252)),r=n(3577),a=n.p+"img/logo.svg",i={class:"mb-2"},l={class:"flex flex-wrap"},u={class:"w-3/4 text-left my-auto"},g={class:"text-3xl xl:text-5xl lg:text-4xl font-light"},c={class:"w-1/4 flex justify-end"},d=["href"],h=["src"],p={key:1,src:a,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},f={key:2,class:"mx-auto max-w-md pt-12"},m=(0,o._)("img",{src:a,alt:"Gatus",class:"mx-auto",style:{"max-width":"160px","min-width":"50px","min-height":"50px"}},null,-1),A=(0,o._)("h2",{class:"mt-4 text-center text-4xl font-extrabold text-gray-800 dark:text-gray-200"}," Gatus ",-1),v={class:"mt-8 py-7 px-4 rounded-sm sm:bg-gray-100 sm:border sm:border-gray-300 sm:shadow-2xl sm:px-10"},w=(0,o._)("div",{class:"sm:mx-auto sm:w-full"},[(0,o._)("h2",{class:"mb-4 text-center text-xl font-bold text-gray-600 dark:text-gray-200 dark:sm:text-gray-600"}," Sign in ")],-1),y={key:0,class:"text-red-500 text-center my-2"},x={class:"text-xl"},T={key:0,class:"text-red-500"},k={key:1,class:"text-red-500"},b=["href"];function R(e,t,n,s,a,R){var I=(0,o.up)("Loading"),D=(0,o.up)("router-view"),C=(0,o.up)("Tooltip"),S=(0,o.up)("Social");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a.retrievedConfig?((0,o.wg)(),(0,o.iD)("div",{key:1,class:(0,r.C_)([a.config&&a.config.oidc&&!a.config.authenticated?"hidden":"","container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500"]),id:"global"},[(0,o._)("div",i,[(0,o._)("div",l,[(0,o._)("div",u,[(0,o._)("div",g,(0,r.zw)(R.header),1)]),(0,o._)("div",c,[(0,o._)("a",{href:R.link,target:"_blank",style:{width:"100px"}},[R.logo?((0,o.wg)(),(0,o.iD)("img",{key:0,src:R.logo,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},null,8,h)):((0,o.wg)(),(0,o.iD)("img",p))],8,d)])])]),(0,o.Wm)(D,{onShowTooltip:R.showTooltip},null,8,["onShowTooltip"])],2)):((0,o.wg)(),(0,o.j4)(I,{key:0,class:"h-64 w-64 px-4"})),a.config&&a.config.oidc&&!a.config.authenticated?((0,o.wg)(),(0,o.iD)("div",f,[m,A,(0,o._)("div",v,[w,e.$route&&e.$route.query.error?((0,o.wg)(),(0,o.iD)("div",y,[(0,o._)("div",x,["access_denied"===e.$route.query.error?((0,o.wg)(),(0,o.iD)("span",T,"You do not have access to this status page")):((0,o.wg)(),(0,o.iD)("span",k,(0,r.zw)(e.$route.query.error),1))])])):(0,o.kq)("",!0),(0,o._)("div",null,[(0,o._)("a",{href:"".concat(a.SERVER_URL,"/oidc/login"),class:"max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-green-800 rounded-md shadow-lg text-sm text-white bg-green-700 hover:bg-green-800"}," Login with OIDC ",8,b)])])])):(0,o.kq)("",!0),(0,o.Wm)(C,{result:a.tooltip.result,event:a.tooltip.event},null,8,["result","event"]),(0,o.Wm)(S)],64)}n(1539);var I=function(e){return(0,o.dD)("data-v-a4b3d200"),e=e(),(0,o.Cn)(),e},D={id:"social"},C=I((function(){return(0,o._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,o._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,o._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1)})),S=[C];function E(e,t,n,s,r,a){return(0,o.wg)(),(0,o.iD)("div",D,S)}var B={name:"Social"},P=n(3744);const H=(0,P.Z)(B,[["render",E],["__scopeId","data-v-a4b3d200"]]);var O=H,U=(n(6977),(0,o._)("div",{class:"tooltip-title"},"Timestamp:",-1)),z={id:"tooltip-timestamp"},M=(0,o._)("div",{class:"tooltip-title"},"Response time:",-1),Q={id:"tooltip-response-time"},W=(0,o._)("div",{class:"tooltip-title"},"Conditions:",-1),X={id:"tooltip-conditions"},q=(0,o._)("br",null,null,-1),Y={key:0,id:"tooltip-errors-container"},K=(0,o._)("div",{class:"tooltip-title"},"Errors:",-1),G={id:"tooltip-errors"},F=(0,o._)("br",null,null,-1);function Z(e,t,n,s,a,i){return(0,o.wg)(),(0,o.iD)("div",{id:"tooltip",ref:"tooltip",class:(0,r.C_)(a.hidden?"invisible":""),style:(0,r.j5)("top:"+a.top+"px; left:"+a.left+"px")},[n.result?(0,o.WI)(e.$slots,"default",{key:0},(function(){return[U,(0,o._)("code",z,(0,r.zw)(i.prettifyTimestamp(n.result.timestamp)),1),M,(0,o._)("code",Q,(0,r.zw)((n.result.duration/1e6).toFixed(0))+"ms",1),W,(0,o._)("code",X,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.result.conditionResults,(functiLine truncated
|
||||
@@ -1 +1 @@
|
||||
(function(){"use strict";var e={5906:function(e,t,s){s.d(t,{L:function(){return Vt}});s(7727);var n=s(9963),o=s(6252),r=s(3577),a=s.p+"img/logo.svg";const i={key:0,class:"container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500",id:"global"},l={class:"mb-2"},g={class:"flex flex-wrap"},d={class:"w-3/4 text-left my-auto"},h={class:"text-3xl xl:text-5xl lg:text-4xl font-light"},u={class:"w-1/4 flex justify-end"},p=["href"],c=["src"],m={key:1,src:a,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},A={key:0,class:"text-red-500 text-center my-2"},f={class:"text-xl"},v={key:0,class:"text-red-500"},w={key:1,class:"text-red-500"},y={key:1},x=["href"];function T(e,t,s,n,a,T){const k=(0,o.up)("router-view"),b=(0,o.up)("Tooltip"),R=(0,o.up)("Social");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a.retrievedConfig?((0,o.wg)(),(0,o.iD)("div",i,[(0,o._)("div",l,[(0,o._)("div",g,[(0,o._)("div",d,[(0,o._)("div",h,(0,r.zw)(T.header),1)]),(0,o._)("div",u,[(0,o._)("a",{href:T.link,target:"_blank",style:{width:"100px"}},[T.logo?((0,o.wg)(),(0,o.iD)("img",{key:0,src:T.logo,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},null,8,c)):((0,o.wg)(),(0,o.iD)("img",m))],8,p)])])]),e.$route&&e.$route.query.error?((0,o.wg)(),(0,o.iD)("div",A,[(0,o._)("div",f,["access_denied"===e.$route.query.error?((0,o.wg)(),(0,o.iD)("span",v,"You do not have access to this status page")):((0,o.wg)(),(0,o.iD)("span",w,(0,r.zw)(e.$route.query.error),1))])])):(0,o.kq)("",!0),a.config&&a.config.oidc&&!a.config.authenticated?((0,o.wg)(),(0,o.iD)("div",y,[(0,o._)("a",{href:`${a.SERVER_URL}/oidc/login`,class:"max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-lg text-white bg-green-700 hover:bg-green-800"}," Login with OIDC ",8,x)])):(0,o.kq)("",!0),(0,o.Wm)(k,{onShowTooltip:T.showTooltip},null,8,["onShowTooltip"])])):(0,o.kq)("",!0),(0,o.Wm)(b,{result:a.tooltip.result,event:a.tooltip.event},null,8,["result","event"]),(0,o.Wm)(R)],64)}const k=e=>((0,o.dD)("data-v-a4b3d200"),e=e(),(0,o.Cn)(),e),b={id:"social"},R=k((()=>(0,o._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,o._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,o._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1))),I=[R];function D(e,t,s,n,r,a){return(0,o.wg)(),(0,o.iD)("div",b,I)}var C={name:"Social"},S=s(3744);const B=(0,S.Z)(C,[["render",D],["__scopeId","data-v-a4b3d200"]]);var E=B;const P=(0,o._)("div",{class:"tooltip-title"},"Timestamp:",-1),U={id:"tooltip-timestamp"},O=(0,o._)("div",{class:"tooltip-title"},"Response time:",-1),H={id:"tooltip-response-time"},z=(0,o._)("div",{class:"tooltip-title"},"Conditions:",-1),M={id:"tooltip-conditions"},Q=(0,o._)("br",null,null,-1),W={key:0,id:"tooltip-errors-container"},q=(0,o._)("div",{class:"tooltip-title"},"Errors:",-1),X={id:"tooltip-errors"},Y=(0,o._)("br",null,null,-1);function K(e,t,s,n,a,i){return(0,o.wg)(),(0,o.iD)("div",{id:"tooltip",ref:"tooltip",class:(0,r.C_)(a.hidden?"invisible":""),style:(0,r.j5)("top:"+a.top+"px; left:"+a.left+"px")},[s.result?(0,o.WI)(e.$slots,"default",{key:0},(()=>[P,(0,o._)("code",U,(0,r.zw)(i.prettifyTimestamp(s.result.timestamp)),1),O,(0,o._)("code",H,(0,r.zw)((s.result.duration/1e6).toFixed(0))+"ms",1),z,(0,o._)("code",M,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.result.conditionResults,(t=>(0,o.WI)(e.$slots,"default",{key:t},(()=>[(0,o.Uk)((0,r.zw)(t.success?"✓":"X")+" ~ "+(0,r.zw)(t.condition),1),Q])))),128))]),s.result.errors&&s.result.errors.length?((0,o.wg)(),(0,o.iD)("div",W,[q,(0,o._)("code",X,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.result.errors,(t=>(0,o.WI)(e.$slots,"default",{key:t},(()=>[(0,o.Uk)(" - "+(0,r.zw)(t),1),Y])))),128))])])):(0,o.kq)("",!0)])):(0,o.kq)("",!0)],6)}s(5306);var F={name:"Endpoints",props:{event:Event,result:Object},methods:{prettifyTimestamp(e){let t=new Date(e),s=t.getFullYear(),n=(t.getMonth()+1<10?"0":"")+(t.getMonth()+1),o=(t.getDate()<10?"0":"")+t.getDate(),r=(t.getHours()<10?"0":"")+t.getHours(),a=(t.getMinutes()<10?"0":"")+t.getMinutes(),i=(t.getSeconds()<10?"0":"")+t.getSeconds();return s+"-"+n+"-"+o+" "+r+":"+a+":"+i},htmlEntities(e){return String(e).replacLine truncated
|
||||
(function(){"use strict";var e={5574:function(e,t,s){s.d(t,{L:function(){return is}});s(7727);var n=s(9963),o=s(6252),a=s(3577),r=s.p+"img/logo.svg";const i={class:"mb-2"},l={class:"flex flex-wrap"},g={class:"w-3/4 text-left my-auto"},d={class:"text-3xl xl:text-5xl lg:text-4xl font-light"},h={class:"w-1/4 flex justify-end"},u=["href"],c=["src"],p={key:1,src:r,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},m={key:2,class:"mx-auto max-w-md pt-12"},A=(0,o._)("img",{src:r,alt:"Gatus",class:"mx-auto",style:{"max-width":"160px","min-width":"50px","min-height":"50px"}},null,-1),f=(0,o._)("h2",{class:"mt-4 text-center text-4xl font-extrabold text-gray-800 dark:text-gray-200"}," Gatus ",-1),v={class:"mt-8 py-7 px-4 rounded-sm sm:bg-gray-100 sm:border sm:border-gray-300 sm:shadow-2xl sm:px-10"},w=(0,o._)("div",{class:"sm:mx-auto sm:w-full"},[(0,o._)("h2",{class:"mb-4 text-center text-xl font-bold text-gray-600 dark:text-gray-200 dark:sm:text-gray-600"}," Sign in ")],-1),y={key:0,class:"text-red-500 text-center my-2"},x={class:"text-xl"},T={key:0,class:"text-red-500"},k={key:1,class:"text-red-500"},b=["href"];function R(e,t,s,n,r,R){const I=(0,o.up)("Loading"),D=(0,o.up)("router-view"),C=(0,o.up)("Tooltip"),S=(0,o.up)("Social");return(0,o.wg)(),(0,o.iD)(o.HY,null,[r.retrievedConfig?((0,o.wg)(),(0,o.iD)("div",{key:1,class:(0,a.C_)([r.config&&r.config.oidc&&!r.config.authenticated?"hidden":"","container container-xs relative mx-auto xl:rounded xl:border xl:shadow-xl xl:my-5 p-5 pb-12 xl:pb-5 text-left dark:bg-gray-800 dark:text-gray-200 dark:border-gray-500"]),id:"global"},[(0,o._)("div",i,[(0,o._)("div",l,[(0,o._)("div",g,[(0,o._)("div",d,(0,a.zw)(R.header),1)]),(0,o._)("div",h,[(0,o._)("a",{href:R.link,target:"_blank",style:{width:"100px"}},[R.logo?((0,o.wg)(),(0,o.iD)("img",{key:0,src:R.logo,alt:"Gatus",class:"object-scale-down",style:{"max-width":"100px","min-width":"50px","min-height":"50px"}},null,8,c)):((0,o.wg)(),(0,o.iD)("img",p))],8,u)])])]),(0,o.Wm)(D,{onShowTooltip:R.showTooltip},null,8,["onShowTooltip"])],2)):((0,o.wg)(),(0,o.j4)(I,{key:0,class:"h-64 w-64 px-4"})),r.config&&r.config.oidc&&!r.config.authenticated?((0,o.wg)(),(0,o.iD)("div",m,[A,f,(0,o._)("div",v,[w,e.$route&&e.$route.query.error?((0,o.wg)(),(0,o.iD)("div",y,[(0,o._)("div",x,["access_denied"===e.$route.query.error?((0,o.wg)(),(0,o.iD)("span",T,"You do not have access to this status page")):((0,o.wg)(),(0,o.iD)("span",k,(0,a.zw)(e.$route.query.error),1))])])):(0,o.kq)("",!0),(0,o._)("div",null,[(0,o._)("a",{href:`${r.SERVER_URL}/oidc/login`,class:"max-w-lg mx-auto w-full flex justify-center py-3 px-4 border border-green-800 rounded-md shadow-lg text-sm text-white bg-green-700 hover:bg-green-800"}," Login with OIDC ",8,b)])])])):(0,o.kq)("",!0),(0,o.Wm)(C,{result:r.tooltip.result,event:r.tooltip.event},null,8,["result","event"]),(0,o.Wm)(S)],64)}const I=e=>((0,o.dD)("data-v-a4b3d200"),e=e(),(0,o.Cn)(),e),D={id:"social"},C=I((()=>(0,o._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,o._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,o._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1))),S=[C];function E(e,t,s,n,a,r){return(0,o.wg)(),(0,o.iD)("div",D,S)}var B={name:"Social"},P=s(3744);const H=(0,P.Z)(B,[["render",E],["__scopeId","data-v-a4b3d200"]]);var O=H;const U=(0,o._)("div",{class:"tooltip-title"},"Timestamp:",-1),z={id:"tooltip-timestamp"},M=(0,o._)("div",{class:"tooltip-title"},"Response time:",-1),Q={id:"tooltip-response-time"},W=(0,o._)("div",{class:"tooltip-title"},"Conditions:",-1),X={id:"tooltip-conditions"},q=(0,o._)("br",null,null,-1),Y={key:0,id:"tooltip-errors-container"},K=(0,o._)("div",{class:"tooltip-title"},"Errors:",-1),G={id:"tooltip-errors"},F=(0,o._)("br",null,null,-1);function Z(e,t,s,n,r,i){return(0,o.wg)(),(0,o.iD)("div",{id:"tooltip",ref:"tooltip",class:(0,a.C_)(r.hidden?"invisible":""),style:(0,a.j5)("top:"+r.top+"px; left:"+r.left+"px")},[s.result?(0,o.WI)(e.$slots,"default",{key:0},(()=>[U,(0,o._)("code",z,(0,a.zw)(i.prettifyTimestamp(s.result.timestamp)),1),M,(0,o._)("code",Q,(0,a.zw)((s.result.duration/1e6).toFixed(0))+"ms",1),W,(0,o._)("code",X,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.result.conditionResults,(t=>(0,o.WI)(e.$slots,"default",{key:t},(()=>[(0,o.Uk)((0,a.zw)(t.success?"✓":"X")+" ~ "+(0Line truncated
|
||||
@@ -1,4 +1,4 @@
|
||||
(self["webpackChunkgatus"]=self["webpackChunkgatus"]||[]).push([[998],{2262:function(t,e,n){"use strict";n.d(e,{Bj:function(){return c},qq:function(){return w},Fl:function(){return Vt},X3:function(){return At},PG:function(){return Ct},dq:function(){return Mt},Xl:function(){return jt},Jd:function(){return S},WL:function(){return qt},qj:function(){return kt},iH:function(){return $t},lk:function(){return C},Um:function(){return Et},XI:function(){return Ut},IU:function(){return It},j:function(){return R},X$:function(){return j},SU:function(){return Jt}});var r=n(3577);let o;const i=[];class c{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}else 0}on(){this.active&&(i.push(this),o=this)}off(){this.active&&(i.pop(),o=i[i.length-1])}stop(t){if(this.active){if(this.effects.forEach((t=>t.stop())),this.cleanups.forEach((t=>t())),this.scopes&&this.scopes.forEach((t=>t.stop(!0))),this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function s(t,e){e=e||o,e&&e.active&&e.effects.push(t)}const u=t=>{const e=new Set(t);return e.w=0,e.n=0,e},a=t=>(t.w&v)>0,l=t=>(t.n&v)>0,f=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=v},p=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];a(o)&&!l(o)?o.delete(t):e[n++]=o,o.w&=~v,o.n&=~v}e.length=n}},d=new WeakMap;let h=0,v=1;const g=30,m=[];let y;const b=Symbol(""),x=Symbol("");class w{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],s(this,n)}run(){if(!this.active)return this.fn();if(!m.includes(this))try{return m.push(y=this),O(),v=1<<++h,h<=g?f(this):_(this),this.fn()}finally{h<=g&&p(this),v=1<<--h,C(),m.pop();const t=m.length;y=t>0?m[t-1]:void 0}}stop(){this.active&&(_(this),this.onStop&&this.onStop(),this.active=!1)}}function _(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let k=!0;const E=[];function S(){E.push(k),k=!1}function O(){E.push(k),k=!0}function C(){const t=E.pop();k=void 0===t||t}function R(t,e,n){if(!A())return;let r=d.get(t);r||d.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=u());const i=void 0;I(o,i)}function A(){return k&&void 0!==y}function I(t,e){let n=!1;h<=g?l(t)||(t.n|=v,n=!a(t)):n=!t.has(y),n&&(t.add(y),y.deps.push(t))}function j(t,e,n,o,i,c){const s=d.get(t);if(!s)return;let a=[];if("clear"===e)a=[...s.values()];else if("length"===n&&(0,r.kJ)(t))s.forEach(((t,e)=>{("length"===e||e>=o)&&a.push(t)}));else switch(void 0!==n&&a.push(s.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&a.push(s.get("length")):(a.push(s.get(b)),(0,r._N)(t)&&a.push(s.get(x)));break;case"delete":(0,r.kJ)(t)||(a.push(s.get(b)),(0,r._N)(t)&&a.push(s.get(x)));break;case"set":(0,r._N)(t)&&a.push(s.get(b));break}if(1===a.length)a[0]&&T(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);T(u(t))}}function T(t,e){for(const n of(0,r.kJ)(t)?t:[...t])(n!==y||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const P=(0,r.fY)("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(r.yk)),N=D(),M=D(!1,!0),$=D(!0),U=L();function L(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=It(this);for(let e=0,o=this.length;e<o;e++)R(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(It)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){S();const n=It(this)[e].apply(this,t);return C(),n}})),t}function D(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&i===(t?e?xt:bt:e?yt:mt).get(n))return n;const c=(0,r.kJ)(n);if(!t&&c&&(0,r.RI)(U,o))return Reflect.get(U,o,i);const s=Reflect.get(n,o,i);if((0,r.yk)(o)?F.has(o):P(o))return s;if(t||R(n,"get",o),e)return s;if(Mt(s)){const t=!c||!(0,r.S0)(o);return t?s.value:s}return(0,r.Kn)(s)?t?St(s):kt(s):s}}const J=q(),B=q(!0);function q(t=!1){return function(e,n,o,i){let c=e[n];if(!t&&(o=It(o),c=It(c),!(0,r.kJ)(e)&&Mt(c)&&!Mt(o)))return c.value=o,!0;const s=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)<e.length:(0,r.RI)(e,n),u=Reflect.set(e,n,o,i);return e===It(i)&&(s?(0,r.aU)(o,c)&&j(e,"set",n,o,c):j(e,"add",n,o)),u}}function G(t,e){const n=(0,r.RI)(t,e),o=t[e],i=Reflect.deleteProperty(t,e);return i&&n&&j(t,"delete",e,void 0,o),i}function V(t,e){const n=Reflect.has(t,e);return(0,r.yk)(e)&&F.has(e)||R(t,"has",e),n}function W(t){return R(t,"iterate",(0,r.kJ)(t)?"length":b),Reflect.ownKeys(t)}const H={get:N,set:J,deleteProperty:G,has:V,ownKeys:W},K={get:$,set(t,e){return!0},deleteProperty(t,e){return!0}},z=(0,r.l7)({},H,{get:M,set:B}),X=t=>t,Y=t=>Reflect.getPrototypeOf(t);function Z(t,e,n=!1,r=!1){t=t["__v_raw"];const o=It(t),i=It(e);e!==i&&!n&&R(o,"get",e),!n&&R(o,"get",i);const{has:c}=Y(o),s=r?X:n?Pt:Tt;return c.call(o,e)?s(t.get(e)Line truncated
|
||||
(self["webpackChunkgatus"]=self["webpackChunkgatus"]||[]).push([[998],{2262:function(t,e,n){"use strict";n.d(e,{Bj:function(){return c},qq:function(){return w},Fl:function(){return Vt},X3:function(){return At},PG:function(){return Ct},dq:function(){return Mt},Xl:function(){return jt},Jd:function(){return S},WL:function(){return qt},qj:function(){return kt},iH:function(){return $t},lk:function(){return C},Um:function(){return Et},XI:function(){return Ut},IU:function(){return It},j:function(){return R},X$:function(){return j},SU:function(){return Jt}});var r=n(3577);let o;const i=[];class c{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}else 0}on(){this.active&&(i.push(this),o=this)}off(){this.active&&(i.pop(),o=i[i.length-1])}stop(t){if(this.active){if(this.effects.forEach((t=>t.stop())),this.cleanups.forEach((t=>t())),this.scopes&&this.scopes.forEach((t=>t.stop(!0))),this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function s(t,e){e=e||o,e&&e.active&&e.effects.push(t)}const u=t=>{const e=new Set(t);return e.w=0,e.n=0,e},a=t=>(t.w&v)>0,l=t=>(t.n&v)>0,f=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=v},p=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];a(o)&&!l(o)?o.delete(t):e[n++]=o,o.w&=~v,o.n&=~v}e.length=n}},d=new WeakMap;let h=0,v=1;const g=30,m=[];let y;const b=Symbol(""),x=Symbol("");class w{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],s(this,n)}run(){if(!this.active)return this.fn();if(!m.includes(this))try{return m.push(y=this),O(),v=1<<++h,h<=g?f(this):_(this),this.fn()}finally{h<=g&&p(this),v=1<<--h,C(),m.pop();const t=m.length;y=t>0?m[t-1]:void 0}}stop(){this.active&&(_(this),this.onStop&&this.onStop(),this.active=!1)}}function _(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let k=!0;const E=[];function S(){E.push(k),k=!1}function O(){E.push(k),k=!0}function C(){const t=E.pop();k=void 0===t||t}function R(t,e,n){if(!A())return;let r=d.get(t);r||d.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=u());const i=void 0;I(o,i)}function A(){return k&&void 0!==y}function I(t,e){let n=!1;h<=g?l(t)||(t.n|=v,n=!a(t)):n=!t.has(y),n&&(t.add(y),y.deps.push(t))}function j(t,e,n,o,i,c){const s=d.get(t);if(!s)return;let a=[];if("clear"===e)a=[...s.values()];else if("length"===n&&(0,r.kJ)(t))s.forEach(((t,e)=>{("length"===e||e>=o)&&a.push(t)}));else switch(void 0!==n&&a.push(s.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&a.push(s.get("length")):(a.push(s.get(b)),(0,r._N)(t)&&a.push(s.get(x)));break;case"delete":(0,r.kJ)(t)||(a.push(s.get(b)),(0,r._N)(t)&&a.push(s.get(x)));break;case"set":(0,r._N)(t)&&a.push(s.get(b));break}if(1===a.length)a[0]&&T(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);T(u(t))}}function T(t,e){for(const n of(0,r.kJ)(t)?t:[...t])(n!==y||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const P=(0,r.fY)("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(r.yk)),N=D(),M=D(!1,!0),$=D(!0),U=L();function L(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=It(this);for(let e=0,o=this.length;e<o;e++)R(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(It)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){S();const n=It(this)[e].apply(this,t);return C(),n}})),t}function D(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&i===(t?e?xt:bt:e?yt:mt).get(n))return n;const c=(0,r.kJ)(n);if(!t&&c&&(0,r.RI)(U,o))return Reflect.get(U,o,i);const s=Reflect.get(n,o,i);if((0,r.yk)(o)?F.has(o):P(o))return s;if(t||R(n,"get",o),e)return s;if(Mt(s)){const t=!c||!(0,r.S0)(o);return t?s.value:s}return(0,r.Kn)(s)?t?St(s):kt(s):s}}const J=q(),B=q(!0);function q(t=!1){return function(e,n,o,i){let c=e[n];if(!t&&(o=It(o),c=It(c),!(0,r.kJ)(e)&&Mt(c)&&!Mt(o)))return c.value=o,!0;const s=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)<e.length:(0,r.RI)(e,n),u=Reflect.set(e,n,o,i);return e===It(i)&&(s?(0,r.aU)(o,c)&&j(e,"set",n,o,c):j(e,"add",n,o)),u}}function G(t,e){const n=(0,r.RI)(t,e),o=t[e],i=Reflect.deleteProperty(t,e);return i&&n&&j(t,"delete",e,void 0,o),i}function V(t,e){const n=Reflect.has(t,e);return(0,r.yk)(e)&&F.has(e)||R(t,"has",e),n}function W(t){return R(t,"iterate",(0,r.kJ)(t)?"length":b),Reflect.ownKeys(t)}const H={get:N,set:J,deleteProperty:G,has:V,ownKeys:W},K={get:$,set(t,e){return!0},deleteProperty(t,e){return!0}},z=(0,r.l7)({},H,{get:M,set:B}),X=t=>t,Y=t=>Reflect.getPrototypeOf(t);function Z(t,e,n=!1,r=!1){t=t["__v_raw"];const o=It(t),i=It(e);e!==i&&!n&&R(o,"get",e),!n&&R(o,"get",i);const{has:c}=Y(o),s=r?X:n?Pt:Tt;return c.call(o,e)?s(t.get(e)Line truncated
|
||||
/*!
|
||||
* vue-router v4.0.12
|
||||
* (c) 2021 Eduardo San Martin Morote
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(self["webpackChunkgatus"]=self["webpackChunkgatus"]||[]).push([[998],{2262:function(e,t,n){"use strict";n.d(t,{Bj:function(){return s},qq:function(){return _},Fl:function(){return qe},X3:function(){return Ae},PG:function(){return Ee},dq:function(){return Me},Xl:function(){return Ie},Jd:function(){return C},WL:function(){return Ge},qj:function(){return ke},iH:function(){return $e},lk:function(){return E},Um:function(){return Se},XI:function(){return Ue},IU:function(){return Te},j:function(){return R},X$:function(){return I},SU:function(){return Je}});var r=n(3577);let o;const i=[];class s{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(i.push(this),o=this)}off(){this.active&&(i.pop(),o=i[i.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function c(e,t){t=t||o,t&&t.active&&t.effects.push(e)}const u=e=>{const t=new Set(e);return t.w=0,t.n=0,t},l=e=>(e.w&v)>0,a=e=>(e.n&v)>0,f=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=v},p=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];l(o)&&!a(o)?o.delete(e):t[n++]=o,o.w&=~v,o.n&=~v}t.length=n}},d=new WeakMap;let h=0,v=1;const g=30,m=[];let y;const b=Symbol(""),x=Symbol("");class _{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],c(this,n)}run(){if(!this.active)return this.fn();if(!m.includes(this))try{return m.push(y=this),O(),v=1<<++h,h<=g?f(this):w(this),this.fn()}finally{h<=g&&p(this),v=1<<--h,E(),m.pop();const e=m.length;y=e>0?m[e-1]:void 0}}stop(){this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let k=!0;const S=[];function C(){S.push(k),k=!1}function O(){S.push(k),k=!0}function E(){const e=S.pop();k=void 0===e||e}function R(e,t,n){if(!A())return;let r=d.get(e);r||d.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=u());const i=void 0;T(o,i)}function A(){return k&&void 0!==y}function T(e,t){let n=!1;h<=g?a(e)||(e.n|=v,n=!l(e)):n=!e.has(y),n&&(e.add(y),y.deps.push(e))}function I(e,t,n,o,i,s){const c=d.get(e);if(!c)return;let l=[];if("clear"===t)l=[...c.values()];else if("length"===n&&(0,r.kJ)(e))c.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(c.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&l.push(c.get("length")):(l.push(c.get(b)),(0,r._N)(e)&&l.push(c.get(x)));break;case"delete":(0,r.kJ)(e)||(l.push(c.get(b)),(0,r._N)(e)&&l.push(c.get(x)));break;case"set":(0,r._N)(e)&&l.push(c.get(b));break}if(1===l.length)l[0]&&P(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);P(u(e))}}function P(e,t){for(const n of(0,r.kJ)(e)?e:[...e])(n!==y||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const j=(0,r.fY)("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(r.yk)),L=D(),M=D(!1,!0),$=D(!0),U=N();function N(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Te(this);for(let t=0,o=this.length;t<o;t++)R(n,"get",t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Te)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){C();const n=Te(this)[t].apply(this,e);return E(),n}})),e}function D(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&i===(e?t?xe:be:t?ye:me).get(n))return n;const s=(0,r.kJ)(n);if(!e&&s&&(0,r.RI)(U,o))return Reflect.get(U,o,i);const c=Reflect.get(n,o,i);if((0,r.yk)(o)?F.has(o):j(o))return c;if(e||R(n,"get",o),t)return c;if(Me(c)){const e=!s||!(0,r.S0)(o);return e?c.value:c}return(0,r.Kn)(c)?e?Ce(c):ke(c):c}}const J=G(),B=G(!0);function G(e=!1){return function(t,n,o,i){let s=t[n];if(!e&&(o=Te(o),s=Te(s),!(0,r.kJ)(t)&&Me(s)&&!Me(o)))return s.value=o,!0;const c=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)<t.length:(0,r.RI)(t,n),u=Reflect.set(t,n,o,i);return t===Te(i)&&(c?(0,r.aU)(o,s)&&I(t,"set",n,o,s):I(t,"add",n,o)),u}}function V(e,t){const n=(0,r.RI)(e,t),o=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&I(e,"delete",t,void 0,o),i}function q(e,t){const n=Reflect.has(e,t);return(0,r.yk)(t)&&F.has(t)||R(e,"has",t),n}function H(e){return R(e,"iterate",(0,r.kJ)(e)?"length":b),Reflect.ownKeys(e)}const W={get:L,set:J,deleteProperty:V,has:q,ownKeys:H},K={get:$,set(e,t){return!0},deleteProperty(e,t){return!0}},z=(0,r.l7)({},W,{get:M,set:B}),X=e=>e,Y=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Te(e),i=Te(t);t!==i&&!n&&R(o,"get",t),!n&&R(o,"get",i);const{has:s}=Y(o),c=r?X:n?je:Pe;return s.call(o,t)?c(e.get(t)Line truncated
|
||||
(self["webpackChunkgatus"]=self["webpackChunkgatus"]||[]).push([[998],{2262:function(e,t,n){"use strict";n.d(t,{Bj:function(){return s},qq:function(){return _},Fl:function(){return qe},X3:function(){return Ae},PG:function(){return Ee},dq:function(){return Me},Xl:function(){return Ie},Jd:function(){return C},WL:function(){return Ge},qj:function(){return ke},iH:function(){return $e},lk:function(){return E},Um:function(){return Se},XI:function(){return Ue},IU:function(){return Te},j:function(){return R},X$:function(){return I},SU:function(){return Je}});var r=n(3577);let o;const i=[];class s{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(i.push(this),o=this)}off(){this.active&&(i.pop(),o=i[i.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function c(e,t){t=t||o,t&&t.active&&t.effects.push(e)}const u=e=>{const t=new Set(e);return t.w=0,t.n=0,t},l=e=>(e.w&v)>0,a=e=>(e.n&v)>0,f=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=v},p=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];l(o)&&!a(o)?o.delete(e):t[n++]=o,o.w&=~v,o.n&=~v}t.length=n}},d=new WeakMap;let h=0,v=1;const g=30,m=[];let y;const b=Symbol(""),x=Symbol("");class _{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],c(this,n)}run(){if(!this.active)return this.fn();if(!m.includes(this))try{return m.push(y=this),O(),v=1<<++h,h<=g?f(this):w(this),this.fn()}finally{h<=g&&p(this),v=1<<--h,E(),m.pop();const e=m.length;y=e>0?m[e-1]:void 0}}stop(){this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let k=!0;const S=[];function C(){S.push(k),k=!1}function O(){S.push(k),k=!0}function E(){const e=S.pop();k=void 0===e||e}function R(e,t,n){if(!A())return;let r=d.get(e);r||d.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=u());const i=void 0;T(o,i)}function A(){return k&&void 0!==y}function T(e,t){let n=!1;h<=g?a(e)||(e.n|=v,n=!l(e)):n=!e.has(y),n&&(e.add(y),y.deps.push(e))}function I(e,t,n,o,i,s){const c=d.get(e);if(!c)return;let l=[];if("clear"===t)l=[...c.values()];else if("length"===n&&(0,r.kJ)(e))c.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(c.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&l.push(c.get("length")):(l.push(c.get(b)),(0,r._N)(e)&&l.push(c.get(x)));break;case"delete":(0,r.kJ)(e)||(l.push(c.get(b)),(0,r._N)(e)&&l.push(c.get(x)));break;case"set":(0,r._N)(e)&&l.push(c.get(b));break}if(1===l.length)l[0]&&P(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);P(u(e))}}function P(e,t){for(const n of(0,r.kJ)(e)?e:[...e])(n!==y||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const j=(0,r.fY)("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(r.yk)),L=D(),M=D(!1,!0),$=D(!0),U=N();function N(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Te(this);for(let t=0,o=this.length;t<o;t++)R(n,"get",t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Te)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){C();const n=Te(this)[t].apply(this,e);return E(),n}})),e}function D(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&i===(e?t?xe:be:t?ye:me).get(n))return n;const s=(0,r.kJ)(n);if(!e&&s&&(0,r.RI)(U,o))return Reflect.get(U,o,i);const c=Reflect.get(n,o,i);if((0,r.yk)(o)?F.has(o):j(o))return c;if(e||R(n,"get",o),t)return c;if(Me(c)){const e=!s||!(0,r.S0)(o);return e?c.value:c}return(0,r.Kn)(c)?e?Ce(c):ke(c):c}}const J=G(),B=G(!0);function G(e=!1){return function(t,n,o,i){let s=t[n];if(!e&&(o=Te(o),s=Te(s),!(0,r.kJ)(t)&&Me(s)&&!Me(o)))return s.value=o,!0;const c=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)<t.length:(0,r.RI)(t,n),u=Reflect.set(t,n,o,i);return t===Te(i)&&(c?(0,r.aU)(o,s)&&I(t,"set",n,o,s):I(t,"add",n,o)),u}}function V(e,t){const n=(0,r.RI)(e,t),o=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&I(e,"delete",t,void 0,o),i}function q(e,t){const n=Reflect.has(e,t);return(0,r.yk)(t)&&F.has(t)||R(e,"has",t),n}function H(e){return R(e,"iterate",(0,r.kJ)(e)?"length":b),Reflect.ownKeys(e)}const W={get:L,set:J,deleteProperty:V,has:q,ownKeys:H},K={get:$,set(e,t){return!0},deleteProperty(e,t){return!0}},z=(0,r.l7)({},W,{get:M,set:B}),X=e=>e,Y=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Te(e),i=Te(t);t!==i&&!n&&R(o,"get",t),!n&&R(o,"get",i);const{has:s}=Y(o),c=r?X:n?je:Pe;return s.call(o,t)?c(e.get(t)Line truncated
|
||||
/*!
|
||||
* vue-router v4.0.12
|
||||
* (c) 2021 Eduardo San Martin Morote
|
||||
|
||||
Reference in new issue
Block a user