decord/source/modules/media_keyboard/native/MediaKeyboardButtonIcon.tsx

64 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 11529
// Function ID: 11530
2026-07-20 16:05:17 +00:00
// Name: MediaKeyboardButtonIcon
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 21, 4150, 1348, 4145, 1607, 4286, 4289, 9625, 2]
2026-07-20 16:05:17 +00:00
// Exports: MediaKeyboardButtonIcon
2026-08-06 08:05:19 +00:00
// Module 11529 (MediaKeyboardButtonIcon)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
const require = arg1;
2026-07-20 16:05:17 +00:00
let closure_4 = { code: "function MediaKeyboardButtonIconTsx1(){const{keyboard,KeyboardTypes,chatInputFloating,withTiming,timingStandard}=this.__closure;const isActive=keyboard===KeyboardTypes.MEDIA||chatInputFloating&&keyboard===KeyboardTypes.APP_LAUNCHER;return{transform:[{rotate:withTiming(isActive?'45deg':'0deg',timingStandard)}]};}" };
2026-07-29 08:29:29 +00:00
const result = require("useKeyboardType").fileFinishedImporting("modules/media_keyboard/native/MediaKeyboardButtonIcon.tsx");
2026-07-20 16:05:17 +00:00
export const MediaKeyboardButtonIcon = function MediaKeyboardButtonIcon(arg0) {
if (arg0 == null) {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
let _require;
let chatInputFloating;
2026-07-20 16:05:17 +00:00
const merged = Object.assign(arg0, undefined);
2026-08-06 08:05:19 +00:00
const tmp6 = chatInputFloating(4150)();
2026-07-29 08:29:29 +00:00
_require = tmp6;
let obj = _require(1348);
chatInputFloating = obj.useMobileVisualRefreshConfig({ location: "MediaKeyboardButtonIcon" }).chatInputFloating;
2026-08-06 08:05:19 +00:00
let obj1 = _require(4145);
2026-07-20 16:05:17 +00:00
const fn = function s() {
2026-07-29 08:29:29 +00:00
let tmp4 = _undefined === _undefined(outer1_2[5]).KeyboardTypes.MEDIA;
if (!tmp4) {
let tmp5 = chatInputFloating;
2026-07-20 16:05:17 +00:00
if (chatInputFloating) {
2026-07-29 08:29:29 +00:00
tmp5 = _undefined === tmp2(tmp3[5]).KeyboardTypes.APP_LAUNCHER;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
tmp4 = tmp5;
2026-07-20 16:05:17 +00:00
}
let str = "0deg";
2026-07-29 08:29:29 +00:00
if (tmp4) {
2026-07-20 16:05:17 +00:00
str = "45deg";
}
2026-07-29 08:29:29 +00:00
let obj = { transform: null };
obj = { rotate: _undefined(outer1_2[6]).withTiming(str, tmp2(tmp3[7]).timingStandard) };
2026-07-20 16:05:17 +00:00
const items = [obj];
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-07-20 16:05:17 +00:00
return obj;
};
2026-07-29 08:29:29 +00:00
obj = { keyboard: null, KeyboardTypes: null, chatInputFloating: null, withTiming: null, timingStandard: null };
obj[0] = tmp6;
2026-08-06 08:05:19 +00:00
obj[1] = _require(1607).KeyboardTypes;
2026-07-29 08:29:29 +00:00
obj[2] = chatInputFloating;
2026-08-06 08:05:19 +00:00
obj[3] = _require(4286).withTiming;
obj[4] = _require(4289).timingStandard;
2026-07-20 16:05:17 +00:00
fn.__closure = obj;
fn.__workletHash = 12686941860647;
fn.__initData = closure_4;
2026-07-29 08:29:29 +00:00
const animatedStyle = obj1.useAnimatedStyle(fn);
obj = { style: null, children: null };
obj[0] = animatedStyle;
obj1 = {};
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-08-06 08:05:19 +00:00
obj[1] = jsx(_require(9625).PlusLargeIcon, {});
return jsx(chatInputFloating(4145).View, { style: null, children: null });
2026-07-20 16:05:17 +00:00
}
};