decord/source/stores/HookErrorStore.tsx

71 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4222
2026-07-27 11:26:19 +00:00
// Function ID: 36855
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 653, 566, 686, 2]
2026-07-25 08:10:48 +00:00
// Module 4222 (_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";
import { MediaEngineHookTypes } from "ME";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let initialize = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return initialize;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
let closure_6 = {};
2026-07-23 10:11:24 +00:00
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class HookErrorStore {
constructor() {
self = this;
tmp = HookErrorStore(this, HookErrorStore);
2026-07-23 10:11:24 +00:00
obj = outer1_3(HookErrorStore);
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(HookErrorStore, Store);
const items = [
{
key: "getHookError",
value(arg0) {
2026-07-23 10:11:24 +00:00
return outer1_6[arg0];
2026-07-20 16:05:17 +00:00
}
}
];
return callback(HookErrorStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "HookErrorStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
MEDIA_ENGINE_SET_GO_LIVE_SOURCE: function handleSetGoLiveSource() {
let closure_6 = {};
},
MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING: function handleSoundshareTransmitting() {
2026-07-23 10:11:24 +00:00
delete tmp2[tmp];
2026-07-20 16:05:17 +00:00
},
MEDIA_ENGINE_SOUNDSHARE_FAILED: function handleSoundshareFailed(errorMessage) {
closure_6[MediaEngineHookTypes.SOUND] = { errorMessage: errorMessage.errorMessage, errorCode: errorMessage.errorCode };
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/HookErrorStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;