// Module ID: 10194 // Function ID: 10195 // Name: playInAppMessageSound // Dependencies: [10173, 10195, 1074, 1608, 9995, 2] // Exports: playInAppMessageSound // Module 10194 (playInAppMessageSound) import MetaQuestUtils from "MetaQuestUtils" /* 1608 */; import NotificationSettingsStore from "NotificationSettingsStore" /* 10173 */; require = fn; let closure_3 = fn(10195).isInAppMessageSoundsEnabled; const InAppNotificationTypes = fn(1074).InAppNotificationTypes; const message1 = "message1"; let timestamp = 0; const size = fn(2); const result = size.fileFinishedImporting("modules/notifications/native/playInAppMessageSound.tsx"); export const playInAppMessageSound = function playInAppMessageSound(notification) { if (notification.type === InAppNotificationTypes.MESSAGE) { if (obj2.isMetaQuest()) { if (closure_3()) { if (!NotificationSettingsStore.isSoundDisabled(message1)) { const _Date = Date; timestamp = Date.now(); if (timestamp - timestamp >= 1000) { tmp8(9995).playSound(tmp3, 0.4); const tmp8Result = tmp8(9995); } } tmp3 = message1; } } obj2 = MetaQuestUtils; tmp8 = require; } };