/* Metro module 10014; source: components_native/common/ImageWithPlaceholder.tsx; dependencies: [27, 33, 477, 10015, 5475, 2] */
function _fun78225(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10200:6, offset: 0x01e21c40, size: 238 bytes, params: 8, frame: 20
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(27) /* metro dependency 27 */;
const env0_2 = value.View;
const requireNativeComponent = value.requireNativeComponent;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
object2 = {flex: 1};
object2 = {THUMBHASH: 1};
object2[1] = 'THUMBHASH';
if (Reflect.apply((require(477) /* metro dependency 477: PlatformUtils */).isAndroid, value, [])) {
value = importDefault(10015) /* metro dependency 10015: ImageWithThumbhashPlaceholderNativeComponent */;
} else {
value = requireNativeComponent('DCDImageWithThumbhashPlaceholderView');
}
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/common/ImageWithPlaceholder.tsx');
exports.ImagePlaceholderVersions = object2;
exports.ImageWithPlaceholder = ImageWithPlaceholder;
}
function ImageWithPlaceholder(a0) { // fn#78226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10200:431, offset: 0x01e21d2e, size: 269 bytes, params: 2, frame: 25
var r0;
const uri = a0.uri;
const placeholder = a0.placeholder;
const placeholderVersion = a0.placeholderVersion;
const alt = a0.alt;
const style = a0.style;
const object2 = {'uri': 0, 'placeholder': 0, 'placeholderVersion': 0, 'alt': 0, 'style': 0};
silentSetPrototypeOf(object2, null, undefined);
let value = copyDataProperties({}, a0, object2, undefined);
if (placeholder == null) {
var viewBindingProps = {style: style, ...value};
value = importDefault(5475) /* metro dependency 5475: FastImage */;
value = ((Component) => )(value);
value = {value};
r0 = value;
} else if (placeholderVersion === env0_5.THUMBHASH) {
value = ((Component) => )(env0_6);
r0 = value;
} else {
var viewBindingProps = {style: style, ...value};
value = importDefault(5475) /* metro dependency 5475: FastImage */;
value = ((Component) => )(value);
value = {value};
r0 = value;
}
return r0;
}