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

27 lines
864 B
TypeScript
Raw Normal View History

2026-10-07 22:43:51 +00:00
// Module ID: 14383
// Function ID: 14384
// Name: getSoundboardSoundURL
2026-10-07 22:43:51 +00:00
// Dependencies: [1085, 2]
// Exports: default
2026-10-07 22:43:51 +00:00
// Module 14383 (getSoundboardSoundURL)
import Constants from "Constants" /* 1085 */;
import size from "module_2" /* 2 */;
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/soundboard/getSoundboardSoundURL.tsx");
export default function getSoundboardSoundURL(arg0) {
2026-10-01 14:13:23 +00:00
let combined;
if ("development" !== window.GLOBAL_ENV.PROJECT_ENV) {
const _HermesInternal2 = HermesInternal;
2026-10-01 14:13:23 +00:00
combined = "https://" + tmp + Endpoints.SOUNDBOARD_SOUND(arg0);
} else {
const _location = location;
const _window = window;
const _HermesInternal = HermesInternal;
combined = "" + location.protocol + window.GLOBAL_ENV.API_ENDPOINT + Endpoints.SOUNDBOARD_SOUND(arg0);
}
return combined;
};