decord/alpha/source/modules/soundboard/getSoundboardSoundURL.tsx

27 lines
864 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 14732
// Function ID: 14733
2026-07-20 16:05:17 +00:00
// Name: getSoundboardSoundURL
2026-10-03 08:58:59 +00:00
// Dependencies: [1085, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-09 10:00:15 +00:00
// Module 14732 (getSoundboardSoundURL)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/soundboard/getSoundboardSoundURL.tsx");
2026-07-20 16:05:17 +00:00
export default function getSoundboardSoundURL(arg0) {
2026-10-03 08:58:59 +00:00
let combined;
2026-07-20 16:05:17 +00:00
if ("development" !== window.GLOBAL_ENV.PROJECT_ENV) {
const _HermesInternal2 = HermesInternal;
2026-10-03 08:58:59 +00:00
combined = "https://" + tmp + Endpoints.SOUNDBOARD_SOUND(arg0);
2026-07-20 16:05:17 +00:00
} else {
const _location = location;
const _window = window;
const _HermesInternal = HermesInternal;
combined = "" + location.protocol + window.GLOBAL_ENV.API_ENDPOINT + Endpoints.SOUNDBOARD_SOUND(arg0);
}
return combined;
};