decord/source/modules/soundpacks/SoundpackActions.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

21 lines
840 B
TypeScript

// Module ID: 17305
// Function ID: 17306
// Name: setSoundpack
// Dependencies: [9832, 673, 695, 706, 2]
// Exports: setSoundpack
// Module 17305 (setSoundpack)
import expandEventPropertiesDefault from "expandEventProperties" /* 695 */;
import dispatcherDefault from "dispatcher" /* 706 */;
import closure_2 from "Soundpacks" /* 9832 */;
import { AnalyticEvents } from "ME" /* 673 */;
const result = require("set").fileFinishedImporting("modules/soundpacks/SoundpackActions.tsx");
export const setSoundpack = function setSoundpack(CLASSIC, name) {
let obj = expandEventPropertiesDefault;
obj = { soundpack: CLASSIC, previous_soundpack: soundpack.getSoundpack() };
obj.track(AnalyticEvents.SOUNDPACK_UPDATED, obj);
obj = { type: "SET_SOUNDPACK", soundpack: CLASSIC, forExperimentId: name };
dispatcherDefault.dispatch(obj);
};