package com.ss.android.ugc.aweme.fe.method;

import X.0CB;
import X.0CH;
import X.6Is;
import X.C0865KKi;
import X.KGM;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.fe.base.BaseCommonJavaMethod;

public final class OpenAdLandPageLinksMethod extends BaseCommonJavaMethod implements 6Is {
    public static final KGM LIZ = new KGM((byte) 0);

    static {
        Covode.recordClassIndex(76108);
    }

    public OpenAdLandPageLinksMethod(byte b) {
        this();
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
        super.onStateChanged(r1, r2);
    }

    public /* synthetic */ OpenAdLandPageLinksMethod() {
        this((C0865KKi) null);
    }

    public OpenAdLandPageLinksMethod(C0865KKi kKi) {
        super(kKi);
    }

    /* JADX WARNING: Removed duplicated region for block: B:147:0x0193 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:148:0x0194 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:162:0x01c4 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:165:0x01db A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:166:0x01dc A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:183:0x0218 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:184:0x0219 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:241:0x02b4 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:244:0x02bc A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:247:0x02c5 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:248:0x02c6 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:252:0x02d1 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:253:0x02d2 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:257:0x02e0 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:258:0x02e1 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:263:0x02f1 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:277:0x0319 A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:278:0x031a A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:281:0x032e A[Catch:{ all -> 0x0334 }] */
    /* JADX WARNING: Removed duplicated region for block: B:285:0x0336  */
    /* JADX WARNING: Removed duplicated region for block: B:287:0x033d  */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void handle(org.json.JSONObject r16, X.FIu r17) {
        /*
            r15 = this;
            java.lang.String r7 = ""
            X.Kt4 r0 = X.C2455Kt4.LIZIZ
            X.Kro r11 = r0.LIZ()
            r1 = r16
            if (r1 == 0) goto L_0x002b
            java.lang.String r0 = "url"
            java.lang.String r8 = r1.optString(r0)
        L_0x0012:
            r4 = 0
            if (r8 == 0) goto L_0x001b
            int r0 = r8.length()
            if (r0 != 0) goto L_0x0029
        L_0x001b:
            r0 = 1
        L_0x001c:
            r2 = -1
            r3 = r17
            if (r0 == 0) goto L_0x002d
            if (r3 == 0) goto L_0x0028
            java.lang.String r0 = "empty url"
            r3.LIZ(r2, r0)
        L_0x0028:
            return
        L_0x0029:
            r0 = 0
            goto L_0x001c
        L_0x002b:
            r8 = 0
            goto L_0x0012
        L_0x002d:
            java.lang.String r0 = "title"
            java.lang.String r12 = r1.optString(r0)
            java.lang.String r0 = "landingStyle"
            int r10 = r1.optInt(r0, r4)
            java.lang.String r0 = "landingAccessStyle"
            int r9 = r1.optInt(r0, r4)
            X.9EH r0 = X.9EH.LJJIFFI     // Catch:{ all -> 0x0334 }
            android.content.Context r5 = r0.LIZ()     // Catch:{ all -> 0x0334 }
            kotlin.h.b.n.LIZIZ(r12, r7)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x004b
            goto L_0x004d
        L_0x004b:
            r14 = 0
            goto L_0x0055
        L_0x004d:
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r11.LJIIL     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x004b
            com.ss.android.ugc.aweme.feed.model.AwemeRawAd r14 = r0.getAwemeRawAd()     // Catch:{ all -> 0x0334 }
        L_0x0055:
            X.Krh r6 = new X.Krh     // Catch:{ all -> 0x0334 }
            r6.<init>()     // Catch:{ all -> 0x0334 }
            com.ss.android.ugc.aweme.feed.model.AwemeRawAd r0 = X.C1985KlU.LIZ     // Catch:{ all -> 0x0334 }
            r6.LIZ((com.ss.android.ugc.aweme.feed.model.AwemeRawAd) r0)     // Catch:{ all -> 0x0334 }
            java.lang.String r0 = "landing_ad"
            r6.LJIIZILJ(r0)     // Catch:{ all -> 0x0334 }
            r6.LJFF((java.lang.String) r8)     // Catch:{ all -> 0x0334 }
            r6.LJI((java.lang.String) r8)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x006d
            goto L_0x0070
        L_0x006d:
            r0 = 0
            goto L_0x0072
        L_0x0070:
            long r0 = r11.LIZ     // Catch:{ all -> 0x0334 }
        L_0x0072:
            r6.LIZIZ((long) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x0078
            goto L_0x007a
        L_0x0078:
            r0 = 0
            goto L_0x007c
        L_0x007a:
            java.lang.String r0 = r11.LIZIZ     // Catch:{ all -> 0x0334 }
        L_0x007c:
            r6.LIZLLL((java.lang.String) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x0082
            goto L_0x0085
        L_0x0082:
            r0 = 0
            goto L_0x0087
        L_0x0085:
            long r0 = r11.LIZJ     // Catch:{ all -> 0x0334 }
        L_0x0087:
            r6.LIZJ((long) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x008d
            goto L_0x008f
        L_0x008d:
            r0 = 0
            goto L_0x0091
        L_0x008f:
            java.lang.String r0 = r11.LJII     // Catch:{ all -> 0x0334 }
        L_0x0091:
            r6.LJIJI(r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x0097
            goto L_0x0099
        L_0x0097:
            r0 = 0
            goto L_0x009b
        L_0x0099:
            java.lang.String r0 = r11.LJIIIIZZ     // Catch:{ all -> 0x0334 }
        L_0x009b:
            r6.LJIJJLI(r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x00a1
            goto L_0x00a3
        L_0x00a1:
            r0 = 0
            goto L_0x00a5
        L_0x00a3:
            java.lang.String r0 = r11.LJIIIZ     // Catch:{ all -> 0x0334 }
        L_0x00a5:
            r6.LJ((java.lang.String) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x00ab
            goto L_0x00ad
        L_0x00ab:
            r0 = 0
            goto L_0x00af
        L_0x00ad:
            int r0 = r11.LJIIJ     // Catch:{ all -> 0x0334 }
        L_0x00af:
            r6.LIZ((int) r0)     // Catch:{ all -> 0x0334 }
            r6.LJII((java.lang.String) r12)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x00b8
            goto L_0x00ba
        L_0x00b8:
            r0 = 0
            goto L_0x00be
        L_0x00ba:
            boolean r0 = r14.isReportEnable()     // Catch:{ all -> 0x0334 }
        L_0x00be:
            r6.LIZIZ((boolean) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x00c4
            goto L_0x00c6
        L_0x00c4:
            r0 = 1
            goto L_0x00d0
        L_0x00c6:
            java.lang.Boolean r0 = r14.getUseOrdinaryWeb_()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x00c4
            boolean r0 = r0.booleanValue()     // Catch:{ all -> 0x0334 }
        L_0x00d0:
            r6.LIZ((boolean) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x00d6
            goto L_0x00d8
        L_0x00d6:
            r0 = 0
            goto L_0x00dc
        L_0x00d8:
            int r0 = r14.getWebType()     // Catch:{ all -> 0x0334 }
        L_0x00dc:
            r6.LJ((int) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x00e2
            goto L_0x00e4
        L_0x00e2:
            r0 = 1
            goto L_0x00e8
        L_0x00e4:
            boolean r0 = r14.isDisableDownloadDialog()     // Catch:{ all -> 0x0334 }
        L_0x00e8:
            r6.LIZLLL((boolean) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x00ee
            goto L_0x00f0
        L_0x00ee:
            r0 = 0
            goto L_0x00f2
        L_0x00f0:
            java.lang.String r0 = r11.LJI     // Catch:{ all -> 0x0334 }
        L_0x00f2:
            r6.LJIJ(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x00f8
            goto L_0x00fa
        L_0x00f8:
            r0 = 0
            goto L_0x00fe
        L_0x00fa:
            java.lang.String r0 = r14.getQuickAppUrl()     // Catch:{ all -> 0x0334 }
        L_0x00fe:
            r6.LJIJJ(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x0104
            goto L_0x0106
        L_0x0104:
            r0 = 0
            goto L_0x010a
        L_0x0106:
            int r0 = r14.getDownloadMode()     // Catch:{ all -> 0x0334 }
        L_0x010a:
            r6.LJIIIZ((int) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x0110
            goto L_0x0112
        L_0x0110:
            r0 = 0
            goto L_0x0116
        L_0x0112:
            int r0 = r14.getLinkMode()     // Catch:{ all -> 0x0334 }
        L_0x0116:
            r6.LJIIJ((int) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x011c
            goto L_0x011e
        L_0x011c:
            r0 = 0
            goto L_0x0122
        L_0x011e:
            boolean r0 = r14.isSupportMultiple()     // Catch:{ all -> 0x0334 }
        L_0x0122:
            r6.LJ((boolean) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x0128
            goto L_0x012a
        L_0x0128:
            r0 = 0
            goto L_0x012c
        L_0x012a:
            java.lang.String r0 = r11.LIZLLL     // Catch:{ all -> 0x0334 }
        L_0x012c:
            r6.LJJI(r0)     // Catch:{ all -> 0x0334 }
            r6.LIZ()     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x0135
            goto L_0x0137
        L_0x0135:
            r0 = 0
            goto L_0x0139
        L_0x0137:
            java.lang.String r0 = r11.LJ     // Catch:{ all -> 0x0334 }
        L_0x0139:
            r6.LJIL(r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x013f
            goto L_0x0141
        L_0x013f:
            r0 = 0
            goto L_0x0143
        L_0x0141:
            java.lang.String r0 = r11.LJFF     // Catch:{ all -> 0x0334 }
        L_0x0143:
            r6.LJJ(r0)     // Catch:{ all -> 0x0334 }
            long r0 = java.lang.System.currentTimeMillis()     // Catch:{ all -> 0x0334 }
            r6.LIZLLL((long) r0)     // Catch:{ all -> 0x0334 }
            r6.LIZJ((boolean) r4)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x018c
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r11.LJIIL     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018c
            com.ss.android.ugc.aweme.feed.model.AwemeRawAd r0 = r0.getAwemeRawAd()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018c
            X.Ktx r0 = r0.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018c
            java.util.List r0 = r0.getSecondPageGeckoChannel()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018c
            boolean r0 = r0.isEmpty()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x016f
            goto L_0x018c
        L_0x016f:
            com.ss.android.ugc.aweme.ad.preload.IAdLandPagePreloadService r1 = com.ss.android.ugc.aweme.ad.preload.AdLandPagePreloadServiceImpl.LJFF()     // Catch:{ all -> 0x0334 }
            if (r1 == 0) goto L_0x018c
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r11.LJIIL     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018a
            com.ss.android.ugc.aweme.feed.model.AwemeRawAd r0 = r0.getAwemeRawAd()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x018a
            java.lang.Long r0 = r0.getAdId()     // Catch:{ all -> 0x0334 }
        L_0x0183:
            java.lang.String r1 = r1.LIZIZ((java.lang.Long) r0)     // Catch:{ all -> 0x0334 }
            if (r1 != 0) goto L_0x018d
            goto L_0x018c
        L_0x018a:
            r0 = 0
            goto L_0x0183
        L_0x018c:
            r1 = r7
        L_0x018d:
            int r0 = r1.length()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x0194
            goto L_0x0196
        L_0x0194:
            if (r8 != 0) goto L_0x0198
        L_0x0196:
            r0 = 0
            goto L_0x01d6
        L_0x0198:
            java.lang.StringBuilder r13 = new java.lang.StringBuilder     // Catch:{ all -> 0x0334 }
            r13.<init>()     // Catch:{ all -> 0x0334 }
            r13.append(r1)     // Catch:{ all -> 0x0334 }
            boolean r0 = android.text.TextUtils.isEmpty(r8)     // Catch:{ all -> 0x0334 }
            java.lang.String r1 = "null cannot be cast to non-null type java.lang.String"
            if (r0 == 0) goto L_0x01aa
        L_0x01a8:
            r0 = r8
            goto L_0x01bb
        L_0x01aa:
            r12 = 63
            r0 = 6
            int r0 = kotlin.o.z.LIZ((java.lang.CharSequence) r8, (char) r12, (int) r4, (boolean) r4, (int) r0)     // Catch:{ all -> 0x0334 }
            if (r0 != r2) goto L_0x01b4
            goto L_0x01a8
        L_0x01b4:
            java.lang.String r0 = r8.substring(r4, r0)     // Catch:{ all -> 0x0334 }
            kotlin.h.b.n.LIZIZ(r0, r7)     // Catch:{ all -> 0x0334 }
        L_0x01bb:
            java.lang.String r12 = X.83K.LIZIZ(r0)     // Catch:{ all -> 0x0334 }
            kotlin.h.b.n.LIZIZ(r12, r7)     // Catch:{ all -> 0x0334 }
            if (r12 == 0) goto L_0x032e
            r1 = 8
            r0 = 24
            java.lang.String r0 = r12.substring(r1, r0)     // Catch:{ all -> 0x0334 }
            kotlin.h.b.n.LIZIZ(r0, r7)     // Catch:{ all -> 0x0334 }
            r13.append(r0)     // Catch:{ all -> 0x0334 }
            java.lang.String r0 = r13.toString()     // Catch:{ all -> 0x0334 }
        L_0x01d6:
            r6.LJIIIZ((java.lang.String) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x01dc
            goto L_0x01df
        L_0x01dc:
            r12 = 1
        L_0x01dd:
            r0 = -1
            goto L_0x01f7
        L_0x01df:
            boolean r0 = r14.isUseDefaultColor()     // Catch:{ all -> 0x0334 }
            r12 = 1
            if (r0 != r12) goto L_0x01dd
            X.9EH r0 = X.9EH.LJJIFFI     // Catch:{ all -> 0x0334 }
            android.content.Context r0 = r0.LIZ()     // Catch:{ all -> 0x0334 }
            android.content.res.Resources r1 = r0.getResources()     // Catch:{ all -> 0x0334 }
            r0 = 2131099659(0x7f06000b, float:1.7811677E38)
            int r0 = r1.getColor(r0)     // Catch:{ all -> 0x0334 }
        L_0x01f7:
            r6.LIZIZ((int) r0)     // Catch:{ all -> 0x0334 }
            if (r11 == 0) goto L_0x023b
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r11.LJIIL     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x023b
            com.ss.android.ugc.aweme.feed.model.Video r0 = r0.getVideo()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x023b
            com.ss.android.ugc.aweme.base.model.UrlModel r0 = r0.getOriginCover()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x023b
            java.util.List r0 = r0.getUrlList()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x023b
            boolean r0 = r0.isEmpty()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0219
            goto L_0x023b
        L_0x0219:
            com.ss.android.ugc.aweme.feed.model.Aweme r0 = r11.LJIIL     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0237
            com.ss.android.ugc.aweme.feed.model.Video r0 = r0.getVideo()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0237
            com.ss.android.ugc.aweme.base.model.UrlModel r0 = r0.getOriginCover()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0237
            java.util.List r0 = r0.getUrlList()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0237
            java.lang.Object r0 = r0.get(r4)     // Catch:{ all -> 0x0334 }
            java.lang.String r0 = (java.lang.String) r0     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x0238
        L_0x0237:
            r0 = r7
        L_0x0238:
            r6.LJIIL(r0)     // Catch:{ all -> 0x0334 }
        L_0x023b:
            if (r14 == 0) goto L_0x024f
            X.Ktx r0 = r14.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x024f
            java.util.List r0 = r0.getGeckoChannel()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x024f
            boolean r0 = r0.isEmpty()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0256
        L_0x024f:
            r6.LJFF((int) r10)     // Catch:{ all -> 0x0334 }
            r6.LJI((int) r9)     // Catch:{ all -> 0x0334 }
            goto L_0x026f
        L_0x0256:
            X.Ktx r0 = r14.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x026a
            java.util.List r0 = r0.getGeckoChannel()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x026a
            java.lang.Object r0 = r0.get(r4)     // Catch:{ all -> 0x0334 }
            java.lang.String r0 = (java.lang.String) r0     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x026b
        L_0x026a:
            r0 = r7
        L_0x026b:
            r6.LJIILIIL(r0)     // Catch:{ all -> 0x0334 }
            goto L_0x024f
        L_0x026f:
            if (r14 == 0) goto L_0x0277
            java.lang.String r0 = r14.getLandingPageInfo()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x0278
        L_0x0277:
            r0 = r7
        L_0x0278:
            r6.LJIIJ((java.lang.String) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x0289
            X.Ktx r0 = r14.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x0289
            java.lang.String r0 = r0.getRenderType()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x028a
        L_0x0289:
            r0 = r7
        L_0x028a:
            r6.LJIIJJI(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x0295
            java.lang.String r0 = r14.getNativeSiteCustomData()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x0296
        L_0x0295:
            r0 = r7
        L_0x0296:
            r6.LJIILJJIL(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02a1
            java.lang.String r0 = r14.getNativeSiteAdInfo()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x02a2
        L_0x02a1:
            r0 = r7
        L_0x02a2:
            r6.LJIILL(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02ad
            java.lang.String r0 = r14.getAppData()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x02ae
        L_0x02ad:
            r0 = r7
        L_0x02ae:
            r6.LJIILLIIL(r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02b4
            goto L_0x02b6
        L_0x02b4:
            r0 = 0
            goto L_0x02c0
        L_0x02b6:
            X.Ktx r0 = r14.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x02b4
            int r0 = r0.getLynxLandingStyle()     // Catch:{ all -> 0x0334 }
        L_0x02c0:
            r6.LJII((int) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02c6
            goto L_0x02c8
        L_0x02c6:
            r0 = 0
            goto L_0x02cc
        L_0x02c8:
            int r0 = r14.getPreloadWeb()     // Catch:{ all -> 0x0334 }
        L_0x02cc:
            r6.LIZJ((int) r0)     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02d2
            goto L_0x02d4
        L_0x02d2:
            r1 = 0
            goto L_0x02d8
        L_0x02d4:
            int r1 = r14.getPreloadWebNew()     // Catch:{ all -> 0x0334 }
        L_0x02d8:
            X.Krn r0 = r6.LIZ     // Catch:{ all -> 0x0334 }
            X.Kri r0 = r0.LIZIZ     // Catch:{ all -> 0x0334 }
            r0.LJIIJ = r1     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x02e1
            goto L_0x02e3
        L_0x02e1:
            r0 = 0
            goto L_0x02e7
        L_0x02e3:
            java.lang.String r0 = r14.getWebUrl()     // Catch:{ all -> 0x0334 }
        L_0x02e7:
            boolean r0 = kotlin.h.b.n.LIZ(r0, r8)     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x02f1
        L_0x02ed:
            r6.LIZLLL((int) r12)     // Catch:{ all -> 0x0334 }
            goto L_0x02f3
        L_0x02f1:
            r12 = 0
            goto L_0x02ed
        L_0x02f3:
            if (r14 == 0) goto L_0x02fb
            java.lang.String r0 = r14.getChannelName()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x02ff
        L_0x02fb:
            r6.LJIIIIZZ((java.lang.String) r7)     // Catch:{ all -> 0x0334 }
            goto L_0x0301
        L_0x02ff:
            r7 = r0
            goto L_0x02fb
        L_0x0301:
            if (r14 == 0) goto L_0x030f
            X.Ktx r0 = r14.getNativeSiteConfig()     // Catch:{ all -> 0x0334 }
            if (r0 == 0) goto L_0x030f
            java.util.List r0 = r0.getSecondPageGeckoChannel()     // Catch:{ all -> 0x0334 }
            if (r0 != 0) goto L_0x0311
        L_0x030f:
            X.Lel r0 = X.C4116Lel.INSTANCE     // Catch:{ all -> 0x0334 }
        L_0x0311:
            r6.LIZ((java.util.List<java.lang.String>) r0)     // Catch:{ all -> 0x0334 }
            r6.LIZIZ()     // Catch:{ all -> 0x0334 }
            if (r14 == 0) goto L_0x031a
            goto L_0x031c
        L_0x031a:
            r0 = 0
            goto L_0x0320
        L_0x031c:
            int r0 = r14.getPreloadWebSecondPage()     // Catch:{ all -> 0x0334 }
        L_0x0320:
            r6.LJIIIIZZ((int) r0)     // Catch:{ all -> 0x0334 }
            X.Krn r0 = r6.LIZ     // Catch:{ all -> 0x0334 }
            X.KGJ r0 = X.C2566Kur.LIZ(r5, r0)     // Catch:{ all -> 0x0334 }
            boolean r4 = r0.LIZ()     // Catch:{ all -> 0x0334 }
            goto L_0x0334
        L_0x032e:
            java.lang.NullPointerException r0 = new java.lang.NullPointerException     // Catch:{ all -> 0x0334 }
            r0.<init>(r1)     // Catch:{ all -> 0x0334 }
            throw r0     // Catch:{ all -> 0x0334 }
        L_0x0334:
            if (r4 == 0) goto L_0x033d
            if (r3 == 0) goto L_0x033c
            r0 = 0
            r3.LIZ(r0)
        L_0x033c:
            return
        L_0x033d:
            if (r3 == 0) goto L_0x0344
            java.lang.String r0 = "can not handle url"
            r3.LIZ(r2, r0)
        L_0x0344:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.fe.method.OpenAdLandPageLinksMethod.handle(org.json.JSONObject, X.FIu):void");
    }
}
