2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 10103
|
|
|
|
|
// Function ID: 10104
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: playInAppMessageSound
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [10081, 10104, 1074, 1608, 9902, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: playInAppMessageSound
|
|
|
|
|
|
2026-09-05 10:56:28 +00:00
|
|
|
// Module 10103 (playInAppMessageSound)
|
|
|
|
|
import isMetaQuest from "isMetaQuest" /* 1608 */;
|
|
|
|
|
import closure_2 from "DesktopNotificationTypes" /* 10081 */;
|
|
|
|
|
import { isInAppMessageSoundsEnabled as closure_3 } from "isInAppMessageSoundsEnabled" /* 10104 */;
|
|
|
|
|
import { InAppNotificationTypes } from "ME" /* 1074 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
const message1 = "message1";
|
|
|
|
|
let c6 = 0;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/notifications/native/playInAppMessageSound.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const playInAppMessageSound = function playInAppMessageSound(notification) {
|
|
|
|
|
if (notification.type === InAppNotificationTypes.MESSAGE) {
|
|
|
|
|
if (obj2.isMetaQuest()) {
|
|
|
|
|
if (callback()) {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (!soundDisabled.isSoundDisabled(message1)) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const _Date = Date;
|
|
|
|
|
const timestamp = Date.now();
|
2026-07-23 10:11:24 +00:00
|
|
|
if (timestamp - timestamp >= 1000) {
|
2026-09-05 10:56:28 +00:00
|
|
|
tmp8(9902).playSound(tmp3, 0.4);
|
|
|
|
|
const tmp8Result = tmp8(9902);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp3 = message1;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
obj2 = isMetaQuest;
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp8 = require;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|