22 lines
662 B
TypeScript
22 lines
662 B
TypeScript
// Metro module 13544 (f13545).
|
|
import { parseQuestsEmbedCode } from "../../coded_links/findCodedLinks";
|
|
import URLUtils from "../../../utils/URLUtils";
|
|
import { intl, t } from "../../../intl/index.native";
|
|
let c9403_3 = [parseQuestsEmbedCode];
|
|
export function resolveActivityShareMessageContent(a0, a1, a2) {
|
|
let c20524_0 = false;
|
|
const r14 = a0.replaceAll(URLUtils.URL_REGEX, (a0) => {
|
|
const r7 = c9403_3.some((item) => item(a0) != null);
|
|
if (r7) {
|
|
c20524_0 = true;
|
|
}
|
|
return r7 ? a0 : `\`${a0}\``;
|
|
});
|
|
return c20524_0 ? r14 : `${r14}
|
|
|
|
${intl.formatToMarkdownString(t.dZJpdG, {
|
|
applicationName: a1.name,
|
|
link: a2
|
|
})}`;
|
|
}
|