decord/source/modules/markup/native/MarkupInlineChannelMentionRules.tsx

47 lines
1.7 KiB
TypeScript
Raw Normal View History

// Module ID: 10133
// Function ID: 10134
2026-07-29 08:29:29 +00:00
// Name: inlineChannelMentionReact
// Dependencies: [19, 21, 8096, 1178, 1369, 2]
2026-07-29 08:29:29 +00:00
// Exports: createInlineChannelReact, inlineChannelMentionReact, inlineChannelReact
2026-07-20 16:05:17 +00:00
// Module 10133 (inlineChannelMentionReact)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import { jsxs } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c0 = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
c0 = "\u{1F4AC}";
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/markup/native/MarkupInlineChannelMentionRules.tsx");
2026-07-20 16:05:17 +00:00
export const inlineChannelMentionReact = function inlineChannelMentionReact(inContent, output, key) {
if (null == inContent.inContent) {
let smartOutputResult = u1F4AC(8096).smartOutput(inContent, output, key);
const obj3 = u1F4AC(8096);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
const obj = { children: null };
const items = [output(inContent.inContent, key), " \u203A ", u1F4AC(8096).smartOutput(inContent, output, key)];
2026-07-29 08:29:29 +00:00
obj[0] = items;
smartOutputResult = jsxs(u1F4AC(1178).LegacyText, { children: null }, key.key);
const obj2 = u1F4AC(8096);
2026-07-20 16:05:17 +00:00
}
return smartOutputResult;
};
2026-07-29 08:29:29 +00:00
export function createInlineChannelReact(arg0) {
let str = arg0;
if (arg0 === undefined) {
str = "\u{1F4AC}";
}
return (arg0, output, key) => {
2026-08-28 06:19:39 +00:00
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(tmp2, output, key), undefined];
2026-08-28 06:19:39 +00:00
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
2026-07-29 08:29:29 +00:00
};
}
export const inlineChannelReact = (arg0, output, key) => {
2026-08-28 06:19:39 +00:00
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(tmp2, output, key), undefined];
2026-08-28 06:19:39 +00:00
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
2026-07-29 08:29:29 +00:00
};