114 lines
4.1 KiB
TypeScript
114 lines
4.1 KiB
TypeScript
// Module ID: 16314
|
|
// Function ID: 16315
|
|
// Name: VibegrationsSelectModeIcon
|
|
// Dependencies: [19, 21, 558, 576, 588, 4535, 7913, 2]
|
|
|
|
// Module 16314 (VibegrationsSelectModeIcon)
|
|
import react2 from "react" /* 576 */;
|
|
import nativeDefault from "native" /* 588 */;
|
|
import useToken from "useToken" /* 4535 */;
|
|
import inlineStyles from "inlineStyles" /* 7913 */;
|
|
import react from "react" /* 19 */;
|
|
import Fragment from "Fragment" /* 21 */;
|
|
import ReactCompilerGating_mod from "ReactCompilerGating" /* 558 */;
|
|
import size_mod from "module_2" /* 2 */;
|
|
|
|
const inlineStylesDefault = inlineStyles;
|
|
|
|
let c3;
|
|
let closure_4;
|
|
({ jsx: c3, jsxs: closure_4 } = Fragment);
|
|
let c5 = "vibegrations-select-mode-clip";
|
|
let c6 = "M20.6996 10.7515L15.1195 12.6108C15.1195 12.6108 13.9587 12.9065 13.4323 13.4325C12.9055 13.959 12.6105 15.1198 12.6105 15.1198L10.7513 20.6999C10.3493 21.9063 8.6428 21.906 8.24046 20.6995L2.84448 4.51832C2.49948 3.48376 3.48352 2.49972 4.51808 2.84472L20.6992 8.2407C21.9057 8.64305 21.906 10.3495 20.6996 10.7515Z";
|
|
let ReactCompilerGating = ReactCompilerGating_mod;
|
|
let tmp4 = ReactCompilerGating.isReactCompilerEnabled() ? ((color) => {
|
|
let ClipPath;
|
|
let first;
|
|
let items;
|
|
let obj3;
|
|
let obj5;
|
|
let tmp10;
|
|
const obj = react2;
|
|
const cResult = obj.c(3);
|
|
let INTERACTIVE_ICON_DEFAULT = color.color;
|
|
if (undefined === INTERACTIVE_ICON_DEFAULT) {
|
|
INTERACTIVE_ICON_DEFAULT = nativeDefault.colors.INTERACTIVE_ICON_DEFAULT;
|
|
}
|
|
const tmpResult = useToken;
|
|
const token = tmpResult.useToken(INTERACTIVE_ICON_DEFAULT);
|
|
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const obj2 = { children: _false(ClipPath, obj3) };
|
|
const Defs = tmp(7913).Defs;
|
|
obj3 = { id, children: _false(inlineStyles.Rect, { width: 24, height: 24, rx: 8 }) };
|
|
ClipPath = tmp(7913).ClipPath;
|
|
const tmp9 = _false(Defs, obj2);
|
|
cResult[0] = tmp9;
|
|
first = tmp9;
|
|
} else {
|
|
first = cResult[0];
|
|
}
|
|
if (cResult[1] !== token) {
|
|
size = { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", accessible: false, children: items };
|
|
items = [first, ];
|
|
const _HermesInternal = HermesInternal;
|
|
const obj4 = { clipPath: "url(#" + id + ")", children: _false(inlineStyles.Path, obj5) };
|
|
const tmp13 = inlineStylesDefault;
|
|
const G = tmp(7913).G;
|
|
obj5 = { d, fill: token };
|
|
items[1] = _false(G, obj4);
|
|
const tmp17 = React3(tmp13, size);
|
|
cResult[1] = token;
|
|
cResult[2] = tmp17;
|
|
tmp10 = tmp17;
|
|
} else {
|
|
tmp10 = cResult[2];
|
|
}
|
|
return tmp10;
|
|
}) : ((color) => {
|
|
let ClipPath;
|
|
let items;
|
|
let obj3;
|
|
let obj5;
|
|
let INTERACTIVE_ICON_DEFAULT = color.color;
|
|
if (INTERACTIVE_ICON_DEFAULT === undefined) {
|
|
INTERACTIVE_ICON_DEFAULT = nativeDefault.colors.INTERACTIVE_ICON_DEFAULT;
|
|
}
|
|
const obj = useToken;
|
|
const token = obj.useToken(INTERACTIVE_ICON_DEFAULT);
|
|
size = { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", accessible: false, children: items };
|
|
const obj2 = { children: _false(ClipPath, obj3) };
|
|
const tmp4 = inlineStylesDefault;
|
|
const Defs = inlineStyles.Defs;
|
|
obj3 = { id, children: _false(inlineStyles.Rect, { width: 24, height: 24, rx: 8 }) };
|
|
ClipPath = inlineStyles.ClipPath;
|
|
items = [_false(Defs, obj2), ];
|
|
const obj4 = { clipPath: "url(#" + id + ")", children: _false(inlineStyles.Path, obj5) };
|
|
const G = inlineStyles.G;
|
|
obj5 = { d, fill: token };
|
|
items[1] = _false(G, obj4);
|
|
return React3(tmp4, size);
|
|
});
|
|
let closure_7 = tmp4;
|
|
ReactCompilerGating = ReactCompilerGating_mod;
|
|
const tmp5 = ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
let first;
|
|
const obj = react2;
|
|
const cResult = obj.c(1);
|
|
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const obj2 = { color: nativeDefault.colors.TEXT_BRAND };
|
|
const tmp7 = _false(closure_7, obj2);
|
|
cResult[0] = tmp7;
|
|
first = tmp7;
|
|
} else {
|
|
first = cResult[0];
|
|
}
|
|
return first;
|
|
}) : (() => {
|
|
const obj = { color: nativeDefault.colors.TEXT_BRAND };
|
|
return _false(closure_7, obj);
|
|
});
|
|
let size = size_mod;
|
|
const result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsSelectModeIcon.tsx");
|
|
|
|
export default tmp4;
|
|
export const VibegrationsSelectModeActiveIcon = tmp5;
|