decord/source/modules/harvester/DataHarvestStore.tsx

85 lines
2.2 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 12695
// Function ID: 98633
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 566, 686, 2]
2026-07-25 08:10:48 +00:00
// Module 12695 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import dispatcher from "dispatcher";
import set from "set";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let dispatcher = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return dispatcher;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let c5 = false;
let c6;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class DataHarvestStore {
constructor() {
self = this;
tmp = DataHarvestStore(this, DataHarvestStore);
2026-07-23 10:11:24 +00:00
obj = outer1_3(DataHarvestStore);
tmp2 = outer1_2;
if (outer1_7()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_3;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(DataHarvestStore, Store);
let obj = {
key: "harvestType",
get() {
2026-07-23 10:11:24 +00:00
return outer1_6;
2026-07-20 16:05:17 +00:00
}
};
const items = [obj, ];
obj = {
key: "requestingHarvest",
get() {
2026-07-23 10:11:24 +00:00
return outer1_5;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
return callback(DataHarvestStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "DataHarvestStore";
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 c6;
2026-07-20 16:05:17 +00:00
},
UPDATE_DATA_HARVEST_TYPE: function handleUpdateHarvestType(harvestType) {
2026-07-23 10:11:24 +00:00
let c5 = false;
2026-07-20 16:05:17 +00:00
harvestType = harvestType.harvestType;
},
LOAD_DATA_HARVEST_TYPE_START: function handleRequestingHarvest() {
2026-07-23 10:11:24 +00:00
let c5 = true;
2026-07-20 16:05:17 +00:00
},
LOAD_DATA_HARVEST_TYPE_FAILURE: function handleRequestingHarvestFailure() {
2026-07-23 10:11:24 +00:00
let c5 = false;
2026-07-20 16:05:17 +00:00
},
LOGOUT: function handleLogout() {
2026-07-23 10:11:24 +00:00
let c5 = false;
let c6 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/harvester/DataHarvestStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;