MD5 校验值:12e743c1e519727bb842de40c0fa58ba
s.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package u1; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.text.TextUtils; import android.view.ViewGroup; import android.webkit.WebView; import com.google.android.gms.internal.ads.dk0; import com.google.android.gms.internal.ads.dy; import com.google.android.gms.internal.ads.ed0; import com.google.android.gms.internal.ads.fl; import com.google.android.gms.internal.ads.gl; import com.google.android.gms.internal.ads.hd0; import com.google.android.gms.internal.ads.jk0; import com.google.android.gms.internal.ads.ox; import com.google.android.gms.internal.ads.qk0; import com.google.android.gms.internal.ads.sq; import com.google.android.gms.internal.ads.vj0; import com.google.android.gms.internal.ads.zf0; import java.util.Map; import java.util.concurrent.Future; import v1.a1; import v1.b5; import v1.c0; import v1.e1; import v1.f0; import v1.f2; import v1.h1; import v1.i0; import v1.j4; import v1.m2; import v1.p2; import v1.q4; import v1.r0; import v1.t2; import v1.v; import v1.v4; import v1.w0; public final class s extends r0 { private final jk0 f26008n; private final v4 f26009o; private final Future f26010p = qk0.f12389a.I(new o(this)); private final Context f26011q; private final r f26012r; private WebView f26013s; private f0 f26014t; private fl f26015u; private AsyncTask f26016v; public s(Context context, v4 v4Var, String str, jk0 jk0Var) { this.f26011q = context; this.f26008n = jk0Var; this.f26009o = v4Var; this.f26013s = new WebView(context); this.f26012r = new r(context, str); T5(0); this.f26013s.setVerticalScrollBarEnabled(false); this.f26013s.getSettings().setJavaScriptEnabled(true); this.f26013s.setWebViewClient(new m(this)); this.f26013s.setOnTouchListener(new n(this)); } public static String Z5(s sVar, String str) { if (sVar.f26015u == null) { return str; } Uri parse = Uri.parse(str); try { parse = sVar.f26015u.a(parse, sVar.f26011q, null, null); } catch (gl e7) { dk0.h("Unable to process ad data", e7); } return parse.toString(); } public static void c6(s sVar, String str) { Intent intent = new Intent("android.intent.action.VIEW"); intent.setData(Uri.parse(str)); sVar.f26011q.startActivity(intent); } @Override public final void A() { s2.n.e("destroy must be called on the main UI thread."); this.f26016v.cancel(true); this.f26010p.cancel(true); this.f26013s.destroy(); this.f26013s = null; } @Override public final void A5(boolean z6) { } @Override public final String B() { return null; } @Override public final void B3(j4 j4Var) { throw new IllegalStateException("Unused method"); } @Override public final boolean C0() { return false; } @Override public final void C5(h1 h1Var) { } @Override public final void D4(f0 f0Var) { this.f26014t = f0Var; } @Override public final void F2(y2.a aVar) { } @Override public final void H5(b5 b5Var) { throw new IllegalStateException("Unused method"); } @Override public final void I0(w0 w0Var) { throw new IllegalStateException("Unused method"); } @Override public final void N3(v4 v4Var) { throw new IllegalStateException("AdSize must be set before initialization"); } @Override public final void P() { throw new IllegalStateException("Unused method"); } @Override public final void P3(String str) { throw new IllegalStateException("Unused method"); } @Override public final void S2() { throw new IllegalStateException("Unused method"); } public final void T5(int i7) { if (this.f26013s == null) { return; } this.f26013s.setLayoutParams(new ViewGroup.LayoutParams(-1, i7)); } @Override public final void U() { s2.n.e("resume must be called on the main UI thread."); } @Override public final void V0(t2 t2Var) { throw new IllegalStateException("Unused method"); } @Override public final void V3(sq sqVar) { throw new IllegalStateException("Unused method"); } @Override public final void W() { s2.n.e("pause must be called on the main UI thread."); } @Override public final void a1(String str) { throw new IllegalStateException("Unused method"); } @Override public final boolean b2(q4 q4Var) { s2.n.m(this.f26013s, "This Search Ad has already been torn down"); this.f26012r.f(q4Var, this.f26008n); this.f26016v = new q(this, null).execute(new Void[0]); return true; } @Override public final void b3(zf0 zf0Var) { throw new IllegalStateException("Unused method"); } @Override public final void d5(c0 c0Var) { throw new IllegalStateException("Unused method"); } @Override public final Bundle f() { throw new IllegalStateException("Unused method"); } @Override public final v4 h() { return this.f26009o; } @Override public final f0 i() { throw new IllegalStateException("getIAdListener not implemented"); } @Override public final void i5(q4 q4Var, i0 i0Var) { } @Override public final a1 j() { throw new IllegalStateException("getIAppEventListener not implemented"); } @Override public final m2 k() { return null; } @Override public final void k2(hd0 hd0Var, String str) { throw new IllegalStateException("Unused method"); } @Override public final p2 l() { return null; } @Override public final void l2(ed0 ed0Var) { throw new IllegalStateException("Unused method"); } public final String m() { Uri.Builder builder = new Uri.Builder(); builder.scheme("https://").appendEncodedPath((String) dy.f5758d.e()); builder.appendQueryParameter("query", this.f26012r.d()); builder.appendQueryParameter("pubId", this.f26012r.c()); builder.appendQueryParameter("mappver", this.f26012r.a()); Map e7 = this.f26012r.e(); for (String str : e7.keySet()) { builder.appendQueryParameter(str, (String) e7.get(str)); } Uri build = builder.build(); fl flVar = this.f26015u; if (flVar != null) { try { build = flVar.b(build, this.f26011q); } catch (gl e8) { dk0.h("Unable to process ad data", e8); } } return q() + "#" + build.getEncodedQuery(); } @Override public final y2.a o() { s2.n.e("getAdFrame must be called on the main UI thread."); return y2.b.r3(this.f26013s); } @Override public final void o2(a1 a1Var) { throw new IllegalStateException("Unused method"); } @Override public final void o5(ox oxVar) { throw new IllegalStateException("Unused method"); } @Override public final void p4(e1 e1Var) { throw new IllegalStateException("Unused method"); } public final String q() { String b7 = this.f26012r.b(); if (true == TextUtils.isEmpty(b7)) { b7 = "www.google.com"; } return "https://" + b7 + ((String) dy.f5758d.e()); } @Override public final void q3(boolean z6) { throw new IllegalStateException("Unused method"); } @Override public final String s() { throw new IllegalStateException("getAdUnitId not implemented"); } @Override public final String u() { return null; } @Override public final void u1(f2 f2Var) { } public final int y(String str) { String queryParameter = Uri.parse(str).getQueryParameter("height"); if (TextUtils.isEmpty(queryParameter)) { return 0; } try { v.b(); return vj0.B(this.f26011q, Integer.parseInt(queryParameter)); } catch (NumberFormatException unused) { return 0; } } @Override public final boolean z0() { return false; } }