36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
// Module ID: 12753
|
|
// Function ID: 12754
|
|
// Name: restartVibegrationsAppFrames
|
|
// Dependencies: [8745, 8803, 8742, 2]
|
|
// Exports: default
|
|
|
|
// Module 12753 (restartVibegrationsAppFrames)
|
|
import _launchFrameOnNativeDefault from "_launchFrameOnNative" /* 8742 */;
|
|
import postMessageToWebViewDefault from "postMessageToWebView" /* 8803 */;
|
|
import closure_2 from "map" /* 8745 */;
|
|
|
|
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;
|
|
}
|
|
}
|
|
};
|