decord/source/stores/StatusPageStore.tsx

122 lines
3.3 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 12733
// Function ID: 99167
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 587, 566, 686, 2]
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
// Module 12733 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import initialize from "initialize";
import dispatcher from "dispatcher";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let c7 = null;
let c8 = null;
let c9 = null;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class MaintenanceStore {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_2(this, MaintenanceStore);
obj = outer1_5(MaintenanceStore);
tmp2 = outer1_4;
if (outer1_10()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_5;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_5(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(MaintenanceStore, Store);
let obj = {
key: "initialize",
value() {
2026-07-23 10:11:24 +00:00
const Storage = MaintenanceStore(outer1_1[5]).Storage;
const outer1_9 = Storage.get("MaintenanceStore");
2026-07-20 16:05:17 +00:00
}
};
const items = [obj, , ];
obj = {
key: "getIncident",
value() {
2026-07-23 10:11:24 +00:00
return outer1_7;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
obj = {
key: "getScheduledMaintenance",
value() {
let scheduled_until;
2026-07-23 10:11:24 +00:00
if (null != outer1_8) {
scheduled_until = outer1_8.scheduled_until;
2026-07-20 16:05:17 +00:00
}
if (null == scheduled_until) {
let scheduled_for;
2026-07-23 10:11:24 +00:00
if (null != outer1_8) {
scheduled_for = outer1_8.scheduled_for;
2026-07-20 16:05:17 +00:00
}
scheduled_until = scheduled_for;
}
let tmp3 = null;
2026-07-23 10:11:24 +00:00
if (null != outer1_8) {
2026-07-20 16:05:17 +00:00
tmp3 = null;
2026-07-23 10:11:24 +00:00
if (outer1_8.id !== outer1_9) {
2026-07-20 16:05:17 +00:00
if (null == scheduled_until) {
2026-07-23 10:11:24 +00:00
tmp3 = outer1_8;
2026-07-20 16:05:17 +00:00
} else {
const _Date = Date;
const _Date2 = Date;
const timestamp = Date.now();
const date = new Date(scheduled_until);
tmp3 = null;
}
}
}
return tmp3;
}
};
items[2] = obj;
return callback(MaintenanceStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "MaintenanceStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
CONNECTION_OPEN: function handleConnectionOpen() {
2026-07-23 10:11:24 +00:00
let c7 = null;
2026-07-20 16:05:17 +00:00
},
STATUS_PAGE_INCIDENT: function handleIncident(incident) {
incident = incident.incident;
},
STATUS_PAGE_SCHEDULED_MAINTENANCE: function handleScheduledMaintenance(maintenance) {
maintenance = maintenance.maintenance;
},
STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK: function handleScheduledMaintenanceAck() {
2026-07-23 10:11:24 +00:00
if (null == _null) {
2026-07-20 16:05:17 +00:00
return false;
} else {
2026-07-23 10:11:24 +00:00
const id = _null.id;
const Storage = require(587) /* Storage */.Storage;
const result = Storage.set("MaintenanceStore", id);
2026-07-20 16:05:17 +00:00
}
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/StatusPageStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;