decord/source/modules/soundboard/getSoundboardSoundURL.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

25 lines
852 B
TypeScript

// Module ID: 14594
// Function ID: 14595
// Name: getSoundboardSoundURL
// Dependencies: [1074, 2]
// Exports: default
// Module 14594 (getSoundboardSoundURL)
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/soundboard/getSoundboardSoundURL.tsx");
export default function getSoundboardSoundURL(arg0) {
if ("development" !== window.GLOBAL_ENV.PROJECT_ENV) {
const _HermesInternal2 = HermesInternal;
let 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;
};