2026-10-06 22:12:49 +00:00
|
|
|
// Module ID: 7546
|
|
|
|
|
// Function ID: 7547
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: MarkupRulesUtils
|
|
|
|
|
// Dependencies: [2]
|
|
|
|
|
// Exports: isStaticRouteIconType, smartOutput
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
// Module 7546 (MarkupRulesUtils)
|
2026-09-18 20:18:48 +00:00
|
|
|
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") {
|
2026-10-06 22:12:49 +00:00
|
|
|
let content;
|
2026-09-18 20:18:48 +00:00
|
|
|
if (undefined !== node.content) {
|
2026-10-06 22:12:49 +00:00
|
|
|
content = output(node.content, state);
|
2026-09-18 20:18:48 +00:00
|
|
|
}
|
|
|
|
|
return content;
|
|
|
|
|
}
|
|
|
|
|
content = node.content;
|
|
|
|
|
};
|
|
|
|
|
export function isStaticRouteIconType(channelId) {
|
2026-10-06 22:12:49 +00:00
|
|
|
return "home" === channelId || "browse" === channelId || "customize" === channelId || "guide" === channelId || "linked-roles" === channelId;
|
2026-09-18 20:18:48 +00:00
|
|
|
}
|