2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 8756
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 69296
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useGradientBottom
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [31, 4131, 3942, 8757, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useClientThemesOverride, useGradientBottom, useGradientMidpoint, useGradientTop
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 8756 (useGradientBottom)
|
2026-07-23 10:11:24 +00:00
|
|
|
import result from "result";
|
|
|
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
let closure_4 = _createForOfIteratorHelperLoose.createStyles({ none: { backgroundColor: "transparent" } });
|
|
|
|
|
const result = require("colorToHex").fileFinishedImporting("modules/client_themes/native/ClientThemesOverrides.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useGradientBottom = function useGradientBottom() {
|
2026-07-25 08:10:48 +00:00
|
|
|
gradientValue = gradientValue(3942).useGradientValue(gradientValue(3942).GradientPercentage.END);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [gradientValue];
|
|
|
|
|
return React.useMemo(() => {
|
|
|
|
|
let tmp;
|
|
|
|
|
if (null != gradientValue) {
|
|
|
|
|
const obj = { backgroundColor: gradientValue };
|
|
|
|
|
tmp = obj;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}, items);
|
|
|
|
|
};
|
|
|
|
|
export const useGradientTop = function useGradientTop() {
|
2026-07-25 08:10:48 +00:00
|
|
|
gradientValue = gradientValue(3942).useGradientValue(gradientValue(3942).GradientPercentage.START);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [gradientValue];
|
|
|
|
|
return React.useMemo(() => {
|
|
|
|
|
let tmp;
|
|
|
|
|
if (null != gradientValue) {
|
|
|
|
|
const obj = { backgroundColor: gradientValue };
|
|
|
|
|
tmp = obj;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}, items);
|
|
|
|
|
};
|
|
|
|
|
export const useGradientMidpoint = function useGradientMidpoint() {
|
2026-07-25 08:10:48 +00:00
|
|
|
gradientValue = gradientValue(3942).useGradientValue(gradientValue(3942).GradientPercentage.MID);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [gradientValue];
|
|
|
|
|
return React.useMemo(() => {
|
|
|
|
|
let tmp;
|
|
|
|
|
if (null != gradientValue) {
|
|
|
|
|
const obj = { backgroundColor: gradientValue };
|
|
|
|
|
tmp = obj;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}, items);
|
|
|
|
|
};
|
|
|
|
|
export const useClientThemesOverride = function useClientThemesOverride(themedChatInput) {
|
|
|
|
|
let none = themedChatInput;
|
|
|
|
|
let tmp;
|
2026-07-25 08:10:48 +00:00
|
|
|
if (importDefault(8757)()) {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null == none) {
|
|
|
|
|
none = tmp2.none;
|
|
|
|
|
}
|
|
|
|
|
tmp = none;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|