decord/source/modules/frames/FramesActionCreators.native.tsx

53 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 9478
// Function ID: 9479
2026-07-20 16:05:17 +00:00
// Name: _launchFrameOnNative
2026-09-03 10:05:34 +00:00
// Dependencies: [5, 4497, 9479, 9480, 2]
2026-07-23 10:11:24 +00:00
2026-09-03 10:05:34 +00:00
// Module 9478 (_launchFrameOnNative)
import _launchFrameAll from "_launchFrame" /* 9480 */;
2026-08-24 06:08:38 +00:00
import closure_3 from "asyncGeneratorStep" /* 5 */;
2026-09-01 10:26:29 +00:00
import closure_4 from "updateVoiceState" /* 4497 */;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
function _launchFrameOnNative() {
const self = this;
const tmp = callback((arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
c2 = 0;
c3 = 0;
2026-07-29 08:29:29 +00:00
return (function*(arg0) {
2026-08-24 06:08:38 +00:00
c1 = 0;
const obj2 = closure_1_1(table[3]);
2026-08-06 08:05:19 +00:00
closure_0 = yield obj2.launchFrame(closure_0);
(function closeVoicePanel() {
if (currentClientInVoiceChannel.isCurrentClientInVoiceChannel()) {
callback(table[2])();
2026-07-29 08:29:29 +00:00
}
2026-08-06 08:05:19 +00:00
})();
return closure_0;
2026-07-29 08:29:29 +00:00
})();
});
2026-08-24 06:08:38 +00:00
closure_5 = tmp;
2026-07-29 08:29:29 +00:00
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
2026-07-25 08:10:48 +00:00
}
2026-07-29 08:29:29 +00:00
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-08-06 08:05:19 +00:00
const obj = {};
2026-08-24 06:08:38 +00:00
const merged = Object.assign(_launchFrameAll);
2026-07-29 08:29:29 +00:00
obj.launchFrame = function launchFrameOnNative() {
const self = this;
const apply = _launchFrameOnNative.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/frames/FramesActionCreators.native.tsx");
2026-07-20 16:05:17 +00:00
export default obj;