Files
discord-decomp/_bundle/Module26.js
T
2026-11-01 12:12:55 +02:00

216 lines
5.6 KiB
JavaScript

// Metro module 26 (f27).
import { enableNativeCSSParsing } from "./Module27";
import processColor from "./processColor";
import processFilter from "./processFilter";
import processBoxShadow from "./processBoxShadow";
import processBackgroundImage from "./processBackgroundImage";
import processBackgroundSize from "./processBackgroundSize";
import processBackgroundPosition from "./processBackgroundPosition";
import processBackgroundRepeat from "./processBackgroundRepeat";
import processTransform from "./processTransform";
import processTransformOrigin from "./processTransformOrigin";
import processFontVariant from "./processFontVariant";
import processAspectRatio from "./processAspectRatio";
import sizesDiffer from "./sizesDiffer";
const r24 = enableNativeCSSParsing();
const shadowColor = !!r24 || {
process: processColor
};
const filter = !!r24 || {
process: processFilter
};
const boxShadow = !!r24 || {
process: processBoxShadow
};
const experimental_backgroundImage = !!r24 || {
process: processBackgroundImage
};
const experimental_backgroundSize = !!r24 || {
process: processBackgroundSize
};
const experimental_backgroundPosition = !!r24 || {
process: processBackgroundPosition
};
const experimental_backgroundRepeat = !!r24 || {
process: processBackgroundRepeat
};
const transform = !!r24 || {
process: processTransform
};
const transformOrigin = !!r24 || {
process: processTransformOrigin
};
const fontVariant = !!r24 || {
process: processFontVariant
};
const aspectRatio = !!r24 || {
process: processAspectRatio
};
export default {
alignContent: true,
alignItems: true,
alignSelf: true,
aspectRatio,
borderBottomWidth: true,
borderEndWidth: true,
borderLeftWidth: true,
borderRightWidth: true,
borderStartWidth: true,
borderTopWidth: true,
boxSizing: true,
columnGap: true,
borderWidth: true,
bottom: true,
direction: true,
display: true,
end: true,
flex: true,
flexBasis: true,
flexDirection: true,
flexGrow: true,
flexShrink: true,
flexWrap: true,
gap: true,
height: true,
inset: true,
insetBlock: true,
insetBlockEnd: true,
insetBlockStart: true,
insetInline: true,
insetInlineEnd: true,
insetInlineStart: true,
justifyContent: true,
left: true,
margin: true,
marginBlock: true,
marginBlockEnd: true,
marginBlockStart: true,
marginBottom: true,
marginEnd: true,
marginHorizontal: true,
marginInline: true,
marginInlineEnd: true,
marginInlineStart: true,
marginLeft: true,
marginRight: true,
marginStart: true,
marginTop: true,
marginVertical: true,
maxHeight: true,
maxWidth: true,
minHeight: true,
minWidth: true,
overflow: true,
padding: true,
paddingBlock: true,
paddingBlockEnd: true,
paddingBlockStart: true,
paddingBottom: true,
paddingEnd: true,
paddingHorizontal: true,
paddingInline: true,
paddingInlineEnd: true,
paddingInlineStart: true,
paddingLeft: true,
paddingRight: true,
paddingStart: true,
paddingTop: true,
paddingVertical: true,
position: true,
right: true,
rowGap: true,
start: true,
top: true,
width: true,
zIndex: true,
elevation: true,
shadowColor,
shadowOffset: {
diff: sizesDiffer
},
shadowOpacity: true,
shadowRadius: true,
transform,
transformOrigin,
filter,
mixBlendMode: true,
isolation: true,
boxShadow,
experimental_backgroundImage,
experimental_backgroundSize,
experimental_backgroundPosition,
experimental_backgroundRepeat,
backfaceVisibility: true,
backgroundColor: shadowColor,
borderBlockColor: shadowColor,
borderBlockEndColor: shadowColor,
borderBlockStartColor: shadowColor,
borderBottomColor: shadowColor,
borderBottomEndRadius: true,
borderBottomLeftRadius: true,
borderBottomRightRadius: true,
borderBottomStartRadius: true,
borderColor: shadowColor,
borderCurve: true,
borderEndColor: shadowColor,
borderEndEndRadius: true,
borderEndStartRadius: true,
borderLeftColor: shadowColor,
borderRadius: true,
borderRightColor: shadowColor,
borderStartColor: shadowColor,
borderStartEndRadius: true,
borderStartStartRadius: true,
borderStyle: true,
borderTopColor: shadowColor,
borderTopEndRadius: true,
borderTopLeftRadius: true,
borderTopRightRadius: true,
borderTopStartRadius: true,
cursor: true,
opacity: true,
outlineColor: shadowColor,
outlineOffset: true,
outlineStyle: true,
outlineWidth: true,
pointerEvents: true,
color: shadowColor,
fontFamily: true,
fontSize: true,
fontStyle: true,
fontVariant,
fontWeight: true,
includeFontPadding: true,
letterSpacing: true,
lineHeight: true,
textAlign: true,
textAlignVertical: true,
textDecorationColor: shadowColor,
textDecorationLine: true,
textDecorationStyle: true,
textShadowColor: shadowColor,
textShadowOffset: true,
textShadowRadius: true,
textStrokeColor: shadowColor,
textStrokeWidth: true,
textTransform: true,
userSelect: true,
verticalAlign: true,
writingDirection: true,
overlayColor: shadowColor,
resizeMode: true,
tintColor: shadowColor,
objectFit: true
};
export { shadowColor as colorAttribute };
export { filter as filterAttribute };
export { boxShadow as boxShadowAttribute };
export { experimental_backgroundImage as backgroundImageAttribute };
export { experimental_backgroundSize as backgroundSizeAttribute };
export { experimental_backgroundPosition as backgroundPositionAttribute };
export { experimental_backgroundRepeat as backgroundRepeatAttribute };
export { transform as transformAttribute };
export { transformOrigin as transformOriginAttribute };
export { fontVariant as fontVariantAttribute };
export { aspectRatio as aspectRatioAttribute };