decord/source/modules/spoiler_channels/native/VoicePanelSpoilerAlert.tsx

56 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 12733
// Function ID: 12734
2026-07-20 16:05:17 +00:00
// Name: VoicePanelSpoilerAlert
2026-08-12 06:57:52 +00:00
// Dependencies: [19, 21, 4687, 4687, 1236, 5271, 5169, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-12 06:57:52 +00:00
// Module 12733 (VoicePanelSpoilerAlert)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
let c3;
let c4;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
2026-07-23 10:11:24 +00:00
const result = require("getAlertModalItemKey").fileFinishedImporting("modules/spoiler_channels/native/VoicePanelSpoilerAlert.tsx");
2026-07-20 16:05:17 +00:00
export default function VoicePanelSpoilerAlert(channelId) {
2026-07-23 10:11:24 +00:00
channelId = channelId.channelId;
2026-07-29 08:29:29 +00:00
let closure_1;
2026-08-12 06:57:52 +00:00
let obj = channelId(4687);
2026-07-29 08:29:29 +00:00
closure_1 = obj.useDismissModalCallback();
obj = { title: null, content: null, actions: null };
const intl = channelId(1236).intl;
obj[0] = intl.string(channelId(1236).t["q38/ae"]);
const intl2 = channelId(1236).intl;
obj[1] = intl2.string(channelId(1236).t["2fDWXK"]);
obj = { children: null };
2026-07-20 16:05:17 +00:00
const obj1 = {
variant: "primary",
onPress() {
2026-07-23 10:11:24 +00:00
callback(outer1_2[5]).spoilerAgree(channelId);
const obj = callback(outer1_2[5]);
const voiceChannel = callback(outer1_2[6]).selectVoiceChannel(channelId);
2026-07-20 16:05:17 +00:00
callback();
2026-07-29 08:29:29 +00:00
},
text: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl3 = channelId(1236).intl;
obj1[2] = intl3.string(channelId(1236).t.p89ACt);
2026-08-12 06:57:52 +00:00
const items = [callback(channelId(4687).AlertActionButton, obj1, "confirm"), ];
2026-07-20 16:05:17 +00:00
const obj2 = {
variant: "secondary",
onPress() {
callback();
2026-07-29 08:29:29 +00:00
},
text: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl4 = channelId(1236).intl;
obj2[2] = intl4.string(channelId(1236).t["/g10LC"]);
2026-08-12 06:57:52 +00:00
items[1] = callback(channelId(4687).AlertActionButton, obj2, "cancel");
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-08-12 06:57:52 +00:00
obj[2] = callback2(channelId(4687).AlertActions, obj);
return callback(channelId(4687).AlertModal, obj);
2026-07-20 16:05:17 +00:00
};
export const VOICE_PANEL_SPOILER_KEY = "voice-panel-spoiler";