36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
// Module ID: 12742
|
|
// Function ID: 12743
|
|
// Name: restartVibegrationsAppFrames
|
|
// Dependencies: [10677, 11065, 10681, 2]
|
|
// Exports: default
|
|
|
|
// Module 12742 (restartVibegrationsAppFrames)
|
|
import _launchFrameOnNativeDefault from "_launchFrameOnNative" /* 10681 */;
|
|
import postMessageToWebViewDefault from "postMessageToWebView" /* 11065 */;
|
|
import closure_2 from "map" /* 10677 */;
|
|
|
|
const result = require("set").fileFinishedImporting("modules/vibegrations/native/restartVibegrationsAppFrames.tsx");
|
|
|
|
export default function restartVibegrationsAppFrames(arg0) {
|
|
importDefault = arg0;
|
|
if (null != arg0) {
|
|
const items = [];
|
|
HermesBuiltin.arraySpread(allFrames.getAllFrames(), 0);
|
|
const found = items.filter((applicationId) => applicationId.applicationId === closure_0);
|
|
for (const item10003 of found) {
|
|
let tmp2 = importDefault;
|
|
let tmp3 = dependencyMap;
|
|
let obj = postMessageToWebViewDefault;
|
|
let leaveFrameResult = obj.leaveFrame(item10003.id);
|
|
let obj2 = _launchFrameOnNativeDefault;
|
|
obj = { applicationId: null, surface: null };
|
|
obj[0] = arg0;
|
|
obj[1] = item10003.surface;
|
|
let launchFrameResult = obj2.launchFrame(obj);
|
|
let catchPromise = launchFrameResult.catch(() => {
|
|
|
|
});
|
|
continue;
|
|
}
|
|
}
|
|
};
|