decord/stable/source/modules/frames/FramesActionCreators.native.tsx
2026-10-06 22:12:49 +00:00

84 lines
2.3 KiB
TypeScript

// Module ID: 8755
// Function ID: 8756
// Name: FramesActionCreators
// Dependencies: [5, 4856, 8756, 8757, 2]
// Module 8755 (FramesActionCreators)
import launchFrameAll from "launchFrame" /* 8757 */;
import _asyncToGenerator from "_asyncToGenerator" /* 5 */;
import VoiceStateStore from "VoiceStateStore" /* 4856 */;
import size from "module_2" /* 2 */;
let c1;
let obj = function _launchFrameOnNative() {
obj = _asyncToGenerator(async (value) => {
let c2 = 0;
let c3 = 0;
return (async (arg0, value) => {
let currentClientInVoiceChannel;
let obj3;
function closeVoicePanel() {
if (currentClientInVoiceChannel.isCurrentClientInVoiceChannel()) {
closure_1_0(closure_1_2[2])();
}
}
if (c3 === 2) {
c3 = 3;
throw new TypeError("Generator functions may not be called on executing generators");
} else if (tmp2 === 3) {
if (arg0 === 1) {
throw value;
} else if (arg0 === 2) {
return { value, done: true };
} else {
return { value: "IconComponent", done: null };
}
} else {
try {
c3 = 2;
if (0 === c2) {
if (arg0 === 1) {
c3 = 3;
throw value;
} else if (arg0 === 2) {
c3 = 3;
return { value, done: true };
} else {
c1 = 0;
value = undefined;
c2 = 1;
c3 = 1;
const obj5 = { value: obj3.launchFrame(value), done: false };
obj3 = launchFrameAll;
return obj5;
}
} else if (arg0 === 1) {
c3 = 3;
throw value;
} else if (arg0 === 2) {
c3 = 3;
return { value, done: true };
} else {
closeVoicePanel();
c3 = 3;
return { value, done: true };
}
} catch (tmp9) {
c3 = 3;
throw tmp9;
}
}
})();
});
return obj(...arguments);
};
obj = {
launchFrame: function launchFrameOnNative() {
return obj(...arguments);
}
};
const launchFrame = Object.assign(launchFrameAll);
const result = size.fileFinishedImporting("modules/frames/FramesActionCreators.native.tsx");
export default obj;