// Module ID: 10274 // Function ID: 79325 // Name: playInAppMessageSound // Dependencies: [10250, 10275, 653, 1553, 10276, 2] // Exports: playInAppMessageSound // Module 10274 (playInAppMessageSound) import _isNativeReflectConstruct from "_isNativeReflectConstruct"; import { isInAppMessageSoundsEnabled as closure_3 } from "isInAppMessageSoundsEnabled"; import { InAppNotificationTypes } from "ME"; const require = arg1; let c5 = 0; const result = require("ME").fileFinishedImporting("modules/notifications/native/playInAppMessageSound.tsx"); export const playInAppMessageSound = function playInAppMessageSound(notification) { if (notification.type === InAppNotificationTypes.MESSAGE) { if (obj2.isMetaQuest()) { if (callback()) { if (!soundDisabled.isSoundDisabled("message1")) { const _Date = Date; const timestamp = Date.now(); if (timestamp - timestamp >= 1000) { require(10276) /* createSound */.playSound("message1", 0.4); const obj = require(10276) /* createSound */; } } } } obj2 = require(1553) /* isMetaQuest */; } };