decord/beta/source/modules/soundboard/getSoundboardSoundURL.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

25 lines
852 B
TypeScript

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