54 lines
1.2 KiB
JavaScript
54 lines
1.2 KiB
JavaScript
// Metro module 255 (f256).
|
|
import * as _PixelRatio from "./PixelRatio";
|
|
import composeStyles from "./composeStyles";
|
|
import flattenStyle from "./flattenStyle";
|
|
import Module26 from "./Module26";
|
|
let c268_3;
|
|
const absoluteFill = {
|
|
position: "absolute",
|
|
left: 0,
|
|
right: 0,
|
|
top: 0,
|
|
bottom: 0
|
|
};
|
|
const r13 = {};
|
|
Object.defineProperty(r13, "hairlineWidth", {
|
|
get: function() {
|
|
if (c268_3 == null) {
|
|
const r11 = _PixelRatio.default.roundToNearestPixel(0.4);
|
|
c268_3 = r11;
|
|
if (r11 === 0) {
|
|
c268_3 = 1 / _PixelRatio.default.get();
|
|
}
|
|
}
|
|
return c268_3;
|
|
},
|
|
set: void 0,
|
|
enumerable: true,
|
|
configurable: true
|
|
});
|
|
r13.absoluteFill = absoluteFill;
|
|
r13.absoluteFillObject = absoluteFill;
|
|
r13.compose = composeStyles;
|
|
r13.flatten = flattenStyle;
|
|
r13.setStyleAttributePreprocessor = (a0, a1) => {
|
|
let r20;
|
|
if (Module26[a0] === true) {
|
|
r20 = {
|
|
process: a1
|
|
};
|
|
} else {
|
|
if (typeof Module26[a0] !== "object") {
|
|
console.error(`${a0} is not a valid style attribute`);
|
|
return void 0;
|
|
}
|
|
r20 = {
|
|
...Module26[a0],
|
|
process: a1
|
|
};
|
|
}
|
|
Module26[a0] = r20;
|
|
};
|
|
r13.create = (a0) => a0;
|
|
export default r13;
|