gatus/web/static/js/chunk-vendors-legacy.js

7 lines
121 KiB
JavaScript
Raw Normal View History

2022-01-31 00:10:39 +01:00
(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 Rt},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 Lt},IU:function(){return It},j:function(){return A},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 A(t,e,n){if(!R())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 R(){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),L=U();function U(){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++)A(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)(L,o))return Reflect.get(L,o,i);const s=Reflect.get(n,o,i);if((0,r.yk)(o)?F.has(o):P(o))return s;if(t||A(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
2021-05-12 04:14:56 +02:00
/*!
2021-11-09 06:16:48 +01:00
* vue-router v4.0.12
2021-05-12 04:14:56 +02:00
* (c) 2021 Eduardo San Martin Morote
* @license MIT
*/
2022-01-31 00:10:39 +01:00
const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,c=t=>i?Symbol(t):"_vr_"+t,s=c("rvlm"),u=c("rvd"),a=c("r"),l=c("rl"),f=c("rvl"),p="undefined"!==typeof window;function d(t){return t.__esModule||i&&"Module"===t[Symbol.toStringTag]}const h=Object.assign;function v(t,e){const n={};for(const r in e){const o=e[r];n[r]=Array.isArray(o)?o.map(t):t(o)}return n}const g=()=>{};const m=/\/$/,y=t=>t.replace(m,"");function b(t,e,n="/"){let r,o={},i="",c="";const s=e.indexOf("?"),u=e.indexOf("#",s>-1?s:0);return s>-1&&(r=e.slice(0,s),i=e.slice(s+1,u>-1?u:e.length),o=t(i)),u>-1&&(r=r||e.slice(0,u),c=e.slice(u,e.length)),r=C(null!=r?r:e,n),{fullPath:r+(i&&"?")+i+c,path:r,query:o,hash:c}}function x(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function w(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function _(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&k(e.matched[r],n.matched[o])&&E(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function k(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function E(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!S(t[n],e[n]))return!1;return!0}function S(t,e){return Array.isArray(t)?O(t,e):Array.isArray(e)?O(e,t):t===e}function O(t,e){return Array.isArray(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function C(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let o,i,c=n.length-1;for(o=0;o<r.length;o++)if(i=r[o],1!==c&&"."!==i){if(".."!==i)break;c--}return n.slice(0,c).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var A,R;(function(t){t["pop"]="pop",t["push"]="push"})(A||(A={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(R||(R={}));function I(t){if(!t)if(p){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),y(t)}const j=/^[^#]+#/;function T(t,e){return t.replace(j,"#")+e}function P(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const F=()=>({left:window.pageXOffset,top:window.pageYOffset});function N(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=P(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function M(t,e){const n=history.state?history.state.position-e:-1;return n+t}const $=new Map;function L(t,e){$.set(t,e)}function U(t){const e=$.get(t);return $.delete(t),e}let D=()=>location.protocol+"//"+location.host;function J(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let e=o.includes(t.slice(i))?t.slice(i).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),w(n,"")}const c=w(n,t);return c+r+o}function B(t,e,n,r){let o=[],i=[],c=null;const s=({state:i})=>{const s=J(t,location),u=n.value,a=e.value;let l=0;if(i){if(n.value=s,e.value=i,c&&c===u)return void(c=null);l=a?i.position-a.position:0}else r(s);o.forEach((t=>{t(n.value,u,{delta:l,type:A.pop,direction:l?l>0?R.forward:R.back:R.unknown})}))};function u(){c=n.value}function a(t){o.push(t);const e=()=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)};return i.push(e),e}function l(){const{history:t}=window;t.state&&t.replaceState(h({},t.state,{scroll:F()}),"")}function f(){for(const t of i)t();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:u,listen:a,destroy:f}}function q(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?F():null}}function G(t){const{history:e,location:n}=window,r={value:J(t,n)},o={