2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 11260
|
|
|
|
|
// Function ID: 11261
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: RefreshChatInputCoachmark
|
2026-08-05 07:35:12 +00:00
|
|
|
// Dependencies: [32, 19, 1369, 1348, 5916, 1358, 1236, 3967, 8547, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, useRefreshChatInputCoachmark
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 11260 (RefreshChatInputCoachmark)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _slicedToArray from "_slicedToArray";
|
2026-07-29 08:29:29 +00:00
|
|
|
import noop from "noop";
|
2026-07-23 10:11:24 +00:00
|
|
|
import { ContentDismissActionType } from "ContentDismissActionType";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("ContentDismissActionType").fileFinishedImporting("modules/chat_input/native/RefreshChatInputCoachmark.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function RefreshChatInputCoachmark(buttonRef) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const merged = Object.assign(buttonRef, Object.create(null));
|
2026-08-05 07:35:12 +00:00
|
|
|
const coachmark = require(8547) /* useCoachmark */.useCoachmark(buttonRef.buttonRef, merged);
|
2026-07-20 16:05:17 +00:00
|
|
|
return null;
|
|
|
|
|
};
|
|
|
|
|
export const useRefreshChatInputCoachmark = function useRefreshChatInputCoachmark(disabled) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let _require;
|
2026-07-20 16:05:17 +00:00
|
|
|
let importDefault;
|
2026-08-05 07:35:12 +00:00
|
|
|
_require(5916);
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp2) {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (!disabled.disabled) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let items = [tmp3(1358).DismissibleContent.MOBILE_REFRESH_CHAT_INPUT_PLUS_BUTTON_COACHMARK];
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const tmp7 = callback(tmp5(items), 2);
|
2026-07-23 10:11:24 +00:00
|
|
|
_require = tmp8;
|
2026-07-29 08:29:29 +00:00
|
|
|
const tmp9 = tmp7[0] === tmp3(1358).DismissibleContent.MOBILE_REFRESH_CHAT_INPUT_PLUS_BUTTON_COACHMARK;
|
|
|
|
|
importDefault = tmp9;
|
|
|
|
|
const items1 = [tmp9, tmp7[1]];
|
2026-07-20 16:05:17 +00:00
|
|
|
let memo = null;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp9) {
|
2026-07-20 16:05:17 +00:00
|
|
|
memo = React.useMemo(() => {
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { title: null, description: null, position: "top", offsetY: 4, visible: null, onDismiss: null, graphic: null };
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = _undefined(outer1_2[6]).intl;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[0] = intl.string(_undefined(outer1_2[6]).t.eqI1WA);
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl2 = _undefined(outer1_2[6]).intl;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[1] = intl2.string(_undefined(outer1_2[6]).t.nxO3NK);
|
|
|
|
|
obj[4] = c1;
|
|
|
|
|
obj[5] = function onDismiss() {
|
|
|
|
|
callback(outer1_5.USER_DISMISS);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { type: "rive", rive: _undefined(outer1_2[7]).OmnibuttonCoachmarkRive, aspectRatio: "16/9" };
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[6] = obj;
|
2026-07-20 16:05:17 +00:00
|
|
|
return obj;
|
|
|
|
|
}, items1);
|
|
|
|
|
}
|
|
|
|
|
return memo;
|
|
|
|
|
}
|
|
|
|
|
items = [];
|
|
|
|
|
};
|