decord/source/modules/custom_status/utils/getRandomCustomStatusPrompt.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

36 lines
1 KiB
TypeScript

// Module ID: 11269
// Function ID: 11270
// Name: getRandomCustomStatusPrompt
// Dependencies: [11268, 1115, 2]
// Exports: default
// Module 11269 (getRandomCustomStatusPrompt)
import Constants from "Constants" /* 11268 */;
import size from "module_2" /* 2 */;
({ CustomStatusPrompts: c2, CustomStatusPromptValues: c3 } = Constants);
const result = size.fileFinishedImporting("modules/custom_status/utils/getRandomCustomStatusPrompt.tsx");
export default function getRandomCustomStatusPrompt(size) {
if (null != size) {
if (size.size > 0) {
let found = closure_2.filter((value) => !size.has(value.value));
}
if (0 === found.length) {
const obj = {
value: constants.ADD_STATUS,
label() {
const intl = size(1115).intl;
return intl.string(size(1115).t.Vq4UmS);
}
};
let tmp3 = obj;
} else {
const _Math = Math;
const _Math2 = Math;
tmp3 = found[Math.floor(Math, Math.random(Math) * found.length)];
}
return tmp3;
}
found = closure_2;
};