Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
// Module ID: 13328
|
|
// Function ID: 13329
|
|
// Name: restartVibegrationsAppFrames
|
|
// Dependencies: [9580, 9638, 9577, 2]
|
|
// Exports: default
|
|
|
|
// Module 13328 (restartVibegrationsAppFrames)
|
|
import FramesActionCreatorsDefault from "FramesActionCreators" /* 9577 */;
|
|
import FramesNativeManagerDefault from "FramesNativeManager" /* 9638 */;
|
|
import FramesStore from "FramesStore" /* 9580 */;
|
|
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/vibegrations/native/restartVibegrationsAppFrames.tsx");
|
|
|
|
export default function restartVibegrationsAppFrames(applicationId) {
|
|
closure_0 = applicationId;
|
|
if (null != applicationId) {
|
|
const items = [];
|
|
HermesBuiltin.arraySpread(FramesStore.getAllFrames(), 0);
|
|
const found = items.filter((applicationId) => applicationId.applicationId === closure_0);
|
|
for (const item10003 of found) {
|
|
let obj = FramesNativeManagerDefault;
|
|
let leaveFrameResult = obj.leaveFrame(item10003.id);
|
|
let obj2 = FramesActionCreatorsDefault;
|
|
let obj3 = { applicationId: arg0, surface: item10003.surface };
|
|
let launchFrameResult = obj2.launchFrame(obj3);
|
|
let catchPromise = launchFrameResult.catch(() => {
|
|
|
|
});
|
|
continue;
|
|
}
|
|
}
|
|
};
|