mirror of https://github.com/FastGitORG/uptime
18 lines
57 KiB
JavaScript
18 lines
57 KiB
JavaScript
![]() |
function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,e)||n(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){var e={exports:{}};return t(e,e.exports),e.exports}var a,c=i((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),u=i((function(t){var e=c.default;function n(){t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=$(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=h(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var d={};function p(){}function m(){}function v(){}var g={};f(g,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(R([])));b&&b!==o&&i.call(b,c)&&(g=b);var w=v.prototype=p.prototype=Object.create(g);function _(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,n){function r(o,a,c,u){var s=h(t[o],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==e(l)&&i.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):n.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var o;this._invoke=function(t,e){function i()
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
function Be(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))}function Fe(t){for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;return t}var qe,ze=1;var Ke,Je,Ve="undefined"!=typeof history?history:{pushState:function(){},replaceState:function(){},scrollRestoration:"auto"},We={};function Ye(e){var n=Object.create(null);return e.length?function(t){return"undefined"!=typeof URLSearchParams?o(new URLSearchParams(t).entries()):t.slice(1).split("&").map((function(t){var e=r(/([^=]*)(?:=([\S\s]*))?/.exec(decodeURIComponent(t.replace(/\+/g," "))),3),n=e[1],o=e[2];return[n,void 0===o?"":o]}))}(e).reduce((function(e,n){var o=r(n,2),i=o[0],a=o[1];return"string"==typeof e[i]&&(e[i]=[e[i]]),"object"===t(e[i])?e[i].push(a):e[i]=a,e}),n):n}function Xe(t){if(t.origin!==location.origin)return null;if(!t.pathname.startsWith(Ke))return null;var e=t.pathname.slice(Ke.length);if(""===e&&(e="/"),!Ue.some((function(t){return t.test(e)})))for(var n=0;n<De.length;n+=1){var r=De[n],o=r.pattern.exec(e);if(o){var i=Ye(t.search),a=r.parts[r.parts.length-1],c=a.params?a.params(o):{},u={host:location.host,path:e,query:i,params:c};return{href:t.href,route:r,match:o,page:u}}}}function Ze(e){if(1===function(t){return null===t.which?t.button:t.which}(e)&&!(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)){var n=Fe(e.target);if(n&&n.href){var r="object"===t(n.href)&&"SVGAnimatedString"===n.href.constructor.name,o=String(r?n.href.baseVal:n.href);if(o!==location.href){if(!n.hasAttribute("download")&&"external"!==n.getAttribute("rel")&&!(r?n.target.baseVal:n.target)){var i=new URL(o);if(i.pathname!==location.pathname||i.search!==location.search){var a=Xe(i);if(a)en(a,null,n.hasAttribute("sapper:noscroll"),i.hash),e.preventDefault(),Ve.pushState({id:qe},"",i.href)}}}else location.hash||e.preventDefault()}}}function Qe(){return{x:pageXOffset,y:pageYOffset}}function tn(t){if(We[qe]=Qe(),t.state){var e=Xe(new URL(location.href));e?en(e,t.state.id):location.href=location.href}else!function(t){ze=t}(ze+1),function(t){qe=t}(ze),Ve.replaceState({id:qe},"",location.href)}function en(t,e,n,r){return Be(this,void 0,void 0,f.mark((function o(){var i,a,c,u;return f.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return(i=!!e)?qe=e:(a=Qe(),We[qe]=a,qe=e=++ze,We[qe]=n?a:{x:0,y:0}),o.next=4,Je(t);case 4:document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),n||(c=We[e],r&&(u=document.getElementById(r.slice(1)))&&(c={x:0,y:u.getBoundingClientRect().top+scrollY}),We[qe]=c,c&&(i||u)?scrollTo(c.x,c.y):scrollTo(0,0));case 6:case"end":return o.stop()}}),o)})))}function nn(t){var e=t.baseURI;if(!e){var n=t.getElementsByTagName("base");e=n.length?n[0].href:t.URL}return e}var rn,on=null;function an(t){return on&&on.href===t.href?on.promise:Tn(t)}function cn(t){var e=Fe(t.target);e&&e.hasAttribute("sapper:prefetch")&&function(t){var e=Xe(new URL(t,nn(document)));if(e)on&&t===on.href||(on={href:t,promise:Tn(e)}),on.promise}(e.href)}function un(t){clearTimeout(rn),rn=setTimeout((function(){cn(t)}),20)}function sn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{noscroll:!1,replaceState:!1},n=Xe(new URL(t,nn(document)));if(n){var r=en(n,null,e.noscroll);return Ve[e.replaceState?"replaceState":"pushState"]({id:qe},"",t),r}return location.href=t,new Promise((function(){}))}var fn,ln,hn,dn,pn,mn,vn,gn,yn,bn="undefined"!=typeof __SAPPER__&&__SAPPER__,wn=!1,_n=[],xn="{}",$n={page:function(t){var e=te(t),n=!0;return{notify:function(){n=!0,e.update((function(t){return t}))},set:function(t){n=!1,e.set(t)},subscribe:function(t){var r;return e.subscribe((function(e){(void 0===r||n&&e!==r)&&t(r=e)}))}}}({}),preloading:te(null),session:te(bn&&bn.session)};function En(t,e){var n=t.error;return Object.assign({error:n},e)}function Sn(t){return Be(this,void 0,void 0,f.mark((function e(){v
|
||
|
|
||
|
import __inject_styles from './inject_styles.099149d9.js';
|