package com.discord.utilities.auditlogs; import com.discord.i18n.RenderContext; import com.discord.models.domain.ModelAuditLogEntry; import d0.z.d.m; import d0.z.d.o; import java.util.Map; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: AuditLogChangeUtils.kt */ public final class AuditLogChangeUtils$getChangeTextWithParams$1 extends o implements Function1 { public final /* synthetic */ ModelAuditLogEntry.Change $change; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public AuditLogChangeUtils$getChangeTextWithParams$1(ModelAuditLogEntry.Change change) { super(1); this.$change = change; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(RenderContext renderContext) { invoke(renderContext); return Unit.a; } public final void invoke(RenderContext renderContext) { String str; String obj; m.checkNotNullParameter(renderContext, "$receiver"); Map map = renderContext.a; Object oldValue = this.$change.getOldValue(); String str2 = ""; if (oldValue == null || (str = oldValue.toString()) == null) { str = str2; } map.put("oldValue", str); Map map2 = renderContext.a; Object newValue = this.$change.getNewValue(); if (!(newValue == null || (obj = newValue.toString()) == null)) { str2 = obj; } map2.put("newValue", str2); } }