41 lines
1.6 KiB
Java
41 lines
1.6 KiB
Java
package com.discord.utilities.textprocessing.node;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import com.discord.utilities.textprocessing.node.UrlNode;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.functions.Function3;
|
|
/* compiled from: UrlNode.kt */
|
|
public final class UrlNode$render$style$2 extends o implements Function1<View, Unit> {
|
|
public final /* synthetic */ UrlNode.RenderContext $renderContext;
|
|
public final /* synthetic */ String $safeUrl;
|
|
public final /* synthetic */ UrlNode this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public UrlNode$render$style$2(UrlNode urlNode, UrlNode.RenderContext renderContext, String str) {
|
|
super(1);
|
|
this.this$0 = urlNode;
|
|
this.$renderContext = renderContext;
|
|
this.$safeUrl = str;
|
|
}
|
|
|
|
/* 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(View view) {
|
|
invoke(view);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(View view) {
|
|
m.checkNotNullParameter(view, "it");
|
|
Function3<Context, String, String, Unit> onClickUrl = this.$renderContext.getOnClickUrl();
|
|
Context context = view.getContext();
|
|
m.checkNotNullExpressionValue(context, "it.context");
|
|
onClickUrl.invoke(context, this.$safeUrl, UrlNode.access$getMask$p(this.this$0));
|
|
}
|
|
}
|