decord/alpha/source/modules/soundboard/getSoundboardSoundURL.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

25 lines
852 B
TypeScript

// Module ID: 14916
// Function ID: 14917
// Name: getSoundboardSoundURL
// Dependencies: [1074, 2]
// Exports: default
// Module 14916 (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;
};