decord/source/modules/markup/MarkupRulesUtils.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

36 lines
866 B
TypeScript

// Module ID: 8149
// Function ID: 8150
// Name: MarkupRulesUtils
// Dependencies: [2]
// Exports: isStaticRouteIconType, smartOutput
// Module 8149 (MarkupRulesUtils)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/markup/MarkupRulesUtils.tsx");
export const smartOutput = function smartOutput(node, output, state) {
if (typeof node.content !== "string") {
if (undefined !== node.content) {
let content = output(node.content, state);
}
return content;
}
content = node.content;
};
export function isStaticRouteIconType(channelId) {
let tmp = "home" === channelId;
if (!tmp) {
tmp = "browse" === channelId;
}
if (!tmp) {
tmp = "customize" === channelId;
}
if (!tmp) {
tmp = "guide" === channelId;
}
if (!tmp) {
tmp = "linked-roles" === channelId;
}
return tmp;
}